/* ============================================================================
   KINETIC — Sleek Minimal Aurora Glass Design System
   Matches KINETIC.exe (#08090E Obsidian · Indigo #6366F1 · Cyan #38BDF8 · Inter)
   ============================================================================ */
:root {
  --bg: #08090e;
  --surface: rgba(15, 17, 25, 0.78);
  --panel: rgba(15, 17, 25, 0.86);
  --surface-hover: rgba(23, 26, 39, 0.88);
  --recess: rgba(10, 12, 19, 0.86);
  --border: rgba(46, 51, 74, 0.68);
  --border-lit: rgba(129, 140, 248, 0.75);
  --text: #fafbff;
  --text-pure: #ffffff;
  --text-silver: #c6ccde;
  --text-muted: #9aa3bd;
  --indigo: #6366f1;
  --indigo-soft: #818cf8;
  --indigo-ice: #a5b4fc;
  --violet: #a855f7;
  --cyan: #38bdf8;
  --emerald: #22c55e;
  --amber: #fbbf24;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; }

/* GPU-Accelerated Living Aurora Background (pre-softened gradients, zero heavy CSS blur repaints!) */
.aurora-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: strict;
}
.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.50;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.orb-1 {
  width: 960px; height: 960px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.42) 0%, rgba(99, 102, 241, 0.16) 38%, rgba(99, 102, 241, 0.03) 65%, transparent 74%);
  top: -300px; left: -240px;
  animation: drift1 16s ease-in-out infinite alternate;
}
.orb-2 {
  width: 880px; height: 880px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.36) 0%, rgba(56, 189, 248, 0.14) 38%, rgba(56, 189, 248, 0.02) 64%, transparent 74%);
  bottom: -280px; right: -220px;
  animation: drift2 20s ease-in-out infinite alternate;
}
.orb-3 {
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.32) 0%, rgba(168, 85, 247, 0.11) 38%, transparent 72%);
  top: 16%; right: 12%;
  animation: drift3 24s ease-in-out infinite alternate;
}
@keyframes drift1 {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(180px, 110px, 0) scale(1.14); }
}
@keyframes drift2 {
  0%   { transform: translate3d(0, 0, 0) scale(1.06); }
  100% { transform: translate3d(-190px, -110px, 0) scale(0.92); }
}
@keyframes drift3 {
  0%   { transform: translate3d(0, 0, 0) scale(0.95); opacity: 0.36; }
  100% { transform: translate3d(-140px, 140px, 0) scale(1.12); opacity: 0.56; }
}

.page-wrap { position: relative; z-index: 1; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Frosted Glass Top Navbar */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(9, 10, 16, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(46, 51, 74, 0.45);
}
.nav-inner {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); font-weight: 700;
  letter-spacing: 0.06em; font-size: 15.5px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-soft), var(--cyan));
  position: relative;
}
.pulse-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--cyan);
  animation: beacon 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
@keyframes beacon {
  0%   { transform: scale(0.7); opacity: 0.85; }
  100% { transform: scale(2.2); opacity: 0; }
}
.shimmer-word {
  background: linear-gradient(90deg, #fafbff 25%, #a5b4fc 45%, #38bdf8 55%, #fafbff 75%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: textShimmer 4.5s ease-in-out infinite;
}
@keyframes textShimmer {
  0%   { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 13.5px; font-weight: 500;
  padding: 6px 12px; border-radius: 7px; transition: 160ms ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  padding: 9px 18px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), #8b5cf6);
  border-color: rgba(165, 180, 252, 0.4);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(99, 102, 241, 0.6);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #7578f8, #9d74fa);
  border-color: var(--indigo-ice);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-silver);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-lit);
  color: var(--text);
}
.btn-lg { padding: 12px 24px; font-size: 14.5px; border-radius: 10px; }
.btn-oauth {
  width: 100%; padding: 12px 16px; border-radius: 9px;
  background: var(--recess); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; font-weight: 600;
}
.btn-oauth:hover { background: var(--surface-hover); border-color: var(--border-lit); }
.btn-oauth.discord:hover { border-color: #5865f2; background: rgba(88, 101, 242, 0.14); }
.btn-oauth.google:hover  { border-color: #e2e8f0; background: rgba(226, 232, 240, 0.10); }
.btn-oauth img { width: 18px; height: 18px; object-fit: contain; }

/* Frosted Glass Cards (GPU-light translucent dark obsidian for locked 240Hz scrolling) */
.card {
  background: rgba(15, 17, 26, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color 180ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background 180ms ease;
}
.card:hover { border-color: rgba(129, 140, 248, 0.45); background: rgba(21, 24, 37, 0.92); }
.reveal-init {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 480ms cubic-bezier(0.16, 1, 0.3, 1), transform 520ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, background 180ms ease;
}
.reveal-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.card-cap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan), transparent);
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: var(--indigo-ice);
}
.tag-mint {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

/* Hero */
.hero { padding: 78px 0 54px; text-align: center; }
.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.08;
  margin: 18px auto 16px; max-width: 780px;
}
.hero h1 span {
  background: linear-gradient(120deg, #fafbff 10%, #a5b4fc 55%, #38bdf8 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
  font-size: 16.5px; color: var(--text-silver); max-width: 580px; margin: 0 auto 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 44px; }

/* Live App Window Preview Mockup */
.app-preview {
  max-width: 880px; margin: 0 auto;
  border-radius: 14px; padding: 1px;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.45), rgba(56, 189, 248, 0.2), rgba(46, 51, 74, 0.4));
  box-shadow: 0 32px 90px -24px rgba(0, 0, 0, 0.8);
}
.app-preview-inner {
  background: rgba(11, 13, 21, 0.94);
  border-radius: 13px; padding: 18px 22px 24px; text-align: left;
}
.mock-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid rgba(46, 51, 74, 0.5); margin-bottom: 22px;
}
.mock-tabs { display: flex; gap: 6px; font-size: 12px; color: var(--text-muted); }
.mock-tabs span { padding: 4px 10px; border-radius: 6px; }
.mock-tabs span.active { background: rgba(99, 102, 241, 0.2); border: 1px solid rgba(129, 140, 248, 0.45); color: #fff; }
.mock-body { display: grid; grid-template-columns: 1fr 220px; gap: 20px; align-items: center; }
.mock-dial {
  width: 176px; height: 176px; margin: 0 auto; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 32, 58, 0.95), rgba(11, 13, 24, 0.98));
  border: 1.5px solid rgba(129, 140, 248, 0.65);
  box-shadow: 0 0 60px -10px rgba(99, 102, 241, 0.55);
}
.mock-dial::before {
  content: ''; position: absolute; inset: -14px; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--cyan); border-right-color: var(--indigo);
  animation: spin 7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mock-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-stat {
  background: rgba(17, 19, 30, 0.85); border: 1px solid var(--border);
  border-radius: 9px; padding: 12px 14px;
}
.mock-stat small { display: block; font-size: 10.5px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 4px; }
.mock-stat strong { font-size: 15px; color: var(--text); }

/* Sections & Grids */
.section { padding: 68px 0; }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; letter-spacing: -0.02em; margin-top: 10px; }
.sec-head p { color: var(--text-muted); font-size: 15px; max-width: 540px; margin: 8px auto 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 780px; margin: 0 auto; }

.feat-card { padding: 22px; }
.icon-box {
  width: 38px; height: 38px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(99, 102, 241, 0.14); border: 1px solid rgba(129, 140, 248, 0.35);
  color: var(--indigo-ice); margin-bottom: 14px;
}
.feat-card h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.feat-card p { font-size: 13.5px; color: var(--text-muted); }

/* Pricing */
.price-card { padding: 28px; display: flex; flex-direction: column; }
.price-card.featured {
  border-color: rgba(129, 140, 248, 0.65);
  background: linear-gradient(160deg, rgba(24, 27, 46, 0.9), rgba(13, 15, 24, 0.88));
}
.price-val { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; margin: 14px 0 4px; }
.price-val span { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.price-list { list-style: none; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price-list li { font-size: 13.5px; color: var(--text-silver); display: flex; align-items: center; gap: 9px; }
.price-list li::before { content: '✓'; color: var(--emerald); font-weight: 700; }

/* FAQ */
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { padding: 16px 20px; cursor: pointer; }
.faq-q { display: flex; align-items: center; justify-content: space-between; font-size: 14.5px; font-weight: 600; }
.faq-a { display: none; margin-top: 10px; font-size: 13.5px; color: var(--text-muted); }
.faq-item.open .faq-a { display: block; }

/* Auth & Dashboard Centered Layouts */
.auth-center {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center; padding: 32px 20px;
}
.auth-box { width: 100%; max-width: 430px; padding: 32px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--text-muted); font-size: 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.footer {
  border-top: 1px solid rgba(46, 51, 74, 0.45);
  padding: 28px 0; margin-top: 32px;
  font-size: 12.5px; color: var(--text-muted);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-inner { height: 58px; }
  .nav-actions .btn { padding: 7px 12px; font-size: 12.5px; }
  .hero { padding: 52px 0 36px; }
  .hero p { font-size: 14.5px; }
  .hero-cta .btn-lg { width: 100%; }
  .section { padding: 48px 0; }
  .mock-tabs { display: none; }
  .mock-stats { grid-template-columns: 1fr; }
  .mock-dial { width: 152px; height: 152px; margin-top: 8px; }
  .auth-box { padding: 24px 20px; }
  .price-card { padding: 22px; }
  .footer-inner { justify-content: center; text-align: center; }
}
