/* Landing Page Styles */

/* Remove default content padding for landing page */
.landing-page .content {
    padding: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 4rem 2rem 2rem 2rem;
    text-align: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1.2rem;
    color: white;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-family: inherit;
}

.cta-primary {
    background-color: #2c3e50;
    color: white;
}

.cta-primary:hover {
    background-color: #34495e;
    text-decoration: none;
    color: white;
}

.cta-secondary {
    background-color: transparent;
    color: #2c3e50;
    border-color: #2c3e50;
}

.cta-secondary:hover {
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
}

/* Features Section */
.features-section {
    background-color: white;
    padding: 4rem 2rem;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.feature-card {
    text-align: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
}

.feature-icon {
    color: var(--muted);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon svg path { stroke-width: 1.2; }

.feature-card h3 {
    font-size: 18px;
    font-weight: 400;
    color: var(--fg);
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* How It Works Section */
.how-it-works-section {
    background-color: #f8f8f8;
    padding: 4rem 2rem;
}

.how-it-works-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    background-color: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
}

.step h4 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.step p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0.5rem;
    }
    
    .hero-content {
        max-width: 95%;
        padding: 1.5rem 1rem;
        margin: 0 auto;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .features-section,
    .how-it-works-section {
        padding: 3rem 1rem;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .how-it-works-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1.5rem 0.25rem;
    }
    
    .hero-content {
        max-width: 98%;
        padding: 1.2rem 0.8rem;
    }
    
    .hero-section h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-primary,
    .cta-secondary {
        max-width: 250px;
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .step {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ---- Dark minimalist overrides for Harvest landing page ---- */
.landing-page {
    background: var(--bg);
    color: var(--fg);
}

/* Header and Footer adjustments */
.landing-page .header,
.landing-page .header.scrolled {
    background: var(--bg);
    color: var(--fg);
    border-bottom: none;
    box-shadow: none;
}
.landing-page .header a,
.landing-page .harvest-auth-links a,
.landing-page .user-menu-trigger {
    color: var(--fg);
}
.landing-page .harvest-auth-links a:hover,
.landing-page .user-menu-trigger:hover {
    color: var(--accent);
    font-weight: 600;
    background-color: transparent;
}
.landing-page .footer {
    background: var(--bg);
    color: var(--muted);
    border-top: none;
}

/* Content wrapper spacing for landing */
.landing-page .content { padding: 0; }

/* Hero section minimal styling */
.landing-page .hero-section {
    background: var(--bg);
    padding: 6rem 1.5rem 3rem;
}
.landing-page .hero-section h1 {
    color: var(--fg);
    text-shadow: none;
    font-weight: 600;
}
.landing-page .hero-description {
    color: var(--muted);
    text-shadow: none;
}

/* CTA styles aligned with minimalist design */
.landing-page .cta-buttons { gap: 0.75rem; }
.landing-page .cta-primary,
.landing-page .cta-secondary {
    border-radius: 9999px;
    border: 1px solid var(--line);
}
.landing-page .cta-primary {
    background: var(--accent);
    color: #0b1f1a;
    border-color: var(--accent);
}
.landing-page .cta-primary:hover { filter: brightness(0.95); }
.landing-page .cta-secondary {
    background: transparent;
    color: var(--fg);
    border-color: var(--line);
}
.landing-page .cta-secondary:hover {
    border-color: var(--accent);
    background: rgba(110,231,183,0.08);
    color: var(--fg);
}

/* Features section in dark mode */
.landing-page .features-section {
    background: var(--bg);
    padding: 4rem 2rem;
}
.landing-page .feature-icon { color: var(--accent); }
.landing-page .feature-card h3 { color: var(--fg); }
.landing-page .feature-card p { color: var(--muted); }

/* How it works section in dark mode */
.landing-page .how-it-works-section { background: var(--bg); }
.landing-page .how-it-works-section h2 { color: var(--fg); }
.landing-page .steps-grid { gap: 1.25rem; }
.landing-page .step {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: none;
}
.landing-page .step-number {
    background: var(--accent);
    color: #0b1f1a;
}
.landing-page .step h4 { color: var(--fg); }
.landing-page .step p { color: var(--muted); }

/* Dropdown menu refinement for dark mode */
.landing-page .user-menu-dropdown {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: none;
}
.landing-page .user-menu-header { color: var(--muted); }
.landing-page .user-menu-item {
    color: var(--fg);
    border-bottom: 1px solid var(--line);
}
.landing-page .user-menu-item:hover {
    background: rgba(110,231,183,0.08);
    color: var(--fg);
}


/* Landing footer social styles (inherit company footer visuals in dark mode)
   Moved to base_styles.css for DRY; keeping only minimal overrides if needed. */



/* Thin strokes for CTA icons on landing */
.cta-buttons svg path { stroke-width: 1.2; }


/* Harvest landing: icon accent variations and minimalist step numbers */
/* Distinct colors for feature icons (uses currentColor in SVG) */
.landing-page .features-container .feature-card:nth-child(1) .feature-icon { color: #6ee7b7; }
.landing-page .features-container .feature-card:nth-child(2) .feature-icon { color: #60a5fa; }
.landing-page .features-container .feature-card:nth-child(3) .feature-icon { color: #c084fc; }

/* Minimalist numbers for "Comment ça marche" */
.landing-page .how-it-works-section .step-number {
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
}
