*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #080a10;
  --surface: #0e1018;
  --card: #13161f;
  --card2: #181c28;
  --border: rgba(255, 255, 255, 0.06);
  --border2: rgba(255, 255, 255, 0.11);
  --accent: #3dd6f5;
  --accent2: #7c6cf8;
  --success: #2dd4a0;
  --warn: #f5a623;
  --danger: #ff5a71;
  --text: #dce3f0;
  --text2: #a8b3cc;
  --muted: #6b7794;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 5vw;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 10, 16, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent),
    var(--accent2),
    transparent
  );
  opacity: 0.4;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.nav-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.nav-name span {
  color: var(--accent);
}
.nav-ver {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--muted);
  background: var(--card2);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-cta {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  color: var(--bg) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition:
    opacity 0.2s,
    transform 0.2s !important;
}
.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.nav-coffee {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 8px;
  color: var(--warn) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none;
  background: rgba(245, 166, 35, 0.06);
  transition: background 0.2s, border-color 0.2s;
}
.nav-coffee:hover {
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.5);
  color: var(--warn) !important;
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.25s, opacity 0.2s;
  border-radius: 1px;
}
.nav-toggle:hover {
  border-color: var(--accent);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 5vw 80px;
  position: relative;
  text-align: center;
}

/* BG glow blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(61, 214, 245, 0.07) 0%,
    transparent 70%
  );
  top: -100px;
  left: -200px;
}
.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(124, 108, 248, 0.07) 0%,
    transparent 70%
  );
  top: 100px;
  right: -150px;
}
.blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(45, 212, 160, 0.05) 0%,
    transparent 70%
  );
  bottom: 0;
  left: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(61, 214, 245, 0.07);
  border: 1px solid rgba(61, 214, 245, 0.2);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
h1 .line2 {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text2);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}
.btn-primary {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  color: var(--bg);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(61, 214, 245, 0.2);
}
.btn-secondary {
  padding: 14px 28px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 10px;
  color: var(--text2);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
}

/* ── HERO PRODUCT MOCK ── */
.hero-showcase {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 420px);
  gap: 56px;
  align-items: center;
  justify-content: center;
  text-align: left;
  max-width: 1000px;
  width: 100%;
  position: relative;
}
.hero-showcase::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    ellipse at center,
    rgba(61, 214, 245, 0.06) 0%,
    transparent 60%
  );
  z-index: -1;
  pointer-events: none;
}

.mock-popup {
  width: 100%;
  background: #0c0e14;
  border: 1px solid var(--border2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(61, 214, 245, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  font-family: "Inter", sans-serif;
  user-select: none;
}
.mock-header {
  padding: 12px 14px;
  background: rgba(20, 23, 32, 0.85);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.mock-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), transparent);
  opacity: 0.6;
}
.mock-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-logo-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.mock-logo-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}
.mock-logo-text span {
  color: var(--accent);
}
.mock-icon-row {
  display: flex;
  gap: 5px;
}
.mock-icon-btn {
  width: 24px;
  height: 24px;
  background: #1c2133;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
}

.mock-sitebar {
  margin: 9px 12px 0;
  padding: 6px 10px;
  background: #1c2133;
  border: 1px solid var(--border);
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mock-site-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  flex-shrink: 0;
  animation: pulse 2.5s infinite;
}
.mock-site-url {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--muted);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-site-url strong {
  color: var(--accent);
  font-weight: 500;
}
.mock-site-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  background: rgba(61, 214, 245, 0.12);
  color: var(--accent);
  border-radius: 10px;
  border: 1px solid rgba(61, 214, 245, 0.2);
}

.mock-tabs {
  display: flex;
  gap: 3px;
  margin: 9px 12px 0;
  background: #141720;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.mock-tab {
  flex: 1;
  padding: 5px 4px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.mock-tab.active {
  background: #1c2133;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.mock-tab-badge {
  font-size: 9px;
  background: var(--accent);
  color: #0c0e14;
  border-radius: 5px;
  padding: 1px 5px;
  font-weight: 700;
}

.mock-scripts {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-card {
  background: #1c2133;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 11px;
  transition: transform 0.3s;
}
.mock-card.dim {
  opacity: 0.55;
}
.mock-card:hover {
  transform: translateY(-1px);
  border-color: rgba(61, 214, 245, 0.25);
}
.mock-card-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}
.mock-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 5px rgba(45, 212, 160, 0.5);
}
.mock-status.off {
  background: var(--muted);
  box-shadow: none;
}
.mock-name {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.mock-toggle {
  width: 26px;
  height: 14px;
  background: #181c28;
  border: 1px solid var(--border);
  border-radius: 8px;
  position: relative;
  flex-shrink: 0;
}
.mock-toggle::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--muted);
  border-radius: 50%;
  top: 1px;
  left: 1px;
  transition: all 0.3s;
}
.mock-toggle.on {
  background: rgba(45, 212, 160, 0.15);
  border-color: rgba(45, 212, 160, 0.3);
}
.mock-toggle.on::after {
  left: 13px;
  background: var(--success);
  box-shadow: 0 0 6px rgba(45, 212, 160, 0.5);
}
.mock-desc {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.4;
}

.mock-bottom {
  padding: 9px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 6px;
  background: rgba(20, 23, 32, 0.85);
}
.mock-bottom-btn {
  flex: 1;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #1c2133;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
.mock-bottom-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color: #0c0e14;
}

/* Mock caption side */
.mock-caption {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-caption-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(61, 214, 245, 0.08);
  border: 1px solid rgba(61, 214, 245, 0.18);
  padding: 4px 12px;
  border-radius: 20px;
  align-self: flex-start;
}
.mock-caption-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.mock-caption-text {
  font-size: 15px;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.65;
}

@media (max-width: 880px) {
  .hero-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 380px;
  }
  .mock-caption {
    text-align: center;
  }
  .mock-caption-tag {
    align-self: center;
  }
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat-n {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-l {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* ── SECTION SHARED ── */
section {
  padding: 100px 5vw;
  position: relative;
  scroll-margin-top: 64px;
}
.section-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(61, 214, 245, 0.08);
  border: 1px solid rgba(61, 214, 245, 0.18);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px;
  color: var(--text2);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.7;
}

/* ── FEATURES ── */
#features {
  background: var(--surface);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.feat-card:hover {
  border-color: rgba(61, 214, 245, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.feat-card:hover::before {
  opacity: 0.6;
}
.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feat-card:nth-child(1) .feat-icon {
  background: rgba(61, 214, 245, 0.1);
}
.feat-card:nth-child(2) .feat-icon {
  background: rgba(124, 108, 248, 0.1);
}
.feat-card:nth-child(3) .feat-icon {
  background: rgba(45, 212, 160, 0.1);
}
.feat-card:nth-child(4) .feat-icon {
  background: rgba(245, 166, 35, 0.1);
}
.feat-card:nth-child(5) .feat-icon {
  background: rgba(255, 90, 113, 0.1);
}
.feat-card:nth-child(6) .feat-icon {
  background: rgba(61, 214, 245, 0.1);
}
.feat-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feat-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}

/* ── TEMPLATES SHOWCASE ── */
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 56px;
}
.tpl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 20px 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tpl-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.tpl-card:hover {
  border-color: rgba(61, 214, 245, 0.22);
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(61, 214, 245, 0.06);
}
.tpl-card:hover::before {
  opacity: 0.6;
}
.tpl-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tpl-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.tpl-cat {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.tpl-verified-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--success);
  background: rgba(45, 212, 160, 0.1);
  border: 1px solid rgba(45, 212, 160, 0.3);
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: help;
}
.tpl-builtin-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--warn);
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: help;
}

.tpl-card.tpl-verified {
  border-color: rgba(45, 212, 160, 0.18);
  background: linear-gradient(
    180deg,
    rgba(45, 212, 160, 0.025),
    var(--card) 40%
  );
}
.tpl-card.tpl-verified::before {
  background: linear-gradient(90deg, transparent, var(--success), transparent);
  opacity: 0.5;
}
.tpl-card.tpl-verified:hover {
  border-color: rgba(45, 212, 160, 0.35);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(45, 212, 160, 0.08);
}

.tpl-card.tpl-builtin {
  border-color: rgba(245, 166, 35, 0.18);
  background: linear-gradient(
    180deg,
    rgba(245, 166, 35, 0.025),
    var(--card) 40%
  );
}
.tpl-card.tpl-builtin::before {
  background: linear-gradient(90deg, transparent, var(--warn), transparent);
  opacity: 0.5;
}
.tpl-card.tpl-builtin:hover {
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(245, 166, 35, 0.08);
}
.tpl-desc code {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  background: var(--card2);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--accent);
}
.tpl-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.tpl-desc {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

/* preview frame shared */
.tpl-preview {
  position: relative;
  height: 112px;
  background: #0a0c12;
  border: 1px solid var(--border);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: none;
  margin: 0 -20px;
  margin-left: 0;
  margin-right: 0;
  padding: 14px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}
.tpl-card {
  padding-bottom: 0;
}
.tpl-card > .tpl-preview {
  margin-top: auto;
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}

/* preview 1: hide elements (built-in feature) */
.preview-hide {
  padding: 10px 12px;
  gap: 6px;
}
.preview-hide .prev-hide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.preview-hide .prev-hide-chip {
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  background: var(--card2);
  border: 1px solid var(--border);
  color: var(--text2);
  white-space: nowrap;
}
.preview-hide .prev-hide-chip.preset {
  background: rgba(255, 90, 113, 0.1);
  border-color: rgba(255, 90, 113, 0.3);
  color: var(--danger);
}
.preview-hide .prev-hide-textarea {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 7px;
  display: flex;
  align-items: center;
}
.preview-hide .prev-hide-mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: var(--text2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preview-hide .prev-hide-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 5px;
}
.preview-hide .prev-hide-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 5px var(--success);
  animation: pulse 2s infinite;
}

/* preview 2: dark mode */
.preview-dark {
  flex-direction: row;
  padding: 0;
  position: relative;
}
.preview-dark .prev-half-light,
.preview-dark .prev-half-dark {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 16px;
}
.preview-dark .prev-half-light {
  background: #ededf2;
}
.preview-dark .prev-half-dark {
  background: #11141d;
}
.preview-dark .prev-line {
  height: 5px;
  border-radius: 2px;
}
.preview-dark .prev-line.dark {
  background: #2a2d36;
}
.preview-dark .prev-line.dark.short {
  width: 60%;
}
.preview-dark .prev-line.light {
  background: var(--text2);
}
.preview-dark .prev-line.light.short {
  width: 60%;
}
.preview-dark .prev-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* preview 3: youtube */
.preview-yt {
  flex-direction: row;
  gap: 10px;
}
.preview-yt .prev-yt-main {
  flex: 1.8;
  background: linear-gradient(135deg, rgba(255, 90, 113, 0.15), rgba(255, 90, 113, 0.05));
  border-radius: 5px;
  border: 1px solid rgba(255, 90, 113, 0.2);
  position: relative;
}
.preview-yt .prev-yt-main::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--danger);
  font-size: 18px;
  opacity: 0.6;
}
.preview-yt .prev-yt-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.preview-yt .prev-yt-item {
  flex: 1;
  background: var(--card2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.preview-yt .prev-yt-item.killed {
  opacity: 0.35;
}
.preview-yt .prev-yt-item.killed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 3px,
    rgba(255, 90, 113, 0.15) 3px,
    rgba(255, 90, 113, 0.15) 6px
  );
}
.preview-yt .prev-x {
  color: var(--danger);
  font-weight: 700;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

/* preview 4: auto-scroll built-in panel */
.preview-scroll {
  position: relative;
  padding: 8px 12px;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.preview-scroll .prev-as-panel {
  flex: 1;
  background: var(--card);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.08);
}
.preview-scroll .prev-as-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--warn);
}
.preview-scroll .prev-as-modes {
  display: flex;
  gap: 3px;
}
.preview-scroll .prev-as-mode {
  flex: 1;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 600;
  padding: 2px 0;
  border-radius: 3px;
  background: var(--card2);
  color: var(--muted);
  border: 1px solid var(--border);
}
.preview-scroll .prev-as-mode.active {
  background: rgba(245, 166, 35, 0.18);
  border-color: rgba(245, 166, 35, 0.5);
  color: var(--warn);
}
.preview-scroll .prev-as-speed {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 8.5px;
}
.preview-scroll .prev-as-speed-label {
  font-family: "JetBrains Mono", monospace;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.preview-scroll .prev-as-speed-val {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: var(--warn);
  font-size: 10px;
}
.preview-scroll .prev-as-speed-val em {
  font-style: normal;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 500;
}
.preview-scroll .prev-as-slider {
  height: 3px;
  background: var(--card2);
  border-radius: 2px;
  position: relative;
}
.preview-scroll .prev-as-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--warn), var(--accent));
  border-radius: 2px;
  animation: asSliderFill 3s ease-in-out infinite alternate;
}
.preview-scroll .prev-as-thumb {
  position: absolute;
  top: 50%;
  left: 35%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--warn);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(245, 166, 35, 0.6);
  animation: asThumbMove 3s ease-in-out infinite alternate;
}
@keyframes asSliderFill {
  from { width: 20%; }
  to { width: 70%; }
}
@keyframes asThumbMove {
  from { left: 20%; }
  to { left: 70%; }
}
.preview-scroll .prev-scroll-arrow {
  font-size: 18px;
  color: var(--success);
  font-weight: 700;
  animation: scrollArrow 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes scrollArrow {
  0%, 100% { transform: translateY(-3px); opacity: 0.6; }
  50% { transform: translateY(3px); opacity: 1; }
}

/* preview 5: toc */
.preview-toc {
  flex-direction: row;
  gap: 10px;
  padding: 12px;
}
.preview-toc .prev-toc-main {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.preview-toc .prev-toc-main .prev-line {
  height: 5px;
  border-radius: 2px;
  background: var(--card2);
}
.preview-toc .prev-toc-main .prev-line.short {
  width: 60%;
}
.preview-toc .prev-toc-side {
  flex: 1;
  background: rgba(61, 214, 245, 0.05);
  border: 1px solid rgba(61, 214, 245, 0.18);
  border-radius: 5px;
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
}
.preview-toc .prev-toc-h {
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}
.preview-toc .prev-toc-h.sub {
  padding-left: 8px;
  color: var(--text2);
  opacity: 0.8;
}

/* preview 6: price */
.preview-price {
  padding: 12px 14px;
  justify-content: space-between;
}
.preview-price .prev-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.preview-price .prev-price-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.preview-price .prev-price-old {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
}
.preview-price .prev-price-new {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--success), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: priceTick 2.5s ease-in-out infinite;
}
@keyframes priceTick {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.preview-price .prev-tg-alert {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: 5px;
  font-size: 10px;
  color: var(--warn);
  font-weight: 600;
}
.preview-price .prev-tg-icon {
  font-size: 11px;
}

/* preview 7: session exporter */
.preview-export {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.preview-export .prev-export-src {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.preview-export .prev-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 3px 7px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 9.5px;
  color: var(--text2);
  font-weight: 500;
  white-space: nowrap;
}
.preview-export .prev-chip em {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
}
.preview-export .prev-export-arrow {
  font-size: 18px;
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.preview-export .prev-export-out {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(45, 212, 160, 0.05);
  border: 1px solid rgba(45, 212, 160, 0.22);
  border-radius: 6px;
  padding: 6px 8px;
}
.preview-export .prev-export-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--success);
  letter-spacing: 0.08em;
}
.preview-export .prev-export-mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: var(--text2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preview-export .prev-export-copy {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--success);
  align-self: flex-start;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(45, 212, 160, 0.12);
  animation: copyFlash 2.5s ease-in-out infinite;
}
@keyframes copyFlash {
  0%, 60%, 100% { opacity: 0; transform: translateY(-2px); }
  70%, 90% { opacity: 1; transform: translateY(0); }
}

/* preview 8: session importer */
.preview-import {
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  justify-content: center;
}
.preview-import .prev-import-in {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
}
.preview-import .prev-import-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.preview-import .prev-import-mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: var(--text2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preview-import .prev-import-arrow {
  text-align: center;
  font-size: 14px;
  color: var(--success);
  font-weight: 700;
  line-height: 1;
  animation: importArrow 1.6s ease-in-out infinite;
}
@keyframes importArrow {
  0%, 100% { transform: translateY(-2px); opacity: 0.5; }
  50% { transform: translateY(2px); opacity: 1; }
}
.preview-import .prev-import-result {
  background: rgba(45, 212, 160, 0.08);
  border: 1px solid rgba(45, 212, 160, 0.25);
  border-radius: 5px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-import .prev-import-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--success);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(45, 212, 160, 0.5);
}
.preview-import .prev-import-text {
  font-size: 10px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preview-import .prev-import-text strong {
  color: var(--success);
  font-weight: 600;
}

/* Accordion */
.tpl-accordion {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}
.tpl-accordion-note {
  padding: 12px 18px;
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.55;
  background: rgba(245, 166, 35, 0.04);
  border-left: 2px solid rgba(245, 166, 35, 0.4);
}
.tpl-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  transition: color 0.2s, background 0.2s;
}
.tpl-accordion summary::-webkit-details-marker {
  display: none;
}
.tpl-accordion summary:hover {
  color: var(--accent);
  background: rgba(61, 214, 245, 0.03);
}
.tpl-accordion-chevron {
  font-size: 10px;
  color: var(--muted);
  transition: transform 0.25s;
}
.tpl-accordion[open] .tpl-accordion-chevron {
  transform: rotate(180deg);
}
.tpl-accordion[open] summary {
  border-bottom: 1px solid var(--border);
}
.tpl-accordion .templates-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 20px;
  margin-top: 0;
}
.tpl-pill {
  padding: 7px 14px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  cursor: default;
}
.tpl-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(61, 214, 245, 0.05);
}

.tpl-cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ── INSTALL ── */
#install {
  background: var(--bg);
}
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  align-items: start;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step-item:last-child {
  border-bottom: none;
}
.step-num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--bg);
  margin-top: 2px;
}
.step-body {
}
.step-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.step-desc {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.6;
}
.step-desc code {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--accent);
  background: rgba(61, 214, 245, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
}
.step-desc a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.step-desc a:hover {
  text-decoration: underline;
}
.step-action {
  margin-top: 10px;
}
.step-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(61, 214, 245, 0.08);
  border: 1px solid rgba(61, 214, 245, 0.2);
  border-radius: 7px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.step-btn:hover {
  background: rgba(61, 214, 245, 0.15);
  transform: translateY(-1px);
}

/* code terminal */
.terminal {
  background: #060810;
  border: 1px solid var(--border2);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 84px;
}
.terminal-header {
  padding: 12px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.term-dot:nth-child(1) {
  background: #ff5f57;
}
.term-dot:nth-child(2) {
  background: #ffbd2e;
}
.term-dot:nth-child(3) {
  background: #27c93f;
}
.term-title {
  margin-left: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}
.terminal-body {
  padding: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  line-height: 2;
}
.t-comment {
  color: var(--muted);
}
.t-cmd {
  color: var(--text2);
}
.t-cmd::before {
  content: "$ ";
  color: var(--accent);
}
.t-out {
  color: var(--success);
  padding-left: 16px;
}
.t-url {
  color: var(--accent2);
}
.t-prompt {
  color: var(--accent);
}
.t-gap {
  height: 8px;
  display: block;
}

/* ── FAQ ── */
#faq {
  background: var(--surface);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: var(--border2);
}
.faq-q {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.faq-q .q-icon {
  color: var(--accent);
  flex-shrink: 0;
  font-size: 16px;
}
.faq-a {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.65;
}
.faq-a code {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--accent);
  background: rgba(61, 214, 245, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ── CTA ── */
#cta {
  text-align: center;
  padding: 120px 5vw;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
#cta .blob-cta {
  position: absolute;
  width: 800px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(61, 214, 245, 0.06) 0%,
    transparent 70%
  );
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-box {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.cta-box .section-title {
  margin-bottom: 18px;
}
.cta-box .section-sub {
  margin: 0 auto 40px;
  text-align: center;
}

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-copy {
  font-size: 13px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text2);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* reveal handled by GSAP now */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .install-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .terminal {
    display: none;
  }
  .hero-stats {
    gap: 24px;
  }

  /* Hamburger menu */
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 5vw;
    background: rgba(8, 10, 16, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links a:not(.nav-cta):not(.nav-coffee) {
    display: block;
    padding: 14px 4px;
    font-size: 15px;
  }
  .nav-links .nav-cta,
  .nav-links .nav-coffee {
    margin: 10px 0;
    justify-content: center;
  }
}

/* scrollbar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 3px;
}

/* ── THREE.JS CANVAS ── */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Ensure content sits above canvas */
section, footer {
  position: relative;
  z-index: 1;
}

/* ── CURSOR GLOW ── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,214,245,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
@media (max-width: 768px) {
  .cursor-glow { display: none; }
}

/* ── GLASSMORPHISM SECTIONS ── */
#features {
  background: rgba(14, 16, 24, 0.85);
  backdrop-filter: blur(12px);
}
#faq {
  background: rgba(14, 16, 24, 0.85);
  backdrop-filter: blur(12px);
}

/* ── ENHANCED FEAT CARD GLOW ── */
.feat-card {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.feat-card:hover {
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(61, 214, 245, 0.06);
}

/* ── TERMINAL TYPING ── */
.terminal-body > * {
  opacity: 0;
  transform: translateY(6px);
}
.terminal-body.typing-active > * {
  animation: termLine 0.4s ease forwards;
}
.terminal-body.typing-active > *:nth-child(1) { animation-delay: 0s; }
.terminal-body.typing-active > *:nth-child(2) { animation-delay: 0.15s; }
.terminal-body.typing-active > *:nth-child(3) { animation-delay: 0.3s; }
.terminal-body.typing-active > *:nth-child(4) { animation-delay: 0.5s; }
.terminal-body.typing-active > *:nth-child(5) { animation-delay: 0.65s; }
.terminal-body.typing-active > *:nth-child(6) { animation-delay: 0.8s; }
.terminal-body.typing-active > *:nth-child(7) { animation-delay: 0.95s; }
.terminal-body.typing-active > *:nth-child(8) { animation-delay: 1.1s; }
.terminal-body.typing-active > *:nth-child(9) { animation-delay: 1.2s; }
.terminal-body.typing-active > *:nth-child(10) { animation-delay: 1.3s; }
.terminal-body.typing-active > *:nth-child(11) { animation-delay: 1.4s; }
.terminal-body.typing-active > *:nth-child(12) { animation-delay: 1.5s; }
.terminal-body.typing-active > *:nth-child(13) { animation-delay: 1.6s; }
.terminal-body.typing-active > *:nth-child(14) { animation-delay: 1.7s; }
.terminal-body.typing-active > *:nth-child(15) { animation-delay: 1.8s; }
.terminal-body.typing-active > *:nth-child(n+16) { animation-delay: 1.9s; }

@keyframes termLine {
  to { opacity: 1; transform: none; }
}

/* ── PILL SHIMMER ── */
.tpl-pill {
  position: relative;
  overflow: hidden;
}
.tpl-pill::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(61,214,245,0.08), transparent);
  transition: left 0.5s;
}
.tpl-pill:hover::after {
  left: 100%;
}

/* ── HERO BLOBS – remove since Three.js replaces them ── */
.blob { display: none; }
