/* =============================================
   FoodFoto AI — Landing Page Styles
   Dark theme: #10221c bg, #13eca4 primary
   ============================================= */

:root {
    --primary: #13eca4;
    --primary-dark: #0fd693;
    --primary-glow: rgba(19, 236, 164, 0.15);
    --bg: #10221c;
    --bg-light: #162520;
    --surface: #1c2e28;
    --surface-dark: #142420;
    --text: #ffffff;
    --text-secondary: #9db9b0;
    --text-muted: #637588;
    --border: #3b544b;
    --error: #ef4444;
    --warning: #f59e0b;
    --accent: #10b981;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 32px;
    transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
    background: rgba(16, 34, 28, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 24px; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--text); }
.logo-ai { color: var(--primary); }
.nav-links {
    flex: 1;
    display: flex;
    gap: 28px;
    justify-content: center;
}
.nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); opacity: 1; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-btn-secondary {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.nav-btn-secondary:hover { border-color: var(--primary); color: var(--primary); opacity: 1; }
.nav-btn-primary {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bg);
    background: var(--primary);
    border-radius: var(--radius-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px var(--primary-glow); opacity: 1; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 6px 0; transition: 0.3s; border-radius: 2px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}
.btn-primary { background: var(--primary); color: var(--bg); padding: 14px 28px; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--primary-glow); color: var(--bg); opacity: 1; }
.btn-ghost { background: transparent; color: var(--text-secondary); padding: 14px 28px; }
.btn-ghost:hover { color: var(--text); opacity: 1; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--border); padding: 14px 28px; }
.btn-outline:hover { border-color: var(--primary); opacity: 1; }
.btn-lg { font-size: 16px; padding: 16px 32px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 32px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
}
.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: 10%;
    right: -10%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}
.hero-content { flex: 1; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(19, 236, 164, 0.2);
}
.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-gradient {
    background: linear-gradient(135deg, var(--primary), #6ee7b7, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 32px; align-items: center; }
.stat-number { display: block; font-size: 28px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-visual { flex: 0 0 340px; z-index: 1; }
.hero-phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--surface);
    border-radius: 36px;
    padding: 12px;
    border: 2px solid var(--border);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 60px var(--primary-glow);
    margin: 0 auto;
}
.phone-screen { width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: var(--bg); }
.phone-image { width: 100%; height: 100%; object-fit: cover; }

/* ===== SOCIAL PROOF ===== */
.social-proof {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 32px;
}
.social-proof-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.social-proof p { color: var(--text-muted); font-size: 14px; font-weight: 500; }

/* ===== SECTIONS ===== */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 100px 32px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.section-subtitle { color: var(--text-secondary); font-size: 17px; margin-top: 12px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== FEATURES ===== */
.features { background: var(--bg-light); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.feature-card-hero { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.feature-card-hero .feature-icon { font-size: 48px; }
.feature-card-hero .feature-tags { grid-column: span 2; display: flex; gap: 8px; margin-top: 8px; }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.tag {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== HOW IT WORKS ===== */
.steps { max-width: 600px; margin: 0 auto; }
.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
}
.step-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.step-content p { color: var(--text-secondary); font-size: 15px; }
.step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), var(--border));
    margin-left: 23px;
    margin: 8px 0 8px 23px;
}

/* ===== PRICING ===== */
.pricing { background: var(--bg-light); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.pricing-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card-popular { border-color: var(--primary); box-shadow: 0 0 40px var(--primary-glow); }
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.pricing-tier { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.pricing-price { font-size: 40px; font-weight: 900; color: var(--primary); margin-bottom: 24px; }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--text-secondary); }
.pricing-features { list-style: none; flex: 1; margin-bottom: 24px; }
.pricing-features li { padding: 6px 0; font-size: 14px; }
.pricing-features .included { color: var(--text); }
.pricing-features .excluded { color: var(--text-muted); text-decoration: line-through; opacity: 0.6; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.testimonial-stars { color: var(--warning); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; gap: 12px; align-items: center; }
.author-avatar { font-size: 32px; }
.testimonial-author strong { display: block; font-size: 14px; color: var(--text); }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    padding: 20px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--primary); }
.faq-toggle { font-size: 22px; color: var(--primary); transition: transform 0.3s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* ===== CTA ===== */
.cta { background: var(--bg-light); }
.cta-content {
    text-align: center;
    padding: 60px 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.cta-content h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-content p { color: var(--text-secondary); margin-bottom: 28px; font-size: 17px; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 60px 32px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 60px; justify-content: space-between; }
.footer-brand { max-width: 260px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 12px; }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}
.footer-bottom p { color: var(--text-muted); font-size: 13px; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding-top: 100px; gap: 40px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { flex: none; }

    .features-grid { grid-template-columns: 1fr 1fr; }
    .feature-card-hero { grid-column: span 2; grid-template-columns: 1fr; }
    .feature-card-hero .feature-tags { grid-column: span 1; }

    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-links { gap: 32px; }
}

@media (max-width: 600px) {
    .nav { padding: 12px 16px; }
    .nav-links, .nav-actions { display: none; }
    .nav-hamburger { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 20px;
        border-bottom: 1px solid var(--border);
        gap: 16px;
    }
    .nav-actions.open { display: flex; position: absolute; top: 56px; right: 16px; }

    .section-inner { padding: 60px 16px; }
    .hero { padding: 80px 16px 40px; }
    .hero-phone-mockup { width: 220px; height: 440px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card-hero { grid-column: span 1; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }
}
