:root {
  --bg: #020617;
  --text: #ffffff;
  --muted: #94a3b8;
  --muted-2: #cbd5e1;
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: rgba(15, 23, 42, 0.88);
  --border: rgba(255, 255, 255, 0.1);
  --accent: #67e8f9;
  --accent-2: #818cf8;
  --badge-bg: rgba(34, 211, 238, 0.12);
  --badge-border: rgba(34, 211, 238, 0.22);
  --button-bg: #ffffff;
  --button-text: #020617;
  --ghost-bg: rgba(255, 255, 255, 0.05);
  --ghost-border: rgba(255, 255, 255, 0.14);
  --input-bg: rgba(2, 6, 23, 0.55);
  --orb-a: rgba(6, 182, 212, 0.2);
  --orb-b: rgba(99, 102, 241, 0.2);
  --orb-c: rgba(16, 185, 129, 0.1);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

body[data-theme="light"] {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --muted-2: #475569;
  --card: rgba(255, 255, 255, 0.78);
  --card-strong: rgba(255, 255, 255, 0.95);
  --border: rgba(15, 23, 42, 0.1);
  --accent: #0284c7;
  --accent-2: #4f46e5;
  --badge-bg: rgba(14, 165, 233, 0.09);
  --badge-border: rgba(14, 165, 233, 0.2);
  --button-bg: #0f172a;
  --button-text: #ffffff;
  --ghost-bg: rgba(255, 255, 255, 0.72);
  --ghost-border: rgba(15, 23, 42, 0.1);
  --input-bg: #f8fafc;
  --orb-a: rgba(125, 211, 252, 0.45);
  --orb-b: rgba(165, 180, 252, 0.35);
  --orb-c: rgba(110, 231, 183, 0.25);
  --shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

body[data-theme="crypto"] {
  --bg: #0b0718;
  --text: #ffffff;
  --muted: #94a3b8;
  --muted-2: #cbd5e1;
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: rgba(20, 13, 42, 0.9);
  --border: rgba(217, 70, 239, 0.16);
  --accent: #e879f9;
  --accent-2: #67e8f9;
  --badge-bg: rgba(232, 121, 249, 0.12);
  --badge-border: rgba(232, 121, 249, 0.2);
  --button-bg: linear-gradient(90deg, #e879f9, #67e8f9);
  --button-text: #020617;
  --ghost-bg: rgba(255, 255, 255, 0.05);
  --ghost-border: rgba(232, 121, 249, 0.18);
  --input-bg: rgba(13, 10, 31, 0.9);
  --orb-a: rgba(217, 70, 239, 0.25);
  --orb-b: rgba(139, 92, 246, 0.24);
  --orb-c: rgba(34, 211, 238, 0.15);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.33);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}
.orb-a { width: 34rem; height: 34rem; background: var(--orb-a); top: -6rem; left: 50%; transform: translateX(-50%); }
.orb-b { width: 24rem; height: 24rem; background: var(--orb-b); top: 12rem; right: -6rem; }
.orb-c { width: 20rem; height: 20rem; background: var(--orb-c); bottom: 0; left: -4rem; }

.container {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.glass {
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.strong { background: var(--card-strong); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 26px;
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand-icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(135deg, #22d3ee, #6366f1); color: #020617; font-weight: 800;
}
.brand-name { font-weight: 700; }
.brand-sub, .muted { color: var(--muted); font-size: 0.94rem; }
.nav-links { display: flex; gap: 1.5rem; color: var(--muted-2); }
.nav-links a:hover, .footer-links a:hover { opacity: 0.8; }
.toolbar { display: flex; gap: 0.75rem; align-items: center; }
.toggle-group { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.toggle, .theme-option {
  border: 1px solid var(--ghost-border);
  background: var(--ghost-bg);
  color: var(--text);
  border-radius: 14px;
  padding: 0.72rem 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
}
.toggle.active, .theme-option.active { background: var(--button-bg); color: var(--button-text); border-color: transparent; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 3.5rem;
}
.badge {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid var(--badge-border);
  background: var(--badge-bg);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.94rem;
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.8;
}
h1 {
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 1rem 0 0;
  max-width: 900px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0.8rem 0 0;
}
.hero-text, .section-copy {
  color: var(--muted-2);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 780px;
}
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 0.95rem 1.3rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--button-bg); color: var(--button-text); }
.btn-secondary {
  background: var(--ghost-bg);
  color: var(--text);
  border: 1px solid var(--ghost-border);
}
.btn-block { width: 100%; margin-top: 1rem; border: 0; }

.stats, .cards-grid, .theme-grid, .stack { display: grid; gap: 1rem; }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.6rem; }
.cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card, .preview-item, .section-card, .contact-card {
  border-radius: 28px;
}
.stat-card, .feature-card, .step-card, .use-card, .preview-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.2rem;
}
.stat-value, .step-num { font-size: 1.65rem; font-weight: 700; }
.stat-label { color: var(--muted); line-height: 1.5; margin-top: 0.45rem; }
.preview-card { border-radius: 32px; padding: 1.25rem; }
.preview-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.panel-domain { font-weight: 700; font-size: 1.15rem; margin-top: 0.35rem; }
.status-pill {
  border: 1px solid var(--badge-border);
  background: var(--badge-bg);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
}
.notice-box {
  border: 1px solid var(--badge-border);
  background: var(--badge-bg);
  color: var(--text);
  border-radius: 22px;
  padding: 1rem 1.1rem;
  line-height: 1.7;
}
.section-card {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2rem;
  padding: 2rem;
}
.section-card.compact { grid-template-columns: 1fr; }
.section-card.wide { margin: 1rem 0 0; }
.section-block { padding: 4.2rem 0 0; }
.section-head { max-width: 820px; margin-bottom: 1.5rem; }
.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  font-weight: 700;
}
.feature-card h3, .step-card h3, .use-card h3 { margin: 0.9rem 0 0; font-size: 1.35rem; }
.feature-card p, .step-card p, .use-card p { color: var(--muted); line-height: 1.7; }
.icon-block {
  width: 44px; height: 44px; border-radius: 16px;
  background: linear-gradient(135deg, #22d3ee, #6366f1);
}
.step-num { color: var(--accent); font-size: 0.95rem; }
.use-card { font-size: 1.15rem; font-weight: 600; display: flex; align-items: center; }
.how-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; align-items: start; }
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: start; }
.contact-card { padding: 1.7rem; }
.contact-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.3rem; }
.fake-input {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1rem;
  color: var(--muted-2);
  margin-top: 1rem;
}
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 1.8rem 0 0;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 1.2rem; }

@media (max-width: 980px) {
  .hero, .section-card, .how-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards-grid, .cards-grid.two, .cards-grid.three, .theme-grid, .stats { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 1rem 1rem 2rem; }
  .site-header { border-radius: 22px; }
  .preview-card, .section-card, .contact-card { padding: 1rem; }
  h1 { font-size: 2.5rem; }
}
