@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.35);
    --secondary: #06b6d4;
    --accent: #3b82f6;
    --bg-dark: #080d1a;
    --card-bg: rgba(13, 22, 42, 0.65);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(16, 185, 129, 0.35);
    --text-main: #f1f5f9;
    --text-dim: #94a3b8;
    --text-muted: #64748b;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --gradient-brand: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #3b82f6 100%);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-heading);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Background Mesh & Ambient Lighting ─────────────────────── */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 30%, #0d172e 0%, #080d1a 100%);
}

.bg-mesh::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.08) 0px, transparent 50%);
    filter: blur(60px);
}

.bg-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.8;
    pointer-events: none;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
    text-align: center;
    max-width: 820px;
    padding: 3rem 2rem 2rem 2rem;
    animation: fadeIn 1.2s ease-out;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* ── Logo ──────────────────────────────────────────────────── */
.logo {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.2));
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.4));
}

.logo-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

/* ── Typography ────────────────────────────────────────────── */
h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.highlight {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
    font-family: var(--font-body);
}

/* ── Feature Pills ─────────────────────────────────────────── */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(13, 22, 42, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dim);
    font-family: var(--font-body);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-pill:hover {
    color: var(--text-main);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    background: rgba(20, 32, 60, 0.75);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 15px rgba(16, 185, 129, 0.15);
}

.feature-pill span.icon {
    font-size: 1rem;
}

/* ── Support & Inquiries ───────────────────────────────────── */
.support-info {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.6;
    font-family: var(--font-body);
}

.support-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.support-email:hover {
    color: #34d399;
    border-color: var(--primary);
    text-shadow: 0 0 12px var(--primary-glow);
}

/* ── Content Pages (About, Privacy, Error) ─────────────────── */
.content-page {
    text-align: left;
    max-width: 900px;
    padding: 6rem 2rem;
    margin: 0 auto;
    font-family: var(--font-body);
    animation: fadeIn 0.8s ease-out;
}

.content-page h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.content-page h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #34d399;
    margin: 2.5rem 0 1rem 0;
}

.content-page p {
    font-size: 1.08rem;
    color: var(--text-dim);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    text-align: left;
}

.content-page ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-page li {
    margin-bottom: 0.75rem;
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.65;
}

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.back-link:hover {
    color: #34d399;
    transform: translateX(-5px);
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-brand);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.45);
    filter: brightness(1.08);
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
    width: 100%;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    font-family: var(--font-body);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-top: 0.5rem;
    text-align: center;
}

.footer-copy a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
    h1 {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .logo {
        font-size: 2.5rem;
    }

    .logo-img {
        height: 64px;
    }

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

    .content-page {
        padding: 4rem 1.5rem;
    }

    .content-page h1 {
        font-size: 2.5rem;
    }

    .footer-nav {
        gap: 1.5rem;
    }
}
