/* ═══════════════════════════════════════════════════
   OpenFi Website — Main Stylesheet
   Araknerd · Kampala, Uganda
═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #0DBBAA;
  --teal-dark: #089487;
  --teal-dim: rgba(13,187,170,0.12);
  --teal-glow: rgba(13,187,170,0.25);
  --ink: #080C10;
  --ink-2: #0F1620;
  --ink-3: #1A2535;
  --slate: #8A9BB4;
  --slate-2: #4E637E;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.12);
  --white: #FFFFFF;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grid overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,187,170,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,187,170,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(8,12,16,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

nav.scrolled {
  background: rgba(8,12,16,0.97);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  /* background: var(--white); */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.logo-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-ghost {
  background: transparent;
  color: var(--slate);
  border: 1px solid var(--line-2);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
}

.btn-primary {
  background: var(--teal);
  color: var(--ink);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-xl { padding: 16px 40px; font-size: 17px; border-radius: 10px; }

/* ── SHARED ── */
section { position: relative; z-index: 1; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--slate);
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 80px;
  overflow: hidden;
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.svg');
  background-size: cover;
  background-position: center right;
  opacity: 0.85;
  z-index: 0;
}

/* Deep gradient overlay so left text area is always readable */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,12,16,0.97) 0%,
    rgba(8,12,16,0.92) 35%,
    rgba(8,12,16,0.55) 60%,
    rgba(8,12,16,0.15) 100%
  );
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-dim);
  border: 1px solid rgba(13,187,170,0.3);
  color: var(--teal);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 24px;
}

h1 .teal { color: var(--teal); }

.hero-sub {
  font-size: 18px;
  color: var(--slate);
  line-height: 1.7;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--slate);
  margin-top: 4px;
}

/* hero right side — phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-frame {
  background: var(--ink-2);
  border: 1px solid rgba(13,187,170,0.3);
  border-radius: 20px;
  padding: 4px;
  width: 280px;
  box-shadow: 0 0 60px rgba(13,187,170,0.2);
  position: relative;
  z-index: 2;
}

.device-inner {
  background: var(--ink-3);
  border-radius: 16px;
  overflow: hidden;
}

.device-statusbar {
  background: rgba(13,187,170,0.08);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.device-brand {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.3px;
}

.wifi-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--teal);
  background: var(--teal-dim);
  padding: 3px 8px;
  border-radius: 10px;
}

.wifi-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

.device-body { padding: 20px 16px; }

.portal-location {
  font-size: 11px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.portal-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.portal-sub {
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 20px;
}

.portal-pkg {
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-pkg.active { border-color: var(--teal); }

.pkg-icon {
  width: 36px; height: 36px;
  background: var(--teal-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pkg-icon svg { width: 16px; height: 16px; fill: var(--teal); }
.pkg-info { flex: 1; }

.pkg-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.pkg-duration { font-size: 11px; color: var(--slate); }

.pkg-price {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
}

.portal-connect-btn {
  width: 100%;
  margin-top: 16px;
  background: var(--teal);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font-body);
}

.portal-ad-strip {
  background: #111c2a;
  border-top: 1px solid var(--line);
  padding: 12px 16px;
}

.ad-strip-label {
  font-size: 10px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ad-strip-msg {
  font-size: 11px;
  color: var(--white);
  font-weight: 500;
}

.hero-float-card {
  position: absolute;
  background: rgba(15,22,32,0.92);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 16px;
  z-index: 3;
  backdrop-filter: blur(8px);
}

.float-1 { right: -30px; top: 20px; min-width: 160px; }
.float-2 { left: -40px; bottom: 60px; min-width: 150px; }

.float-label { font-size: 11px; color: var(--slate); margin-bottom: 4px; }

.float-value {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.float-teal { color: var(--teal); }

.float-spark {
  display: flex;
  gap: 3px;
  margin-top: 8px;
  align-items: flex-end;
}

.spark-bar {
  width: 8px;
  background: var(--line-2);
  border-radius: 2px;
}

.spark-bar.active { background: var(--teal); }

/* ── ANIMATIONS ── */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.2s; }
.fade-up.d3 { animation-delay: 0.3s; }
.fade-up.d4 { animation-delay: 0.4s; }
.fade-up.d5 { animation-delay: 0.5s; }

/* ── HOW IT WORKS ── */
#how {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.how-step {
  background: var(--ink-2);
  padding: 40px 32px;
  transition: background 0.3s;
}

.how-step:hover { background: var(--ink-3); }

.step-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--line-2);
  line-height: 1;
  margin-bottom: 24px;
}

.step-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--teal-dim);
  border: 1px solid rgba(13,187,170,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
}

/* ── FEATURES ── */
#features {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}

.feature-list { display: flex; flex-direction: column; gap: 4px; }

.feature-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid transparent;
}

.feature-item:hover,
.feature-item.active {
  background: var(--ink-2);
  border-color: var(--line-2);
}

.feature-item.active .feature-icon {
  background: var(--teal);
  border-color: var(--teal);
}

.feature-item.active .feature-icon svg { stroke: var(--ink); }

.feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--teal-dim);
  border: 1px solid rgba(13,187,170,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-top: 2px;
}

.feature-icon svg {
  width: 18px; height: 18px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}

.feature-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

.feature-preview {
  position: sticky;
  top: 100px;
}

.preview-card {
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.preview-bar {
  background: rgba(13,187,170,0.07);
  border-bottom: 1px solid var(--line);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-dot { width: 10px; height: 10px; border-radius: 50%; }

.preview-body {
  flex: 1;
  padding: 28px;
  display: none;
}

.preview-body.active { display: flex; flex-direction: column; gap: 12px; }

.analytics-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.analytics-bar-label {
  font-size: 12px;
  color: var(--slate);
  min-width: 70px;
}

.analytics-bar-track {
  flex: 1;
  height: 8px;
  background: var(--line-2);
  border-radius: 4px;
  overflow: hidden;
}

.analytics-bar-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 4px;
}

.analytics-bar-val {
  font-size: 12px;
  color: var(--white);
  min-width: 40px;
  text-align: right;
}

.voucher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.voucher-chip {
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.voucher-chip .code {
  font-family: monospace;
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 1px;
}

.voucher-chip .dur {
  font-size: 10px;
  color: var(--slate);
  margin-top: 3px;
}

.preview-metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.preview-metric {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.preview-metric .m-label { font-size: 11px; color: var(--slate); margin-bottom: 6px; }

.preview-metric .m-val {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.preview-metric .m-val span { color: var(--teal); }

/* ── VISUALS SECTION ── */
#visuals {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.visuals-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 64px;
}

.visuals-split + .visuals-split { margin-top: 80px; }

.visual-text-block { }

.visual-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 12px;
}

h3 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.15;
}

.visual-desc {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.check-list li .chk {
  width: 20px; height: 20px;
  background: var(--teal-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: var(--teal);
}

.svg-frame {
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  overflow: hidden;
}

.svg-frame svg { width: 100%; display: block; }

/* Network diagram */
.network-section {
  margin-top: 80px;
}

.network-header {
  text-align: center;
  margin-bottom: 40px;
}

/* ── SCREENSHOTS ── */
#screenshots {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.screenshot-slot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.25s, transform 0.2s;
}

.screenshot-slot:hover {
  border-color: rgba(13,187,170,0.4);
  transform: translateY(-3px);
}

.screenshot-slot .slot-img {
  aspect-ratio: 16/10;
  background: var(--ink-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

/* When real screenshot is present */
.screenshot-slot .slot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slot-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--teal-dim);
  border: 1px solid rgba(13,187,170,0.3);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--teal);
  font-weight: 600;
}

.slot-icon {
  width: 56px; height: 56px;
  background: var(--teal-dim);
  border: 1px dashed rgba(13,187,170,0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-icon svg {
  width: 24px; height: 24px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.slot-placeholder-text {
  font-size: 12px;
  color: var(--slate);
  font-weight: 500;
}

.slot-placeholder-sub {
  font-size: 11px;
  color: var(--slate-2);
}

.slot-caption {
  padding: 14px 16px;
}

.slot-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 3px;
}

.slot-desc {
  font-size: 12px;
  color: var(--slate);
}

.screenshots-hint {
  margin-top: 24px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hint-icon {
  width: 36px; height: 36px;
  background: var(--teal-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hint-icon svg {
  width: 18px; height: 18px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
}

.hint-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2px;
}

.hint-desc {
  font-size: 12px;
  color: var(--slate);
}

.hint-desc code {
  background: rgba(255,255,255,0.07);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--teal);
  font-family: monospace;
}

/* ── PRICING ── */
#pricing {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-header .section-sub { margin: 0 auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.plan-card {
  background: var(--ink-2);
  padding: 36px 32px;
  transition: background 0.2s;
  position: relative;
}

.plan-card:hover { background: var(--ink-3); }

.plan-card.featured {
  background: rgba(13,187,170,0.06);
  border-top: 2px solid var(--teal);
}

.plan-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.plan-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 28px;
  line-height: 1.6;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.price-curr { font-size: 16px; color: var(--slate); font-weight: 300; }

.price-amount {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
}

.price-period { font-size: 13px; color: var(--slate); }

.plan-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate);
}

.plan-features li .check {
  width: 16px; height: 16px;
  background: var(--teal-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-features li .check svg {
  width: 10px; height: 10px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2.5;
}

.plan-features li.active { color: var(--white); }

.btn-plan {
  width: 100%;
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-plan-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-2);
}

.btn-plan-outline:hover { border-color: var(--slate-2); background: rgba(255,255,255,0.04); }

.btn-plan-primary { background: var(--teal); color: var(--ink); }
.btn-plan-primary:hover { background: var(--teal-dark); }

/* ── TESTIMONIALS ── */
#testimonials {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-header .section-sub { margin: 0 auto; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}

.testimonial-card:hover { border-color: rgba(13,187,170,0.3); }

.t-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.t-stars svg { width: 14px; height: 14px; fill: var(--teal); }

.t-quote {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
  font-weight: 300;
}

.t-author { display: flex; align-items: center; gap: 12px; }

.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.t-name { font-size: 14px; font-weight: 500; color: var(--white); }
.t-role { font-size: 12px; color: var(--slate); }

/* ── CTA ── */
#cta {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.cta-box {
  background: var(--ink-2);
  border: 1px solid rgba(13,187,170,0.2);
  border-radius: 24px;
  padding: 72px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13,187,170,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 { margin-bottom: 16px; position: relative; }
.cta-box .section-sub { margin: 0 auto 40px; position: relative; }

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 5% 40px;
  position: relative;
  z-index: 1;
}

.footer-inner { max-width: 1160px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.footer-copy { font-size: 13px; color: var(--slate-2); }

.footer-araknerd { font-size: 13px; color: var(--slate-2); }

.footer-araknerd a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}

/* ── MOBILE NAV ── */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta .btn-ghost { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { display: none; }

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

  .features-layout { grid-template-columns: 1fr; gap: 40px; }
  .feature-preview { position: static; }

  .visuals-split { grid-template-columns: 1fr; }
  .visuals-split .svg-frame { order: -1; }

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

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

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

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cta-box { padding: 48px 32px; }
}

@media (max-width: 560px) {
  .screenshots-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
