:root {
    --bg-primary: #0a0f1e;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --gradient-start: #06b6d4;
    --gradient-mid: #3b82f6;
    --gradient-end: #ec4899;
    --radius: 16px;
    --max-width: 960px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* --- BACKGROUND GLOW --- */
body::before {
    content: '';
    position: fixed;
    top: -40%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* --- LAYOUT --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --- NAV --- */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(10, 15, 30, 0.8);
    border-bottom: 1px solid var(--border);
}
nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
}
.nav-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}
.nav-links {
    display: flex;
    gap: 8px;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.2s;
}
.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

/* --- HERO --- */
.hero {
    text-align: center;
    padding: 100px 0 60px;
}
.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    margin-bottom: 32px;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: default;
    transition: all 0.3s;
}
.hero-cta:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.15);
}
.hero-cta svg {
    width: 24px;
    height: 24px;
}

/* --- SCREENSHOT --- */
.screenshot-section {
    padding: 40px 0 80px;
    text-align: center;
}
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.screenshot-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}
.screenshot-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}
.screenshot-card .caption {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* --- FEATURES --- */
.features {
    padding: 60px 0 80px;
}
.features-header {
    text-align: center;
    margin-bottom: 48px;
}
.features-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}
.features-header p {
    color: var(--text-secondary);
    font-size: 16px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s;
}
.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
    color: var(--text-muted);
    font-size: 13px;
}

/* --- CONTENT PAGES (Privacy / Support) --- */
.page-header {
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}
.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}
.page-header p {
    color: var(--text-secondary);
    font-size: 16px;
}
.page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 80px;
    position: relative;
    z-index: 1;
}
.page-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.page-content h2:first-of-type {
    border-top: none;
    margin-top: 0;
}
.page-content p, .page-content li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}
.page-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.page-content strong {
    color: var(--text-primary);
}
.page-content a {
    color: var(--accent);
    text-decoration: none;
}
.page-content a:hover {
    text-decoration: underline;
}

/* --- SUPPORT PAGE --- */
.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}
.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}
.support-card:hover {
    background: var(--bg-card-hover);
}
.support-card .icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.support-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.support-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}
.support-card a {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.support-card a:hover { text-decoration: underline; }

/* --- FORM --- */
.form-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 48px;
}
.form-section h2 {
    border: none;
    margin-top: 0;
    padding-top: 0;
    font-size: 20px;
    margin-bottom: 24px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

/* --- FAQ --- */
.faq-section h2 {
    text-align: center;
    border: none;
    padding-top: 0;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-item summary {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}
.faq-item summary:hover {
    background: var(--bg-card-hover);
}
.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.3s;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item .faq-answer {
    padding: 0 24px 18px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .screenshot-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
    .support-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        gap: 4px;
    }
    .nav-links a {
        padding: 8px 10px;
        font-size: 13px;
    }
    .hero {
        padding: 60px 0 40px;
    }
}
