/* ==========================================================================
   AMAK AgroTrace - Principal UI/UX Light Theme Design System
   Pristine Luminous Surfaces, Micro-Shadows & High-Converting Hierarchy
   ========================================================================== */

/* 1. Header & Glassmorphism Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 16px 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.site-header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    border-bottom: 1px solid #cbd5e1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: #0f172a !important;
    text-decoration: none;
}

.brand-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.brand-logo-text {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: #475569 !important;
    padding: 8px 14px !important;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #059669 !important;
    background: #ecfdf5;
}

/* 2. Hero Section - Crisp Light Theme with Subtle Aurora */
.hero-section {
    position: relative;
    padding-top: 140px;
    padding-bottom: 90px;
    background: radial-gradient(circle at 20% 15%, rgba(209, 250, 229, 0.65) 0%, rgba(238, 242, 255, 0.5) 45%, #ffffff 85%);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-bg-shapes .shape-1 {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-bg-shapes .shape-2 {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
}

.hero-pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0f172a;
    letter-spacing: -0.035em;
    font-family: var(--font-heading);
}

.text-gradient-primary-emerald {
    background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 26px;
    max-width: 620px;
    line-height: 1.65;
}

.hero-usps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    margin-bottom: 34px;
    font-size: 0.94rem;
    font-weight: 600;
    color: #1e293b;
}

.hero-usps-grid .usp-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-usps-grid i {
    color: #059669;
    font-size: 1.15rem;
}

/* 3. Hero Showcase Card */
.hero-mockup-wrap {
    position: relative;
    z-index: 2;
}

.hero-showcase-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 30px rgba(5, 150, 105, 0.08);
    position: relative;
}

.hero-qr-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 18px;
    padding: 16px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.hero-qr-box img {
    width: 155px;
    height: 155px;
    object-fit: contain;
}

.floating-stat-card {
    position: absolute;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-stat-card.card-1 {
    top: -18px;
    left: -28px;
}

.floating-stat-card.card-2 {
    bottom: -18px;
    right: -24px;
}

.floating-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* 4. Interactive Live Playground (Light Theme) */
.playground-section {
    background: #f8fafc;
    padding: 85px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.playground-tab-btn {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: 9999px;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.playground-tab-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.playground-tab-btn.active {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.3);
}

.playground-screen-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

/* 5. Battle Comparison Cards (Gov vs Platform) */
.comparison-section {
    background: #ffffff;
    padding: 95px 0;
}

.battle-card {
    border-radius: 24px;
    padding: 34px 28px;
    height: 100%;
    transition: all 0.3s ease;
}

.battle-card-gov {
    background: #fff8f8;
    border: 2px solid #fecaca;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.05);
}

.battle-card-our {
    background: #f0fdf4;
    border: 2px solid #86efac;
    box-shadow: 0 16px 40px rgba(5, 150, 105, 0.1);
}

.battle-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.battle-list-item:last-child {
    border-bottom: none;
}

/* 6. Supply Chain Traceability Flow */
.journey-section {
    background: #f8fafc;
    padding: 95px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.journey-node-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.journey-node-card:hover {
    transform: translateY(-6px);
    border-color: #059669;
    box-shadow: 0 16px 32px rgba(5, 150, 105, 0.12);
}

.journey-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px auto;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* 7. Real-Time Telemetry Dashboard Showcase (Light Theme) */
.telemetry-section {
    background: #ffffff;
    padding: 95px 0;
}

.telemetry-mockup-frame {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.kpi-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.kpi-number {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #059669;
}

/* 8. Industry Solutions */
.industries-section {
    background: #f8fafc;
    padding: 95px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.industry-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 22px;
    padding: 30px 24px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.industry-card:hover {
    transform: translateY(-6px);
    border-color: #059669;
    box-shadow: 0 16px 36px rgba(5, 150, 105, 0.1);
}

.industry-badge-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* 9. Pricing Section */
.pricing-section {
    background: #ffffff;
    padding: 95px 0;
}

.pricing-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 38px 28px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.pricing-card.popular-card {
    border: 2px solid #059669 !important;
    box-shadow: 0 20px 45px rgba(5, 150, 105, 0.15);
}

/* 10. Live Demo Card */
.live-demo-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

/* 11. Contact & Assessment Section */
.contact-section {
    background: #f8fafc;
    padding: 95px 0;
    border-top: 1px solid #e2e8f0;
}

/* 12. Utilities & Badges */
.section-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 5px 16px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }

/* 13. Site Footer */
.site-footer {
    background: #000d2d;
    color: #94a3b8;
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 18px;
    font-family: var(--font-heading);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #34d399;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-usps-grid {
        grid-template-columns: 1fr;
    }
    .floating-stat-card.card-1 {
        left: 0;
        top: -12px;
    }
    .floating-stat-card.card-2 {
        right: 0;
        bottom: -12px;
    }
}
