/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --bg: #050d1a;
  --surface: rgba(8, 18, 36, 0.78);
  --panel: rgba(10, 22, 44, 0.88);
  --border: rgba(140, 170, 220, 0.13);
  --text: #eef2fb;
  --muted: #7a93b8;
  --primary: #5a3eff;
  --primary-h: #7c63ff;
  --teal: #00d4b4;
  --accent: #ff7c4d;
  --gold: #ffc94d;
  --r-xl: 36px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  --glow: 0 0 60px rgba(90, 62, 255, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── BACKGROUND ─────────────────────────────────────────────────────────────── */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(90, 62, 255, 0.18);
  top: -120px;
  left: -180px;
  animation: drift1 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(0, 212, 180, 0.14);
  top: 30vh;
  right: -120px;
  animation: drift2 22s ease-in-out infinite alternate;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: rgba(255, 124, 77, 0.1);
  bottom: 10vh;
  left: 20vw;
  animation: drift3 26s ease-in-out infinite alternate;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(140, 170, 220, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 220, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

@keyframes drift1 {
  to {
    transform: translate(60px, 80px);
  }
}

@keyframes drift2 {
  to {
    transform: translate(-80px, 60px);
  }
}

@keyframes drift3 {
  to {
    transform: translate(40px, -60px);
  }
}

/* ─── FLOATING WIDGETS ───────────────────────────────────────────────────────── */
.fw {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--r-lg);
  background: rgba(8, 18, 36, 0.82);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  z-index: 10;
  cursor: default;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  font-size: 0.88rem;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.fw-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.fw-body strong {
  display: block;
  font-weight: 600;
  color: var(--text);
}

.fw-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.fw:hover {
  box-shadow: 0 24px 60px rgba(90, 62, 255, 0.25);
  border-color: rgba(90, 62, 255, 0.35);
}

.fw-streak {
  bottom: 38%;
  left: 2vw;
  animation: floatA 6s ease-in-out infinite alternate;
}

.fw-ai {
  top: 28%;
  left: 2vw;
  animation: floatB 7s ease-in-out infinite alternate;
}

.fw-rating {
  top: 18%;
  right: 2vw;
  animation: floatC 5.5s ease-in-out infinite alternate;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.fw-users {
  bottom: 30%;
  right: 2vw;
  animation: floatD 8s ease-in-out infinite alternate;
}

.fw-count {
  top: 40%;
  right: 3vw;
  animation: floatE 6.5s ease-in-out infinite alternate;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1rem;
}

.ai-pulse {
  color: var(--teal);
  font-size: 1.4rem;
  animation: pulse 2s ease-in-out infinite;
}

.live-pulse {
  color: #ffc94d;
  font-size: 1.4rem;
  animation: pulse 1.5s ease-in-out infinite;
  text-shadow: 0 0 12px rgba(255, 201, 77, 0.6);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.avatar-stack {
  display: flex;
}

.av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: white;
  border: 2px solid var(--bg);
  margin-right: -8px;
}

.av-a {
  background: var(--primary);
}

.av-b {
  background: var(--teal);
}

.av-c {
  background: var(--accent);
}

@keyframes floatA {
  to {
    transform: translateY(-14px);
  }
}

@keyframes floatB {
  to {
    transform: translateY(12px) translateX(6px);
  }
}

@keyframes floatC {
  to {
    transform: translateY(-10px) translateX(-4px);
  }
}

@keyframes floatD {
  to {
    transform: translateY(16px);
  }
}

@keyframes floatE {
  to {
    transform: translateY(18px) translateX(-4px);
  }
}

/* ─── SHELL ──────────────────────────────────────────────────────────────────── */
.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ─── TOPBAR ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 28px 0 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.4);
  flex-shrink: 0;
  overflow: hidden;
}

.brand-mark::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pillar-group {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  position: relative;
  z-index: 2;
  margin-top: 10px;
}

.pillar {
  width: 5px;
  background-color: #00E5FF;
  border-radius: 1.5px;
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
}

.pillar-left {
  height: 16px;
  opacity: 0.8;
}

.pillar-center {
  height: 26px;
}

.pillar-right {
  height: 20px;
  opacity: 0.9;
}

.bit-symbol {
  position: absolute;
  top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bit-unit {
  width: 2.5px;
  height: 2.5px;
  background-color: #FFFFFF;
  border-radius: 1px;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

.eyebrow {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 2px;
}

.brand h1 {
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

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

.ghost-link {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  transition: color 200ms;
}

.ghost-link:hover {
  color: var(--text);
}

/* ─── NAV DOWNLOAD BUTTON (small, header) ─────────────────────────────────────── */
.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-h));
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(90, 62, 255, 0.38);
  transition: transform 200ms, box-shadow 200ms;
}

.nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(90, 62, 255, 0.5);
}

.nav-download .dl-icon {
  font-size: 1rem;
  font-weight: 800;
}

/* ─── HERO GRID ──────────────────────────────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(90, 62, 255, 0.15);
  border: 1px solid rgba(90, 62, 255, 0.28);
  color: #c0b0ff;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.pill.dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--muted);
}

.hero-copy h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  word-break: break-word;
}

.hero-copy h2 em {
  font-style: normal;
  color: var(--teal);
}

.hero-copy>p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ─── DOWNLOAD BUTTON (hero, main) ──────────────────────────────────────────── */
.download-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--primary) 0%, #7c5cff 50%, var(--teal) 100%);
  background-size: 200% 200%;
  color: white;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(90, 62, 255, 0.42);
  transition: transform 220ms cubic-bezier(.34, 1.56, .64, 1), box-shadow 220ms ease;
  animation: gradShift 5s ease infinite;
}

.download-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 28px 64px rgba(90, 62, 255, 0.56);
}

.download-btn:active {
  transform: scale(0.98);
}

.download-btn.small {
  padding: 12px 20px;
  gap: 12px;
  border-radius: var(--r-md);
}

.download-btn.large {
  padding: 20px 36px;
  gap: 20px;
  border-radius: var(--r-xl);
  font-size: 1.05rem;
}

@keyframes gradShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.dl-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  animation: bounce 2.4s ease-in-out infinite;
}

.download-btn.small .dl-badge {
  width: 34px;
  height: 34px;
  font-size: 1rem;
  border-radius: 10px;
}

.download-btn.large .dl-badge {
  width: 52px;
  height: 52px;
  font-size: 1.4rem;
  border-radius: 14px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.dl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dl-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
}

.dl-sub {
  font-size: 0.8rem;
  opacity: 0.78;
}

.dl-ripple {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 200ms;
}

.download-btn:hover .dl-ripple {
  opacity: 1;
}

/* ─── GHOST BUTTON ───────────────────────────────────────────────────────────── */
.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 200ms, transform 200ms;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

/* ─── CTA ROW ────────────────────────────────────────────────────────────────── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

/* ─── TRUST ROW ──────────────────────────────────────────────────────────────── */
.trust-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-num {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.trust-item span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
}

.trust-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ─── HERO DEVICE ─────────────────────────────────────────────────────────────── */
.hero-device {
  position: relative;
}

/* ─── PHONE FRAME ────────────────────────────────────────────────────────────── */
.phone-frame {
  position: relative;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(155deg, #1c2d4a 0%, #0b1528 55%, #1e3254 100%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.07) inset;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.main-frame,
.sim-frame {
  width: min(340px, 90vw);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #04080f;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.phone-screen {
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(180deg, #f3f7ff 0%, #e8eef8 100%);
  color: #11203b;
  min-height: 640px;
}

/* ─── APP SCREENS ────────────────────────────────────────────────────────────── */
.app-screen {
  display: none;
  padding: 52px 20px 20px;
  min-height: 640px;
}

.app-screen.active {
  display: block;
}

.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #5a6e91;
  margin-bottom: 24px;
}

.welcome-screen {
  display: flex;
  flex-direction: column;
  height: calc(100% - 40px);
}

.welcome-screen h3 {
  margin-top: 14px;
  font-size: 1.6rem;
  line-height: 1.15;
  font-family: "Syne", sans-serif;
}

.welcome-screen p {
  color: #506485;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 12px 0;
}

.welcome-badge,
.feature-pills span {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(17, 32, 59, 0.08);
  color: #23375a;
  font-size: 0.82rem;
  border: 1px solid rgba(17, 32, 59, 0.1);
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.welcome-card,
.progress-card,
.syllabus-card,
.search-bar,
.downloads-card,
.assistant-panel {
  padding: 16px;
  border-radius: 20px;
  background: rgba(17, 32, 59, 0.06);
  border: 1px solid rgba(17, 32, 59, 0.08);
}

.welcome-card p,
.progress-card p {
  font-size: 0.8rem;
  color: #6a82a5;
  margin-bottom: 4px;
}

.welcome-card strong {
  font-size: 0.9rem;
}

.screen-button {
  margin-top: auto;
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  background: linear-gradient(135deg, #5a3eff, #7c63ff);
  color: white;
  box-shadow: 0 10px 28px rgba(90, 62, 255, 0.3);
  transition: transform 160ms;
}

.screen-button:hover {
  transform: translateY(-1px);
}

.muted {
  color: #6a82a5;
  font-size: 0.82rem;
}

.app-header,
.app-header.compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5a3eff, #00d4b4);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
}

.search-bar {
  color: #6a82a5;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.progress-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.progress-card span {
  font-weight: 800;
  color: #5a3eff;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 8px;
}

.section-row h4 {
  font-size: 0.92rem;
}

.section-row span {
  color: #5a3eff;
  font-size: 0.82rem;
}

.course-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.course-card {
  min-width: 130px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(17, 32, 59, 0.08);
}

.course-card p {
  font-size: 0.78rem;
  color: #6a82a5;
  margin-bottom: 4px;
}

.course-card strong {
  font-size: 0.88rem;
  display: block;
  margin-bottom: 6px;
}

.course-card span {
  font-size: 0.78rem;
  color: #7a93b8;
}

.course-card.purple {
  background: linear-gradient(180deg, rgba(90, 62, 255, 0.14), rgba(90, 62, 255, 0.06));
}

.course-card.teal {
  background: linear-gradient(180deg, rgba(0, 212, 180, 0.18), rgba(0, 212, 180, 0.06));
}

.lesson-list {
  list-style: none;
  padding: 0;
}

.lesson-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(17, 32, 59, 0.05);
  margin-bottom: 8px;
  font-size: 0.86rem;
}

.lesson-list span {
  color: #7a93b8;
  font-size: 0.8rem;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 16px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(17, 32, 59, 0.06);
  text-align: center;
  font-size: 0.8rem;
  color: #7a93b8;
}

.bottom-nav .active {
  color: #5a3eff;
  font-weight: 700;
}

.signal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00d4b4;
  box-shadow: 0 0 0 6px rgba(0, 212, 180, 0.16);
}

.chat-bubble {
  padding: 12px 14px;
  border-radius: 16px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 0.86rem;
}

.chat-bubble.ai {
  background: rgba(90, 62, 255, 0.12);
}

.chat-bubble.user {
  background: rgba(0, 212, 180, 0.14);
  margin-left: auto;
  max-width: 88%;
}

.insight-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(17, 32, 59, 0.06);
  border: 1px solid rgba(17, 32, 59, 0.08);
  font-size: 0.84rem;
}

.insight-card span {
  color: #7a93b8;
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
}

.mic-ring {
  width: 140px;
  height: 140px;
  margin: 18px auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(90, 62, 255, 0.24) 0%, rgba(90, 62, 255, 0.06) 55%, transparent 72%),
    linear-gradient(135deg, rgba(90, 62, 255, 0.22), rgba(0, 212, 180, 0.24));
  animation: micPulse 2.5s ease-in-out infinite;
}

.mic-core {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}

@keyframes micPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(90, 62, 255, 0.18);
  }

  50% {
    box-shadow: 0 0 0 16px rgba(90, 62, 255, 0);
  }
}

.assistant-caption {
  text-align: center;
  color: #6a82a5;
  font-size: 0.82rem;
}

.course-hero {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #17243b, #5a3eff);
  color: white;
  margin-bottom: 14px;
}

.course-hero .muted {
  color: rgba(255, 255, 255, 0.7);
}

.rating {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  margin-top: 8px;
}

.module-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.module-list article {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(17, 32, 59, 0.06);
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
}

.active-module {
  outline: 2px solid rgba(90, 62, 255, 0.3);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, #5a3eff, #00d4b4);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.profile-grid article {
  padding: 14px;
  border-radius: 16px;
  background: rgba(17, 32, 59, 0.06);
}

.profile-grid strong {
  display: block;
  font-size: 1.2rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
}

.profile-grid span {
  font-size: 0.78rem;
  color: #6a82a5;
}

.downloads-card ul {
  padding-left: 16px;
  margin-top: 10px;
}

.downloads-card li {
  font-size: 0.84rem;
  color: #3d5272;
  margin-bottom: 6px;
}

/* ─── HIGHLIGHTS ─────────────────────────────────────────────────────────────── */
.highlights {
  padding: 56px 0 80px;
}

.section-label {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 32px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hl-card {
  padding: 28px 24px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transition: transform 240ms cubic-bezier(.34, 1.56, .64, 1), box-shadow 240ms ease, border-color 240ms;
}

.hl-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(90, 62, 255, 0.18);
  border-color: rgba(90, 62, 255, 0.28);
}

.hl-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.hl-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hl-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── EXPERIENCE / SIMULATOR ─────────────────────────────────────────────────── */
.experience {
  padding: 0 0 80px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin: 14px 0 12px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.simulator-layout {
  display: grid;
  grid-template-columns: 200px minmax(280px, 360px) 1fr;
  gap: 24px;
  align-items: start;
}

.screen-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: sticky;
  top: 24px;
  backdrop-filter: blur(16px);
}

.screen-tab {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 0.9rem;
  transition: background 180ms, color 180ms, border-color 180ms, transform 180ms;
}

.screen-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.screen-tab.active {
  background: linear-gradient(135deg, rgba(90, 62, 255, 0.22), rgba(0, 212, 180, 0.16));
  border-color: rgba(90, 62, 255, 0.32);
  color: var(--text);
  font-weight: 600;
}

.screen-details {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px);
}

.detail-card {
  display: none;
}

.detail-card.active {
  display: block;
}

.detail-card span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.detail-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.sim-download {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.sim-download>p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

/* ─── BOTTOM CTA ─────────────────────────────────────────────────────────────── */
.bottom-cta {
  position: relative;
  overflow: hidden;
  padding: 80px 40px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 120%, rgba(90, 62, 255, 0.22), transparent 60%);
}

.bottom-cta h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bottom-cta>p {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.install-note {
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 440px;
}

.install-note strong {
  color: var(--text);
}

/* ─── FEEDBACK & STATS ───────────────────────────────────────────────────────── */
.feedback-stats {
  margin-bottom: 60px;
}

.fs-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: stretch;
}

.stats-card,
.feedback-card {
  padding: 24px 28px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-card {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  backdrop-filter: blur(16px);
}

.feedback-card {
  backdrop-filter: blur(16px);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 201, 77, 0.1);
  border: 1px solid rgba(255, 201, 77, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat-info strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-top: 4px;
}

.stat-info span {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.feedback-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.feedback-card p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.star-rating {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 2.2rem;
  color: #3d5272;
  cursor: pointer;
}

.star-rating .star {
  transition: color 150ms, transform 150ms;
}

.star-rating .star:hover,
.star-rating .star.active {
  color: var(--gold);
  transform: scale(1.15);
}

.feedback-btn {
  align-self: flex-start;
  border: none;
  font: inherit;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(90, 62, 255, 0.15);
  border: 1px solid rgba(90, 62, 255, 0.3);
  color: #c0b0ff;
  transition: all 200ms cubic-bezier(.34, 1.56, .64, 1);
}

.feedback-btn:hover {
  background: rgba(90, 62, 255, 0.35);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(90, 62, 255, 0.25);
}

/* ─── CONTACT & OPEN SOURCE ──────────────────────────────────────────────────── */
.contact-os {
  margin-bottom: 60px;
}

.os-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.os-card {
  padding: 28px 32px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  backdrop-filter: blur(16px);
}

.os-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.os-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 200ms, box-shadow 200ms;
  align-self: flex-start;
  margin-top: auto;
}

.social-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.linkedin-link {
  background: rgba(10, 102, 194, 0.15);
  color: #4da5ff;
  border: 1px solid rgba(10, 102, 194, 0.3);
}

.linkedin-link:hover {
  background: rgba(10, 102, 194, 0.3);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 102, 194, 0.2);
}

.github-link {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.github-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}


/* ─── TOAST ──────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: var(--r-lg);
  background: rgba(8, 20, 40, 0.92);
  border: 1px solid rgba(0, 212, 180, 0.3);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  transition: transform 400ms cubic-bezier(.34, 1.56, .64, 1), opacity 400ms;
  opacity: 0;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 212, 180, 0.18);
  border: 1px solid rgba(0, 212, 180, 0.3);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--teal);
  flex-shrink: 0;
}

.toast strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}

.toast p {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 2px;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.footer a {
  color: var(--teal);
  text-decoration: none;
  transition: opacity 180ms;
}

.footer a:hover {
  opacity: 0.7;
}

/* ─── REVEAL ANIMATIONS ──────────────────────────────────────────────────────── */
.reveal {
  animation: revealUp 0.9s cubic-bezier(.22, 1, .36, 1) both;
}

.reveal-delay {
  animation: revealUp 0.9s cubic-bezier(.22, 1, .36, 1) 0.18s both;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .simulator-layout {
    grid-template-columns: 1fr;
  }

  .screen-selector {
    flex-direction: row;
    overflow-x: auto;
    position: static;
  }

  .screen-tab {
    white-space: nowrap;
  }

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

  .hero-device {
    display: none;
  }

  .fw {
    display: none;
  }
}

@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .brand {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 10px;
  }

  .hero-copy {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-copy h2 {
    font-size: clamp(2.4rem, 8vw, 3rem);
    text-align: center;
  }

  .cta-row {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
    padding: 18px;
  }

  .ghost-button {
    width: 100%;
    justify-content: center;
  }

  .trust-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
  }

  .trust-sep {
    display: none;
  }

  .trust-item {
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 16px;
    border-radius: 12px;
    flex: 1;
    min-width: 100px;
    text-align: center;
  }

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

  .hl-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section-heading {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .fs-grid,
  .os-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .os-card {
    text-align: center;
    align-items: center;
    padding: 32px 20px;
  }

  .social-link {
    align-self: center;
  }

  .stats-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }

  .feedback-btn {
    align-self: stretch;
    text-align: center;
  }

  .star-rating {
    justify-content: center;
    width: 100%;
  }

  .bottom-cta {
    padding: 40px 20px;
    border-radius: 24px;
    margin-bottom: 40px;
  }

  .bottom-cta h2 {
    font-size: 2rem;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}