/* AF Drop — defi.ascensionrealm.com design system (CP-5).
   Cipher aesthetic: dark, cyan-glow, tech typography. Part of the AF family. */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #1a1a2e;
  --bg-surface: rgba(20, 20, 32, 0.7);
  --cyan: #00d4ff;
  --cyan-light: #5ce1ff;
  --cyan-dim: rgba(0, 212, 255, 0.15);
  --cyan-glow: 0 0 20px rgba(0, 212, 255, 0.3);
  --purple: #8b5cf6;
  --gold: #f59e0b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(0, 212, 255, 0.3);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 8px;
  --radius-lg: 12px;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-h: 60px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* subtle grid glow backdrop */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,212,255,0.08), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(139,92,246,0.06), transparent 40%);
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-light); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.5px; line-height: 1.2; }
.mono { font-family: var(--font-mono); }

/* ---- nav ---- */
.drop-nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.drop-nav .brand {
  font-family: var(--font-display); font-weight: 900; font-size: 1.25rem;
  color: var(--text-primary); letter-spacing: 1px;
}
.drop-nav .brand span { color: var(--cyan); }
.drop-nav .links { display: flex; gap: 8px; align-items: center; }
.drop-nav .links a { padding: 8px 14px; border-radius: var(--radius); color: var(--text-secondary); font-weight: 600; }
.drop-nav .links a:hover { color: var(--text-primary); background: var(--bg-surface); }

/* ---- layout ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-secondary); max-width: 640px; margin: 0 auto 48px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.5px; text-transform: uppercase; border: 1px solid transparent;
  transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--cyan); color: #001018; }
.btn-primary:hover { box-shadow: var(--cyan-glow); color: #001018; transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: var(--border-cyan); color: var(--cyan); }
.btn-secondary:hover { background: var(--cyan-dim); color: var(--cyan-light); }
.btn-danger { background: transparent; border-color: rgba(239,68,68,0.4); color: var(--danger); }
.btn-danger:hover { background: rgba(239,68,68,0.12); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; text-transform: none; }

/* ---- cards ---- */
.drop-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.drop-card.featured { border-color: var(--border-cyan); box-shadow: var(--cyan-glow); }
.card-grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- hero ---- */
.hero { text-align: center; padding: 96px 0 72px; }
.hero h1 {
  font-size: 3.4rem; font-weight: 900; margin-bottom: 20px;
  background: linear-gradient(120deg, var(--text-primary) 30%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.35rem; color: var(--text-secondary); max-width: 620px; margin: 0 auto 36px; }
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- steps / features ---- */
.step { text-align: center; }
.step .num {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  background: var(--cyan-dim); color: var(--cyan); border: 1px solid var(--border-cyan);
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 0.95rem; }
.feature .icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--cyan); }
.feature p { color: var(--text-secondary); font-size: 0.9rem; }

/* ---- pricing ---- */
.price-amount { font-family: var(--font-display); font-size: 2.4rem; color: var(--text-primary); margin: 8px 0; }
.price-amount small { font-size: 1rem; color: var(--text-muted); font-family: var(--font-body); }
.price-list { list-style: none; margin: 20px 0; }
.price-list li { padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.price-list li::before { content: "▹ "; color: var(--cyan); }
.tier-name { font-family: var(--font-display); color: var(--cyan); letter-spacing: 1px; font-size: 1.1rem; }

/* ---- forms ---- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text-secondary); font-size: 0.9rem; }
input, select, textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius);
  background: var(--bg-surface); border: 1px solid var(--border);
  color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem; outline: none;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px var(--cyan-dim); }
.stripe-field {
  padding: 12px 14px; border-radius: var(--radius); background: var(--bg-surface);
  border: 1px solid var(--border);
}

/* ---- tables ---- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
td { font-size: 0.95rem; }
tr:hover td { background: var(--bg-surface); }

/* ---- badges / status ---- */
.streak-badge {
  background: var(--cyan-dim); color: var(--cyan); border-radius: 4px;
  padding: 2px 8px; font-size: 0.75rem; font-weight: 700; font-family: var(--font-mono);
}
.badge { padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px; }
.badge-ok { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-warn { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-bad { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-muted { background: var(--bg-surface); color: var(--text-muted); }

/* ---- gate check list ---- */
.gate-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.gate-item .mark { font-weight: 700; width: 20px; }
.gate-item.pass .mark { color: var(--success); }
.gate-item.fail .mark { color: var(--danger); }
.gate-item.pending .mark { color: var(--text-muted); }

/* ---- misc ---- */
.notice { padding: 14px 16px; border-radius: var(--radius); background: var(--cyan-dim); border: 1px solid var(--border-cyan); color: var(--text-primary); }
.notice-ok { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.3); }
.notice-bad { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.3); }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.hidden { display: none !important; }
.countdown { font-family: var(--font-mono); color: var(--cyan); font-size: 1.1rem; }
.footer { border-top: 1px solid var(--border); padding: 32px 0; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.footer a { color: var(--text-secondary); margin: 0 10px; }
.spinner { display:inline-block; width:16px; height:16px; border:2px solid var(--border); border-top-color: var(--cyan); border-radius:50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .drop-nav .links a { padding: 8px 10px; font-size: 0.9rem; }
  .container { padding: 0 16px; }
}
