/* ─── RESET & ROOT ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1e7fec;
  --primary-light: #4d9ff0;
  --primary-dim: #1565c0;
  --primary-glow: rgba(30, 127, 236, 0.18);
  --primary-glow-soft: rgba(30, 127, 236, 0.08);
  --surface: #080b14;
  --surface-container: #0e1322;
  --surface-container-low: #0b0f1c;
  --surface-container-high: #151c2e;
  --surface-bright: #1d2540;
  --on-surface: #e8edf8;
  --on-surface-variant: #8a9bb8;
  --outline-variant: #1e2d47;
  --tertiary: #f6bd5f;
  --green: #34d399;

  /* Typography scale */
  --text-xs: clamp(0.6rem, 1.2vw, 0.65rem);
  --text-sm: clamp(0.8rem, 1.5vw, 0.875rem);
  --text-base: clamp(0.875rem, 1.8vw, 0.925rem);
  --text-md: clamp(0.9rem, 2vw, 1rem);
  --text-lg: clamp(1rem, 2.5vw, 1.1rem);
  --text-xl: clamp(1.1rem, 3vw, 1.35rem);
  --text-2xl: clamp(1.4rem, 3.5vw, 1.75rem);
  --text-3xl: clamp(1.6rem, 4vw, 2rem);
  --text-4xl: clamp(1.8rem, 4.5vw, 2.5rem);
  --text-hero: clamp(2.2rem, 5.5vw, 4.2rem);

  /* Spacing scale */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2rem);
  --space-xl: clamp(2rem, 4vw, 3rem);
  --space-2xl: clamp(3rem, 6vw, 5rem);
  --space-3xl: clamp(4rem, 8vw, 8rem);

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
  --radius-sm: 0.55rem;
  --radius-md: 0.7rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface);
  color: var(--on-surface);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(30, 127, 236, 0.22);
}

/* ─── UTILITY ─── */
.container {
  max-width: var(--max-w);
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-h);
  background: rgba(8, 11, 20, 0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 200;
  display: flex;
  justify-content: center;
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  padding-inline: clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
  flex-wrap: nowrap;
}

.nav-links a {
  color: #6b7f99;
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--on-surface);
}

.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-sm);
  color: #5a6f8a;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.nav-socials a:hover {
  color: var(--primary);
  background: var(--primary-glow-soft);
}

.nav-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-cta-btn {
  background: var(--primary);
  text-decoration: none;
  color: #fff;
  padding: 0.55rem clamp(0.75rem, 2vw, 1.25rem);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.01em;
  transition: transform 0.18s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  background: var(--primary-light);
  box-shadow: 0 8px 24px var(--primary-glow);
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 0.4rem;
  background: none;
  border: none;
  transition: background 0.2s;
  flex-shrink: 0;
}

.hamburger:hover {
  background: var(--primary-glow-soft);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #6b7f99;
  border-radius: var(--radius-full);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(8, 11, 20, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-direction: column;
  padding: 1.5rem clamp(1rem, 4vw, 2rem) 2rem;
  gap: 0.25rem;
  z-index: 199;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: #8a9bb8;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 500;
  text-decoration: none;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-menu .mob-socials {
  display: flex;
  gap: 0.75rem;
  padding-top: 1.25rem;
  flex-wrap: wrap;
}

.mobile-menu .mob-socials a {
  border: none;
  padding: 0;
  font-size: var(--text-sm);
}

/* ─── MAIN ─── */
main {
  padding-top: var(--nav-h);
}

section {
  scroll-margin-top: 90px;
}

/* ─── HERO ─── */
.hero {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 4vw, 2rem)
    clamp(5rem, 10vw, 8rem);
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  background: radial-gradient(
    circle,
    rgba(30, 127, 236, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(30, 127, 236, 0.08);
  border: 1px solid rgba(30, 127, 236, 0.22);
  color: var(--primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 54rem;
  margin: 0 auto 1.75rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
  text-shadow: 0 0 40px rgba(30, 127, 236, 0.3);
}

.hero p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--on-surface-variant);
  max-width: 38rem;
  margin: 0 auto 3rem;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 4.5rem;
}

.btn-cta {
  background: var(--primary);
  text-decoration: none;
  color: #fff;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.25rem, 3vw, 2.1rem);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 0.975rem);
  border: none;
  cursor: pointer !important;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.01em;
  box-shadow: 0 16px 40px var(--primary-glow);
  transition: transform 0.18s, box-shadow 0.2s, background 0.2s;
}

.btn-cta:hover {
  transform: translateY(-2px);
  background: var(--primary-light);
  box-shadow: 0 22px 50px rgba(30, 127, 236, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(100, 125, 160, 0.35);
  color: var(--on-surface);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.25rem, 3vw, 2.1rem);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: clamp(0.875rem, 2vw, 0.975rem);
  cursor: pointer !important;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.01em;
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  background: var(--surface-container-high);
  border-color: rgba(30, 127, 236, 0.25);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.25rem;
  opacity: 0.6;
  filter: grayscale(0.8);
  transition: opacity 0.4s, filter 0.4s;
}

.trust-row:hover {
  opacity: 0.95;
  filter: grayscale(0);
}

.trust-row .lbl {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5a6f8a;
}

.trust-row span:not(.lbl) {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 500;
  color: var(--on-surface-variant);
  letter-spacing: -0.01em;
}

.trust-row .sep {
  color: #1e2d47;
}

/* ─── TRUST STRIP ─── */
.trust-strip {
  background: rgba(6, 9, 18, 0.6);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.trust-strip-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.trust-strip p {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #445566;
  font-size: 50px;
}

.trust-brands {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.trust-brands img {
  width: 100px;
  height: 40px;
}

/* ─── FEATURES ─── */
.features-section {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-3xl) clamp(1rem, 4vw, 2rem);
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.accent-line {
  height: 3px;
  width: 2.5rem;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card {
  background: var(--surface);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  transition: background 0.25s;
}

.feature-card:hover {
  background: rgba(14, 19, 34, 1);
}

.feature-icon {
  margin-bottom: 1.1rem;
  color: var(--primary);
}

.feature-icon.gold {
  color: var(--tertiary);
}

.feature-icon.green {
  color: var(--green);
}

.feature-icon .material-symbols-outlined {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-variation-settings: "FILL" 0, "wght" 250, "GRAD" -25, "opsz" 24;
}

.feature-card h3 {
  font-size: clamp(0.875rem, 2vw, 0.975rem);
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--on-surface);
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--on-surface-variant);
  line-height: 1.75;
  letter-spacing: -0.005em;
}

/* ─── HOW IT WORKS ─── */
.hiw-section {
  max-width: var(--max-w);
  margin: 0 auto clamp(4rem, 8vw, 8rem);
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.hiw-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hiw-header h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hiw-list {
  position: relative;
  display: flex;
  flex-direction: column;
}

.hiw-spine {
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(30, 127, 236, 0.1) 15%,
    rgba(30, 127, 236, 0.1) 85%,
    transparent
  );
  z-index: 0;
}

.hiw-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 clamp(1rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  position: relative;
  z-index: 1;
}

.hiw-item + .hiw-item {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.hiw-node {
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.hiw-bubble {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1.5px solid rgba(55, 70, 90, 0.7);
  background: var(--surface);
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.hiw-num {
  font-size: 0.65rem;
  font-weight: 700;
  color: #445566;
  transition: opacity 0.25s;
  letter-spacing: 0.02em;
}

.hiw-tick {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  color: #fff;
}

.hiw-tick .material-symbols-outlined {
  font-size: 0.95rem;
  font-variation-settings: "FILL" 1, "wght" 700;
}

.hiw-ring {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 50px;
  height: 50px;
  transform: rotate(-90deg);
  pointer-events: none;
}

.hiw-ring circle {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-dasharray: 125.7;
  stroke-dashoffset: 125.7;
}

.hiw-item.active .hiw-bubble {
  border-color: rgba(30, 127, 236, 0.45);
  box-shadow: 0 0 0 5px rgba(30, 127, 236, 0.07);
}

.hiw-item.active .hiw-ring circle {
  animation: hiw-draw var(--dur, 2800ms) linear forwards;
}

@keyframes hiw-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hiw-item.done .hiw-bubble {
  background: var(--primary);
  border-color: transparent;
  box-shadow: none;
}

.hiw-item.done .hiw-num {
  opacity: 0;
}

.hiw-item.done .hiw-tick {
  opacity: 1;
}

.hiw-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.hiw-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2a3d55;
  transition: color 0.4s;
}

.hiw-item.active .hiw-tag,
.hiw-item.done .hiw-tag {
  color: rgba(30, 127, 236, 0.55);
}

.hiw-body h4 {
  font-size: clamp(0.975rem, 2.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--on-surface);
  opacity: 0.35;
  transition: opacity 0.4s;
}

.hiw-body p {
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  color: var(--on-surface-variant);
  line-height: 1.75;
  max-width: 32rem;
  opacity: 0;
  transition: opacity 0.4s 0.08s;
  letter-spacing: -0.005em;
}

.hiw-item.active .hiw-body h4,
.hiw-item.done .hiw-body h4 {
  opacity: 1;
}

.hiw-item.active .hiw-body p,
.hiw-item.done .hiw-body p {
  opacity: 1;
}

.hiw-track {
  margin-top: 2.5rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.hiw-fill {
  height: 100%;
  width: 0;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── DEMO ─── */
.demo-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) clamp(1rem, 4vw, 2rem);
}

.demo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(30, 127, 236, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 40% at 80% 100%,
      rgba(21, 101, 192, 0.04) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.demo-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.demo-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.demo-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.demo-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.875rem;
}

.demo-header p {
  color: var(--on-surface-variant);
  font-size: var(--text-md);
  max-width: 30rem;
  margin-inline: auto;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.phones-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  perspective: 1200px;
  padding: 2rem 0;
}

.phone-frame {
  flex-shrink: 0;
  width: clamp(160px, 20vw, 280px);
  position: relative;
  transition: transform 0.4s ease;
}

.phone-frame:nth-child(1) {
  transform: rotateY(12deg) translateX(30px) scale(0.92);
  z-index: 1;
}

.phone-frame:nth-child(2) {
  transform: scale(1.04);
  z-index: 3;
}

.phone-frame:nth-child(3) {
  transform: rotateY(-12deg) translateX(-30px) scale(0.92);
  z-index: 1;
}

.phone-frame:hover {
  transform: scale(1.06) !important;
  z-index: 10;
}

.phone-shadow {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 28px;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(30, 127, 236, 0.18) 0%,
    transparent 70%
  );
  filter: blur(8px);
  pointer-events: none;
}

.phone-label {
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30, 127, 236, 0.5);
  white-space: nowrap;
}

.phone-img {
  width: 100%;
  height: auto;
  border-radius: clamp(14px, 2vw, 28px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  display: block;
}

.phone-frame:nth-child(2) .phone-img {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(30, 127, 236, 0.1),
    0 0 0 1px rgba(30, 127, 236, 0.15);
}

.demo-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 4rem;
}

.demo-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-container);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.1rem;
  font-size: clamp(0.75rem, 2vw, 0.83rem);
  font-weight: 500;
  color: var(--on-surface-variant);
  letter-spacing: -0.01em;
}

.demo-pill .material-symbols-outlined {
  font-size: 1rem;
  color: var(--primary);
  font-variation-settings: "FILL" 1;
}

/* ─── DEVELOPER ─── */
.dev-section {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-3xl) clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.dev-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 1rem;
}

.dev-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}

.dev-desc {
  font-size: clamp(0.85rem, 2vw, 0.925rem);
  color: var(--on-surface-variant);
  line-height: 1.78;
  margin-bottom: 2rem;
  letter-spacing: -0.005em;
}

.dev-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dev-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  font-weight: 500;
  color: var(--on-surface-variant);
  letter-spacing: -0.01em;
}

.dev-list .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.1rem;
  font-variation-settings: "FILL" 1;
  flex-shrink: 0;
}

/* Code image */
.code-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

/* ─── FAQ ─── */
.faq-section {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-3xl) clamp(1rem, 4vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-section h2 {
  text-align: center;
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.faq-list {
  max-width: 42rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.875rem;
  background: var(--surface-container-low);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 2.5vw, 1.4rem);
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  color: var(--on-surface);
  text-align: left;
  gap: 1rem;
}

.faq-trigger h4 {
  font-size: clamp(0.875rem, 2vw, 0.925rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.faq-trigger .material-symbols-outlined {
  color: #445566;
  font-size: 1.15rem;
  transition: transform 0.3s, color 0.2s;
  flex-shrink: 0;
}

.faq-item.open .faq-trigger .material-symbols-outlined {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 clamp(1rem, 2.5vw, 1.4rem);
}

.faq-item.open .faq-body {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

.faq-body p {
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  color: var(--on-surface-variant);
  line-height: 1.78;
  letter-spacing: -0.005em;
}

/* ─── CTA ─── */
.cta-section {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-3xl) clamp(1rem, 4vw, 2rem);
}

.cta-box {
  background: var(--primary);
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(30, 127, 236, 0.3);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 60%
  );
}

.cta-box::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: clamp(1.6rem, 5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.9rem, 2vw, 1rem);
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  text-decoration: none;
}

.btn-solid {
  background: #fff;
  color: var(--primary);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: clamp(0.875rem, 2vw, 0.95rem);
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.01em;
  transition: transform 0.18s, box-shadow 0.2s;
}

.btn-solid:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-ghost-cta {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 0.95rem);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.01em;
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ─── FOOTER ─── */
footer {
  background: var(--surface);
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.f-logo {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.f-desc {
  font-size: var(--text-sm);
  color: #445566;
  line-height: 1.68;
  letter-spacing: -0.005em;
}

.footer-col h5 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.35rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col a {
  font-size: var(--text-sm);
  color: #445566;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 3.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a3d55;
}

.footer-socials {
  display: flex;
  gap: 0.125rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  color: #445566;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.footer-socials a:hover {
  color: var(--primary);
  background: var(--primary-glow-soft);
}

.footer-socials svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* ─── CHAIN STRIP (hero) ─── */
.chain-strip-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

.chain-lbl {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #445566;
}

.chain-track-outer {
  width: min(860px, 92vw);
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.chain-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: chain-scroll 32s linear infinite;
}

.chain-track:hover {
  animation-play-state: paused;
}

@keyframes chain-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 3));
  }
}

.chain-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem 0.5rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(14, 19, 34, 0.7);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  cursor: default;
}

.chain-chip:hover {
  background: rgba(30, 127, 236, 0.08);
  border-color: rgba(30, 127, 236, 0.22);
}

.chain-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chain-logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 2px;
}

.chain-initial {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: currentColor;
}

.chain-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.chain-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--on-surface);
  letter-spacing: -0.015em;
}

.chain-ticker {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #445566;
  text-transform: uppercase;
}

.chain-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.7;
}

.chain-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  margin-inline: 0.5rem;
}

@media (max-width: 540px) {
  .chain-track-outer {
    width: 100vw;
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%
    );
  }

  .chain-chip {
    padding: 0.45rem 0.85rem 0.45rem 0.5rem;
    gap: 0.45rem;
  }

  .chain-logo {
    width: 26px;
    height: 26px;
  }

  .chain-logo svg {
    width: 15px;
    height: 15px;
  }

  .chain-name {
    font-size: 0.75rem;
  }
}

/* Large tablets */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .trust-strip p {
    font-size: 30px;
  }
}

/* Tablets */
@media (max-width: 900px) {
  .dev-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .trust-strip p {
    font-size: 30px;
  }

  .phones-row {
    gap: 0;
  }

  .phone-frame {
    width: clamp(130px, 25vw, 200px);
  }

  .phone-frame:nth-child(1) {
    transform: rotateY(8deg) translateX(20px) scale(0.9);
  }

  .phone-frame:nth-child(3) {
    transform: rotateY(-8deg) translateX(-20px) scale(0.9);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links,
  .nav-socials,
  .nav-cta-btn {
    display: none;
    text-decoration: none;
  }

  .trust-strip p {
    font-size: 16px;
  }

  .hero h1 {
    width: 100% !important;
    font-size: 35px;
  }

  .hero p {
    width: 100% !important;
    font-size: 16px;
  }

  .trust-strip {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hamburger {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hiw-spine {
    display: none;
  }

  .hiw-item {
    grid-template-columns: 36px 1fr;
    gap: 0 1.25rem;
  }

  .trust-brands {
    gap: 1.5rem;
  }

  .trust-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Small mobile */
@media (max-width: 540px) {
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btns button {
    width: 100%;
  }

  .phones-row {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    perspective: none;
  }

  .phone-frame {
    width: min(280px, 85vw);
  }

  .phone-frame:nth-child(1),
  .phone-frame:nth-child(2),
  .phone-frame:nth-child(3) {
    transform: none;
  }

  .phone-label {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .demo-pills {
    gap: 0.5rem;
  }

  .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btns button {
    width: 100%;
  }

  .trust-row {
    gap: 0.4rem 1rem;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  :root {
    --nav-h: 64px;
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .hiw-item {
    grid-template-columns: 32px 1fr;
    gap: 0 1rem;
  }

  .hiw-bubble {
    width: 32px;
    height: 32px;
  }

  .hiw-ring {
    width: 42px;
    height: 42px;
    top: -4px;
    left: -4px;
  }
}
