/* NameHalo Website Styles */
/* Design system matches app: dark purple/navy + gold accents */

:root {
    /* Colors - matching app */
    --color-bg: #1a1a2e;
    --color-bg-light: #252545;
    --color-surface: #2d2d4a;
    --color-gold: #d4af37;
    --color-gold-light: #f4d160;
    --color-text: #ffffff;
    --color-text-muted: #a0a0b8;
    --color-male: #5b9bd5;
    --color-female: #e57ba1;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

    /* Spacing */
    --container-width: 1100px;
    --section-padding: 80px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-gold-light);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    color: var(--color-gold);
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

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

/* Main */
main {
    flex: 1;
    padding-top: 64px;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.app-store-badge {
    display: flex;
}

.badge-link img {
    height: 54px;
    transition: transform 0.2s;
}

.badge-link:hover img {
    transform: scale(1.05);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    max-width: 300px;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4),
                0 0 60px rgba(212, 175, 55, 0.2);
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--color-bg-light);
}

.features h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 60px;
}

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

.feature-card {
    background: var(--color-surface);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--color-gold);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Research Section */
.research {
    padding: var(--section-padding);
    text-align: center;
}

.research h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.research > .container > p {
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-bg) 100%);
    text-align: center;
}

.cta h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.cta p {
    color: var(--color-text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta .app-store-badge {
    justify-content: center;
}

/* Footer */
footer {
    background: var(--color-surface);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-text);
}

/* Legal Pages */
.legal-page {
    padding: 100px 0 80px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.last-updated {
    color: var(--color-text-muted);
    margin-bottom: 48px;
}

.legal-page section {
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-gold);
}

.legal-page h3 {
    font-size: 1.125rem;
    margin: 24px 0 12px;
}

.legal-page p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.legal-page ul {
    color: var(--color-text-muted);
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-page strong {
    color: var(--color-text);
}

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

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        max-width: 240px;
    }

    .app-store-badge {
        justify-content: center;
    }

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

    .stats {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero-content h1 {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

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

    .legal-page h1 {
        font-size: 2rem;
    }
}
