:root {
  --brand: #7c3aed;
  --brand-dark: #5b21b6;
  --brand-light: #a78bfa;
  --accent: #f59e0b;
  --accent-2: #ec4899;
  --bg: #ffffff;
  --bg-soft: #f8f7fc;
  --text: #1f2333;
  --text-muted: #5b5f73;
  --border: #ece9f4;
  --radius: 18px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --chip-text: var(--brand-dark);
  --app-accent: #4f46e5;
  --stat-from: var(--brand-dark);
  color-scheme: light;
}

/* dark theme: follows the device unless the visitor picked a theme with the toggle (data-theme on <html>) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #100e18;
    --bg-soft: #181523;
    --text: #f1f0f6;
    --text-muted: #b3aec5;
    --border: #2a2636;
    --chip-text: #c4b5fd;
    --app-accent: #a5b4fc;
    --stat-from: var(--brand-light);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #100e18;
  --bg-soft: #181523;
  --text: #f1f0f6;
  --text-muted: #b3aec5;
  --border: #2a2636;
  --chip-text: #c4b5fd;
  --app-accent: #a5b4fc;
  --stat-from: var(--brand-light);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
section[id] { scroll-margin-top: var(--header-h, 130px); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

h1, h2, h3, .logo-text { font-family: var(--font-heading); }
h2, h3 { line-height: 1.25; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

/* ---------- animated background blobs ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  will-change: transform;
}
.blob-a {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 30% 30%, var(--brand), transparent 70%);
  top: -160px; left: -120px;
  animation: float-a 22s ease-in-out infinite;
}
.blob-b {
  width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 70%);
  top: 20%; right: -160px;
  animation: float-b 26s ease-in-out infinite;
}
.blob-c {
  width: 380px; height: 380px;
  background: radial-gradient(circle at 30% 30%, var(--accent-2), transparent 70%);
  bottom: -140px; left: 30%;
  animation: float-c 20s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.15); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 60px) scale(1.1); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -60px) scale(1.2); }
}

/* ---------- icons ---------- */
.icon {
  width: 18px; height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
}
.icon-sm { width: 14px; height: 14px; }
.icon-lg { width: 30px; height: 30px; }

/* ---------- navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 16%, var(--bg) 84%), color-mix(in srgb, var(--brand) 9%, var(--bg) 91%));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 0 0 color-mix(in srgb, var(--brand) 30%, transparent);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--brand);
}
.logo-text { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.5px; }
.logo-text span { color: var(--brand); }

/* pill nav: links sit in one capsule, the current section gets a sliding gradient pill */
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--border));
  box-shadow: 0 6px 18px -12px color-mix(in srgb, var(--brand) 60%, transparent);
}
.nav-links a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.25s ease, background 0.2s ease;
}
.nav-links a .icon { display: none; }
.nav-links a:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.nav-links a.active, .nav-links a.active:hover { color: #fff; background: transparent; }
.nav-links a.nav-register { color: var(--brand); }
.nav-links a.nav-register.active { color: #fff; }
.nav-soon {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff;
  line-height: 1.3;
}
.nav-indicator {
  position: absolute;
  top: 4px; bottom: 4px; left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--brand) 80%, transparent);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.3,.8,.3,1), width 0.35s cubic-bezier(.3,.8,.3,1), opacity 0.2s ease;
}
.nav-links.has-active .nav-indicator { opacity: 1; }

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

/* light / dark toggle: shows the moon in light mode and the sun in dark mode */
.theme-toggle {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.3s ease;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); transform: rotate(-15deg); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.navbar.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.navbar.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  /* phones/tablets: hamburger opens a floating card of icon tiles */
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px; right: 12px;
    max-width: 440px;
    margin-left: auto;
    z-index: 5; /* the ticker below is transformed (animated), so without this it paints over the open menu */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    box-shadow: 0 24px 48px -20px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.25s ease;
  }
  .navbar.menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-indicator { display: none; }
  .nav-links a {
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-size: 0.92rem;
    color: var(--text);
  }
  .nav-links a .icon {
    display: block;
    width: 32px; height: 32px;
    padding: 7px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--brand) 12%, transparent);
    color: var(--brand);
  }
  .nav-links a.active, .nav-links a.active:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--bg)); border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); }
  /* Register tile spans the full width and stands out */
  .nav-links a.nav-register {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--brand), var(--accent-2));
    border-color: transparent;
    color: #fff;
  }
  .nav-links a.nav-register .icon { background: rgba(255,255,255,0.2); color: #fff; }
  .nav-links a.nav-register .nav-soon { margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--brand) 65%, transparent);
}
.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 16px 32px -10px color-mix(in srgb, var(--brand) 75%, transparent);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-small {
  padding: 9px 18px;
  font-size: 0.85rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.btn-small:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.reveal.reveal-left { transform: translateX(-32px); }
.reveal.reveal-right { transform: translateX(32px); }
.reveal.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- hero ---------- */
.hero { padding: 64px 0 48px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--chip-text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0 0 14px;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  padding: 6px 14px;
  border-radius: 999px;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -1px;
}

.highlight {
  background: linear-gradient(90deg, var(--brand), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { color: var(--text-muted); font-size: 1.05rem; max-width: 52ch; }
.lead.center { margin: 0 auto; text-align: center; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 44px; }

.stat-row { display: flex; gap: 36px; flex-wrap: wrap; }
.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--stat-from), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* hero photo */
.hero-visual { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; }

.hero-photo-ring {
  width: 300px; height: 300px;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(from 0deg, var(--brand), var(--accent-2), var(--accent), var(--brand));
  animation: spin-ring 8s linear infinite;
  box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--brand) 55%, transparent);
}
@keyframes spin-ring { to { transform: rotate(360deg); } }

.hero-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 5px solid var(--bg);
  animation: counter-spin 8s linear infinite;
}
@keyframes counter-spin { to { transform: rotate(-360deg); } }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 16px 30px -16px rgba(0,0,0,0.3);
  color: var(--chip-text);
  animation: bob 5s ease-in-out infinite;
}
.float-chip .icon { color: var(--accent); }
.chip-1 { top: 6%; left: -6%; animation-delay: 0s; }
.chip-2 { bottom: 12%; right: -8%; animation-delay: 1.2s; }
.chip-3 { top: 44%; right: -14%; animation-delay: 2.4s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 860px) {
  .hero-visual { width: 280px; height: auto; margin: 0 auto; padding: 26px 0; }
  .hero-photo-ring { width: 220px; height: 220px; }
  .float-chip { font-size: 0.68rem; padding: 6px 11px; gap: 6px; }
  .chip-1 { top: 2%; left: -4%; }
  .chip-2 { bottom: 10%; right: -6%; }
  .chip-3 { top: 42%; right: -10%; }
}
@media (max-width: 380px) {
  .float-chip { display: none; }
}

/* ---------- sections ---------- */
.section { padding: 40px 0; position: relative; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 24px; }
.section-head h2 { margin: 0; }
.section h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}

.about { background: var(--bg-soft); }

.about-inner { display: grid; grid-template-columns: 280px 1fr; gap: 52px; align-items: center; }
@media (max-width: 760px) { .about-inner { grid-template-columns: 1fr; } }

.about-photo { position: relative; width: 240px; margin: 0 auto; }
.about-photo img {
  width: 100%; aspect-ratio: 1/1;
  border-radius: 28px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.35);
}
.about-photo-glow {
  position: absolute;
  inset: -14px;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  border-radius: 34px;
  filter: blur(4px);
  opacity: 0.6;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.03); }
}

.about-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.about-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 500;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.about-points li:hover { transform: translateX(6px); border-color: var(--brand); }
.about-points li .icon { color: var(--brand); }

.highlights {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.highlights::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 8%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
@media (max-width: 760px) { .highlight-grid { grid-template-columns: 1fr; } }

/* connecting line between cards on desktop */
.highlight-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 16.5%;
  right: 16.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
}
@media (max-width: 760px) { .highlight-grid::before { display: none; } }

.highlight-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  transition: transform 0.35s cubic-bezier(.2,.8,.3,1), box-shadow 0.35s ease, border-color 0.3s ease;
  overflow: hidden;
}
.highlight-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-a), var(--card-b));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.highlight-card:hover::after { transform: scaleX(1); }
.hc-a { --card-a: var(--brand); --card-b: var(--accent-2); }
.hc-b { --card-a: var(--accent); --card-b: var(--accent-2); }
.hc-c { --card-a: var(--brand); --card-b: var(--accent); }

.highlight-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 44px -22px rgba(0,0,0,0.3);
  border-color: transparent;
}
.hcard-index {
  position: absolute;
  top: 18px; right: 20px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--border);
  transition: color 0.3s ease;
}
.highlight-card:hover .hcard-index { color: color-mix(in srgb, var(--card-a) 35%, transparent); }
.hcard-icon {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--card-a), var(--card-b));
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--card-a) 60%, transparent);
  transition: transform 0.35s ease;
}
.highlight-card:hover .hcard-icon { transform: scale(1.1) rotate(-6deg); }
.highlight-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.highlight-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- contact ---------- */
.contact-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.contact-form { display: grid; gap: 14px; margin-top: 28px; text-align: left; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.contact-form button { justify-self: center; }
.form-note { color: var(--text-muted); font-size: 0.8rem; margin-top: 10px; text-align: center; }
.form-note code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.78rem;
}

.footer-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent-2), var(--accent));
  margin: 0;
}

/* ---------- footer ---------- */
.footer {
  padding: 26px 0;
  background: linear-gradient(160deg, var(--brand-dark), #2a1454 65%, #180b30);
  color: rgba(255,255,255,0.9);
}
.footer .logo-text { color: #fff; }
.footer .logo-text span { color: var(--accent); }
.footer .logo-img { box-shadow: 0 0 0 2px #2a1454, 0 0 0 3.5px var(--brand-light); }
.footer .container { max-width: 1280px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  text-align: center;
}
@media (min-width: 1180px) {
  .footer-inner { flex-wrap: nowrap; justify-content: space-between; }
  .footer-inner .footer-copy { white-space: nowrap; }
}
.footer-copy { flex-shrink: 0; }
.social-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.social-links a {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.social-links a:hover { transform: translateY(-3px); box-shadow: 0 12px 22px -14px rgba(0,0,0,0.5); }
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-icon .icon { width: 13px; height: 13px; }
.social-links a:hover .social-icon { transform: scale(1.1); color: #fff; }
.sl-youtube:hover { color: #ff5c5c; border-color: #ff0000; }
.sl-youtube:hover .social-icon { background: #ff0000; }
.sl-instagram:hover { color: #ff8fc0; border-color: #d62976; }
.sl-instagram:hover .social-icon { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); }
.sl-whatsapp:hover { color: #56e39a; border-color: #25d366; }
.sl-whatsapp:hover .social-icon { background: #25d366; }
.sl-telegram:hover { color: #6ec6f1; border-color: #229ed9; }
.sl-telegram:hover .social-icon { background: #229ed9; }
.sl-facebook:hover { color: #7fb1ff; border-color: #1877f2; }
.sl-facebook:hover .social-icon { background: #1877f2; }
.footer p { margin: 0; color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--brand) 70%, transparent);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 60;
}
.to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- announcement ticker ---------- */
.ticker {
  overflow: hidden;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand), var(--accent-2));
  border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 9px 28px;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.ticker-item .icon { color: #ffe27a; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- hero: student app pill ---------- */
.app-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
  box-shadow: 0 10px 24px -16px color-mix(in srgb, var(--brand) 70%, transparent);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.app-pill:hover { transform: translateY(-2px); border-color: var(--brand); }
.app-pill img { width: 20px; height: 20px; border-radius: 6px; background: #fff; flex-shrink: 0; }
.app-pill > span:not(.app-pill-new) { min-width: 0; }
.app-pill .icon { color: var(--brand); }
.app-pill-new {
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ---------- student app (TN Exam Prep) ---------- */
.app-promo { background: var(--bg-soft); overflow: hidden; }

.app-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .app-inner { grid-template-columns: 1fr; gap: 40px; }
  .app-text { order: 1; }
  .app-phone { order: 2; }
}

.app-phone { position: relative; width: 250px; margin: 0 auto; }
.phone-glow {
  position: absolute;
  inset: 20px 10px;
  background: linear-gradient(160deg, var(--brand), var(--accent-2));
  filter: blur(36px);
  opacity: 0.45;
  border-radius: 40px;
}
.app-chip { bottom: 16%; left: -22%; }
@media (max-width: 380px) { .app-chip { display: none; } }

.app-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  width: fit-content;
  max-width: 100%;
}
.app-brand img { width: 40px; height: 40px; border-radius: 10px; background: #fff; flex-shrink: 0; }
.app-brand strong { display: block; font-family: var(--font-heading); font-size: 1rem; line-height: 1.2; }
.app-brand strong span { color: var(--app-accent); }
.app-brand > div > span { display: block; font-size: 0.78rem; line-height: 1.4; color: var(--text-muted); margin-top: 2px; }

.app-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 26px;
}
.app-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 15px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.app-feature:hover { transform: translateY(-4px); border-color: var(--brand); }
.app-feature .icon { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.app-feature strong { display: block; font-size: 0.9rem; line-height: 1.3; margin-bottom: 3px; }
.app-feature span { display: block; font-size: 0.78rem; line-height: 1.45; color: var(--text-muted); }

.app-store-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 520px) {
  .app-store-cta > * { width: 100%; justify-content: center; }
}

/* Google Play badge (set PLAY_STORE_URL in script.js to make it a live link) */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 52px;
  padding: 0 18px 0 8px;
  border-radius: 14px;
  background: #0b0b14;
  color: #fff;
  border: 1px solid #2b2b3a;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.play-badge .app-ic { width: 36px; height: 36px; border-radius: 10px; background: #fff; padding: 2px; flex-shrink: 0; }
.play-badge small { display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: #c7cbf0; }
.play-badge b { display: flex; align-items: center; gap: 6px; font-size: 1.05rem; font-weight: 700; margin-top: 2px; }
.play-badge .gp { width: 17px; height: 17px; flex-shrink: 0; }
.play-badge[href]:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -14px rgba(0,0,0,0.6); }
.play-badge.is-soon { cursor: default; }
.play-badge.is-soon small { color: #fcd34d; }

/* screens rail */
.app-screens-head { margin: 64px auto 8px; }
.app-screens-head h3 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; }
.app-screens-head p { margin: 6px 0 0; color: var(--text-muted); }

.phone-rail {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px max(24px, calc((100vw - 1120px) / 2 + 24px)) 30px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--brand) 35%, transparent) transparent;
  -webkit-overflow-scrolling: touch;
}
.phone-rail:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.phone-item { flex: 0 0 236px; margin: 0; scroll-snap-align: center; }
.phone-item figcaption { margin-top: 18px; text-align: center; }
.phone-item figcaption strong { display: block; font-family: var(--font-heading); font-size: 0.98rem; }
.phone-item figcaption span { font-size: 0.85rem; color: var(--text-muted); }
.rail-controls { display: flex; justify-content: center; gap: 12px; }
.rail-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.rail-btn:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 560px) {
  .phone-rail { gap: 18px; padding: 20px 16px 26px; }
  .phone-item { flex-basis: 236px; }
}

/* join steps */
.join-steps {
  margin: 48px auto 0;
  max-width: 980px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  text-align: center;
}
.join-steps h3 { margin: 0 0 20px; font-size: 1.2rem; }
.join-steps ol {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}
.join-steps li { display: flex; gap: 12px; align-items: flex-start; }
.join-steps li strong { display: block; font-size: 0.95rem; }
.join-steps li span:not(.step-n) { display: block; font-size: 0.85rem; line-height: 1.5; color: var(--text-muted); margin-top: 2px; }
.step-n {
  width: 32px; height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--accent-2));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
}
@media (max-width: 760px) {
  .join-steps { padding: 22px 18px; }
  .join-steps ol { grid-template-columns: 1fr; gap: 14px; }
  .join-steps .btn { width: 100%; justify-content: center; }
}
.app-disclaimer { margin: 18px auto 0; max-width: 680px; text-align: center; font-size: 0.75rem; color: var(--text-muted); }

/* ---------- phone frame + in-app mock screens (styled after the real app) ---------- */
.phone {
  --indigo: #4f46e5;
  --indigo-600: #4338ca;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --green: #16a34a;
  --green-soft: #dcfce7;
  --amber-soft: #fef3c7;
  --red-soft: #fee2e2;
  --font-ta: 'Noto Sans Tamil', 'Inter', sans-serif;
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.2;
  background: #0b0b14;
  border-radius: 34px;
  padding: 9px;
  box-shadow: 0 0 0 1.5px #2b2b3a inset, 0 34px 60px -24px rgba(18, 16, 58, 0.55);
}
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 26%; height: 16px; background: #0b0b14; border-radius: 0 0 12px 12px; z-index: 3; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #f8f9fe; }
.phone .screen > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
[lang="ta"] { font-family: 'Noto Sans Tamil', var(--font-body); }

.m { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: var(--font-body); font-size: 11px; color: #1d1b38; background: #f6f7fd; line-height: 1.35; }
.m .icon { width: 1em; height: 1em; }
.m-status { height: 30px; flex: none; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 20px 4px; font-size: 10px; font-weight: 600; color: #2b2d42; }
.m-status i { display: inline-block; width: 18px; height: 8px; border: 1.3px solid currentColor; border-radius: 2px; position: relative; vertical-align: middle; }
.m-status i::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; background: currentColor; border-radius: 1px; }
.m-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 14px; font-weight: 700; flex: none; }
.m-top .icon { font-size: 15px; }
.m-body { flex: 1; overflow: hidden; padding: 4px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.m-nav { flex: none; height: 50px; background: #fff; border-top: 1px solid #ececf6; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; text-align: center; font-size: 8px; color: #9a9cb5; }
.m-nav div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.m-nav .icon { font-size: 15px; }
.m-nav .on { color: var(--indigo); font-weight: 700; }
.m-nav .on .icon { background: #e7e8ff; border-radius: 10px; padding: 3px 10px; width: 36px; height: 21px; }
.m-card { background: #fff; border: 1px solid #ececf6; border-radius: 12px; padding: 10px 11px; }
.m-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 5px; }
.m-tag { font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: #eef0ff; color: var(--indigo-600); }
.m-tag.g { background: var(--green-soft); color: #15803d; }
.m-tag.a { background: var(--amber-soft); color: #b45309; }
.m-tag.r { background: var(--red-soft); color: #b91c1c; }
.m-meta { display: flex; justify-content: space-between; color: #9a9cb5; font-size: 9px; margin-top: 6px; }
.m-title { font-weight: 700; font-size: 11px; }
.m-ta { font-family: var(--font-ta); color: #7a7d96; font-size: 9.5px; margin-top: 2px; }
.m-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border-radius: 10px; font-weight: 700; font-size: 10.5px; }
.m-chips { display: flex; gap: 5px; overflow: hidden; flex: none; }
.m-chips span { flex: none; font-size: 9px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid #e1e3ee; background: #fff; color: #62657f; }
.m-chips span.on { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.m-statband { background: var(--grad); border-radius: 14px; color: #fff; display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 4px; text-align: center; flex: none; }
.m-statband b { display: block; font-size: 14px; }
.m-statband span { font-size: 8px; opacity: .85; }
.m-res { display: flex; align-items: center; gap: 10px; border-top: 3px solid var(--green); }
.m-res.mid { border-top-color: #f59e0b; }
.m-res .ring { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 10px; color: #fff; background: var(--green); flex: none; }
.m-res.mid .ring { background: #f59e0b; }
.m-res .info { flex: 1; min-width: 0; }
.m-res .row { display: flex; gap: 8px; color: #7a7d96; font-size: 8.5px; margin-top: 5px; }
.m-score { background: linear-gradient(160deg, #22c55e, #15a34a); color: #fff; border-radius: 16px; text-align: center; padding: 18px 10px 16px; flex: none; }
.m-score .trophy { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; margin: 0 auto; font-size: 22px; }
.m-score b { display: block; font-size: 30px; font-weight: 800; margin-top: 8px; letter-spacing: -.02em; }
.m-score .ex { font-weight: 700; font-size: 12px; }
.m-score .qt { font-size: 10px; opacity: .9; margin-top: 4px; }
.m-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: none; }
.m-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; flex: none; }
.m-stat { background: #fff; border: 1px solid #ececf6; border-radius: 12px; text-align: center; padding: 8px 4px; }
.m-stat .icon { font-size: 15px; }
.m-stat b { display: block; font-size: 14px; margin-top: 2px; }
.m-stat span { font-size: 8.5px; color: #9a9cb5; }
.m-streak { background: linear-gradient(135deg, #f97316, #ef4444); color: #fff; border-radius: 16px; padding: 14px; display: flex; justify-content: space-between; align-items: center; flex: none; }
.m-streak small { font-size: 9px; font-weight: 700; opacity: .9; display: flex; align-items: center; gap: 4px; }
.m-streak b { font-size: 34px; font-weight: 800; line-height: 1; }
.m-streak em { font-style: normal; font-size: 12px; font-weight: 600; margin-left: 4px; }
.m-streak p { font-size: 9px; opacity: .9; margin: 4px 0 0; }
.m-streak .best { background: rgba(255, 255, 255, .2); border-radius: 12px; padding: 8px 10px; text-align: center; font-size: 8px; }
.m-streak .best b { font-size: 16px; display: block; }
.m-ms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: none; }
.m-ms .m-card { padding: 8px 10px; }
.m-bar { height: 5px; background: #ececf6; border-radius: 4px; margin: 6px 0 4px; overflow: hidden; }
.m-bar i { display: block; height: 100%; background: var(--green); border-radius: 4px; }
.m-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 6px; }
.m-cal span { aspect-ratio: 1; border-radius: 5px; background: #eef0f6; font-size: 7px; display: grid; place-items: center; color: #9a9cb5; }
.m-cal .d { background: #f97316; color: #fff; }
.m-cal .q { background: #6ee7b7; color: #065f46; }
.m-cal .t { outline: 1.5px solid var(--indigo); color: var(--indigo); background: #fff; }
.m-cal .h { background: none; font-weight: 700; color: #7a7d96; }
.m-badgebar { background: var(--grad); color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; flex: none; }
.m-badgebar .icon { font-size: 20px; }
.m-badgebar b { font-size: 11px; }
.m-badgebar .m-bar { background: rgba(255, 255, 255, .25); margin: 5px 0 0; }
.m-badgebar .m-bar i { background: #fff; }
.m-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.m-badge { background: #fff; border: 1.5px solid #ddd6fe; border-radius: 14px; padding: 12px 8px; text-align: center; }
.m-badge .bi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin: 0 auto 6px; font-size: 19px; }
.m-badge b { display: block; font-size: 10px; }
.m-badge span { font-size: 8px; color: #9a9cb5; }
.m-badge.locked { border-color: #ececf6; opacity: .55; }
.m-badge.locked .bi { background: #eef0f6; color: #9a9cb5; }
.bi.c-green { background: #dcfce7; color: #16a34a; }
.bi.c-indigo { background: #e0e7ff; color: #4f46e5; }
.bi.c-violet { background: #ede9fe; color: #7c3aed; }
.bi.c-orange { background: #ffedd5; color: #ea580c; }
.m-flip { background: var(--grad); border-radius: 16px; color: #fff; padding: 16px 14px; text-align: center; flex: none; position: relative; }
.m-flip small { font-size: 8.5px; font-weight: 700; letter-spacing: .06em; opacity: .8; }
.m-flip p { font-size: 13px; font-weight: 700; margin: 8px 0 0; }
.m-flip .ta { font-family: var(--font-ta); font-size: 10.5px; opacity: .9; margin-top: 4px; font-weight: 500; }
.m-flip .hint { margin-top: 12px; font-size: 8.5px; opacity: .8; }
.m-fc { display: flex; gap: 9px; align-items: center; }
.m-fc .fi { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 15px; flex: none; }
.m-fc .info { flex: 1; min-width: 0; }
.m-fc .study { background: var(--indigo); color: #fff; font-weight: 700; font-size: 9px; padding: 6px 9px; border-radius: 8px; }
.m-bm { color: var(--indigo); float: right; font-size: 13px; }

/* Test screen mock (question, options, explanation, question palette) */
.mt-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 0; flex: none; }
.mt-head b { display: block; font-size: 13px; font-weight: 800; }
.mt-time { display: flex; align-items: center; gap: 3px; font-size: 9px; color: #62657f; font-weight: 600; }
.mt-lang { display: flex; background: #eceef7; border-radius: 8px; padding: 2px; font-size: 8.5px; font-weight: 700; color: #62657f; }
.mt-lang span { padding: 3px 6px; border-radius: 6px; }
.mt-lang .on { background: #fff; color: var(--indigo); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.mt-prog { height: 3px; margin: 7px 14px 0; background: #e4e6f2; border-radius: 3px; overflow: hidden; flex: none; }
.mt-prog i { display: block; height: 100%; background: var(--grad); border-radius: 3px; }
.mt-body { gap: 5px; padding-top: 5px; padding-bottom: 6px; }
.mt-meta { display: flex; justify-content: space-between; align-items: center; font-size: 8.5px; font-weight: 700; color: #7a7d96; flex: none; }
.mt-streak { display: flex; align-items: center; gap: 2px; background: #ffedd5; color: #ea580c; padding: 2px 6px; border-radius: 999px; }
.mt-q { background: #fff; border: 1px solid #ececf6; border-radius: 10px; padding: 6px 9px; flex: none; }
.mt-q p { margin: 0; font-size: 10px; font-weight: 700; line-height: 1.3; }
.mt-q .ta { font-family: var(--font-ta); font-weight: 500; font-size: 8.5px; color: #3d3f5c; margin-top: 2px; }
.mt-opts { display: grid; gap: 4px; flex: none; }
.mt-opt { display: flex; align-items: center; gap: 7px; background: #fff; border: 1.3px solid #ececf6; border-radius: 9px; padding: 3px 7px; }
.mt-opt .k { width: 17px; height: 17px; border-radius: 5px; display: grid; place-items: center; font-size: 8.5px; font-weight: 800; background: #eef0ff; color: var(--indigo); flex: none; }
.mt-opt b { display: block; font-size: 9px; line-height: 1.2; }
.mt-opt em { display: block; font-style: normal; font-family: var(--font-ta); font-size: 7.5px; color: #7a7d96; line-height: 1.25; }
.mt-opt .tick { margin-left: auto; color: var(--green); font-size: 12px; }
.mt-opt.wrong { border-color: #f87171; background: #fef2f2; }
.mt-opt.wrong .k { background: #ef4444; color: #fff; }
.mt-opt.right { border-color: #22c55e; background: #f0fdf4; }
.mt-opt.right .k { background: #22c55e; color: #fff; }
.mt-opt.dim { opacity: .5; }
.mt-exp { display: flex; gap: 5px; background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; border-radius: 9px; padding: 5px 7px; font-size: 8px; line-height: 1.3; flex: none; }
.mt-exp .icon { font-size: 10px; flex: none; margin-top: 1px; }
.mt-exp em { display: block; font-style: normal; font-family: var(--font-ta); font-size: 7.5px; margin-top: 1px; }
.mt-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; flex: none; }
.mt-grid span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 5px; font-size: 8px; font-weight: 700; background: #fff; border: 1px solid #e1e3ee; color: #62657f; }
.mt-grid .ok { background: #dcfce7; border-color: #86efac; color: #15803d; }
.mt-grid .cur { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.mt-navbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: none; }
.mt-navbtns span { display: flex; align-items: center; justify-content: center; gap: 4px; height: 24px; border-radius: 8px; font-size: 9px; font-weight: 700; }
.mt-navbtns .prev { background: #fff; border: 1px solid #e1e3ee; color: #62657f; }
.mt-navbtns .next { background: #eef0ff; border: 1px solid #c7d2fe; color: var(--indigo-600); }
.mt-submit { display: flex; align-items: center; justify-content: center; gap: 5px; height: 27px; border-radius: 9px; background: var(--grad); color: #fff; font-size: 10px; font-weight: 700; flex: none; box-shadow: 0 6px 14px -8px rgba(79,70,229,.8); }

/* ---------- content showcase ---------- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .showcase-grid { grid-template-columns: 1fr; } }

.showcase-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2,.8,.3,1), box-shadow 0.35s ease, border-color 0.3s ease;
}
.showcase-card:hover {
  transform: translateY(-10px) rotate(-0.5deg);
  box-shadow: 0 30px 50px -22px rgba(0,0,0,0.35);
  border-color: var(--brand);
}
.showcase-media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.showcase-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.showcase-card:hover .showcase-media img { transform: scale(1.08); }
.showcase-tag {
  position: absolute;
  top: 12px; left: 12px;
  display: flex; align-items: center; gap: 6px;
  background: color-mix(in srgb, #000 55%, transparent);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.showcase-body { padding: 18px 18px 22px; }
.showcase-body h3 { margin: 0 0 6px; font-size: 1rem; }
.showcase-body p { margin: 0; color: var(--text-muted); font-size: 0.88rem; }

/* ---------- testimonials ---------- */
.testimonials-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .testimonials-layout { grid-template-columns: 1fr; } }

.testimonial-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.4);
}
.testimonial-photo img { width: 100%; display: block; object-fit: cover; }

.quote-grid { display: grid; gap: 18px; }
.quote-card {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  padding: 20px 22px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quote-card:hover { transform: translateX(6px); box-shadow: 0 16px 30px -18px rgba(0,0,0,0.25); }
.quote-mark { color: var(--brand-light); width: 24px; height: 24px; margin-bottom: 8px; }
.quote-card p { margin: 0 0 10px; font-size: 0.95rem; font-style: italic; color: var(--text); }
.quote-card cite { font-size: 0.78rem; color: var(--text-muted); font-style: normal; font-weight: 600; }

/* ---------- follow everywhere ---------- */
.follow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .follow-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .follow-grid { grid-template-columns: repeat(2, 1fr); } }

.follow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 16px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.follow-card .icon { transition: transform 0.25s ease; }
.follow-card:hover { transform: translateY(-8px); box-shadow: 0 20px 36px -18px rgba(0,0,0,0.3); }
.follow-card:hover .icon { transform: scale(1.15); }

.fc-youtube:hover { color: #ff0000; border-color: #ff0000; }
.fc-instagram:hover { color: #d62976; border-color: #d62976; }
.fc-whatsapp:hover { color: #25d366; border-color: #25d366; }
.fc-telegram:hover { color: #229ed9; border-color: #229ed9; }
.fc-facebook:hover { color: #1877f2; border-color: #1877f2; }

/* ---------- register interest ---------- */
.register { background: var(--bg-soft); }
.reg-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(0,0,0,0.35);
}
@media (max-width: 900px) { .reg-wrap { grid-template-columns: 1fr; } }

.reg-info {
  position: relative;
  overflow: hidden;
  padding: 44px;
  background: linear-gradient(160deg, var(--brand-dark), #2a1454 70%, #180b30);
  color: rgba(255,255,255,0.8);
}
.reg-info::after {
  content: '';
  position: absolute;
  right: -90px; bottom: -90px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 55%, transparent), transparent 70%);
  pointer-events: none;
}
.reg-info .eyebrow { background: rgba(255,255,255,0.12); color: #fff; }
.reg-info .eyebrow .icon { color: var(--accent); }
.section .reg-info h2 { color: #fff; margin-bottom: 14px; }
.reg-info > p { margin: 0 0 10px; }
.reg-perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.reg-perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; }
.reg-perks .icon { color: #86efac; width: 20px; height: 20px; margin-top: 1px; }
.reg-perks strong { color: #fff; }

.reg-form { padding: 44px; }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 7px; }
.field .req { color: #dc2626; }
.field .opt { color: var(--text-muted); font-weight: 500; }
.input-wrap { position: relative; }
.input-wrap .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.input-wrap input, .input-wrap select {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  padding: 0 16px 0 46px;
  font-family: var(--font-body);
  font-size: 16px; /* 16px stops iOS zooming into the field */
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-wrap select { cursor: pointer; padding-right: 42px; }
.input-wrap select:invalid { color: var(--text-muted); }
.input-wrap select option { color: var(--text); background: var(--bg); }
.input-wrap .chev { left: auto; right: 15px; }
.input-wrap input::placeholder { color: var(--text-muted); opacity: 0.7; }
.input-wrap input:focus, .input-wrap select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.mobile-prefix { position: absolute; left: 44px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-weight: 600; pointer-events: none; }
.input-wrap.has-prefix input { padding-left: 82px; }
.field.invalid input, .field.invalid select { border-color: #dc2626; }
.field .err { display: none; color: #dc2626; font-size: 0.8rem; font-weight: 600; margin-top: 6px; }
.field.invalid .err { display: block; }

.role-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-opt { position: relative; cursor: pointer; }
.role-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.role-opt > span {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 11px 13px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.role-opt .icon { grid-row: span 2; width: 22px; height: 22px; color: var(--text-muted); }
.role-opt b { font-size: 0.9rem; line-height: 1.25; }
.role-opt small { font-size: 0.75rem; color: var(--text-muted); line-height: 1.3; }
.role-opt:hover > span { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); }
.role-opt input:checked + span {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, var(--bg));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}
.role-opt input:checked + span .icon { color: var(--brand); }
.role-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.field.invalid .role-opt > span { border-color: #dc2626; }
@media (max-width: 380px) { .role-opts { grid-template-columns: 1fr; } }

.reg-form .btn { width: 100%; justify-content: center; height: 54px; font-size: 1rem; margin-top: 4px; }
.reg-form .btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.privacy { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 0.8rem; color: var(--text-muted); }
.privacy .icon { color: #16a34a; margin-top: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 0.88rem; font-weight: 600; }
.form-msg.error { display: block; background: #fee2e2; color: #991b1b; }
.reg-success { display: none; text-align: center; padding: 30px 10px; }
.reg-success .ok {
  width: 72px; height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #dcfce7;
  color: #16a34a;
}
.reg-success .ok .icon { width: 34px; height: 34px; }
.reg-success h3 { font-size: 1.4rem; margin: 18px 0 8px; }
.reg-success p { color: var(--text-muted); margin: 0; }
.reg-form.done form { display: none; }
.reg-form.done .reg-success { display: block; }

@media (max-width: 560px) {
  .reg-info, .reg-form { padding: 28px 20px; }
  .reg-wrap { border-radius: 20px; }
}

/* ---------- footer: app + disclaimer ---------- */
.footer-app {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-app-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.footer-app-link:hover { color: #fff; }
.footer-app-link img { width: 34px; height: 34px; border-radius: 9px; background: #fff; flex-shrink: 0; }
.footer-app-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; line-height: 1.35; }
.footer-app-text strong { color: #fff; }
.footer-app-text small { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.footer .footer-disclaimer { max-width: 820px; font-size: 0.72rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

@media (max-width: 560px) {
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .app-pill { font-size: 0.75rem; }
}

/* ---------- "coming soon" + register nudges ---------- */
.soon-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.22);
  padding: 3px 8px;
  border-radius: 999px;
}

.launch-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  font-size: 0.88rem;
}
.launch-note .icon { color: var(--accent); margin-top: 2px; }
.launch-note a { color: var(--brand); font-weight: 700; text-decoration: underline; }

.reg-info strong { color: #fff; }
.share-ask { margin: 18px 0 12px !important; font-weight: 600; color: var(--text) !important; }
.btn-whatsapp { background: #25d366; color: #fff; justify-content: center; }
.btn-whatsapp:hover { box-shadow: 0 12px 24px -12px rgba(37, 211, 102, 0.8); }

.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 55;
    transform: translateY(150%);
    transition: transform 0.3s ease;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn {
    width: 100%;
    justify-content: center;
    box-shadow: 0 12px 30px -8px color-mix(in srgb, var(--brand) 80%, transparent);
  }
  .to-top { bottom: 80px; right: 16px; }
}

/* hero app button: on phones it replaces the "coming soon" pill, so it carries the app + Play icons */
.cta-app-ic, .cta-gp { display: none; }
@media (max-width: 560px) {
  .hero .app-pill { display: none; }
  .hero-app-btn { gap: 10px; padding: 8px 12px 8px 8px; }
  .hero-app-btn .cta-phone { display: none; }
  .hero-app-btn .cta-app-ic {
    display: block;
    width: 32px; height: 32px;
    border-radius: 9px;
    background: #fff;
    padding: 2px;
    flex-shrink: 0;
  }
  .hero-app-btn .soon-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    background: #fff;
    color: var(--brand-dark);
    padding: 4px 8px;
  }
  .hero-app-btn .cta-gp { display: block; width: 12px; height: 12px; }
}

/* ---------- phone polish ---------- */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 10px 16px; }
  .section { padding: 36px 0; }
  .section-head { margin-bottom: 20px; }

  /* hero: three stats on one row */
  .stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .stat strong { font-size: 1.35rem; }
  .stat span { font-size: 0.74rem; line-height: 1.3; align-items: flex-start; }
  .stat span .icon { margin-top: 1px; }
  .hero-cta { margin: 24px 0 32px; }

  /* app feature cards: icon above text, tighter */
  .app-feature-grid { gap: 10px; }
  .app-feature { flex-direction: column; gap: 6px; padding: 12px; }
  .app-feature .icon { margin-top: 0; }
  .app-feature strong { font-size: 0.84rem; }
  .app-feature span { font-size: 0.74rem; }

  /* posts: two per row instead of four very tall cards */
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .showcase-media { aspect-ratio: 4/5; }
  .showcase-tag { top: 8px; left: 8px; font-size: 0.64rem; padding: 4px 8px; gap: 4px; }
  .showcase-tag .icon { width: 11px; height: 11px; }
  .showcase-body { padding: 12px 12px 14px; }
  .showcase-body h3 { font-size: 0.88rem; }
  .showcase-body p { font-size: 0.78rem; line-height: 1.45; }
  .showcase-card:hover { transform: none; }

  /* follow: compact rows, odd last card spans the row */
  .follow-grid { gap: 10px; }
  .follow-card { flex-direction: row; justify-content: center; padding: 16px 12px; }
  .follow-card .icon-lg { width: 24px; height: 24px; }
  .follow-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .highlight-card { padding: 24px 20px 22px; }
  .hcard-icon { width: 52px; height: 52px; margin-bottom: 14px; }
  .quote-card { padding: 18px; }

  .footer-app-link { font-size: 0.82rem; }
  .footer { padding: 28px 0 32px; }
  .footer .footer-disclaimer { padding: 0 4px; }
}

/* small phones: Follow becomes an icon button so the theme toggle fits */
@media (max-width: 480px) {
  .nav-actions { gap: 8px; }
  .nav-actions .btn-small { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .nav-actions .btn-small .btn-label { display: none; }
  .logo { gap: 8px; }
  .logo-img { width: 36px; height: 36px; }
}
@media (max-width: 350px) {
  .logo-text { font-size: 1rem; }
  .showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .hero-app-btn { font-size: 0.88rem; gap: 8px; }
  .hero-app-btn .cta-label, .hero-app-btn .soon-tag { white-space: nowrap; }
  .hero-app-btn .soon-tag { font-size: 0.58rem; padding: 4px 7px; }
}
