/* whistrade.css — Whistrade product page (index_whistrade.html) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0a0a0f;
    --bg-card: rgba(255,255,255,0.04);
    --bg-card-hover: rgba(255,255,255,0.07);
    --border: rgba(255,255,255,0.08);
    --border-accent: rgba(255,255,255,0.14);
    --text: #e4e4e7;
    --text-dim: #a1a1aa;
    --text-muted: #71717a;
    --accent: #8b5cf6;
    --accent-glow: rgba(139,92,246,0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Ambient glow */
body::before {
    content: '';
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(139,92,246,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(59,130,246,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Grid overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ── Navigation ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex;
    align-items: center;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-back {
    font-size: 1.1rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-back:hover { color: var(--text); }

.nav-separator {
    color: var(--text-muted);
    font-size: 1rem;
    user-select: none;
}

.nav-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

/* ── Hero ── */
#hero {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.hero-title {
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* ── Content Card ── */
.hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin: 0 auto 24px;
    display: block;
    box-shadow: 0 4px 24px rgba(139,92,246,0.25);
}
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 56px 48px;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

/* ── Action Buttons ── */
.actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 1;
    padding: 0 24px 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
}

.btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

.btn-reddit  { border-color: rgba(255,69,0,0.3); }
.btn-reddit:hover  { border-color: rgba(255,69,0,0.6); }
.btn-discord { border-color: rgba(88,101,242,0.4); }
.btn-discord:hover { border-color: rgba(88,101,242,0.7); }

/* ── Footer ── */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
}

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 640px) {
    .content-card { padding: 40px 24px; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }
    .actions { flex-direction: column; align-items: center; }
}
