/* ============ Tokens ============ */
:root {
  --navy: #0d1f3c;
  --navy-dark: #081529;
  --navy-mid: #132844;
  --blue: #1a56db;
  --blue-light: #2563eb;
  --green: #10b981;
  --green-light: #34d399;
  --green-dark: #059669;

  --bg: #081529;
  --fg: #f0f7ff;
  --muted: #8aa4c8;
  --card: #0d1f3c;
  --card-2: #112543;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

/* ============ Reset ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ============ Backgrounds ============ */
.bg-mesh {
  background-image:
    radial-gradient(
      ellipse 80% 60% at 12% 8%,
      rgba(26, 86, 219, 0.22) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 70% 55% at 90% 95%,
      rgba(16, 185, 129, 0.16) 0%,
      transparent 58%
    );
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 12px 22px;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}
.btn--lg {
  padding: 15px 28px;
  font-size: 1rem;
}
.btn--primary {
  background: var(--green);
  color: #04130d;
  box-shadow: 0 8px 24px -8px rgba(16, 185, 129, 0.6);
}
.btn--primary:hover {
  background: var(--green-light);
  box-shadow: 0 12px 30px -8px rgba(16, 185, 129, 0.7);
}
.btn--outline {
  border-color: var(--border-strong);
  color: var(--fg);
  background: rgba(255, 255, 255, 0.02);
}
.btn--outline:hover {
  border-color: var(--green);
  color: var(--green-light);
}
.btn--ghost {
  color: var(--muted);
}
.btn--ghost:hover {
  color: var(--fg);
}

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 21, 41, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.header.scrolled {
  border-color: var(--border);
  background: rgba(8, 21, 41, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}
/* .brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
} */
.nav {
  display: flex;
  gap: 30px;
  font-size: 0.95rem;
  color: var(--muted);
}
.nav a {
  position: relative;
  transition: color 0.18s ease;
}
.nav a:hover {
  color: var(--fg);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s ease;
}
.nav a:hover::after {
  width: 100%;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  padding: 12px 4px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.btn {
  margin-top: 12px;
  border: none;
  color: #04130d;
  justify-content: center;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero__grid {
  height: 100%;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 22px 0 18px;
}
.grad-text {
  background: linear-gradient(110deg, var(--green-light), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 38px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.hero__stats dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--green-light);
}
.hero__stats dd {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 4px;
}

/* Hero media */
.hero__media {
  position: relative;
}
.media-glow {
  position: absolute;
  inset: -10% -8% -8% -8%;
  background: radial-gradient(
    ellipse at center,
    rgba(26, 86, 219, 0.35),
    transparent 65%
  );
  filter: blur(20px);
  z-index: 0;
}
.hero__img {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(13, 31, 60, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  animation: float 5s ease-in-out infinite;
}
.float-card strong {
  display: block;
  font-size: 0.86rem;
  font-family: var(--font-head);
}
.float-card span:not(.float-card__icon) {
  font-size: 0.76rem;
  color: var(--muted);
}
.float-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(16, 185, 129, 0.18);
  color: var(--green-light);
}
.float-card__icon--blue {
  background: rgba(26, 86, 219, 0.22);
  color: #93b4ff;
}
.float-card--ai {
  top: 14%;
  left: -34px;
}
.float-card--quiz {
  bottom: 12%;
  right: -28px;
  animation-delay: 1.5s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============ Strip ============ */
.strip {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 24px;
}
.strip__inner p {
  color: var(--muted);
  font-size: 0.92rem;
}
.strip__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.strip__tags span {
  font-size: 0.82rem;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg);
}

/* ============ Sections ============ */
.section {
  padding: 90px 0;
}
.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  border-block: 1px solid var(--border);
}
.section__head {
  max-width: 680px;
  margin: 0 auto 54px;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-light);
}

.eyebrowSoon {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var( --blue-light);
}
.section__title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 14px 0 16px;
}
.section__sub {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ============ Cards / Grid ============ */
.grid {
  display: grid;
  gap: 22px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--green-light);
}
.card__icon--red {
  background: rgba(248, 113, 113, 0.14);
  color: #f87171;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bento__item--wide {
  grid-column: span 2;
}

/* ============ AI section ============ */
.ai__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ai__copy .section__title,
.ai__copy .section__sub {
  text-align: left;
}
.check-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--fg);
  font-size: 0.98rem;
}
.check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  position: relative;
  margin-top: 2px;
}
.check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--green-light);
  border-bottom: 2px solid var(--green-light);
  transform: rotate(45deg);
}

/* Chat mock */
.chat {
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.chat__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot--red {
  background: #f87171;
}
.dot--amber {
  background: #fbbf24;
}
.dot--green {
  background: #34d399;
}
.chat__title {
  margin-left: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-head);
}
.chat__body {
  padding: 22px;
  display: grid;
  gap: 14px;
}
.bubble {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  max-width: 88%;
}
.bubble--user {
  justify-self: end;
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.bubble--ai {
  justify-self: start;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.bubble__tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--green-light);
  margin-bottom: 8px;
  font-weight: 600;
}
.bubble--quiz {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
}
.link {
  color: var(--green-light);
  font-weight: 600;
  cursor: pointer;
}
.chat__input {
  display: flex;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid var(--border);
}
.chat__input input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.chat__input input:focus {
  border-color: var(--green);
}

/* ============ Steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 0.9rem;
}
.bridge__note {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
}

/* ============ CTA ============ */
.cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  padding: 66px 32px;
  text-align: center;
}
.cta__grid {
  height: 100%;
}
.cta__content {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.cta__content h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}
.cta__content p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}
.cta__form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
.cta__form input {
  flex: 1;
  background: rgba(8, 21, 41, 0.8);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 14px 20px;
  color: var(--fg);
  font-family: var(--font-body);
  outline: none;
}
.cta__form input:focus {
  border-color: var(--green);
}
.cta__hint {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 56px;
  background: var(--navy-dark);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 280px;
}
.footer__col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color 0.18s ease;
}
.footer__col a:hover {
  color: var(--green-light);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.84rem;
}

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .nav,
  .header__actions {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero__inner,
  .ai__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__media {
    max-width: 540px;
  }
  .grid--3,
  .bento,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .bento__item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 56px 0 70px;
  }
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .grid--3,
  .bento,
  .steps {
    grid-template-columns: 1fr;
  }
  .bento__item--wide {
    grid-column: span 1;
  }
  .float-card--ai {
    left: 0;
  }
  .float-card--quiz {
    right: 0;
  }
  .cta__form {
    flex-direction: column;
  }
  .cta__form .btn {
    width: 100%;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.Main-Logo{
  width: 29px;
  height: 34px;
}

.brand__name span{
  margin-left: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ════════════════════════════════════════════════════
   INSTALL PROMPT BANNER
   Paste this CSS into your shared stylesheet.
   ════════════════════════════════════════════════════ */

#installBanner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2eaf5);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.18);
  padding: 16px;
  display: none;
  align-items: center;
  gap: 14px;
  max-width: 420px;
  margin: 0 auto;
  animation: installBannerUp 0.3s ease;
}

#installBanner.visible {
  display: flex;
}

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

#installBanner .install-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--blue-100, #daeeff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--blue-600, #1557b0);
  overflow: hidden;
}

#installBanner .install-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#installBanner .install-text {
  flex: 1;
  min-width: 0;
}

#installBanner .install-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary, #0d1b33);
}

#installBanner .install-desc {
  font-size: 12px;
  color: var(--text-secondary, #5b6e8c);
  margin-top: 2px;
  line-height: 1.4;
}

#installBanner .install-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#installBanner .install-btn {
  background: var(--blue-600, #1557b0);
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

#installBanner .install-dismiss {
  background: none;
  border: none;
  color: var(--text-muted, #9aafc8);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* iOS variant: no action button, just instructions */
#installBanner.ios-variant .install-actions {
  flex-direction: column;
  align-items: flex-end;
}