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

:root {
    --teal: #66B3B3;
    --teal-dark: #1A8080;
    --accent: #66A6BF;
    --bg-deep: #080A1A;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --text-primary: #F0F0F5;
    --text-secondary: #9A9AB0;
    --glow-teal: rgba(26, 128, 128, 0.5);
    --glow-indigo: rgba(77, 26, 128, 0.4);
    --glow-cyan: rgba(13, 102, 128, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ===== Animated Background Glows ===== */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--glow-teal);
    top: -200px;
    right: -100px;
    animation: drift1 7s ease-in-out infinite alternate;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--glow-indigo);
    bottom: -100px;
    left: -150px;
    animation: drift2 9s ease-in-out infinite alternate;
}

.bg-glow-3 {
    width: 400px;
    height: 400px;
    background: var(--glow-cyan);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: drift3 11s ease-in-out infinite alternate;
}

@keyframes drift1 {
    from { transform: translate(0, 0); }
    to   { transform: translate(-60px, 40px); }
}

@keyframes drift2 {
    from { transform: translate(0, 0); }
    to   { transform: translate(50px, -30px); }
}

@keyframes drift3 {
    from { transform: translate(-50%, -50%); }
    to   { transform: translate(-40%, -55%); }
}

/* ===== Nav ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(8, 10, 26, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
    letter-spacing: -0.3px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* ===== Hero ===== */
.hero {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 180px 24px 120px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.app-store-badge svg {
    transition: opacity 0.2s;
}

.app-store-badge:hover svg {
    opacity: 0.8;
}

/* ===== Features ===== */
.features {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 56px;
    color: var(--text-primary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 28px;
    transition: background 0.25s, border-color 0.25s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(102, 179, 179, 0.15);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--teal);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===== Standalone Page Sections ===== */
.page-section {
    padding-top: 140px;
    min-height: calc(100vh - 80px);
}

/* ===== Privacy ===== */
.privacy {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 24px;
}

.privacy h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
    text-align: center;
}

.privacy-content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px 36px;
}

.privacy-date {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 28px;
}

.privacy-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--teal);
    margin-top: 28px;
    margin-bottom: 8px;
}

.privacy-content h3:first-of-type {
    margin-top: 0;
}

.privacy-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 4px;
}

.privacy-content a {
    color: var(--teal);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

/* ===== Contact ===== */
.contact {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.contact p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}

.contact-email {
    display: inline-block;
    padding: 14px 36px;
    background: var(--teal-dark);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s;
}

.contact-email:hover {
    background: var(--teal);
    color: var(--bg-deep);
}

/* ===== Footer ===== */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 13px;
    color: var(--text-secondary);
}

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

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero {
        padding: 140px 20px 80px;
    }

    .privacy-content {
        padding: 28px 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
