/* ── Fonts (self-hosted Inter) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-latin-800-normal.woff2') format('woff2');
}

/* ── Reset + base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --grad: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --violet: #7C3AED;
  --pink: #EC4899;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --emerald: #10B981;
  --white: #FFFFFF;

  --bg: var(--white);
  --bg-alt: var(--slate-50);
  --text: var(--slate-900);
  --text-muted: var(--slate-600);
  --text-subtle: var(--slate-500);
  --border: var(--slate-200);
  --card-bg: var(--white);
  --card-ring: rgba(0,0,0,0.06);
  --nav-bg: rgba(255,255,255,0.85);
  --nav-border: var(--slate-200);
}

html.dark {
  --bg: #0A0D18;
  --bg-alt: #111827;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  --border: #1E2540;
  --card-bg: #141828;
  --card-ring: rgba(255,255,255,0.06);
  --nav-bg: rgba(10,13,24,0.85);
  --nav-border: #1E2540;
}

html {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  color: var(--text);
  background: var(--bg);
}

body { overflow-x: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── Typography ── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
}

/* ── Gradient text ── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(236,72,153,0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(236,72,153,0.35);
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  ring: 2px solid var(--border);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
}
html.dark .btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: #2A3352;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-outline-grad {
  background: transparent;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  color: var(--violet);
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s;
}
.btn-outline-grad::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  background: var(--grad);
  z-index: -1;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  padding: 2px;
}
.btn-outline-grad:hover {
  background: var(--grad);
  color: white;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 1px 0 var(--nav-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 4rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 1.875rem; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.nav-toggle:hover { background: var(--slate-100); color: var(--text); }
html.dark .nav-toggle:hover { background: rgba(255,255,255,0.05); }

.nav-login {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-login:hover { color: var(--text); }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 1.375rem;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.5rem;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0;
}
.mobile-menu a:hover { color: var(--text); }

/* ── Sections ── */
section {
  padding-block: 5rem;
}
@media (min-width: 1024px) {
  section { padding-block: 7rem; }
}
section.alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .eyebrow { display: block; margin-bottom: 0.75rem; }
.section-header .section-sub { margin: 1rem auto 0; }

/* ── Hero ── */
#hero {
  position: relative;
  overflow: hidden;
  padding-block: 6rem 4rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
@media (min-width: 1024px) { #hero { padding-block: 7rem 5rem; } }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7C3AED, transparent 70%);
  top: -200px; left: -150px;
  animation: blobMove1 20s ease-in-out infinite alternate;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #EC4899, transparent 70%);
  bottom: -100px; right: -100px;
  animation: blobMove2 25s ease-in-out infinite alternate;
}
.blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #A78BFA, transparent 70%);
  top: 40%; right: 20%;
  animation: blobMove3 18s ease-in-out infinite alternate;
}
@keyframes blobMove1 { from { transform: translate(0,0) scale(1); } to { transform: translate(60px,40px) scale(1.1); } }
@keyframes blobMove2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-50px,-30px) scale(1.08); } }
@keyframes blobMove3 { from { transform: translate(0,0) scale(1); } to { transform: translate(30px,-50px) scale(0.95); } }
@media (prefers-reduced-motion: reduce) {
  .blob-1, .blob-2, .blob-3 { animation: none; }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.hero-content {}
.hero-content .eyebrow { margin-bottom: 1.25rem; }

.hero-h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-subtle);
}
.hero-trust .dot { color: var(--slate-300); }

/* Hero mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.mockup-frame {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 32px 64px rgba(124,58,237,0.15), 0 0 0 1px rgba(124,58,237,0.1);
  max-width: 480px;
  width: 100%;
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.3s ease;
}
html.dark .mockup-frame {
  background: rgba(20,24,40,0.7);
  border-color: rgba(124,58,237,0.2);
}
.mockup-frame:hover {
  transform: perspective(1000px) rotateY(-1deg) rotateX(1deg);
}
@media (max-width: 1023px) {
  .mockup-frame { transform: none; max-width: 100%; }
  .mockup-frame:hover { transform: none; }
}

/* Mockup UI simulation */
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }
.mockup-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.5rem;
  border-radius: 0.5rem;
  margin-bottom: 0.375rem;
  background: var(--bg);
  border: 1px solid var(--border);
}
html.dark .mock-row { background: rgba(255,255,255,0.03); border-color: var(--border); }

.mock-ref {
  font-size: 0.6875rem;
  font-family: ui-monospace, monospace;
  color: var(--text-subtle);
  white-space: nowrap;
  flex-shrink: 0;
}
.mock-subject {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-badge {
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-open { background: #EFF6FF; color: #3B82F6; }
.badge-progress { background: #EDE9FE; color: #7C3AED; }
.badge-waiting { background: #FEF3C7; color: #D97706; }
.badge-resolved { background: #ECFDF5; color: #059669; }
html.dark .badge-open { background: rgba(59,130,246,0.15); color: #60A5FA; }
html.dark .badge-progress { background: rgba(124,58,237,0.15); color: #A78BFA; }
html.dark .badge-waiting { background: rgba(217,119,6,0.15); color: #FCD34D; }
html.dark .badge-resolved { background: rgba(5,150,105,0.15); color: #34D399; }

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.mock-stat {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.625rem;
  text-align: center;
}
html.dark .mock-stat { background: rgba(255,255,255,0.03); }
.mock-stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.mock-stat-lbl {
  font-size: 0.625rem;
  color: var(--text-subtle);
  margin-top: 2px;
}

/* ── Feature cards ── */
.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--card-bg);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(124,58,237,0.08);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: #EDE9FE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--violet);
}
html.dark .feature-icon { background: rgba(124,58,237,0.15); }

.feature-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.premium-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 9999px;
  background: transparent;
  border: 1.5px solid transparent;
  background-image: var(--grad), var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--violet);
  margin-top: 0.75rem;
  position: relative;
  overflow: hidden;
}

/* ── Steps (How it works) ── */
.steps-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: calc(12.5% + 1rem);
    right: calc(12.5% + 1rem);
    height: 2px;
    background: linear-gradient(90deg, #7C3AED, #EC4899);
    opacity: 0.3;
  }
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--grad);
  color: white;
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(124,58,237,0.3);
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Why section ── */
.why-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; } }

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.check-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: rgba(16,185,129,0.15);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Matrix diagram (why visual) */
.matrix-diagram {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.matrix-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}
.matrix-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.matrix-table th {
  padding: 0.5rem 0.75rem;
  text-align: left;
  color: var(--text-subtle);
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.matrix-table td {
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}
.matrix-table td:first-child { font-weight: 600; color: var(--text); }
.m-yes { color: var(--emerald); font-weight: 700; text-align: center; }
.m-no  { color: var(--slate-400); text-align: center; }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
  border-color: var(--violet);
  box-shadow: 0 0 0 1px var(--violet), 0 24px 48px rgba(124,58,237,0.12);
}

.popular-pill {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 14px;
  border-radius: 0 0 8px 8px;
}

.pricing-tier {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 0.25rem;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-subtle);
}
.pricing-note { font-size: 0.8125rem; color: var(--text-subtle); margin-bottom: 1.5rem; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.pf-check { color: var(--emerald); flex-shrink: 0; }

.pricing-cta { display: block; text-align: center; }

/* ── Trust ── */
.trust-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}
.trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(236,72,153,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  color: var(--violet);
}
.trust-title { font-size: 0.9375rem; font-weight: 600; color: var(--text); margin-bottom: 0.375rem; }
.trust-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

.roadmap-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 2rem;
  justify-content: center;
}
.roadmap-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.375rem 0.875rem;
}
.pill-soon {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--grad);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/* ── Closing CTA ── */
.cta-section {
  background: var(--grad);
  padding-block: 5rem;
}
@media (min-width: 1024px) { .cta-section { padding-block: 7rem; } }
.cta-section .section-title { color: white; }
.cta-section .section-sub { color: rgba(255,255,255,0.8); margin-inline: auto; text-align: center; }
.cta-inner { text-align: center; }
.cta-inner .eyebrow {
  color: rgba(255,255,255,0.7);
  -webkit-text-fill-color: rgba(255,255,255,0.7);
  background: none;
}
.cta-inner .btn-primary {
  background: white;
  color: var(--violet);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.cta-inner .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  transform: translateY(-2px);
  filter: none;
}
.cta-inner .btn-secondary {
  border-color: rgba(255,255,255,0.35);
  color: white;
}
.cta-inner .btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* ── Footer ── */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-block: 3.5rem;
}
.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
}

.footer-brand img { height: 1.75rem; margin-bottom: 0.875rem; }
.footer-tagline { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 0.625rem; }
.footer-agpl { font-size: 0.8125rem; color: var(--text-subtle); }

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 0.875rem; color: var(--text-subtle); }
.footer-bottom-actions { display: flex; align-items: center; gap: 1rem; }

/* ── Language toggle ── */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 2px;
  gap: 2px;
}
.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  color: var(--text-subtle);
  transition: all 0.15s;
  cursor: pointer;
}
.lang-btn.active {
  background: var(--grad);
  color: white;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive helpers ── */
@media (max-width: 767px) {
  .nav-links, .nav-login { display: none; }
  .nav-hamburger { display: flex; }
}
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

/* ── Count-up ── */
.stat-val { display: inline-block; }

/* ── SVG icons ── */
svg { display: block; }

/* ── Vanilla utility shims (no Tailwind on this page) ── */
.hidden { display: none !important; }
html.dark .dark\:block  { display: block  !important; }
html.dark .dark\:hidden { display: none   !important; }

/* SVG size shims */
.h-3   { height: 0.75rem;  } .w-3   { width: 0.75rem;  }
.h-3-5  { height: 0.875rem; } .w-3-5  { width: 0.875rem; }
.h-4   { height: 1rem;     } .w-4   { width: 1rem;     }
.h-5   { height: 1.25rem;  } .w-5   { width: 1.25rem;  }
.h-7   { height: 1.75rem;  } .w-7   { width: 1.75rem;  }
.h-16  { height: 4rem;     } .w-16  { width: 4rem;     }

/* Color shims */
.text-emerald-500 { color: #10B981; }

/* Logo in nav/footer */
.nav-logo img, .footer-brand img { height: 1.875rem; width: auto; display: inline-block; }
.footer-brand img { height: 1.75rem; }

/* mx-auto + text-center shims */
.mx-auto  { margin-inline: auto; }
.text-center { text-align: center; }
