:root {
    --primary-color: #003366; /* Głęboki granat biznesowy */
    --accent-color: #2E8B57; /* Zieleń rolnicza */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --white: #ffffff;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #236b42;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: #002244;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 90vh; /* Prawie pełny ekran */
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.7)), url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 60px; /* Offset for fixed nav */
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

/* Features Grid (Problems) */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Solution Section */
.row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.col-text {
    flex: 1;
}

.col-img {
    flex: 1;
}

.check-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.check-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Mockup Box for Solution */
.mockup-box {
    background: var(--text-dark);
    color: #0f0;
    font-family: 'Courier New', monospace;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.scan-line {
    height: 2px;
    background: #0f0;
    width: 100%;
    margin: 20px 0;
    animation: scan 2s infinite alternate;
    box-shadow: 0 0 10px #0f0;
}

@keyframes scan {
    from { transform: translateY(-10px); opacity: 0.5; }
    to { transform: translateY(10px); opacity: 1; }
}

.status-ok {
    color: var(--accent-color);
    background: #fff;
    padding: 5px;
    display: inline-block;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
}

/* Comparison Table (Benefits) */
.bg-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.bg-dark h2 {
    color: var(--white);
}

.bg-dark p {
    color: #ccc;
}

.comparison-table {
    background: var(--white);
    color: var(--text-dark);
    border-radius: 10px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.table-header, .table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.table-header {
    background: #f1f1f1;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.table-row:last-child {
    border-bottom: none;
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
}

.big {
    font-size: 1.5rem;
}

.total {
    background-color: #e8f5e9;
}

.roi-note {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    font-size: 0.9rem;
}

/* CTA Offer */
.cta-container {
    text-align: center;
    background: #eef2f6;
    padding: 60px;
    border-radius: 15px;
}

.offer-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.tag {
    background: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Offer Section Layout */
.offer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.offer-details {
    flex: 1;
}

.offer-image {
    flex: 0 0 250px; /* Stała szerokość dla kontenera logo */
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-logo {
    max-height: 200px;
    width: auto;
    object-fit: contain;
}

/* Footer & Contact */
footer {
    background-color: #111;
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo-img {
    display: none;
}

.contact-details li {
    margin-bottom: 10px;
}

.contact-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    border-radius: 4px;
}

.contact-form button {
    width: 100%;
    border: none;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
}

/* QR Code Footer Section (With Logo) */
.qr-col {
    text-align: center;
}

.qr-container {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    width: 170px;
    height: 170px;
}

.qr-code {
    width: 100%;
    height: 100%;
    display: block;
}

.qr-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px; /* Logo w środku QR */
    height: 35px;
    object-fit: contain;
    background: #fff;
    padding: 2px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.qr-hint {
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding-top: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .row {
        flex-direction: column;
    }
    
    .table-header, .table-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }
    
    .table-row div:first-child {
        font-weight: bold;
        color: #888;
        font-size: 0.8rem;
        text-transform: uppercase;
        margin-bottom: 5px;
    }
    
    .cta-container {
        padding: 30px;
    }

    /* Offer responsive */
    .offer-row {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .offer-details ul {
        margin: 20px auto !important;
    }

    .offer-image {
        flex: auto;
        margin-bottom: 20px;
    }

    .offer-logo {
        max-height: 150px;
    }
}
