/* =========================================================
   DStudyBuddy (SYBY) — Pure CSS Design System
   ========================================================= */

/* ---------- CSS Variables (dark — default) ---------- */
:root {
  --primary: #0d59f2;
  --primary-dark: #0b48cc;
  --secondary: #7c3aed;
  --dark: #05070a;
  --surface: #0d1117;
  --surface-alt: rgba(13, 17, 23, 0.72);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-mid: rgba(255, 255, 255, 0.10);
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --text-heading: #ffffff;
  --text-body: #e5e7eb;
  --nav-bg: rgba(13, 17, 23, 0.75);
  --modal-bg: #0d1117;
  --toast-bg: #1e293b;
  --toast-border: rgba(255, 255, 255, 0.1);
  --radius: 8px;
  --radius-lg: 16px;
  --font: 'Inter', sans-serif;
  --transition: 0.25s ease;
  --shadow-primary: 0 0 40px rgba(13, 89, 242, 0.25);
  color-scheme: dark;
}

/* ---------- CSS Variables (light theme override) ---------- */
[data-theme="light"] {
  --dark: #f0f4ff;
  --surface: #ffffff;
  --surface-alt: rgba(255, 255, 255, 0.85);
  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-mid: rgba(0, 0, 0, 0.12);
  --gray-200: #1e293b;
  --gray-400: #475569;
  --gray-500: #64748b;
  --text-heading: #0f172a;
  --text-body: #1e293b;
  --nav-bg: rgba(240, 244, 255, 0.85);
  --modal-bg: #ffffff;
  --toast-bg: #0f172a;
  --toast-border: rgba(0, 0, 0, 0.1);
  color-scheme: light;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: radial-gradient(circle at top right, rgba(13, 89, 242, 0.10), transparent 55%),
    radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.10), transparent 55%),
    var(--dark);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}

::selection {
  background: var(--primary);
  color: #fff;
}

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

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section-py {
  padding-block: 6rem;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ---------- Reusable Components ---------- */
.glass-panel {
  background: var(--surface-alt);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
}

.neon-border {
  box-shadow: 0 0 15px rgba(13, 89, 242, 0.3);
  border: 1px solid rgba(13, 89, 242, 0.2);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 32px rgba(13, 89, 242, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(13, 89, 242, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-mid);
  transition: background var(--transition);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 89, 242, 0.10);
  border: 1px solid rgba(13, 89, 242, 0.20);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Animations ---------- */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

.animate-pulse {
  animation: bounce 3s ease-in-out infinite 0.5s;
}

/* ---------- Ping Dot ---------- */
.ping-dot {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
}

.ping-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary);
  animation: ping 1.5s ease-out infinite;
}

.ping-dot::after {
  content: '';
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  z-index: 1;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.4s ease;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__logo img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 50%;
}

.nav__logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  transition: color 0.4s ease;
}

/* ---------- Theme Toggle Button ---------- */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border-mid);
  color: var(--gray-400);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  user-select: none;
  white-space: nowrap;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.theme-toggle__track {
  position: relative;
  width: 2.25rem;
  height: 1.25rem;
  background: var(--border-mid);
  border-radius: 999px;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

[data-theme="light"] .theme-toggle__track {
  background: var(--primary);
}

.theme-toggle__thumb {
  position: absolute;
  top: 0.175rem;
  left: 0.175rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

[data-theme="light"] .theme-toggle__thumb {
  transform: translateX(1rem);
}

.theme-toggle__icon {
  font-size: 0.9rem;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--primary);
}

.nav__cta {
  padding: 0.625rem 1.5rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(13, 89, 242, 0.2);
}

.nav__cta:hover {
  background: var(--primary-dark);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-400);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Hamburger active state */
.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding-bottom: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile .nav__link {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav__mobile .nav__cta {
  margin-top: 0.75rem;
  text-align: center;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: 9rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 0.4s ease;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 36rem;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-mid);
}

.hero__stat-label {
  font-size: 0.7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.hero__stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  transition: color 0.4s ease;
}

/* Token visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: rgba(13, 89, 242, 0.18);
  filter: blur(80px);
  border-radius: 50%;
}

.hero__ring {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 4px solid rgba(13, 89, 242, 0.3);
  padding: 1rem;
  box-shadow: 0 0 50px rgba(13, 89, 242, 0.3);
}

.hero__ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__node {
  position: absolute;
  width: 3rem;
  height: 3rem;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__node--tl {
  top: -1rem;
  right: -1rem;
}

.hero__node--br {
  bottom: -1rem;
  left: -1rem;
}

.hero__node svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: var(--surface-alt);
  transition: background 0.4s ease;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
  transition: color 0.4s ease;
}

.section-header p {
  color: var(--gray-400);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(13, 89, 242, 0.5);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  background: rgba(13, 89, 242, 0.10);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--transition);
}

.feature-card:hover .feature-card__icon {
  background: var(--primary);
}

.feature-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  stroke: var(--primary);
  transition: stroke var(--transition);
}

.feature-card:hover .feature-card__icon svg {
  stroke: #fff;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  transition: color 0.4s ease;
}

.feature-card p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =========================================================
   PROBLEM / SOLUTION
   ========================================================= */
.problem-solution__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

.problem-solution h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}

.problem-solution .h2-blue {
  color: var(--primary);
}

.problem-solution p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.ps-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ps-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.ps-item--bad {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.10);
}

.ps-item--good {
  background: rgba(13, 89, 242, 0.08);
  border: 1px solid rgba(13, 89, 242, 0.15);
}

.ps-icon-bad {
  color: #ef4444;
  font-weight: 700;
  flex-shrink: 0;
}

.ps-icon-good {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* =========================================================
   TOKEN UTILITY
   ========================================================= */
.token-utility {
  background: var(--surface);
  transition: background 0.4s ease;
}

.token-utility h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3.5rem;
  transition: color 0.4s ease;
}

.token-utility h2 span {
  color: var(--primary);
}

.utility-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.utility-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: transform var(--transition), border-color var(--transition);
}

.utility-card:hover {
  transform: translateY(-4px);
}

.utility-card--blue {
  border-bottom-color: var(--primary);
}

.utility-card--purple {
  border-bottom-color: var(--secondary);
}

.utility-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
  transition: color 0.4s ease;
}

.utility-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* =========================================================
   TOKENOMICS
   ========================================================= */
.section-divider {
  height: 4px;
  width: 5rem;
  background: var(--primary);
  margin: 1.25rem auto 1.5rem;
  border-radius: 2px;
}

.tokenomics__total {
  font-size: 1.5rem;
  font-family: monospace;
  color: var(--primary);
  font-weight: 600;
  margin-top: 0.5rem;
}

.tokenomics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

/* Donut chart */
.donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.donut-container {
  position: relative;
  width: 220px;
  height: 220px;
}

.donut-container svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-label span:first-child {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-heading);
  transition: color 0.4s ease;
}

.donut-label span:last-child {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.donut-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-style: italic;
  text-align: center;
}

/* Allocation bars */
.alloc-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.alloc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid transparent;
}

.alloc-item--blue {
  border-left-color: var(--primary);
}

.alloc-item--purple {
  border-left-color: var(--secondary);
}

.alloc-item--sky {
  border-left-color: #60a5fa;
}

.alloc-item--violet {
  border-left-color: #a78bfa;
}

.alloc-item--gray {
  border-left-color: var(--gray-400);
}

.alloc-item span:first-child {
  font-weight: 700;
  color: var(--text-heading);
  transition: color 0.4s ease;
}

.alloc-item .alloc-pct {
  font-weight: 700;
}

.alloc-item--blue .alloc-pct {
  color: var(--primary);
}

.alloc-item--purple .alloc-pct {
  color: var(--secondary);
}

.alloc-item--sky .alloc-pct {
  color: #60a5fa;
}

.alloc-item--violet .alloc-pct {
  color: #a78bfa;
}

.alloc-item--gray .alloc-pct {
  color: var(--gray-400);
}

/* =========================================================
   ROADMAP
   ========================================================= */
.roadmap {
  background: var(--surface-alt);
  transition: background 0.4s ease;
}

.roadmap h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4rem;
  transition: color 0.4s ease;
}

.roadmap__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.phase {
  position: relative;
  padding-top: 0.5rem;
}

.phase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
}

.phase__num {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.phase h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}

.phase ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.phase li {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.phase li.highlight {
  color: var(--primary);
  font-weight: 700;
}

/* =========================================================
   HOW TO BUY
   ========================================================= */
.htb__card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 89, 242, 0.20);
  position: relative;
  overflow: hidden;
}

.htb__card::before {
  content: '';
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 10rem;
  height: 10rem;
  background: rgba(13, 89, 242, 0.15);
  filter: blur(48px);
  border-radius: 50%;
}

.htb__card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2.5rem;
  text-align: center;
  transition: color 0.4s ease;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
}

.step__num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
  transition: color 0.4s ease;
}

.step p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ca-box {
  margin-top: 3rem;
  text-align: center;
}

.ca-address {
  display: inline-block;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  font-family: monospace;
  font-size: 0.85rem;
  word-break: break-all;
  color: var(--gray-200);
  transition: border-color var(--transition);
  cursor: pointer;
  width: 100%;
  max-width: 32rem;
}

.ca-address:hover {
  border-color: rgba(13, 89, 242, 0.5);
}

.ca-note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.ca-copied {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #22c55e;
  opacity: 0;
  transition: opacity var(--transition);
}

.ca-copied.show {
  opacity: 1;
}

/* =========================================================
   SECURITY BADGES
   ========================================================= */
.security {
  padding-block: 3rem;
  background: rgba(13, 89, 242, 0.04);
  border-top: 1px solid rgba(13, 89, 242, 0.10);
  border-bottom: 1px solid rgba(13, 89, 242, 0.10);
}

.security__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  opacity: 0.65;
  transition: opacity var(--transition);
}

.badge:hover {
  opacity: 1;
}

.badge__check {
  color: var(--primary);
  font-weight: 900;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3rem;
  transition: color 0.4s ease;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--surface-alt);
}

.faq-item summary {
  list-style: none;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color var(--transition);
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .faq-arrow {
  font-size: 1rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] summary .faq-arrow {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* =========================================================
   WALLET MODAL
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.85);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--modal-bg);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  transform: translateY(24px);
  transition: transform var(--transition);
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  transition: color 0.4s ease;
}

.modal__close {
  font-size: 1.5rem;
  color: var(--gray-400);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.modal__close:hover {
  color: var(--text-heading);
}

.wallet-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font);
}

.wallet-option:hover {
  border-color: var(--primary);
  background: rgba(13, 89, 242, 0.08);
}

.wallet-option img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border-radius: 0.5rem;
}

.modal__note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.5;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(4rem);
  background: var(--toast-bg);
  border: 1px solid var(--toast-border);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 500;
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  padding-top: 4rem;
  padding-bottom: 2rem;
  transition: background 0.4s ease;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__logo img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border-radius: 50%;
}

.footer__logo span {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.footer__desc {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 22rem;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-400);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary);
  color: #fff;
}

.footer__col h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__col li a {
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__col li a:hover {
  color: var(--primary);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--gray-500);
  font-size: 0.75rem;
}

/* =========================================================
   RESPONSIVE — TABLET (768px+)
   ========================================================= */
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .problem-solution__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tokenomics__grid {
    grid-template-columns: auto 1fr;
  }
}

/* =========================================================
   RESPONSIVE — DESKTOP (1024px+)
   ========================================================= */
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__ring {
    width: 380px;
    height: 380px;
  }

  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }
}

@media (max-width: 1023px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   PAGE LOADER
   ========================================================= */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  animation: float 1.8s ease-in-out infinite;
}

.loader__bar {
  width: 160px;
  height: 3px;
  background: var(--border-subtle);
  border-radius: 999px;
  overflow: hidden;
}

.loader__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 999px;
  animation: loader-fill 1.2s ease-out forwards;
}

@keyframes loader-fill {
  0% {
    width: 0%;
  }

  80% {
    width: 90%;
  }

  100% {
    width: 100%;
  }
}

/* =========================================================
   ACTIVE NAV LINK
   ========================================================= */
.nav__link.active {
  color: var(--primary);
  position: relative;
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* =========================================================
   PARTNERS STRIP
   ========================================================= */
.partners {
  padding-block: 3rem;
  background: var(--surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.4s ease;
}

.partners__label {
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--gray-500);
  margin-bottom: 1.75rem;
}

.partners__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-400);
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--surface);
  opacity: 0.65;
  transition: opacity var(--transition), border-color var(--transition),
    color var(--transition), background var(--transition);
  cursor: default;
}

.partner-logo:hover {
  opacity: 1;
  border-color: var(--primary);
  color: var(--text-heading);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: var(--dark);
  transition: background 0.4s ease;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), border-color var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 89, 242, 0.35);
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
  transition: color 0.4s ease;
}

.testimonial-handle {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.1rem;
}

.testimonial-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--gray-400);
  white-space: nowrap;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.65;
  flex: 1;
}

.testimonial-stars {
  font-size: 0.85rem;
  color: #f59e0b;
  letter-spacing: 0.05em;
}