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

:root {
    --primary-green: #10B981;
    --soft-green: #6EE7B7;
    --light-green: #D1FAE5;
    --lighter-green: #ECFDF5;
    --dark-green: #047857;
    --text-dark: #0F172A;
    --text-gray: #64748B;
    --text-light: #94A3B8;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-cream: #FFFFFF;
    --allergy-warning: #FEF3C7;
    --allergy-text: #92400E;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1000;
    padding: 14px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-text {
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 15px;
}

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

.btn-nav {
    padding: 10px 20px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(16, 185, 129, 0.3),
        0 4px 12px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-size: 16px;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green) 0%, #065F46 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 16px 40px rgba(16, 185, 129, 0.4),
        0 8px 16px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary.large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
    border-color: var(--dark-green);
    color: var(--dark-green);
}

/* Hero Section */
.hero {
    margin-top: 52px;
    padding: 80px 0 100px;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: visible;
    background: linear-gradient(180deg, var(--lighter-green) 0%, var(--white) 60%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
    position: relative;
    max-width: 100%;
    overflow: visible;
}

.hero-text {
    position: relative;
    z-index: 3;
    max-width: 100%;
    overflow: visible;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 28px;
    color: var(--text-dark);
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s ease-out;
}

.hero-highlight {
    color: var(--primary-green);
    font-weight: 700;
}

.hero-description {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 400;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow: visible;
}

.phone-mockup {
    position: relative;
    width: 380px;
    height: 780px;
    z-index: 1;
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
    filter: drop-shadow(0 50px 120px rgba(0, 0, 0, 0.5));
    perspective: 1000px;
}

.phone-mockup:hover .phone-frame {
    transform: translateZ(0) rotateY(-2deg) rotateX(2deg);
}

.phone-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2c2c2e 0%, #000000 30%, #1a1a1c 70%, #2c2c2e 100%);
    border-radius: 56px;
    padding: 6px;
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.08) inset,
        0 0 0 1px rgba(0, 0, 0, 0.8) inset,
        0 50px 120px rgba(0, 0, 0, 0.6),
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
    will-change: transform;
    transform: translateZ(0);
    overflow: visible;
    position: relative;
    animation: floatPhone 8s ease-in-out infinite;
}

.phone-frame::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.phone-bezel {
    position: absolute;
    inset: 6px;
    border-radius: 50px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 30%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-reflection {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    height: 35%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
    z-index: 4;
    opacity: 0.7;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 32px;
    background: #000000;
    border-radius: 0 0 20px 20px;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) inset;
}

.phone-notch::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.notch-camera {
    width: 7px;
    height: 7px;
    background: #1c1c1e;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5) inset;
}

.notch-speaker {
    width: 60px;
    height: 5px;
    background: #1c1c1e;
    border-radius: 3px;
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3) inset;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 50px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.15) inset,
        0 2px 10px rgba(0, 0, 0, 0.1) inset;
}

.mockup-screen-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 50px;
}

.mockup-screenshot {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center -12px;
    border-radius: 50px;
    image-rendering: auto;
}

.phone-home-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background: #000000;
    border-radius: 3px;
    z-index: 10;
    opacity: 0.4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.phone-side-button {
    position: absolute;
    background: linear-gradient(145deg, #1a1a1c, #000000);
    border-radius: 2px;
    z-index: 5;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 2px 4px rgba(0, 0, 0, 0.5);
}

.phone-side-button.volume-up {
    left: -3px;
    top: 120px;
    width: 3px;
    height: 32px;
}

.phone-side-button.volume-down {
    left: -3px;
    top: 160px;
    width: 3px;
    height: 32px;
}

.phone-side-button.power {
    right: -3px;
    top: 140px;
    width: 3px;
    height: 48px;
}

/* Command Center Section */
.command-center {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 50%, var(--lighter-green) 100%);
    position: relative;
    overflow: hidden;
}

.command-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.command-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.command-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.active {
    background: #10b981;
}

.status-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.command-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.12),
        0 12px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.9);
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-badge.processing {
    background: rgba(4, 120, 87, 0.12);
    color: var(--dark-green);
    border: 1px solid rgba(4, 120, 87, 0.25);
}

.stat-badge.automated {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.stat-footer {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.live-activity {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.activity-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(4px);
}

.activity-time {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    min-width: 100px;
}

.activity-text {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Product Demos Section */
.product-demos {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--lighter-green) 0%, var(--white) 50%, var(--bg-light) 100%);
    position: relative;
}

.demos-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-top: 16px;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.demo-card {
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.demo-card-header {
    margin-bottom: 24px;
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.demo-status-dot.active {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.demo-status-dot.processing {
    background: var(--dark-green);
    box-shadow: 0 0 8px rgba(4, 120, 87, 0.5);
}

.demo-status-dot.automated {
    background: var(--primary-green);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.demo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.demo-conversation {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.demo-message.user .message-avatar {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

.ai-avatar {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

.message-bubble {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
}

.demo-pantry {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pantry-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pantry-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.pantry-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
}

.pantry-item-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.pantry-item-info {
    flex: 1;
}

.pantry-item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.pantry-item-status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
}

.pantry-item-status.expiring {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.pantry-item-status.good {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.pantry-item-status.low {
    background: rgba(251, 191, 36, 0.1);
    color: #f59e0b;
}

.pantry-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.summary-item {
    text-align: center;
}

.summary-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.summary-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-scan {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.scan-product {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
}

.scan-product-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    flex-shrink: 0;
}

.scan-product-info {
    flex: 1;
}

.scan-product-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.scan-product-brand {
    font-size: 12px;
    color: var(--text-gray);
}

.scan-result {
    padding: 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
}

.scan-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
}

.scan-warning svg {
    flex-shrink: 0;
}

.demo-automations {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.automation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-dark);
}

.automation-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.demo-stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.demo-stat-label {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.demo-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.demo-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-gray);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.demo-description {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

/* App Screens Section */
.app-screens {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.app-screens-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.app-screen {
    text-align: center;
}

.app-screen img {
    width: 100%;
    display: block;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 16px;
}

.app-screen-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.app-screen-subtitle {
    font-size: 14px;
    color: var(--text-gray);
}

@media (max-width: 1024px) {
    .app-screens-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .app-screens-grid {
        grid-template-columns: 1fr;
    }
}

/* Before & After Section */
.before-after {
    padding: 160px 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.02) 0%, transparent 70%),
        linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    position: relative;
    z-index: 2;
}

.before-after-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.section-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.emotion-list {
    list-style: none;
}

.emotion-list li {
    padding: 20px 0;
    font-size: 18px;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    line-height: 1.7;
}

.emotion-list li:last-child {
    border-bottom: none;
}

.emotion-list.positive li {
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.emotion-list.positive li svg {
    color: var(--primary-green);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Allergy Spotlight Section */
.allergy-spotlight {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--lighter-green) 100%);
    position: relative;
    z-index: 2;
}

.spotlight-content {
    max-width: 1000px;
    margin: 0 auto;
}

.spotlight-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.spotlight-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 80px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.spotlight-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.spotlight-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
}

.spotlight-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.spotlight-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.spotlight-card-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
}

.allergy-visual {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.allergy-card {
    max-width: 400px;
    width: 100%;
    padding: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.15);
}

.allergy-card-screenshot {
    padding: 0;
    overflow: hidden;
}

.allergy-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    object-fit: cover;
}

.allergy-product-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-product-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.demo-product-content {
    text-align: center;
    color: white;
}

.demo-brand {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.demo-type {
    font-size: 20px;
    font-weight: 700;
    opacity: 0.9;
}

.demo-product-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 4px;
    letter-spacing: -0.02em;
}

.demo-product-brand {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 12px;
}

.demo-allergy-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #DC2626;
    border-radius: 12px;
    color: white;
}

.demo-allergy-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-allergy-content {
    flex: 1;
}

.demo-allergy-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}

.demo-allergy-subtitle {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 400;
}

.demo-allergy-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.8;
}

/* Imagine Section */
.imagine {
    padding: 140px 0;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.imagine-title {
    font-size: 56px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-dark);
    letter-spacing: -0.05em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.imagine-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.imagine-item {
    padding: 56px 48px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.imagine-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.imagine-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.12),
        0 12px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    border-color: rgba(255, 255, 255, 0.8);
}

.imagine-text {
    font-size: 22px;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 500;
}

/* Outcomes Section */
.outcomes {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 56px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-dark);
    letter-spacing: -0.05em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.outcome-card {
    padding: 56px 48px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

.outcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.outcome-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.12),
        0 12px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    border-color: rgba(255, 255, 255, 0.8);
}

.outcome-card.featured {
    border: 2px solid var(--primary-green);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 
        0 8px 32px rgba(74, 222, 128, 0.2),
        0 2px 8px rgba(74, 222, 128, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.outcome-icon {
    width: 64px;
    height: 64px;
    background: var(--lighter-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    margin-bottom: 28px;
}

.outcome-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.outcome-description {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--lighter-green) 100%);
    position: relative;
    z-index: 2;
}

.testimonials-label {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 48px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.12),
        0 12px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    border-color: rgba(255, 255, 255, 0.8);
}

.testimonial-text {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 400;
    font-style: italic;
}

.testimonial-author {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--lighter-green) 0%, var(--white) 100%);
    position: relative;
    z-index: 2;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(74, 222, 128, 0.1);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(74, 222, 128, 0.12);
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(74, 222, 128, 0.3);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.step-description {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Final CTA Section */
.cta-final {
    padding: 160px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.cta-description {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-link {
    display: block;
    margin-top: 24px;
    color: var(--white);
    text-decoration: underline;
    font-size: 16px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.cta-link:hover {
    opacity: 1;
}

.cta-final .btn-primary {
    background: var(--white);
    color: var(--dark-green);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-final .btn-primary:hover {
    background: var(--lighter-green);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--lighter-green) 100%);
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(16, 185, 129, 0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    margin-top: 16px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer-column a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(16, 185, 129, 0.12);
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatPhone {
    0%, 100% {
        transform: translateY(0) translateZ(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) translateZ(0) rotate(1deg);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 24px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-visual {
        margin: 0 auto;
    }

    .phone-mockup {
        width: 280px;
        height: 580px;
        margin: 0 auto;
    }

    .phone-side-button {
        display: none;
    }

    .before-after-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .imagine-items {
        grid-template-columns: 1fr;
    }

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

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

    .command-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .command-title {
        font-size: 36px;
    }

    .command-stats {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title,
    .spotlight-title,
    .imagine-title,
    .cta-title {
        font-size: 36px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--text-dark);
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .command-title {
        font-size: 32px;
    }

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

    .stat-value {
        font-size: 36px;
    }

    .spotlight-subtitle {
        font-size: 18px;
    }
}

/* Try It Yourself - Functional Demos */
.try-demos {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.try-demos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.try-demo-card {
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-md);
}

.try-demo-header {
    margin-bottom: 24px;
}

.try-demo-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 8px 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.try-demo-header p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

.try-demo-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.try-demo-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.try-demo-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.try-demo-input::placeholder {
    color: var(--text-light);
}

.try-demo-input.inline {
    flex: 1;
    min-width: 0;
}

.try-demo-input.narrow {
    width: 80px;
    flex: 0 0 80px;
}

.pantry-add-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.try-demo-btn {
    flex-shrink: 0;
    padding: 14px 24px;
    font-size: 15px;
}

.try-demo-result {
    min-height: 48px;
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--bg-light);
}

.try-demo-result.allergy-clear {
    background: var(--lighter-green);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--dark-green);
}

.try-demo-result.allergy-warning {
    background: var(--allergy-warning);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--allergy-text);
}

.try-demo-result.allergy-warning strong {
    display: block;
    margin-bottom: 4px;
}

.pantry-demo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.pantry-demo-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pantry-demo-list li .pantry-item-name {
    font-weight: 600;
}

.pantry-demo-list li .pantry-item-expiry {
    font-size: 13px;
    color: var(--text-gray);
}

.pantry-demo-list li .pantry-item-remove {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 4px;
    font-size: 18px;
    line-height: 1;
    opacity: 0.7;
}

.pantry-demo-list li .pantry-item-remove:hover {
    color: var(--primary-green);
    opacity: 1;
}

.try-demo-hint {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.try-demo-hint.hidden {
    display: none;
}

@media (max-width: 768px) {
    .try-demos-grid {
        grid-template-columns: 1fr;
    }
    .pantry-add-row {
        flex-direction: column;
        align-items: stretch;
    }
    .try-demo-input.narrow {
        width: 100%;
        flex: 1 1 auto;
    }
}

/* CTA Form */
.cta-form {
    max-width: 500px;
    margin: 0 auto 24px;
}

.form-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.form-group input {
    flex: 1;
    padding: 18px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.form-note {
    font-size: 14px;
    opacity: 0.8;
    text-align: center;
}

.form-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.form-success svg {
    color: var(--white);
}

.form-success p {
    margin: 0;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
}

/* Enhanced Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-text {
    animation: slideInFromLeft 0.8s ease-out;
}

.hero-visual {
    animation: slideInFromRight 0.8s ease-out 0.2s both;
}

.spotlight-card,
.imagine-item,
.outcome-card,
.testimonial-card {
    animation: scaleIn 0.6s ease-out both;
}

.spotlight-card:nth-child(1) { animation-delay: 0.1s; }
.spotlight-card:nth-child(2) { animation-delay: 0.2s; }
.spotlight-card:nth-child(3) { animation-delay: 0.3s; }
.spotlight-card:nth-child(4) { animation-delay: 0.4s; }

.imagine-item:nth-child(1) { animation-delay: 0.1s; }
.imagine-item:nth-child(2) { animation-delay: 0.2s; }
.imagine-item:nth-child(3) { animation-delay: 0.3s; }
.imagine-item:nth-child(4) { animation-delay: 0.4s; }

.outcome-card:nth-child(1) { animation-delay: 0.1s; }
.outcome-card:nth-child(2) { animation-delay: 0.2s; }
.outcome-card:nth-child(3) { animation-delay: 0.3s; }
.outcome-card:nth-child(4) { animation-delay: 0.4s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

/* Ripple Effect on Buttons */
.btn-primary,
.btn-secondary,
.btn-nav {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after,
.btn-nav::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after,
.btn-secondary:active::after,
.btn-nav:active::after {
    width: 300px;
    height: 300px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    background-size: 1000px 100%;
}