:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --bg: #0f0f23;
  --bg-alt: #16172d;
  --bg-tertiary: #1e1f3a;
  --card-bg: #16172d;
  --border-color: rgba(139, 92, 246, 0.15);
  --text-primary: #e5e7eb;
  --text-secondary: #9ca3af;
  --accent: #8b5cf6;
  --accent-2: #3b82f6;
  --accent-3: #ec4899;
  --success: #10b981;
  --gradient-end: #131335;
  --topbar-bg: rgba(15, 15, 35, 0.8);
  --hero-content-bg: rgba(22, 23, 45, 0.75);
  --btn-secondary-bg: rgba(255, 255, 255, 0.06);
  --section-alt-bg: rgba(22, 23, 45, 0.35);
  --placeholder-label-color: #6b7280;

  background: var(--bg);
  color: var(--text-primary);
}

:root[data-theme="light"] {
  color-scheme: light;

  --bg: #f7f7fb;
  --bg-alt: #ffffff;
  --bg-tertiary: #eceafc;
  --card-bg: #ffffff;
  --border-color: rgba(139, 92, 246, 0.2);
  --text-primary: #1a1b2e;
  --text-secondary: #5b5d70;
  --accent: #7c3aed;
  --accent-2: #2563eb;
  --accent-3: #db2777;
  --success: #059669;
  --gradient-end: #eceafc;
  --topbar-bg: rgba(255, 255, 255, 0.8);
  --hero-content-bg: rgba(255, 255, 255, 0.75);
  --btn-secondary-bg: rgba(0, 0, 0, 0.04);
  --section-alt-bg: rgba(124, 58, 237, 0.05);
  --placeholder-label-color: #9296a8;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--bg) 0%, var(--gradient-end) 55%, var(--bg-tertiary) 100%);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Ambient glow blobs ---------- */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  animation: drift 18s ease-in-out infinite;
}
.glow--1 { top: -10%; left: -10%; width: 480px; height: 480px; background: radial-gradient(circle, var(--accent), transparent 70%); }
.glow--2 { top: 8%; right: -12%; width: 520px; height: 520px; background: radial-gradient(circle, var(--accent-2), transparent 70%); animation-delay: -6s; }
.glow--3 { bottom: -14%; left: 30%; width: 420px; height: 420px; background: radial-gradient(circle, var(--accent-3), transparent 70%); animation-delay: -12s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}

.topbar, .hero, main, .footer { position: relative; z-index: 1; }

img { max-width: 100%; }
h1, h2, h3 { color: var(--text-primary); }
a { color: inherit; }

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 60%, var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal[data-reveal="up"] { transform: translateY(18px); }
.reveal[data-reveal="left"] { transform: translateX(-24px); }
.reveal[data-reveal="right"] { transform: translateX(24px); }
.reveal[data-reveal="scale"] { transform: scale(0.97); }
.reveal.is-visible { opacity: 1; transform: translate(0, 0) scale(1); }

/* ---------- Floating decoration ---------- */
.float-anim { animation: floaty 7s ease-in-out infinite; }
.float-anim--delay { animation-duration: 8s; animation-delay: -3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Top navigation ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--topbar-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text-primary);
}
.brand__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.topbar__links a:not(.btn) {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}
.topbar__links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: right 0.25s ease;
}
.topbar__links a:not(.btn):hover::after { right: 0; }
.topbar__links a:not(.btn):hover { color: var(--accent); }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--btn-secondary-bg);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}
.lang-switch__btn:hover { border-color: var(--accent); }
.lang-switch__menu {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0.4rem;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 150px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-switch__menu li {
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-primary);
  white-space: nowrap;
}
.lang-switch__menu li:hover { background: var(--btn-secondary-bg); color: var(--accent); }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--btn-secondary-bg);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.3s ease, border-color 0.2s ease;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(15deg); }
:root[data-theme="light"] .theme-toggle .icon-moon,
:root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }

/* ---------- Mobile nav ---------- */
.nav-toggle { display: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-burger span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }

@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .topbar__links {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .topbar__links a:not(.btn) { padding: 0.5rem 0; }
  .nav-toggle:checked ~ .topbar__links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .lang-switch__menu { right: auto; left: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.05rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.28);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 16px 38px rgba(99, 102, 241, 0.4); }

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { min-height: 88vh; display: grid; place-items: center; padding: 2rem; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 3rem; max-width: 1180px; width: 100%; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { justify-content: center; }
}

.hero__content { max-width: 620px; }
@media (max-width: 960px) { .hero__content { max-width: none; margin: 0 auto; } }
.hero__content h1 { text-align: left; }
.hero__content .hero__actions { justify-content: flex-start; }
.hero__content .trust-row { justify-content: flex-start; }
@media (max-width: 960px) {
  .hero__content h1 { text-align: center; }
  .hero__content .hero__actions, .hero__content .trust-row { justify-content: center; }
}

.hero__visual { position: relative; }

.preview-frame {
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.product-preview-iframe {
  display: block;
  width: 100%;
  height: clamp(290px, 34vw, 380px);
  border: 0;
  background: #f8faff;
  pointer-events: none;
}
.preview-frame--hero .product-preview-iframe { height: clamp(300px, 34vw, 390px); }

@media (max-width: 960px) {
  .product-preview-iframe { height: clamp(300px, 54vw, 390px); }
  .preview-frame--hero .product-preview-iframe { height: clamp(300px, 58vw, 400px); }
}

@media (max-width: 560px) {
  .product-preview-iframe { height: 330px; }
  .preview-frame--hero .product-preview-iframe { height: 340px; }
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red { background: #ef4444; }
.dot--yellow { background: #f59e0b; }
.dot--green { background: #10b981; }
.browser-bar__url {
  margin-left: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--btn-secondary-bg);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
}

.hero__stat-card {
  position: absolute;
  bottom: -1.2rem;
  right: -1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
@media (max-width: 960px) {
  .hero__stat-card { position: static; margin: 1rem auto 0; width: fit-content; }
}

.pill {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  color: #d8b4fe;
  font-size: 0.9rem;
  font-weight: 700;
}
:root[data-theme="light"] .pill { color: #6d28d9; }

h1 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); line-height: 1.1; margin: 0 0 1rem; }
p { font-size: 1.05rem; margin: 0 0 1.2rem; color: var(--text-secondary); line-height: 1.7; }

.hero__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.trial-banner {
  margin-top: 1.5rem;
  display: inline-block;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #a7f3d0;
  font-size: 0.95rem;
}
:root[data-theme="light"] .trial-banner { color: #047857; }

.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.4rem; margin-top: 1.6rem; font-size: 0.85rem; color: var(--text-secondary); }
.trust-row span { white-space: nowrap; }

/* ---------- Value bar ---------- */
.value-bar {
  max-width: 900px;
  margin: -2.5rem auto 0;
  padding: 1.6rem 2rem;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.value-bar__item .num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.value-bar__item .label { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.2rem; }

@media (max-width: 640px) {
  .value-bar { grid-template-columns: 1fr; text-align: left; }
}

/* ---------- Sections ---------- */
.section { max-width: 1100px; margin: 0 auto; padding: 3.5rem 2rem; }
.section--alt { max-width: none; background: var(--section-alt-bg); }

.eyebrow {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.section__title { text-align: center; font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 0.5rem; }
.section__subtitle { text-align: center; color: var(--text-secondary); max-width: 620px; margin: 0 auto 2rem; }

/* ---------- Cards ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 2.25rem; }
@media (max-width: 960px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; gap: 0.9rem; } }

.card {
  padding: 1.6rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.14); border-color: var(--accent); }
.card--ai { background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(59,130,246,0.1)); }
.feature-preview {
  height: 132px;
  margin: 0 0 .35rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(30, 35, 70, 0.08);
}
.feature-preview-label { margin: 0 0 .7rem; color: var(--text-secondary); font-size: .65rem; letter-spacing: .02em; }
.feature-preview-label::before { content: '✦ '; color: var(--accent); }
.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.card p { margin: 0; font-size: 0.95rem; }

.section--feature-showcase { position: relative; }
.section--feature-showcase::before { position: absolute; z-index: -1; top: 4rem; left: 50%; width: min(90vw, 950px); height: 420px; border-radius: 50%; background: radial-gradient(ellipse,rgba(139,92,246,.12),transparent 70%); content: ''; transform: translateX(-50%); pointer-events: none; }
.section--feature-showcase .features-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 1.15rem; max-width: 1120px; margin: 2.25rem auto 0; }
.feature-card { --feature-accent: #7c3aed; --feature-tint: rgba(124,58,237,.08); position: relative; display: flex; min-width: 0; flex-direction: column; padding: .8rem .8rem 1.15rem; overflow: hidden; border: 1px solid var(--border-color); border-radius: 19px; background: var(--card-bg); box-shadow: 0 10px 28px rgba(31,30,65,.075); transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.feature-card::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg,var(--feature-accent),transparent 90%); content: ''; opacity: .85; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--feature-accent); box-shadow: 0 18px 36px rgba(31,30,65,.13); }
.feature-card--budget { --feature-accent: #2563eb; --feature-tint: rgba(37,99,235,.08); }
.feature-card--funds { --feature-accent: #0891b2; --feature-tint: rgba(8,145,178,.08); }
.feature-card--analysis { --feature-accent: #7c3aed; --feature-tint: rgba(124,58,237,.09); }
.feature-card--forecast { --feature-accent: #059669; --feature-tint: rgba(5,150,105,.08); }
.feature-card--statistics { --feature-accent: #d97706; --feature-tint: rgba(217,119,6,.08); }
.feature-card--controls { --feature-accent: #db2777; --feature-tint: rgba(219,39,119,.07); }
.feature-card__visual { position: relative; min-width: 0; padding: .35rem; overflow: hidden; border: 1px solid var(--border-color); border-radius: 13px; background: linear-gradient(145deg,var(--feature-tint),var(--bg-alt) 78%); }
.feature-card .feature-preview { width: 100%; height: 145px; margin: 0; border: 0; border-radius: 9px; box-shadow: none; background: transparent; }
.feature-card .feature-preview-label { position: absolute; right: .55rem; bottom: .5rem; z-index: 1; margin: 0; padding: .24rem .45rem; border: 1px solid var(--border-color); border-radius: 999px; color: var(--text-secondary); background: var(--card-bg); font-size: .57rem; line-height: 1.15; box-shadow: 0 2px 6px rgba(20,20,50,.07); }
.feature-card .feature-preview-label::before { content: ''; }
.feature-card__copy { position: relative; padding: 1rem .45rem 0; }
.feature-card__index { position: absolute; top: .9rem; right: .35rem; color: var(--feature-accent); font-size: .65rem; font-weight: 800; letter-spacing: .08em; opacity: .75; }
.feature-card h3 { display: flex; min-height: 2.45rem; align-items: center; gap: .55rem; margin: 0 1.8rem .45rem 0; color: var(--text-primary); font-size: .98rem; line-height: 1.3; }
.feature-card__icon { display: grid; width: 2rem; height: 2rem; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--feature-tint); font-size: 1rem; transition: transform .22s ease; }
.feature-card:hover .feature-card__icon { transform: translateY(-2px) rotate(-4deg); }
.feature-card p { margin: 0; color: var(--text-secondary); font-size: .82rem; line-height: 1.55; }
@media (max-width: 960px) { .section--feature-showcase .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .section--feature-showcase .features-grid { grid-template-columns: 1fr; gap: .85rem; } .feature-card { display: grid; grid-template-columns: minmax(120px,.9fr) minmax(0,1.1fr); align-items: center; gap: .8rem; padding: .7rem; } .feature-card__visual { align-self: stretch; display: flex; align-items: center; } .feature-card .feature-preview { height: 150px; } .feature-card .feature-preview-label { right: .35rem; bottom: .35rem; font-size: .5rem; } .feature-card__copy { padding: .2rem .1rem; } .feature-card__index { top: .15rem; right: .1rem; } .feature-card h3 { min-height: 0; align-items: flex-start; margin: .2rem 1.35rem .45rem 0; font-size: .9rem; } .feature-card__icon { width: 1.65rem; height: 1.65rem; font-size: .85rem; } .feature-card p { font-size: .76rem; } }

/* ---------- Personal, freelance and business examples ---------- */
.section--use-cases { max-width: none; background: linear-gradient(180deg, var(--section-alt-bg), transparent 86%); }
.use-case-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; max-width: 1120px; margin: 2rem auto 0; }
.use-case-card { min-width: 0; padding: 1.25rem; border: 1px solid var(--border-color); border-radius: 18px; background: var(--card-bg); box-shadow: 0 12px 30px rgba(20,20,50,.08); transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.use-case-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 32px rgba(20,20,50,.13); }
.use-case-card__head { display: flex; align-items: flex-start; gap: .75rem; min-height: 72px; }
.use-case-card__head h3 { margin: .05rem 0 .25rem; font-size: 1.05rem; }
.use-case-card__head p { margin: 0; font-size: .82rem; line-height: 1.5; }
.use-case-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: 0 0 auto; border-radius: 12px; background: rgba(124,58,237,.12); font-size: 1.25rem; }
.use-case-icon--freelance { background: rgba(37,99,235,.12); }
.use-case-icon--business { background: rgba(5,150,105,.13); }
.use-case-demo { margin-top: .85rem; padding: .85rem .9rem; border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-alt); }
.use-case-demo__label,.use-case-demo__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: var(--text-secondary); font-size: .72rem; }
.use-case-demo__label { margin-bottom: .55rem; font-weight: 700; }
.sample-chip { flex: 0 0 auto; padding: .22rem .45rem; border-radius: 999px; color: #6d28d9; background: rgba(124,58,237,.1); font-size: .62rem; font-weight: 750; }
.use-case-line { display: flex; justify-content: space-between; gap: .5rem; padding: .35rem 0; color: var(--text-secondary); font-size: .75rem; }
.use-case-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.use-case-line b,.use-case-demo__foot b { color: var(--text-primary); font-size: .76rem; white-space: nowrap; }
.use-case-meter { height: 5px; margin: .45rem 0 .6rem; overflow: hidden; border-radius: 99px; background: var(--bg-tertiary); }
.use-case-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--accent),var(--accent-2)); transform: scaleX(var(--fill)); transform-origin: left; animation: use-case-fill 1.1s cubic-bezier(.2,.7,.2,1) both; }
.use-case-meter--personal i { --fill: .72; }
.use-case-meter--freelance i { --fill: .54; }
.use-case-meter--business i { --fill: .66; }
.use-case-card--freelance .use-case-meter i { background: linear-gradient(90deg,#2563eb,#06b6d4); }
.use-case-card--business .use-case-meter i { background: linear-gradient(90deg,#059669,#34d399); }
.use-case-note { max-width: 1000px; margin: 1.1rem auto 0; padding: .75rem 1rem; border: 1px solid var(--border-color); border-radius: 10px; color: var(--text-secondary); background: var(--btn-secondary-bg); font-size: .78rem; line-height: 1.55; text-align: center; }
@keyframes use-case-fill { from { transform: scaleX(.05); } to { transform: scaleX(var(--fill)); } }
@media (max-width: 900px) { .use-case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .use-case-grid { grid-template-columns: 1fr; } .use-case-card__head { min-height: 0; } }

/* ---------- Brand refresh: calm, credible financial-product marketing ---------- */
:root {
  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --bg-tertiary: #edf1f7;
  --card-bg: #ffffff;
  --border-color: #e5e9f1;
  --text-primary: #172238;
  --text-secondary: #66738a;
  --accent: #6553e8;
  --accent-2: #2877db;
  --accent-3: #16a780;
  --success: #0f9f78;
  --gradient-end: #eef2fb;
  --topbar-bg: rgba(255,255,255,.9);
  --hero-content-bg: #ffffff;
  --btn-secondary-bg: #ffffff;
  --section-alt-bg: #eff2fa;
  background: var(--bg);
}
:root[data-theme="dark"] {
  --bg: #101827;
  --bg-alt: #172235;
  --bg-tertiary: #202d42;
  --card-bg: #172235;
  --border-color: rgba(160,174,198,.18);
  --text-primary: #edf3fc;
  --text-secondary: #a6b2c5;
  --accent: #9a8cff;
  --accent-2: #65a9ff;
  --accent-3: #48d1aa;
  --success: #48d1aa;
  --gradient-end: #151f31;
  --topbar-bg: rgba(16,24,39,.91);
  --hero-content-bg: #172235;
  --btn-secondary-bg: rgba(255,255,255,.04);
  --section-alt-bg: rgba(255,255,255,.035);
}
body { background: linear-gradient(180deg,var(--bg) 0%,var(--gradient-end) 45%,var(--bg) 100%); }
.glow { position: absolute; opacity: .24; filter: blur(105px); }
.glow--1 { top: 130px; left: -160px; width: 400px; height: 400px; }
.glow--2 { top: 120px; right: -170px; width: 440px; height: 440px; }
.glow--3 { display: none; }
.topbar { min-height: 68px; padding: .7rem clamp(1rem,4vw,3.5rem); border-bottom-color: rgba(114,128,153,.13); }
.brand { gap: .65rem; font-size: 1.02rem; letter-spacing: -.035em; }
.brand__dot { width: 1.35rem; height: 1.35rem; border-radius: 7px; box-shadow: 0 4px 10px rgba(101,83,232,.24); }
.topbar__links { gap: clamp(.55rem,1.4vw,1.3rem); }
.topbar__links a:not(.btn) { font-size: .83rem; font-weight: 550; }
.topbar__links .btn { box-shadow: 0 8px 18px rgba(82,78,213,.2); }
.hero { min-height: 0; overflow: hidden; padding: clamp(3rem,7vw,6.5rem) clamp(1rem,4vw,3.5rem) 5rem; }
.hero__grid { max-width: 1260px; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(2rem,5vw,5rem); }
.hero__content { max-width: 530px; }
.hero__content h1 { max-width: 10ch; margin: .9rem 0 1.15rem; font-size: clamp(3rem,5.2vw,5rem); font-weight: 800; line-height: .99; letter-spacing: -.075em; }
.hero__content > p { max-width: 490px; margin-bottom: 1.15rem; font-size: clamp(1rem,1.35vw,1.14rem); line-height: 1.68; }
.pill { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: .45rem .75rem; border: 1px solid rgba(101,83,232,.16); color: #4d3bc1; background: rgba(101,83,232,.075); font-size: .76rem; }
:root[data-theme="dark"] .pill { color: #c4bbff; }
.btn { box-shadow: 0 5px 14px rgba(31,42,67,.08); }
.btn-primary { background: linear-gradient(130deg,#6755e8,#3e74d8); }
.btn-secondary { border-color: var(--border-color); }
.trial-banner { margin-top: 1.15rem; padding: .55rem .8rem; border: 1px solid rgba(15,159,120,.15); font-size: .81rem; }
.trust-row { justify-content: flex-start; gap: .55rem 1rem; margin-top: 1.1rem; font-size: .73rem; }
.trust-row > span { padding: .28rem 0; }
.hero__visual { min-width: 0; perspective: 1200px; }
.preview-frame { border: 1px solid rgba(147,158,181,.28); border-radius: 17px; background: var(--card-bg); box-shadow: 0 34px 90px rgba(32,45,75,.2),0 5px 18px rgba(32,45,75,.08); }
.preview-frame--hero { transform: rotateY(-3deg) rotateX(1deg); transform-origin: center; transition: transform .5s ease,box-shadow .5s ease; }
.preview-frame--hero:hover { transform: rotateY(0) translateY(-3px); box-shadow: 0 40px 100px rgba(32,45,75,.23); }
.browser-bar { min-height: 33px; padding: .45rem .75rem; background: #f7f8fc; }
:root[data-theme="dark"] .browser-bar { background: #111c2d; }
.browser-bar .dot { width: 8px; height: 8px; }
.browser-bar__url { font-size: .65rem; }
.preview-frame--hero .product-preview-iframe { height: clamp(410px,43vw,520px); background: var(--bg); }
.value-bar { z-index: 2; max-width: 1040px; margin: -1.4rem auto 0; padding: 1.1rem 1.4rem; border-color: var(--border-color); border-radius: 16px; box-shadow: 0 18px 44px rgba(32,45,75,.1); }
.value-bar__item .num { font-size: 1.5rem; }
.value-bar__item .label { font-size: .75rem; }
.section { max-width: 1260px; padding: clamp(3.5rem,7vw,6rem) clamp(1rem,4vw,3.5rem); }
.section__title { max-width: 800px; margin: 0 auto .7rem; font-size: clamp(2rem,3.7vw,3.15rem); line-height: 1.08; letter-spacing: -.055em; }
.section__subtitle { max-width: 650px; margin-bottom: 2.2rem; font-size: .98rem; }
.eyebrow { margin-bottom: .7rem; font-size: .7rem; letter-spacing: .12em; }
.section--feature-showcase { max-width: none; padding-top: clamp(4rem,7vw,6rem); padding-bottom: clamp(4rem,7vw,6rem); background: linear-gradient(180deg,rgba(255,255,255,.48),transparent); }
.section--feature-showcase .features-grid { gap: 1rem; margin-top: 2rem; }
.feature-card { padding: .72rem .72rem 1rem; border-radius: 15px; box-shadow: 0 8px 24px rgba(31,42,67,.055); }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(31,42,67,.11); }
.feature-card::before { height: 2px; }
.feature-card__visual { padding: .25rem; border-radius: 10px; }
.feature-card .feature-preview { height: 150px; }
.feature-card__copy { padding: .75rem .4rem 0; }
.feature-card__index { top: .7rem; }
.feature-card h3 { font-size: .94rem; }
.feature-card p { font-size: .78rem; }
.section--use-cases { max-width: none; padding-block: clamp(4rem,7vw,6rem); background: var(--section-alt-bg); }
.use-case-grid { margin-top: 2.2rem; }
.use-case-card { padding: 1.15rem; border-radius: 15px; box-shadow: 0 8px 23px rgba(31,42,67,.055); }
.use-case-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(31,42,67,.1); }
.use-case-icon { width: 2.3rem; height: 2.3rem; }
.use-case-demo { border-radius: 10px; }
.use-case-note { max-width: 1060px; }
.section--projection-story { display: grid; max-width: 1260px; grid-template-columns: minmax(260px,.74fr) minmax(0,1.26fr); align-items: center; gap: clamp(2rem,5vw,4.5rem); }
.projection-story__copy .eyebrow { text-align: left; }
.projection-story__copy h2 { max-width: 12ch; margin: 0 0 .9rem; font-size: clamp(2rem,3.2vw,2.8rem); line-height: 1.08; letter-spacing: -.055em; }
.projection-story__copy > p { font-size: .95rem; }
.projection-points { display: grid; gap: .85rem; margin: 1.35rem 0; padding: 0; list-style: none; }
.projection-points li { display: flex; gap: .75rem; align-items: flex-start; }
.projection-points li > span { display: grid; width: 1.7rem; height: 1.7rem; flex: 0 0 auto; place-items: center; border: 1px solid var(--border-color); border-radius: 8px; color: var(--accent); background: var(--card-bg); font-size: .62rem; font-weight: 800; }
.projection-points b { color: var(--text-primary); font-size: .84rem; }
.projection-points p { margin: .1rem 0 0; font-size: .75rem; line-height: 1.45; }
.projection-disclaimer { padding: .7rem .8rem; border-left: 2px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--btn-secondary-bg); font-size: .72rem !important; line-height: 1.5; }
.projection-disclaimer b { color: var(--text-primary); }
.preview-frame--story .product-preview-iframe { height: 390px; }
.section--alt { max-width: none; }
.section--flush { max-width: 1260px; margin: 0 auto; }
.step,.faq-item,.price-card { border-color: var(--border-color); box-shadow: 0 8px 24px rgba(31,42,67,.045); }
.step { border-radius: 14px; }
.step__num { box-shadow: 0 5px 12px rgba(101,83,232,.18); }
.pricing-grid { max-width: 820px; }
.price-card { border-radius: 16px; }
.cta-band { padding: clamp(2rem,5vw,3.5rem); border-radius: 22px; background: radial-gradient(circle at 85% 10%,rgba(255,255,255,.24),transparent 25%),linear-gradient(120deg,#6253df,#347cce); box-shadow: 0 20px 48px rgba(78,83,203,.22); }
.footer { padding-top: 2.5rem; border-color: var(--border-color); background: rgba(255,255,255,.25); }
.footer__grid { max-width: 1160px; }
@media (max-width: 960px) {
  .hero { padding-top: 3.5rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__content { max-width: 760px; }
  .hero__content h1 { max-width: 13ch; margin-inline: auto; text-align: center; }
  .hero__content > p { margin-inline: auto; }
  .hero__content .hero__actions,.hero__content .trust-row { justify-content: center; }
  .preview-frame--hero { transform: none; }
  .preview-frame--hero .product-preview-iframe { height: clamp(410px,62vw,520px); }
  .section--projection-story { grid-template-columns: 1fr; }
  .projection-story__copy { max-width: 760px; }
  .projection-story__copy h2 { max-width: 18ch; }
}
@media (max-width: 620px) {
  .topbar { min-height: 60px; padding-inline: 1rem; }
  .hero { padding: 2.7rem 1rem 3.6rem; }
  .hero__content h1 { font-size: clamp(2.8rem,12vw,4.2rem); }
  .hero__actions { gap: .6rem; }
  .hero__actions .btn { padding: .85rem 1.05rem; font-size: .9rem; }
  .trust-row { gap: .35rem .7rem; font-size: .65rem; }
  .value-bar { width: calc(100% - 2rem); margin-top: -1.3rem; padding: .8rem; gap: .35rem; }
  .value-bar__item .num { font-size: 1.2rem; }
  .value-bar__item .label { font-size: .7rem; }
  .preview-frame--hero .product-preview-iframe { height: 430px; }
  .section--feature-showcase .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
  .feature-card { display: flex; padding: .55rem; }
  .feature-card .feature-preview { height: 120px; }
  .feature-card .feature-preview-label { right: .35rem; bottom: .35rem; font-size: .48rem; }
  .feature-card__copy { padding: .55rem .2rem .15rem; }
  .feature-card h3 { min-height: 2.25rem; margin-right: 1.25rem; font-size: .78rem; }
  .feature-card__icon { width: 1.5rem; height: 1.5rem; border-radius: 8px; font-size: .8rem; }
  .feature-card__index { top: .5rem; right: .05rem; font-size: .55rem; }
  .feature-card p { font-size: .68rem; line-height: 1.45; }
  .use-case-grid { grid-template-columns: 1fr; }
  .preview-frame--story .product-preview-iframe { height: 365px; }
  .section__title { font-size: clamp(1.8rem,8vw,2.5rem); }
}
@media (max-width: 370px) {
  .section--feature-showcase .features-grid { grid-template-columns: 1fr; }
  .feature-card { display: grid; grid-template-columns: minmax(105px,.9fr) minmax(0,1.1fr); align-items: center; gap: .6rem; }
  .feature-card__visual { align-self: stretch; display: flex; align-items: center; }
  .feature-card .feature-preview { height: 125px; }
  .feature-card__copy { padding: .1rem; }
}

/* Editorial feature stories: left-led, soft, spacious and deliberately asymmetric. */
.section > .eyebrow,
.section > .section__title,
.section > .section__subtitle { text-align: left; margin-left: 0; margin-right: 0; }
.section > .section__title { max-width: 780px; font-size: clamp(2rem,3.4vw,3rem); }
.section > .section__subtitle { max-width: 650px; margin-bottom: 0; }
.section--feature-story { max-width: 1320px; padding-top: clamp(4rem,7vw,6.5rem); padding-bottom: clamp(3rem,5vw,5rem); }
.section--feature-story > .section-intro { max-width: 760px; margin-bottom: 1.5rem; }
.section--feature-story > .section-intro .eyebrow,
.section--feature-story > .section-intro .section__title,
.section--feature-story > .section-intro .section__subtitle { text-align: left; margin-left: 0; margin-right: 0; }
.feature-story { display: grid; grid-template-columns: minmax(250px,.76fr) minmax(0,1.24fr); align-items: center; gap: clamp(2rem,6vw,6rem); padding: clamp(2.4rem,5vw,4.8rem) 0; border-top: 1px solid rgba(115,129,154,.15); }
.feature-story--reverse { grid-template-columns: minmax(0,1.24fr) minmax(250px,.76fr); }
.feature-story--reverse .feature-story__copy { order: 2; }
.feature-story--reverse .feature-story__visual { order: 1; }
.feature-story__copy { max-width: 430px; padding: 0 clamp(0rem,2vw,1.2rem); }
.feature-story__number { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1rem; color: var(--accent); font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.feature-story__number > i { display: block; width: 25px; height: 1px; background: var(--accent); opacity: .55; }
.feature-story__number > span { color: var(--text-secondary); letter-spacing: .06em; }
.feature-story__copy h3 { margin: 0 0 .8rem; color: var(--text-primary); font-size: clamp(1.7rem,2.8vw,2.45rem); font-weight: 720; letter-spacing: -.055em; line-height: 1.08; }
.feature-story__copy > p { max-width: 390px; margin: 0; color: var(--text-secondary); font-size: .96rem; line-height: 1.7; }
.feature-story__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.35rem; }
.feature-story__tags span { padding: .38rem .6rem; border: 1px solid var(--border-color); border-radius: 999px; color: var(--text-secondary); background: rgba(255,255,255,.5); font-size: .66rem; }
:root[data-theme="dark"] .feature-story__tags span { background: rgba(255,255,255,.025); }
.feature-story__visual { position: relative; min-width: 0; padding: .55rem; border: 1px solid rgba(145,157,180,.22); border-radius: 17px; background: linear-gradient(145deg,rgba(255,255,255,.92),rgba(242,245,251,.78)); box-shadow: 0 24px 60px rgba(36,49,78,.1); }
:root[data-theme="dark"] .feature-story__visual { background: linear-gradient(145deg,#172235,#1c2940); }
.feature-story__chrome { display: flex; height: 22px; align-items: center; gap: 4px; padding: 0 .35rem .25rem; }
.feature-story__chrome > span { width: 6px; height: 6px; border-radius: 50%; background: #ef7676; }
.feature-story__chrome > span:nth-child(2) { background: #f4c15e; }
.feature-story__chrome > span:nth-child(3) { background: #49bc8a; }
.feature-story__chrome > b { margin-left: .35rem; color: #9aa4b4; font-size: .56rem; font-weight: 550; }
.feature-story__iframe { width: 100%; height: 340px; border: 1px solid rgba(141,153,174,.15); border-radius: 10px; background: #f5f7fb; }
.feature-story--overview .feature-story__iframe { height: 475px; }
.feature-story__demo-label { position: absolute; right: 1rem; bottom: .95rem; padding: .28rem .48rem; border: 1px solid rgba(145,157,180,.2); border-radius: 999px; color: var(--text-secondary); background: var(--card-bg); box-shadow: 0 2px 8px rgba(31,42,67,.08); font-size: .57rem; }
.feature-story--prediction { grid-template-columns: minmax(270px,.72fr) minmax(0,1.28fr); gap: clamp(2rem,5vw,5rem); }
.feature-story--prediction .feature-story__copy { max-width: 470px; }
.feature-story--prediction .feature-story__copy h3 { max-width: 14ch; }
.prediction-highlights { display: grid; gap: .8rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.prediction-highlights li { display: flex; align-items: flex-start; gap: .65rem; }
.prediction-highlights li > span { display: grid; width: 1.45rem; height: 1.45rem; flex: 0 0 auto; place-items: center; border: 1px solid rgba(101,83,232,.2); border-radius: 50%; color: var(--accent); background: rgba(101,83,232,.07); font-size: .7rem; }
.prediction-highlights li b,.prediction-highlights li small { display: block; }
.prediction-highlights li b { color: var(--text-primary); font-size: .8rem; }
.prediction-highlights li small { margin-top: .1rem; color: var(--text-secondary); font-size: .71rem; line-height: 1.45; }
.feature-story__disclaimer { margin-top: 1rem !important; padding: .65rem .75rem; border-left: 2px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--btn-secondary-bg); font-size: .69rem !important; line-height: 1.5 !important; }
.feature-story__disclaimer b { color: var(--text-primary); }
.feature-story__visual--prediction { background: linear-gradient(145deg,rgba(124,110,230,.075),rgba(234,240,249,.8)); }
.feature-story__iframe--prediction { height: 510px; }
.feature-story--prediction .feature-story__demo-label { bottom: .9rem; }
.section--use-cases { padding-inline: clamp(1.2rem,8vw,8rem); background: linear-gradient(180deg,rgba(239,242,250,.82),rgba(239,242,250,.25)); }
:root[data-theme="dark"] .section--use-cases { background: linear-gradient(180deg,rgba(255,255,255,.035),transparent); }
.section--use-cases > .section__title { max-width: 700px; }
.use-case-grid { margin-left: 0; margin-right: 0; }
.use-case-note { margin-left: 0; text-align: left; }
.section--projection-story { max-width: 1320px; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); gap: clamp(2.5rem,7vw,7rem); padding-block: clamp(4.5rem,8vw,7rem); }
.projection-story__copy { max-width: 440px; }
.projection-story__copy h2 { font-size: clamp(2.1rem,3.2vw,3rem); }
.projection-story__copy .eyebrow { letter-spacing: .12em; }
.preview-frame--story { padding: .55rem; border-radius: 17px; background: linear-gradient(145deg,rgba(255,255,255,.95),rgba(241,244,250,.8)); box-shadow: 0 24px 60px rgba(36,49,78,.1); }
:root[data-theme="dark"] .preview-frame--story { background: linear-gradient(145deg,#172235,#1c2940); }
.preview-frame--story .browser-bar { border-radius: 9px 9px 0 0; }
.preview-frame--story .product-preview-iframe { height: 390px; }
.section--alt { padding-block: 1rem; }
.section--alt .section__title,.section--alt .section__subtitle { text-align: left; margin-left: 0; margin-right: 0; }
.section--alt .steps { max-width: 1080px; }
.section--alt .step { padding: 1.3rem; }
#pricing > .section__title,#faq > .section__title { max-width: 720px; }
.pricing-grid { margin-left: 0; margin-right: auto; }
.pricing-footnote { max-width: 700px; text-align: left; }
.pricing-comparison { max-width: 950px; }
.guarantee-row { max-width: 950px; text-align: left; }
.faq { margin-left: 0; margin-right: auto; }
.cta-band { text-align: left; }
.footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 960px) {
  .feature-story,.feature-story--reverse { grid-template-columns: minmax(220px,.72fr) minmax(0,1.28fr); gap: 2rem; }
  .feature-story--prediction { grid-template-columns: minmax(235px,.72fr) minmax(0,1.28fr); gap: 2rem; }
  .feature-story--overview .feature-story__iframe { height: 430px; }
  .feature-story__iframe--prediction { height: 470px; }
  .section--projection-story { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .feature-story,.feature-story--reverse { grid-template-columns: 1fr; gap: 1.25rem; padding: 2.35rem 0; }
  .feature-story--prediction { grid-template-columns: 1fr; }
  .feature-story--reverse .feature-story__copy,.feature-story--reverse .feature-story__visual { order: initial; }
  .feature-story__copy { max-width: 600px; padding: 0; }
  .feature-story__copy h3 { max-width: 17ch; font-size: 1.85rem; }
  .feature-story__iframe { height: 320px; }
  .feature-story__iframe--prediction { height: 470px; }
  .feature-story--overview .feature-story__iframe { height: 420px; }
  .feature-story__tags { margin-top: .9rem; }
  .section--use-cases { padding-inline: 1.2rem; }
  .section--projection-story { padding-top: 3.7rem; }
  .preview-frame--story .product-preview-iframe { height: 360px; }
  .footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 420px) {
  .feature-story__iframe { height: 295px; }
  .feature-story__iframe--prediction { height: 440px; }
  .feature-story--overview .feature-story__iframe { height: 390px; }
  .feature-story__tags span { font-size: .6rem; }
}

/* Responsive pass for the editorial sections and full in-app previews. */
@media (max-width: 960px) {
  .feature-story,
  .feature-story--reverse,
  .feature-story--prediction { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 1.4rem; }
  .feature-story__copy { padding-inline: .2rem; }
  .feature-story__iframe { height: 320px; }
  .feature-story--overview .feature-story__iframe { height: 400px; }
  .feature-story__iframe--prediction { height: 430px; }
  .feature-story__copy h3 { font-size: clamp(1.55rem,3vw,2rem); }
  .feature-story__tags { gap: .3rem; }
  .feature-story__tags span { padding: .32rem .48rem; font-size: .61rem; }
}
@media (max-width: 720px) {
  .glow { display: none; }
  main { overflow-x: clip; }
  .topbar { padding-inline: .8rem; }
  .brand { font-size: .9rem; }
  .topbar__links { gap: .45rem; }
  .topbar__links a:not(.btn) { font-size: .74rem; }
  .topbar__links .btn { padding: .5rem .7rem; font-size: .75rem; }
  .hero { padding: 2.5rem 1rem 3.2rem; }
  .hero__grid { gap: 1.6rem; }
  .hero__content h1 { max-width: 12ch; font-size: clamp(2.6rem,8vw,3.5rem); }
  .preview-frame--hero .product-preview-iframe { height: 410px; }
  .value-bar { width: calc(100% - 2rem); }
  .feature-story,
  .feature-story--reverse,
  .feature-story--prediction { grid-template-columns: minmax(0,1fr); gap: 1rem; padding: 2rem 0; }
  .feature-story--reverse .feature-story__copy,
  .feature-story--reverse .feature-story__visual { order: initial; }
  .feature-story__copy { max-width: 600px; }
  .feature-story__copy h3 { max-width: 21ch; font-size: 1.8rem; }
  .feature-story__copy > p { max-width: 55ch; font-size: .9rem; }
  .feature-story__iframe { height: 330px; }
  .feature-story--overview .feature-story__iframe { height: 425px; }
  .feature-story__iframe--prediction { height: 465px; }
  .feature-story__tags { margin-top: .8rem; }
  .feature-story__demo-label { right: .85rem; bottom: .82rem; }
  .section--use-cases { width: 100%; padding-inline: 1rem; }
  .use-case-grid { grid-template-columns: 1fr; max-width: 540px; }
  .use-case-card { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: .8rem; }
  .use-case-card__head { min-height: 0; }
  .use-case-demo { margin-top: 0; padding: .7rem; }
  .use-case-demo__label { font-size: .65rem; }
  .use-case-line { font-size: .7rem; }
  .use-case-note { max-width: 540px; }
  .section--alt .section__flush { padding-inline: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-comparison { margin-inline: -0.2rem; }
  .guarantee-row { grid-template-columns: 1fr; gap: .75rem; }
  .faq { width: 100%; }
  .cta-band { padding: 1.6rem 1.25rem; }
  .footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .topbar { min-height: 58px; }
  .brand { gap: .45rem; font-size: .84rem; }
  .brand__dot { width: 1.1rem; height: 1.1rem; }
  .nav-burger { padding: .3rem; }
  .topbar__links { top: 58px; }
  .topbar__links a:not(.btn) { font-size: .9rem; }
  .topbar__links .btn { padding: .7rem 1rem; font-size: .85rem; }
  .hero { padding: 2rem .9rem 2.8rem; }
  .hero__content h1 { max-width: 11ch; font-size: clamp(2.45rem,11vw,3.3rem); }
  .hero__content > p { font-size: .92rem; }
  .hero__actions { gap: .5rem; }
  .hero__actions .btn { padding: .78rem .85rem; font-size: .82rem; }
  .trust-row { gap: .28rem .55rem; font-size: .59rem; }
  .preview-frame--hero .product-preview-iframe { height: 375px; }
  .browser-bar { min-height: 29px; padding: .35rem .55rem; }
  .browser-bar__url { max-width: 68%; overflow: hidden; font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
  .value-bar { grid-template-columns: repeat(3,minmax(0,1fr)); padding: .7rem .45rem; gap: .25rem; text-align: center; }
  .value-bar__item .num { font-size: 1rem; }
  .value-bar__item .label { font-size: .58rem; line-height: 1.3; }
  .section { padding: 3rem .9rem; }
  .section > .section__title { font-size: clamp(1.75rem,8vw,2.2rem); }
  .section > .section__subtitle { font-size: .88rem; line-height: 1.55; }
  .feature-story__iframe { height: 285px; }
  .feature-story--overview .feature-story__iframe { height: 370px; }
  .feature-story__iframe--prediction { height: 420px; }
  .feature-story__chrome > b { max-width: calc(100% - 70px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .feature-story__tags span { font-size: .57rem; }
  .use-case-card { grid-template-columns: 1fr; gap: .55rem; padding: .85rem; }
  .use-case-card__head h3 { font-size: .95rem; }
  .use-case-card__head p { font-size: .76rem; }
  .use-case-demo { padding: .7rem .75rem; }
  .sample-chip { font-size: .55rem; }
  .use-case-note { font-size: .7rem; text-align: left; }
  .projection-story__copy h2 { font-size: 2rem; }
  .preview-frame--story .product-preview-iframe { height: 330px; }
  .faq-item { padding: .9rem 1rem; }
  .footer { padding: 2rem 1rem 1.2rem; }
  .footer__grid { gap: 1.2rem; }
}
@media (max-width: 360px) {
  .topbar__links .lang-switch,.topbar__links .theme-toggle { display: none; }
  .hero__actions .btn { font-size: .75rem; }
  .preview-frame--hero .product-preview-iframe { height: 340px; }
  .value-bar__item .label { font-size: .52rem; }
  .feature-story__iframe { height: 255px; }
  .feature-story--overview .feature-story__iframe { height: 340px; }
  .feature-story__iframe--prediction { height: 390px; }
  .prediction-highlights li small { font-size: .66rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

.section--ai { background: var(--section-alt-bg); border-radius: 28px; }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.ai-card {
  padding: 1.8rem;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ai-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,0,0,0.25); }
.ai-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.ai-card p { margin: 0; font-size: 0.95rem; }

.ai-disclaimer {
  margin-top: 2rem;
  padding: 1rem 1.3rem;
  border-radius: 14px;
  background: var(--btn-secondary-bg);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ---------- Product tour ---------- */
.tour-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin: 3.5rem 0; }
.tour-row--reverse { direction: rtl; }
.tour-row--reverse > * { direction: ltr; }
@media (max-width: 860px) {
  .tour-row, .tour-row--reverse { grid-template-columns: 1fr; direction: ltr; }
}
.tour-row__tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}
.tour-row__text h3 { font-size: 1.4rem; margin: 0 0 0.6rem; }

/* ---------- How it works ---------- */
.section--flush { padding: 3.5rem 2rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.step {
  padding: 1.8rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(0,0,0,0.2); }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.step p { margin: 0; font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; margin-top: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.price-card {
  padding: 2rem;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  transition: transform 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); }
.price-card--highlight { border-color: var(--accent); box-shadow: 0 20px 50px rgba(139,92,246,0.25); }
.badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
.price { font-size: 2.2rem; font-weight: 800; margin: 0.6rem 0 0.2rem; }
.price span { font-size: 1rem; font-weight: 500; color: var(--text-secondary); }
.save { display: inline-block; font-size: 0.8rem; color: var(--success); font-weight: 700; margin-bottom: 0.4rem; }
.price-note { font-size: 0.85rem; margin-bottom: 1.2rem; }
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  text-align: left;
  display: grid;
  gap: 0.35rem;
}
.price-features li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.pricing-footnote { text-align: center; font-size: 0.8rem; color: var(--text-secondary); margin-top: 1.5rem; }

.pricing-comparison {
  margin-top: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem;
  overflow-x: auto;
}
.pricing-comparison h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem;
  text-align: left;
  font-size: 0.86rem;
}
.pricing-table th {
  color: var(--text-primary);
  font-weight: 700;
}
.pricing-table td {
  color: var(--text-secondary);
}
.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}
.pricing-table .is-on {
  color: var(--success);
  font-weight: 700;
}
.pricing-table .is-off {
  color: var(--text-secondary);
  opacity: 0.6;
}

.guarantee-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; text-align: center; }
.guarantee-row .item { font-size: 0.85rem; color: var(--text-secondary); }
.guarantee-row strong { display: block; color: var(--text-primary); margin-bottom: 0.2rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  padding: 1.1rem 1.4rem;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+'; margin-right: 0.6rem; color: var(--accent); font-weight: 800; }
.faq-item[open] summary::before { content: '−'; }
.faq-item p { margin: 0.8rem 0 0; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.cta-band h2 { color: #fff; margin: 0 0 0.6rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0 0 1.5rem; }
.cta-band .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 16px 40px rgba(0,0,0,0.25); }

/* ---------- Footer ---------- */
.footer { padding: 3rem 2rem 1.5rem; border-top: 1px solid var(--border-color); }
.footer__grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; }
.footer__col h4 { margin: 0 0 0.8rem; font-size: 0.9rem; }
.footer__col a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { max-width: 1100px; margin: 2rem auto 0; text-align: center; font-size: 0.8rem; color: var(--text-secondary); }



