:root {
  --bg-top: #0a1429;
  --bg-bottom: #050b1a;
  --card: rgba(255, 255, 255, 0.08);
  --card-stroke: rgba(255, 255, 255, 0.16);
  --text: #f4f8ff;
  --muted: rgba(227, 235, 248, 0.74);
  --accent-green: #73d182;
  --accent-blue: #66b3f2;
  --accent-orange: #f9ad42;
  --shadow: 0 22px 56px rgba(3, 8, 21, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Sora", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  padding-top: 72px;
}

.bg-layer {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 9%, rgba(102, 179, 242, 0.2), transparent 35%),
    radial-gradient(circle at 88% 15%, rgba(115, 209, 130, 0.18), transparent 28%),
    radial-gradient(circle at 60% 82%, rgba(91, 124, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  padding: 0.8rem 0;
  background: rgba(7, 14, 30, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.site-header-inner {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.lang-switch {
  font-size: 0.78rem;
  color: rgba(227, 235, 248, 0.78);
}

.lang-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  border-radius: 10px;
  padding: 0.36rem 0.45rem;
  font-size: 0.78rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand img {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 8px;
}

.ghost-btn {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

main {
  padding-bottom: 3.4rem;
}

.hero {
  padding: 2.3rem 0 2rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent-blue);
  font-size: 0.9rem;
  letter-spacing: 0.4px;
}

h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.08;
  max-width: 16ch;
}

.hero-copy {
  margin: 1rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.6;
}

.platform-badge {
  display: inline-flex;
  margin: 0.72rem 0 0;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(102, 179, 242, 0.42);
  background: rgba(102, 179, 242, 0.14);
  color: #d8ebff;
  font-size: 0.78rem;
  letter-spacing: 0.12px;
}

.hero-beta-btn {
  display: inline-block;
  margin-top: 0.9rem;
  color: #06211a;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.15px;
  padding: 0.62rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(115, 209, 130, 0.65);
  background: linear-gradient(120deg, var(--accent-blue), var(--accent-green));
  box-shadow:
    0 10px 24px rgba(22, 94, 145, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.hero-beta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 14px 28px rgba(22, 94, 145, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.26) inset;
}

.hero-chips {
  margin-top: 0.42rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.hero-nav {
  margin-top: 0.95rem;
}

.hero-nav p {
  margin: 0;
  font-size: 0.79rem;
  color: rgba(227, 235, 248, 0.7);
  letter-spacing: 0.35px;
}

.hero-chips a {
  font-size: 0.8rem;
  color: rgba(244, 248, 255, 0.96);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.68rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hero-chips a:hover {
  background: rgba(115, 209, 130, 0.18);
  border-color: rgba(115, 209, 130, 0.42);
}

.grid-showcase {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.95rem;
}

.main-card {
  grid-row: span 2;
}

.glass-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--card-stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  border-radius: 22px;
  padding: 1rem;
}

.main-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

h2,
h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
}

.main-card p,
.side-card ul,
.feature p,
.cta-card p {
  color: var(--muted);
}

.main-card p {
  margin: 0.7rem 0 1rem;
  line-height: 1.5;
}

.status-pill {
  font-size: 0.8rem;
  color: #0f2a16;
  background: rgba(115, 209, 130, 0.92);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.chart {
  margin-top: 0.35rem;
  height: 120px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0.46rem;
}

.chart span {
  height: var(--h);
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(102, 179, 242, 0.92), rgba(115, 209, 130, 0.92));
  opacity: 0.96;
}

.side-card ul {
  list-style: none;
  margin: 0.72rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
  line-height: 1.42;
  font-size: 0.93rem;
}

.feature-row {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature {
  padding: 0.95rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.feature p {
  margin: 0.5rem 0 0;
  font-size: 0.91rem;
  line-height: 1.52;
}

.schema-section {
  margin-top: 1rem;
}

.schema-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.schema-card h3 {
  margin-bottom: 0.55rem;
}

.schema-card-wide {
  grid-column: 1 / -1;
}

.schema-hint {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.phone-carousel-wrap {
  position: relative;
}

.phone-carousel {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.2rem 2.8rem 0.3rem 0.2rem;
  scrollbar-width: none;
}

.phone-carousel::-webkit-scrollbar {
  display: none;
}

.phone-slide {
  margin: 0;
  flex: 0 0 min(84%, 320px);
  scroll-snap-align: start;
}

.phone-slide img,
.phone-slide svg {
  width: 100%;
  height: 420px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 10, 22, 0.52);
}

.phone-slide figcaption {
  margin-top: 0.42rem;
  font-size: 0.82rem;
  color: rgba(227, 235, 248, 0.8);
}

.slide-details {
  margin-top: 0.35rem;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.45rem 0.58rem;
}

.slide-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.36;
}

.slide-details p + p {
  margin-top: 0.2rem;
}

.carousel-edge {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 14, 30, 0), rgba(7, 14, 30, 0.95));
  border-radius: 0 14px 14px 0;
}

.carousel-dots {
  margin-top: 0.3rem;
  display: flex;
  gap: 0.35rem;
}

.carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.carousel-dots span.is-active {
  width: 18px;
  background: var(--accent-green);
}

.cycle,
.screens-section {
  margin-top: 1.7rem;
}

.cycle-visual {
  display: grid;
  gap: 0.7rem;
}

.cycle-diagram {
  margin-top: 0.15rem;
  width: 100%;
  max-width: 1040px;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 10, 22, 0.45);
}

.cycle-notes {
  display: grid;
  gap: 0.4rem;
}

.cycle-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  padding: 0.12rem 0;
}

.screen-explainers {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.screen-explainer {
  opacity: 0.62;
  transition: opacity 0.18s ease, border-color 0.18s ease;
}

.screen-explainer.is-active {
  opacity: 1;
  border-color: rgba(115, 209, 130, 0.36);
}

.screen-explainer h3 {
  margin: 0 0 0.5rem;
}

.screen-explainer ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.schema-card img {
  width: 100%;
  height: 160px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(4, 10, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-card {
  margin-top: 1.8rem;
}

.workflow,
.outputs {
  margin-top: 1.6rem;
}

.workflow-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.workflow-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.workflow-grid span {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(102, 179, 242, 0.2);
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.84rem;
}

.workflow-grid h3 {
  margin-top: 0.55rem;
  font-size: 1rem;
}

.workflow-grid p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.use-cases {
  margin-top: 1.6rem;
}

.use-cases h2,
.faq h2,
.outputs h2,
.workflow h2 {
  margin: 0;
}

.cases-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.cases-grid .glass-card {
  border-radius: 16px;
}

.usecase-ill {
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 280;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 10, 22, 0.5);
  margin-bottom: 0.6rem;
  display: block;
}

.cases-grid p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.outputs ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.outputs-compact {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.outputs-compact h2 {
  font-size: 1.08rem;
}

.outputs-compact ul {
  margin-top: 0.5rem;
  gap: 0.3rem;
}

.outputs-compact li {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  font-size: 0.86rem;
  line-height: 1.35;
}

.outputs-compact li img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.faq {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.45rem;
}

.faq details {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.65rem 0.8rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.cta-card h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.cta-form {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cta-form input {
  flex: 1 1 220px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 15, 33, 0.6);
  border-radius: 12px;
  color: var(--text);
  padding: 0.8rem 0.9rem;
  outline: none;
}

.cta-form button {
  border: none;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--accent-blue), var(--accent-green));
  color: #06211a;
  font-weight: 700;
  padding: 0.8rem 1rem;
  cursor: pointer;
}

.form-note {
  min-height: 1.2rem;
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  color: rgba(115, 209, 130, 0.92);
}

.site-footer {
  padding: 0 0 2.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(227, 235, 248, 0.64);
  font-size: 0.84rem;
}

@media (max-width: 920px) {
  .grid-showcase {
    grid-template-columns: 1fr;
  }

  .main-card {
    grid-row: auto;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .cases-grid,
  .schema-grid,
  .screen-explainers {
    grid-template-columns: 1fr;
  }

  .schema-card img {
    height: 180px;
  }

  .phone-slide {
    flex-basis: 88%;
  }

  .phone-slide img,
  .phone-slide svg {
    height: 390px;
  }

  .slide-details {
    display: block;
  }

  .screen-explainers {
    display: none;
  }

  .carousel-edge {
    width: 44px;
  }
}

@media (max-width: 600px) {
  .site-header,
  main,
  .site-footer {
    width: min(1080px, calc(100% - 1.5rem));
  }

  .site-header {
    width: 100%;
    padding: 0.68rem 0;
  }

  .site-header-inner {
    width: min(1080px, calc(100% - 1.5rem));
  }

  .lang-switch {
    display: none;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 1.2rem;
  }
}
