/* ===================================
   BiteHero Website Styles
   =================================== */

/* CSS Variables for Premium Brand Colors */
:root {
    --primary-black: #0A0A0A;
    --primary-dark: #1A1A1A;
    --primary-gray: #2D2D2D;

    --accent-orange: #FF6B35;
    --accent-teal: #00D4AA;
    --accent-gold: #FFB800;

    --text-primary: #0A0A0A;
    --text-secondary: #525252;
    --text-tertiary: #737373;
    --text-light: #A3A3A3;

    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-gray: #F5F5F5;
    --bg-dark: #0A0A0A;

    --border-light: #E5E5E5;
    --border-medium: #D4D4D4;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

header .logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

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

header .logo h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

header nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

header nav > a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

header nav > a:hover {
    color: var(--text-primary);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border-light);
}

.lang-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.lang-link:hover {
    color: var(--text-primary);
}

.lang-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

.lang-divider {
    color: var(--border-medium);
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding: 6rem 0 8rem 0;
    background: var(--bg-white);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.app-badges {
    margin-bottom: 1.5rem;
}

.app-store-badge {
    display: inline-block;
}

.coming-soon {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-black);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-black);
}

.coming-soon:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.languages {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    font-weight: 500;
}

.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    width: 426px;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

/* Trust Badges Inline (in Hero) */
.trust-badges-inline {
    margin-top: 2rem;
}

.badges-grid-inline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Trust Badges Section (if standalone) */
.trust-badges {
    padding: 4rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.badge-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.badges-grid-inline .badge-item {
    text-align: center;
    padding: 1rem 0.5rem;
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.badges-grid-inline .badge-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.badge-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.badges-grid-inline .badge-item h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.badge-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.badges-grid-inline .badge-item p {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 4rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-white);
}

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

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary-black);
    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;
    box-shadow: var(--shadow-md);
}

.step h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Science Section */
.science {
    padding: 6rem 0;
    background: var(--bg-light);
}

.science-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

.science-item {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.science-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.science-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.science-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--primary-black);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    color: var(--bg-light);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-black);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--bg-light);
    color: var(--primary-black);
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
    color: var(--bg-light);
}

/* Footer */
footer {
    background: var(--primary-black);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Legal Pages (Privacy & Support) */
.legal-content, .support-content {
    padding: 4rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1, .support-content h1 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.last-updated, .support-intro {
    color: var(--text-medium);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section h4 {
    color: var(--primary-purple);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p, .legal-section li {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul, .legal-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section.summary {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-green);
}

.legal-section.summary .highlight {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Support Page Specific */
.contact-card {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.contact-card h2 {
    color: white;
    border: none;
    margin-bottom: 1rem;
}

.contact-card p {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: white;
    text-decoration: underline;
}

.faq-title {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.faq-section {
    margin-bottom: 3rem;
}

.faq-section h3 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.faq-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.faq-item p, .faq-item li {
    color: var(--text-medium);
    line-height: 1.8;
}

.faq-item ul, .faq-item ol {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.still-need-help {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.still-need-help h2 {
    margin-bottom: 1rem;
}

.still-need-help p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .phone-mockup {
        margin-top: 2rem;
    }

    header nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .phone-screen {
        width: 220px;
        height: 440px;
    }

    .phone-screen p {
        font-size: 3rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
