/* ===================================================================
   NudgeFlow Marketing Landing Page Styles
   =================================================================== */

:root {
    /* ===================================================================
       Color System - NudgeFlow Brand
       =================================================================== */

    /* Brand Colors - Primary Palette */
    --brand-purple: #320D64;
    --brand-purple-dark: #250a4d;
    --brand-purple-light: #f3e8ff;
    --brand-magenta: #B9266A;
    --brand-coral: #FF4A5B;
    --brand-coral-dark: #e63f50;
    --brand-coral-light: #ffe5e9;
    --brand-orange: #FF8A46;

    /* Semantic Colors */
    --color-primary: #FF4A5B;
    --color-primary-hover: #e63f50;
    --color-primary-light: #ffe5e9;
    --color-primary-dark: #d93a4a;

    --color-secondary: #320D64;
    --color-secondary-hover: #250a4d;
    --color-secondary-light: #f3e8ff;

    --color-accent: #B9266A;
    --color-accent-hover: #9a1f59;

    /* Neutral Colors - Grays */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-inverse: #ffffff;
    --text-muted: #94a3b8;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-inverse: #0f172a;
    --bg-overlay: rgba(15, 23, 42, 0.5);

    /* Border Colors */
    --border-light: #f1f5f9;
    --border-medium: #e2e8f0;
    --border-dark: #cbd5e1;
    --border-focus: #FF4A5B;

    /* State Colors */
    --color-success: #10b981;
    --color-success-light: #d1fae5;
    --color-warning: #f59e0b;
    --color-warning-light: #fef3c7;
    --color-error: #ef4444;
    --color-error-light: #fee2e2;
    --color-info: #3b82f6;
    --color-info-light: #dbeafe;

    /* ===================================================================
       Gradients
       =================================================================== */
    --gradient-brand: linear-gradient(135deg, #320D64 0%, #B9266A 50%, #FF4A5B 75%, #FF8A46 100%);
    --gradient-hero-overlay: linear-gradient(135deg,
        rgba(50, 13, 100, 0.85) 0%,
        rgba(50, 13, 100, 0.7) 40%,
        rgba(185, 38, 106, 0.6) 70%,
        rgba(255, 74, 91, 0.5) 100%);
    --gradient-subtle: linear-gradient(135deg, #f8f9ff 0%, #fef3f7 100%);

    /* ===================================================================
       Spacing System (8px base)
       =================================================================== */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */

    /* ===================================================================
       Typography Scale
       =================================================================== */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    --font-size-6xl: 3.75rem;     /* 60px */
    --font-size-7xl: 4.5rem;      /* 72px */

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    --line-height-tight: 1.1;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 1.7;

    /* ===================================================================
       Shadows
       =================================================================== */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* ===================================================================
       Border Radius
       =================================================================== */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;

    /* ===================================================================
       Transitions
       =================================================================== */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ===================================================================
       Z-Index Scale
       =================================================================== */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;

    /* Legacy variable support (deprecated, use new tokens above) */
    --primary-color: var(--color-secondary);
    --primary-hover: var(--color-secondary-hover);
    --primary-light: var(--color-secondary-light);
    --secondary-color: var(--gray-500);
    --accent-color: var(--color-accent);
    --text-dark: var(--text-primary);
    --text-medium: var(--text-secondary);
    --text-light: var(--text-tertiary);
    --bg-white: var(--bg-primary);
    --bg-gray-50: var(--gray-50);
    --bg-gray-100: var(--gray-100);
    --border-color: var(--border-medium);
    --gradient-primary: var(--gradient-brand);
    --gradient-hero: var(--gradient-subtle);
    --shadow-sm: var(--shadow-sm);
    --shadow-md: var(--shadow-md);
    --shadow-lg: var(--shadow-lg);
    --shadow-xl: var(--shadow-xl);
}

/* ===================================================================
   Base Styles
   =================================================================== */

.landing-page {
    min-height: 100vh;
    background: var(--bg-white);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Smooth scroll behavior and offset for fixed nav */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ===================================================================
   Accessibility - Focus States
   =================================================================== */

*:focus {
    outline: none;
}

*:focus-visible {
    outline: 3px solid #FF4A5B;
    outline-offset: 2px;
    border-radius: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #FF4A5B;
    outline-offset: 4px;
}

/* ===================================================================
   Scroll Animations
   =================================================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ===================================================================
   Image Optimization & Lazy Loading
   =================================================================== */

/* Lazy loading placeholder */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease-in;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Image blur-up effect */
.img-blur-up {
    filter: blur(10px);
    transform: scale(1.05);
    transition: filter 0.4s ease-out, transform 0.4s ease-out;
}

.img-blur-up.loaded {
    filter: blur(0);
    transform: scale(1);
}

/* Prevent layout shift */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.aspect-ratio-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.aspect-ratio-container::before {
    content: '';
    display: block;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.aspect-ratio-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================================================
   Navigation
   =================================================================== */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    background: transparent;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.9;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.main-nav.scrolled .nav-logo-text {
    color: var(--primary-color);
    text-shadow: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    border-bottom-color: white;
}

.main-nav.scrolled .nav-link {
    color: var(--text-dark);
    text-shadow: none;
}

.main-nav.scrolled .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.btn-nav-cta {
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.btn-nav-cta:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.main-nav.scrolled .btn-nav-cta {
    background: var(--primary-color);
    color: white;
}

.main-nav.scrolled .btn-nav-cta:hover {
    background: var(--primary-hover);
}

/* Hamburger Menu */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.main-nav.scrolled .hamburger-line {
    background: var(--text-dark);
}

.nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================================================
   Hero Section
   =================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 6rem;
    overflow: hidden;
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fallback gradient if image not found */
    background: linear-gradient(135deg, #1a0d3e 0%, #2d1b5e 50%, #4a2870 100%);
    background-image: url('../images/hero-background-professional.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero-overlay);
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 700px;
    position: relative;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title-accent {
    color: #FF4A5B;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF4A5B;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

/* ===================================================================
   Video Section
   =================================================================== */

.video-section {
    background: var(--bg-gray-50);
}

.video-container {
    max-width: 960px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    background: var(--gray-900);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    cursor: pointer;
}

.video-facade-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-facade-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.video-facade:hover .video-facade-play {
    transform: translate(-50%, -50%) scale(1.1);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
}

.video-facade:hover .video-facade-play path:first-child {
    fill: #ff0000;
    fill-opacity: 1;
}

@media (max-width: 768px) {
    .video-wrapper {
        border-radius: var(--radius-lg);
    }
}

/* ===================================================================
   Section Styles -update
   =================================================================== */

section {
    padding: 5rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ===================================================================
   Features Section
   =================================================================== */

.features-section {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
    min-height: 380px;
}

.feature-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
    border-color: var(--color-primary);
}

.feature-card:hover .feature-image {
    transform: scale(1.05);
}

.feature-card:hover .feature-image-overlay {
    background: linear-gradient(to bottom,
        rgba(15, 23, 42, 0.5) 0%,
        rgba(15, 23, 42, 0.85) 100%);
}

.feature-card-primary {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.feature-card-primary:hover {
    box-shadow: 0 25px 50px -12px rgba(255, 74, 91, 0.25);
}

.feature-card-primary:hover .feature-image-overlay {
    background: linear-gradient(to bottom,
        rgba(255, 74, 91, 0.4) 0%,
        rgba(50, 13, 100, 0.9) 100%);
}

.feature-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
    background: var(--gradient-brand);
}

.feature-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(15, 23, 42, 0.3) 0%,
        rgba(15, 23, 42, 0.75) 100%);
    transition: background 0.4s ease;
}

.feature-card-primary .feature-image-overlay {
    background: linear-gradient(to bottom,
        rgba(255, 74, 91, 0.25) 0%,
        rgba(50, 13, 100, 0.85) 100%);
}

.feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    padding: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    line-height: var(--line-height-snug);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.feature-description {
    color: rgba(255, 255, 255, 0.95);
    line-height: var(--line-height-relaxed);
    font-size: 0.9375rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* ===================================================================
   How It Works Section
   =================================================================== */

.how-it-works-section {
    background: var(--bg-gray-50);
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-gray-50) 100%);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.step-arrow {
    font-size: 2.5rem;
    color: var(--brand-magenta);
    font-weight: 700;
    opacity: 0.6;
}

/* ===================================================================
   Benefits Section
   =================================================================== */

.benefits-section {
    background: var(--bg-white);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.benefits-text .section-badge {
    margin-bottom: 1rem;
}

.benefits-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.benefit-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.benefit-text p {
    color: var(--text-medium);
    line-height: 1.6;
}

.benefits-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-stat-card {
    padding: 2rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    color: white;
}

.benefit-stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.benefit-stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-stat-desc {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ===================================================================
   Use Cases Section
   =================================================================== */

.use-cases-section {
    background: var(--bg-gray-50);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.use-case-card {
    padding: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    overflow: hidden;
}

.use-case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.use-case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.use-case-content {
    padding: 1.5rem;
    text-align: center;
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.use-case-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.use-case-description {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* ===================================================================
   CTA Section
   =================================================================== */

.cta-section {
    background: var(--gradient-primary);
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================================================================
   Contact Section
   =================================================================== */

.contact-section {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-method-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-method-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
}

.contact-method-value:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-gray-50);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-white);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===================================================================
   Footer
   =================================================================== */

.landing-footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 5% 2rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto 2.5rem;
}

.footer-logo {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-circle {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-logo-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-tagline {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-description {
    max-width: 400px;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-link-group h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.footer-link-group a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 0.75rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-link-group a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.6;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
}

/* ===================================================================
   Toast Notifications
   =================================================================== */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .toast-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* ===================================================================
   Buttons
   =================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #FF4A5B;
    color: white;
}

.btn-primary:hover {
    background: #e63f50;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Secondary button on light backgrounds */
.features-section .btn-secondary,
.contact-section .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.features-section .btn-secondary:hover,
.contact-section .btn-secondary:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-cta {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ===================================================================
   Responsive Design
   =================================================================== */

@media (max-width: 1024px) {
    .hero-section {
        padding: 6rem 5% 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-arrow {
        display: none;
    }

    .benefits-content {
        grid-template-columns: 1fr;
    }

    .benefits-text .section-title {
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 2rem;
    }

    .footer-links {
        gap: 2rem;
    }

    .landing-footer {
        padding: 3rem 5% 1.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 5%;
    }

    .main-nav {
        padding: 1rem 5%;
    }

    .nav-logo-text {
        font-size: 1.25rem;
    }

    /* Show hamburger on mobile */
    .nav-hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.125rem;
        padding: 1rem 0;
        color: var(--text-dark);
        text-shadow: none;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .nav-link:hover {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
    }

    .btn-nav-cta {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        background: #FF4A5B;
        color: white;
    }

    .btn-nav-cta:hover {
        background: #e63f50;
    }

    .hero-section {
        padding: 6rem 5% 4rem;
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 1rem 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 2rem;
        margin-top: 0.5rem;
    }

    .stat-item {
        text-align: center;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
    }

    .stat-divider {
        display: none;
    }

    /* Better touch targets */
    .feature-card,
    .step-card,
    .use-case-card {
        min-height: auto;
    }

    .feature-card {
        min-height: 320px;
    }

    .feature-image-wrapper {
        min-height: 320px;
    }

    .feature-content {
        height: auto;
        min-height: 180px;
        padding: 1.5rem;
    }

    .feature-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .feature-description {
        font-size: 0.875rem;
        -webkit-line-clamp: 3;
    }

    .use-case-card {
        margin-bottom: 1rem;
    }

    .use-case-image {
        height: 180px;
    }

    .use-case-content {
        padding: 1.25rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem 1rem;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .form-group {
        margin-bottom: 0;
    }

    .benefit-item {
        gap: 0.875rem;
    }

    .benefit-text h4 {
        font-size: 1rem;
    }

    .benefit-text p {
        font-size: 0.9rem;
    }

    .benefits-list {
        gap: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3.5rem 5%;
    }

    .main-nav {
        padding: 0.75rem 3%;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-logo-text {
        font-size: 1.125rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-end;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .btn-nav-cta {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .hero-section {
        padding: 5rem 5% 3rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.25rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .landing-footer {
        padding: 2.5rem 5% 1.5rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .feature-card {
        min-height: 280px;
    }

    .feature-image-wrapper {
        min-height: 280px;
    }

    .feature-content {
        min-height: 160px;
        padding: 1.25rem;
    }

    .feature-title {
        font-size: 1.125rem;
    }

    .use-case-title {
        font-size: 1rem;
    }

    .use-case-description {
        font-size: 0.875rem;
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .step-title {
        font-size: 1.125rem;
    }

    .step-description {
        font-size: 0.875rem;
    }

    .benefit-stat-card {
        padding: 1.5rem;
    }

    .benefit-stat-icon {
        font-size: 2rem;
    }

    .benefit-stat-number {
        font-size: 2.5rem;
    }

    .benefit-stat-label {
        font-size: 1.125rem;
    }

    .contact-method-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .contact-method-value {
        font-size: 1rem;
    }
}
