:root {
    --accent: #C9184A;
    --secondary: #FF4D6D;
    --bg: #111111;
    --bg-elevated: #1A1A1A;
    --text: #F0F0F0;
    --text-muted: #9CA3AF;
    --border: #2E2E2E;
}

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

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 80%, rgba(201, 24, 74, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 77, 109, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(201, 24, 74, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Noise/grain overlay */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    pointer-events: none;
    opacity: 1;
}

a {
    color: var(--secondary);
    text-decoration: none;
}

a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0 24px;
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
}

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

.nav-brand:hover {
    text-decoration: none;
}

.nav-brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

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

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

/* Hero */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    text-align: center;
}

.hero-inner {
    max-width: 680px;
    margin: 0 auto;
}

.hero .app-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(201, 24, 74, 0.3);
    margin-bottom: 32px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.2s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.app-store-badge img {
    height: 54px;
}

/* Footer */
.footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

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

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

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Legal Pages */
.legal {
    padding: 120px 24px 80px;
    max-width: 720px;
    margin: 0 auto;
}

.legal h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal .last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal p,
.legal ul {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal ul {
    padding-left: 24px;
}

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

/* Responsive */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .hero .app-icon {
        width: 96px;
        height: 96px;
        border-radius: 22px;
    }

    .nav-links {
        gap: 16px;
    }
}
