/* ============================================
   NORTH VANCOUVER ENVIRONMENTAL SERVICES
   Premium Homepage Styling — Linear/Vercel-level Polish
   ============================================ */

/* ========== CSS Variables & Reset ========== */
:root {
    --primary-green: #2c5530;
    --primary-light: #4a7c50;
    --accent-green: #38a169;
    --dark-bg: #0f1419;
    --light-bg: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-700: #374151;
    --gray-900: #111827;
    --gradient-primary: linear-gradient(135deg, #2c5530 0%, #4a7c50 100%);
    --gradient-accent: linear-gradient(135deg, #38a169 0%, #2c5530 100%);
    --gradient-glow: linear-gradient(135deg, #34d399, #38a169, #2c5530);
    --darker-bg: #060a12;
    --card-bg: rgba(15, 23, 42, 0.6);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --font-headline: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #f1f5f9;
    background-color: var(--dark-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== Navigation Header ========== */
.main-header {
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled {
    background: rgba(10, 15, 26, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 0.625rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* SVG Shield Logo */
.logo-svg {
    filter: drop-shadow(0 2px 8px rgba(44, 85, 48, 0.3));
    transition: transform 0.3s ease;
}

.logo-svg:hover {
    transform: rotate(5deg) scale(1.08);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(10deg) scale(1.05);
}

.brand-text h1,
.brand-text .brand-name {
    font-family: var(--font-headline);
    color: #f1f5f9 !important;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.tagline {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-glow);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: #f1f5f9;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active nav link highlight */
.nav-link.active {
    color: var(--accent-green);
}

.nav-link.active::after {
    width: 100%;
}

/* Nav dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 220px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin-top: 0.5rem;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
    color: #f1f5f9;
    background: rgba(56, 161, 105, 0.1);
}

/* Language switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #f1f5f9;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
    min-width: 160px;
    margin-top: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.lang-switcher.open .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.lang-dropdown a:hover {
    color: #f1f5f9;
    background: rgba(56, 161, 105, 0.1);
}

/* Nav buttons */
.nav-btn {
    background: linear-gradient(135deg, #38a169, #2c5530);
    color: white;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.5);
}

/* Mobile close bar */
.mobile-close-bar {
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 20px;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

/* Demo preview grid */
.demo-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.login-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background: var(--dark-bg);
}

/* Animated mesh gradient */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 600px 600px at 20% 50%, rgba(44, 85, 48, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 20%, rgba(56, 161, 105, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 60% 80%, rgba(74, 124, 80, 0.12) 0%, transparent 70%);
    animation: meshGradient 20s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes meshGradient {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.4; }
    5% { opacity: 1; }
    33% { transform: translate(2%, -3%) rotate(1deg) scale(1.02); }
    66% { transform: translate(-1%, 2%) rotate(-0.5deg) scale(0.98); }
    100% { transform: translate(3%, 1%) rotate(1.5deg) scale(1); }
}

/* Grid pattern overlay for depth */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(0.8);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 26, 0.4) 0%,
        rgba(10, 15, 26, 0.2) 40%,
        rgba(10, 15, 26, 0.4) 70%,
        rgba(10, 15, 26, 0.85) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 160px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Staggered hero animations */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    font-family: var(--font-headline);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.9s 0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, #34d399 0%, #a7f3d0 50%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(148, 163, 184, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.9s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.9s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.9s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glowing CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.cta-button.primary {
    background: linear-gradient(135deg, #38a169, #2c5530);
    color: white;
    box-shadow: 0 0 20px rgba(56, 161, 105, 0.3), 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button.primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.cta-button.primary:hover::after {
    left: 100%;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(56, 161, 105, 0.5), 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(56, 161, 105, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(56, 161, 105, 0.15);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: white;
    font-size: 1.5rem;
    opacity: 0.5;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========== Scroll Animations ========== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Logo Marquee ========== */
.logo-marquee-section {
    padding: 3rem 0 2rem;
    background: var(--dark-bg);
    overflow: hidden;
    overflow-x: clip;
    max-width: 100vw;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.marquee-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #475569;
    margin-bottom: 1.5rem;
}

.marquee-track {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 50px;
}

.marquee-track::before,
.marquee-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-track::before {
    left: 0;
    background: linear-gradient(90deg, var(--dark-bg), transparent);
}

.marquee-track::after {
    right: 0;
    background: linear-gradient(-90deg, var(--dark-bg), transparent);
}

.marquee-inner {
    display: flex;
    gap: 3rem;
    animation: marqueeScroll 35s linear infinite;
    width: max-content;
    position: absolute;
    left: 0;
    top: 0;
}

.marquee-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #475569;
    font-family: var(--font-headline);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.3s;
    flex-shrink: 0;
}

.marquee-logo:hover {
    color: #94a3b8;
}

.marquee-logo i {
    font-size: 1.25rem;
    opacity: 0.5;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== Services Section ========== */
.services {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0d1420 50%, var(--dark-bg) 100%);
}

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

.section-tag {
    display: inline-block;
    background: rgba(56, 161, 105, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(56, 161, 105, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-title.light {
    color: white;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    font-weight: 400;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

/* Glassmorphism Service Cards */
.service-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated gradient border on hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent, rgba(56, 161, 105, 0.4), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(56, 161, 105, 0.08);
    border-color: rgba(56, 161, 105, 0.15);
}

.service-card.featured {
    border-color: rgba(56, 161, 105, 0.2);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(44, 85, 48, 0.08) 100%);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.35rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Gradient icon backgrounds */
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #2c5530, #38a169);
    box-shadow: 0 8px 24px rgba(44, 85, 48, 0.3);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #0369a1, #38bdf8);
    box-shadow: 0 8px 24px rgba(3, 105, 161, 0.3);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(44, 85, 48, 0.4);
}

.service-card h3 {
    font-family: var(--font-headline);
    font-size: 1.4rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.service-card p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.service-features i {
    color: var(--accent-green);
    font-size: 0.875rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 0.875rem;
}

/* ========== About Section ========== */
.about {
    padding: 8rem 0;
    background: var(--dark-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.about-feature i {
    width: 48px;
    height: 48px;
    background: rgba(56, 161, 105, 0.1);
    border: 1px solid rgba(56, 161, 105, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 20px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-family: var(--font-headline);
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
}

.about-visual {
    position: relative;
}

.visual-card {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.3), rgba(56, 161, 105, 0.1));
    border: 1px solid rgba(56, 161, 105, 0.2);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-card:hover {
    transform: scale(1.03);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 30px rgba(56, 161, 105, 0.15);
}

.visual-card i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #34d399, #38a169);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.visual-card h3 {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.visual-card p {
    opacity: 0.7;
    color: #94a3b8;
    margin: 0;
}

/* ========== Social Proof / Testimonials ========== */
.social-proof {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0f172a 0%, #1a2332 50%, #0f172a 100%);
    text-align: center;
}

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.proof-stat {
    text-align: center;
}

.proof-number {
    display: block;
    font-family: var(--font-headline);
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #38a169, #86efac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.proof-label {
    display: block;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2.25rem;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(56, 161, 105, 0.2);
}

.testimonial-quote i {
    color: var(--accent-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.5;
}

.testimonial-quote p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2c5530, #38a169);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: #f1f5f9;
    font-size: 0.95rem;
}

.author-info span {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ========== Contact Section ========== */
.contact {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0d2818 0%, #1a3a25 50%, #0d1420 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 400px 400px at 20% 50%, rgba(56, 161, 105, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 300px 300px at 80% 30%, rgba(44, 85, 48, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-content p {
    color: rgba(148, 163, 184, 0.9);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 161, 105, 0.2);
    transform: translateX(8px);
}

.contact-method i {
    width: 48px;
    height: 48px;
    background: rgba(56, 161, 105, 0.1);
    border: 1px solid rgba(56, 161, 105, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-method h4 {
    color: #f1f5f9;
    font-family: var(--font-headline);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-method p,
.contact-method a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0;
}

.contact-method a:hover {
    color: var(--accent-green);
}

.contact-form-wrapper {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: #f1f5f9;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #475569;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #38a169, #2c5530);
    color: white;
    padding: 1.125rem;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(44, 85, 48, 0.25);
    position: relative;
    overflow: hidden;
}

/* Shimmer animation on submit button */
.contact-form .submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: none;
}

.contact-form .submit-btn:hover::after {
    animation: shimmer 0.8s ease;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(44, 85, 48, 0.35);
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ========== Pricing Section ========== */
.pricing-section {
    padding: 8rem 0;
    background: var(--dark-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Popular card — animated glow */
.pricing-card.popular {
    border-color: rgba(56, 161, 105, 0.3);
    background: linear-gradient(180deg, rgba(44, 85, 48, 0.08) 0%, rgba(15, 23, 42, 0.5) 100%);
    box-shadow: 0 0 40px rgba(56, 161, 105, 0.1);
    transform: scale(1.04);
}

.pricing-card.popular::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(56, 161, 105, 0.5), rgba(52, 211, 153, 0.3), rgba(56, 161, 105, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: glowPulse 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes glowPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.pricing-card.popular:hover {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 20px 80px rgba(56, 161, 105, 0.2);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.3);
}

.pricing-tier {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.pricing-price {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.pricing-price span {
    font-size: 1.1rem;
    font-weight: 400;
    color: #64748b;
}

.pricing-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features i {
    color: var(--accent-green);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.pricing-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(56, 161, 105, 0.3);
    transform: translateY(-2px);
}

.pricing-cta.primary {
    background: linear-gradient(135deg, #38a169, #2c5530);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(56, 161, 105, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-cta.primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.pricing-cta.primary:hover::after {
    animation: shimmer 0.8s ease;
}

.pricing-cta.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(44, 85, 48, 0.35);
}

/* ========== Final CTA Section ========== */
.final-cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0d2818 0%, #163020 50%, #0a1a10 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #38a169, transparent 70%);
    top: -100px;
    right: -100px;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #2c5530, transparent 70%);
    bottom: -80px;
    left: -80px;
    animation: floatShape 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #86efac, transparent 70%);
    top: 40%;
    left: 60%;
    animation: floatShape 12s ease-in-out infinite 2s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -20px); }
    66% { transform: translate(-15px, 15px); }
}

.final-cta .section-title {
    font-size: 3rem;
}

.final-cta-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.final-cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Glowing primary CTA button */
.cta-btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, #38a169, #2c5530);
    color: white;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(56, 161, 105, 0.3), 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: ctaPulse 3s ease-in-out infinite;
}

.cta-btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
    animation: ctaShimmer 3s ease-in-out infinite;
}

@keyframes ctaShimmer {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.cta-btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(56, 161, 105, 0.45), 0 15px 40px rgba(0, 0, 0, 0.25);
}

.cta-btn-glow:hover::after {
    animation: shimmer 0.8s ease;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(56, 161, 105, 0.3), 0 10px 30px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 0 45px rgba(56, 161, 105, 0.5), 0 10px 30px rgba(0, 0, 0, 0.2); }
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
}

/* ========== Modal Styles ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 3rem;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: var(--shadow-2xl);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--gray-700);
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
    transform: rotate(90deg);
}

.modal h2 {
    font-family: var(--font-headline);
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.modal .form-group {
    margin-bottom: 1.5rem;
}

.modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    font-weight: 600;
}

.modal .form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal .form-group input:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 4px rgba(56, 161, 105, 0.1);
}

.modal .submit-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.modal .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.login-help {
    text-align: center;
    margin-top: 1.25rem;
    color: var(--gray-700);
}

.login-help a {
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
}

.login-help a:hover {
    text-decoration: underline;
}

/* ========== Footer ========== */
footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: #64748b;
    text-align: center;
    padding: 2.5rem 0;
}

footer a {
    color: var(--accent-green) !important;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #34d399 !important;
}

footer p {
    margin: 0;
    font-size: 0.95rem;
}

/* ========== Hero Floating Icons ========== */
.hero-floaters {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-float-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(56, 161, 105, 0.08);
    border: 1px solid rgba(56, 161, 105, 0.12);
    backdrop-filter: blur(8px);
    color: rgba(56, 161, 105, 0.35);
    font-size: 1.1rem;
    animation: heroIconEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               heroFloat 8s 0.8s ease-in-out infinite;
    opacity: 0;
}

.hero-float-icon:nth-child(even) {
    animation-direction: normal, reverse;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    25% { transform: translateY(-18px) rotate(3deg); opacity: 0.6; }
    50% { transform: translateY(-8px) rotate(-2deg); opacity: 0.5; }
    75% { transform: translateY(-22px) rotate(1deg); opacity: 0.65; }
}

@keyframes heroIconEntrance {
    from { opacity: 0; transform: scale(0.5) translateY(20px); }
    to { opacity: 0.4; transform: scale(1) translateY(0); }
}

/* ========== Hero Particles ========== */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(110, 231, 183, 0.4);
    border-radius: 50%;
    animation: particleDrift linear infinite;
}

.particle:nth-child(odd) {
    width: 2px;
    height: 2px;
    background: rgba(56, 161, 105, 0.3);
}

@keyframes particleDrift {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-120px) translateX(30px); opacity: 0; }
}

/* ========== Section Dividers ========== */
.section-divider {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin: -1px 0;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.wave-1 { color: var(--dark-bg); }
.wave-2 { color: #0f172a; }
.wave-3 { color: #0d2818; }
.diagonal-1 { color: #0d1420; }

/* ========== Feature Showcase (Alternating Layouts) ========== */
.feature-showcase {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.feature-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    grid-template-columns: 1fr 1.1fr;
}

.feature-row.reverse .feature-mockup {
    order: 2;
}

.feature-row.reverse .feature-text {
    order: 1;
}

/* Mockup frame (CSS-only product screenshot) */
.mockup-frame {
    background: #0c1222;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 161, 105, 0.06);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.feature-row:hover .mockup-frame {
    transform: perspective(1000px) rotateY(-2deg) translateY(-8px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(56, 161, 105, 0.1);
}

.feature-row.reverse:hover .mockup-frame {
    transform: perspective(1000px) rotateY(2deg) translateY(-8px);
}

.mockup-bar {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.mockup-bar span:first-child { background: rgba(239, 68, 68, 0.5); }
.mockup-bar span:nth-child(2) { background: rgba(245, 158, 11, 0.5); }
.mockup-bar span:nth-child(3) { background: rgba(34, 197, 94, 0.5); }

.mockup-screen {
    padding: 1.5rem;
    min-height: 260px;
    position: relative;
}

/* Dashboard mockup */
.mockup-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-nav-item {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.mockup-nav-item.active {
    background: rgba(56, 161, 105, 0.4);
}

.mockup-content {
    margin-left: 62px;
}

.mockup-map {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(30, 58, 45, 0.5), rgba(15, 30, 50, 0.5));
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.mockup-map::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 4px at 30% 40%, rgba(56, 161, 105, 0.6), transparent),
        radial-gradient(circle 4px at 60% 55%, rgba(245, 158, 11, 0.6), transparent),
        radial-gradient(circle 4px at 75% 30%, rgba(239, 68, 68, 0.6), transparent);
}

.mockup-cards {
    display: flex;
    gap: 8px;
}

.mc {
    flex: 1;
    height: 60px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Wizard mockup */
.mockup-wizard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 1rem 2rem;
}

.mockup-wizard .mw-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.mockup-wizard .mw-step.active {
    background: rgba(56, 161, 105, 0.3);
    border-color: #38a169;
}

.mw-connector {
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.mw-q {
    width: 80%;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 8px;
}

.mw-btns {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.mw-y, .mw-n {
    display: block;
    width: 60px;
    height: 28px;
    border-radius: 8px;
}

.mw-y {
    background: rgba(56, 161, 105, 0.3);
    border: 1px solid rgba(56, 161, 105, 0.4);
}

.mw-n {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Map full mockup */
.mockup-map-full {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    background: linear-gradient(160deg, rgba(20, 40, 35, 0.8), rgba(15, 25, 45, 0.8));
    position: relative;
    overflow: hidden;
}

.mockup-map-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 30px 30px;
}

.mm-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pinPulse 2s ease-in-out infinite;
}

.mm-pin::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid;
    border-color: inherit;
    opacity: 0.3;
    animation: pinRing 2s ease-in-out infinite;
}

.mm-pin.red { background: #ef4444; border-color: #ef4444; }
.mm-pin.orange { background: #f59e0b; border-color: #f59e0b; }
.mm-pin.green { background: #22c55e; border-color: #22c55e; }

@keyframes pinPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes pinRing {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.8); opacity: 0; }
}

/* Feature text */
.feature-text h3 {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.feature-text p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

.feature-icon-badge.warn {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

.feature-icon-badge.danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: gap 0.3s ease, color 0.3s ease;
}

.feature-link:hover {
    gap: 0.875rem;
    color: #6ee7b7;
}

/* ========== Testimonial Carousel ========== */
.testimonial-carousel {
    max-width: 700px;
    margin: 3rem auto 0;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.testimonial-carousel .testimonial-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: left;
    transition: border-color 0.4s ease;
}

.testimonial-carousel .testimonial-card:hover {
    border-color: rgba(56, 161, 105, 0.25);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1.25rem;
}

.testimonial-stars i {
    color: #f59e0b;
    font-size: 0.85rem;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(56, 161, 105, 0.15);
    border-color: rgba(56, 161, 105, 0.3);
    color: #38a169;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent-green);
    width: 24px;
    border-radius: 4px;
}

/* ========== Trust Badges ========== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-badge i {
    color: var(--accent-green);
    font-size: 1rem;
    opacity: 0.7;
}

/* ========== Advanced Scroll Animations ========== */
[data-animate="slide-right"] {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="slide-right"].is-visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="slide-left"] {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="slide-left"].is-visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="scale-up"] {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="scale-up"].is-visible {
    opacity: 1;
    transform: scale(1);
}

/* ========== Fade-in animation on scroll (legacy) ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.15s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        z-index: 10001;
        padding: 1.5rem 1.5rem 2rem;
        overflow-y: auto;
    }

    .nav-menu.open {
        display: flex;
        height: 100vh;
        width: 100vw;
    }

    .nav-menu .nav-link {
        color: #f1f5f9;
        font-size: 1.1rem;
    }

    .nav-menu .nav-dropdown {
        text-align: center;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .nav-menu .nav-dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 10px;
        padding: 0.5rem;
        min-width: auto;
        margin-top: 0.5rem;
        transform: none;
        left: auto;
    }

    .nav-menu .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-menu .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-menu .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-menu .nav-dropdown-menu a {
        color: #94a3b8;
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .nav-menu .nav-btn {
        width: 200px;
        justify-content: center;
    }

    .nav-menu .lang-switcher {
        margin-top: 0.5rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #94a3b8;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: #94a3b8;
        font-size: 2rem;
        cursor: pointer;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.25rem;
    }

    .final-cta .section-title {
        font-size: 2rem;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .mobile-close-bar {
        display: flex;
    }

    .demo-preview-grid {
        grid-template-columns: 1fr;
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-row.reverse .feature-mockup,
    .feature-row.reverse .feature-text {
        order: unset;
    }

    .feature-row:hover .mockup-frame,
    .feature-row.reverse:hover .mockup-frame {
        transform: none;
    }

    .hero-float-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .trust-badges {
        gap: 1rem;
    }

    .trust-badge {
        font-size: 0.8rem;
    }

    .testimonial-slide {
        padding: 0 0.5rem;
    }

    /* Tone down marquee speed on mobile */
    .marquee-inner {
        animation-duration: 20s;
    }
}

@media (max-width: 768px) {
    .logo-marquee-section { display: none; }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .proof-stats {
        gap: 2rem;
    }

    .proof-number {
        font-size: 2rem;
    }
}

/* ========== Performance & Accessibility ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }

    .marquee-inner {
        animation: none !important;
    }

    .hero::before {
        animation: none !important;
    }

    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-buttons,
    .hero-stats {
        opacity: 1 !important;
        transform: none !important;
    }

    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }

    .cta-btn-glow::after {
        animation: none !important;
    }

    .hero-float-icon,
    .particle,
    .mm-pin,
    .mm-pin::after {
        animation: none !important;
        opacity: 0.3 !important;
        transform: none !important;
    }

    [data-animate="slide-right"],
    [data-animate="slide-left"],
    [data-animate="scale-up"] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ========== Screen reader only ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========== Performance: GPU layers ========== */
.service-card,
.pricing-card,
.testimonial-card,
.cta-button,
.cta-btn-glow,
.visual-card,
.contact-method {
    will-change: transform;
}

/* ========== Skip link ========== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}
