/* ========================================
   VINE LANDING PAGE STYLES
   Design System: Organic, Premium, Intentional
   ======================================== */

/* ----------------------------------------
   CSS Variables (Design Tokens)
   ---------------------------------------- */
:root {
    /* Primary Colors */
    --color-forest: #2C5530;
    --color-forest-light: #E8F0E9;
    --color-forest-dark: #1E3B22;
    --color-forest-soft: rgba(44, 85, 48, 0.08);
    
    /* Accent Colors */
    --color-terracotta: #C17767;
    --color-terracotta-light: #F5E8E5;
    --color-terracotta-dark: #A65D4D;
    --color-terracotta-soft: rgba(193, 119, 103, 0.1);
    
    /* Neutrals */
    --color-cream: #F5F1E8;
    --color-ivory: #FAF8F4;
    --color-charcoal: #2D2D2D;
    --color-charcoal-alt: #3A3A3A;
    --color-stone: #9A9A9A;
    --color-grey-light: #E5E5E5;
    --color-grey-ultralight: #F0F0F0;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-charcoal);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ----------------------------------------
   Container
   ---------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ----------------------------------------
   Typography Utilities
   ---------------------------------------- */
.text-accent {
    color: var(--color-forest);
}

.text-terracotta {
    color: var(--color-terracotta);
}

.text-muted {
    color: var(--color-stone);
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-forest);
    color: var(--color-cream);
    border: 2px solid var(--color-forest);
}

.btn-primary:hover {
    background-color: var(--color-forest-dark);
    border-color: var(--color-forest-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-forest);
    border: 2px solid var(--color-forest);
}

.btn-secondary:hover {
    background-color: var(--color-forest);
    color: var(--color-cream);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* ----------------------------------------
   Section Badges
   ---------------------------------------- */
.section-badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-forest);
    background-color: var(--color-forest-light);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.section-badge-light {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-cream);
}

.section-badge-terracotta {
    background-color: var(--color-terracotta-light);
    color: var(--color-terracotta-dark);
}

/* ----------------------------------------
   Section Titles
   ---------------------------------------- */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
    color: var(--color-charcoal);
    margin-bottom: var(--space-lg);
}

.section-title-light {
    color: var(--color-cream);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-stone);
    max-width: 600px;
    margin-bottom: var(--space-2xl);
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.8);
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background-color: transparent;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background-color: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-forest);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a:not(.btn) {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-charcoal);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-forest);
    transition: width var(--transition-base);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-charcoal);
    transition: all var(--transition-base);
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-ivory) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--color-forest-soft) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--color-terracotta-soft) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
    background-color: var(--color-terracotta-light);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    color: var(--color-charcoal);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-stone);
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-grey-light);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    font-style: italic;
    color: var(--color-forest);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--color-stone);
    margin-top: var(--space-xs);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-grey-light);
}

/* Hero Image / Phone Mockup */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    position: relative;
    width: 320px;
    height: 660px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 44px;
    padding: 14px;
    box-shadow: var(--shadow-xl);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background-color: #1a1a1a;
    border-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-forest-soft) 0%, transparent 70%);
    z-index: -1;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 20px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    top: 15%;
    left: -20%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    right: -15%;
    animation-delay: 3s;
}

.floating-icon {
    font-size: 20px;
}

.floating-card span {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-charcoal);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-stone);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-stone);
    border-bottom: 2px solid var(--color-stone);
    transform: rotate(45deg);
}

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

/* ----------------------------------------
   Problem Section
   ---------------------------------------- */
.problem-section {
    padding: var(--space-4xl) 0;
    background-color: var(--color-white);
}

.problem-content {
    text-align: center;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.problem-card {
    text-align: center;
    padding: var(--space-xl);
    background-color: var(--color-cream);
    border-radius: var(--radius-xl);
    transition: transform var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-8px);
}

.problem-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
}

.problem-card p {
    font-size: 14px;
    color: var(--color-stone);
    line-height: 1.6;
}

/* ----------------------------------------
   Solution Section
   ---------------------------------------- */
.solution-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-dark) 100%);
    position: relative;
    overflow: hidden;
}

.solution-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.solution-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.step-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-2xl);
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    backdrop-filter: blur(10px);
}

.step-card-reverse {
    direction: rtl;
}

.step-card-reverse > * {
    direction: ltr;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 64px;
    font-weight: 600;
    font-style: italic;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

.step-content h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-cream);
    margin-bottom: var(--space-md);
}

.step-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 400px;
}

.step-visual {
    width: 200px;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----------------------------------------
   Features Section
   ---------------------------------------- */
.features-section {
    padding: var(--space-4xl) 0;
    background-color: var(--color-cream);
}

.features-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-lg);
}

.feature-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.feature-card:hover {
    border-color: var(--color-forest-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-card-large {
    grid-column: 1;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--color-forest-light) 0%, var(--color-white) 100%);
    padding: var(--space-2xl);
}

.feature-card-large .feature-icon-wrap {
    width: 72px;
    height: 72px;
    margin-bottom: var(--space-lg);
}

.feature-card-large .feature-icon {
    width: 36px;
    height: 36px;
}

.feature-extra {
    margin-top: auto;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-forest-soft);
    font-size: 14px;
    color: var(--color-forest);
    font-style: italic;
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-forest-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.feature-icon {
    width: 28px;
    height: 28px;
    stroke: var(--color-forest);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 14px;
    color: var(--color-stone);
    line-height: 1.6;
}

.feature-card-large h3 {
    font-size: 22px;
}

.feature-card-large p {
    font-size: 16px;
}

/* ----------------------------------------
   Gender Sections (For Women / For Men)
   ---------------------------------------- */
.gender-section {
    padding: var(--space-4xl) 0;
}

.section-women {
    background-color: var(--color-terracotta-light);
}

.section-men {
    background-color: var(--color-white);
}

.gender-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.gender-content-reverse {
    direction: rtl;
}

.gender-content-reverse > * {
    direction: ltr;
}

.gender-description {
    font-size: 18px;
    color: var(--color-charcoal-alt);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.gender-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.gender-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 16px;
    color: var(--color-charcoal);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--color-forest);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.gender-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup-small .phone-frame {
    width: 280px;
    height: 576px;
}

/* ----------------------------------------
   Testimonials Section
   ---------------------------------------- */
.testimonials-section {
    padding: var(--space-4xl) 0;
    background-color: var(--color-cream);
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 80px;
    font-style: italic;
    color: var(--color-forest-light);
    line-height: 1;
    position: absolute;
    top: 16px;
    left: 24px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--color-charcoal);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    margin-top: var(--space-xl);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-forest);
    color: var(--color-cream);
    font-weight: 600;
    border-radius: 50%;
}

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

.author-name {
    font-weight: 600;
    color: var(--color-charcoal);
}

.author-location {
    font-size: 14px;
    color: var(--color-stone);
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */
.cta-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-charcoal-alt) 100%);
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(44, 85, 48, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(193, 119, 103, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
    color: var(--color-cream);
    margin-bottom: var(--space-lg);
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.store-button {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 14px 28px;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.store-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.store-icon {
    width: 32px;
    height: 32px;
    fill: var(--color-charcoal);
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-label {
    font-size: 11px;
    color: var(--color-stone);
}

.store-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-charcoal);
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
    background-color: var(--color-charcoal);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--color-cream);
}

.footer-tagline {
    margin-top: var(--space-md);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-cream);
    margin-bottom: var(--space-md);
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background-color: var(--color-forest);
    transform: translateY(-4px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-cream);
}

/* ----------------------------------------
   Responsive Styles
   ---------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: var(--space-2xl);
    }
    
    .floating-card-1 {
        left: 5%;
    }
    
    .floating-card-2 {
        right: 5%;
    }
    
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-card-reverse {
        direction: ltr;
    }
    
    .step-number {
        font-size: 48px;
    }
    
    .step-content p {
        max-width: 100%;
    }
    
    .step-visual {
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gender-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .gender-content-reverse {
        direction: ltr;
    }
    
    .gender-benefits {
        align-items: center;
    }
    
    .gender-benefits li {
        justify-content: center;
    }
    
    .gender-visual {
        order: -1;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .phone-frame {
        width: 280px;
        height: 576px;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card-large {
        grid-column: span 1;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .store-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn-lg {
        width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .phone-frame {
        width: 240px;
        height: 494px;
        border-radius: 36px;
    }
    
    .phone-frame::before {
        width: 60px;
        height: 18px;
    }
    
    .phone-screen {
        border-radius: 26px;
    }
    
    .step-visual {
        width: 180px;
        height: 360px;
    }
    
    .phone-mockup-small .phone-frame {
        width: 220px;
        height: 452px;
    }
}

/* ----------------------------------------
   Animation Classes
   ---------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ----------------------------------------
   Disabled Store Button (Coming Soon)
   ---------------------------------------- */
.store-button-disabled {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.store-button-disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.store-button-disabled:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.store-button-disabled .store-label {
    color: var(--color-terracotta);
    font-weight: 500;
}

/* ----------------------------------------
   Clickable Images
   ---------------------------------------- */
.clickable-image {
    cursor: zoom-in;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.clickable-image:hover {
    transform: scale(1.02);
}

/* ----------------------------------------
   Lightbox (Fullscreen Image Viewer)
   ---------------------------------------- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    z-index: 10001;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-image {
    transform: scale(1);
}

/* ----------------------------------------
   Features Grid - 5 Cards Layout
   ---------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Adjust for 5 cards - center the last 2 */
.features-grid .feature-card:nth-child(4),
.features-grid .feature-card:nth-child(5) {
    /* These will naturally flow */
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Center the 5th card on tablet */
    .features-grid .feature-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid .feature-card:nth-child(5) {
        max-width: none;
    }
}
