:root {
  --bg: #091116;
  --bg-elevated: #0f1820;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f8fb;
  --muted: #aeb8c3;
  --heading: #ffffff;
  --accent: #56c39b;
  --accent-strong: #39ae84;
  --accent-soft: rgba(86, 195, 155, 0.14);
  --warning: #f7a94b;
  --shadow-xl: 0 28px 80px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.24);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(86, 195, 155, 0.2), transparent 24%),
    radial-gradient(circle at 90% 20%, rgba(86, 195, 155, 0.08), transparent 18%),
    linear-gradient(180deg, #081016 0%, #0a1218 50%, #091015 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section { padding: 104px 0; position: relative; }
.section-tight { padding: 20px 0 0; }
.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.012));
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 17, 22, 0.72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-row {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand-logo { height: 38px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.nav-login {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-login:hover,
.nav-login:focus-visible {
  color: var(--text);
}

.nav a {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible { color: var(--text); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(86, 195, 155, 0.18);
  background: rgba(86, 195, 155, 0.09);
  border-radius: 999px;
  color: #9de0c4;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero {
  padding-top: 74px;
}

.hero-centered {
  display: grid;
  gap: 34px;
}

.hero-copy h1,
.section-head h2,
.feature-copy h2,
.workflow-panel h2,
.pricing-copy h2,
.cta-card h2 {
  margin: 18px 0 0;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--heading);
}

.hero-copy h1 {
  font-size: clamp(3rem, 6.4vw, 5.4rem);
}

.hero-copy-centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy-centered .eyebrow {
  margin-inline: auto;
}

.hero-lead,
.section-head p,
.feature-copy p,
.pricing-copy p,
.cta-card p,
.workflow-panel > p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
}

.hero-lead {
  margin-top: 20px;
  max-width: 60ch;
}

.hero-copy-centered .hero-lead {
  margin-inline: auto;
}

.hero-actions,
.pricing-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions-centered,
.hero-metrics-centered {
  justify-content: center;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #79e0ba);
  color: #072017;
  box-shadow: 0 18px 36px rgba(86, 195, 155, 0.22);
}

.btn-secondary,
.btn-nav {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text) !important;
}

.btn-nav-primary {
  background: linear-gradient(135deg, var(--accent), #79e0ba);
  color: #072017 !important;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(86, 195, 155, 0.18);
}

.btn-block { width: 100%; }

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.metric-pill {
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow-md);
}

.metric-pill strong {
  display: block;
  font-size: 1rem;
  color: var(--heading);
}

.metric-pill span {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-visual-centered {
  min-height: auto;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-top: 18px;
}

.visual-frame,
.product-card,
.feature-card,
.stack-card,
.pricing-card,
.faq-item,
.cta-card,
.proof-grid article,
.workflow-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
}

.visual-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.visual-frame-large {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 34px;
}

.frame-toolbar {
  min-height: 64px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.toolbar-dots {
  display: flex;
  gap: 7px;
}

.toolbar-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
}

.toolbar-title {
  font-size: 0.92rem;
  color: var(--muted);
}

.dashboard-shot {
  width: 100%;
  height: auto;
  border-radius: 0 0 28px 28px;
}

.floating-card {
  position: absolute;
  max-width: 260px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 18, 24, 0.9);
  box-shadow: var(--shadow-md);
}

.floating-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
}

.floating-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.floating-card-top {
  top: 28px;
  right: -24px;
}

.floating-card-bottom {
  left: -24px;
  bottom: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #a8e8cf;
  font-size: 0.78rem;
  font-weight: 700;
}

.chip-alt {
  background: rgba(247, 169, 75, 0.14);
  color: #ffd29b;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: rgba(86, 195, 155, 0.24);
  top: 40px;
  left: -100px;
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: rgba(86, 195, 155, 0.16);
  right: -90px;
  top: 220px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proof-grid article,
.product-card,
.feature-card,
.stack-card,
.faq-item {
  border-radius: 22px;
  padding: 24px;
}

.proof-grid strong,
.product-card h3,
.feature-card h3,
.timeline-item h3,
.stack-head strong,
.pricing-card h3,
.cta-card h2 {
  margin: 0;
}

.proof-grid p,
.product-card p,
.feature-card p,
.stack-card p,
.pricing-top p,
.faq-answer p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  max-width: 760px;
  text-align: center;
  margin-bottom: 44px;
}

.section-head .eyebrow { margin-inline: auto; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(86, 195, 155, 0.12);
  border: 1px solid rgba(86, 195, 155, 0.16);
  color: #a8e8cf;
  font-weight: 800;
}

.product-card h3 { margin-top: 18px; font-size: 1.18rem; }

.feature-layout {
  display: grid;
  gap: 34px;
}

.feature-copy {
  max-width: 720px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card h3 { font-size: 1.1rem; }

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}

.workflow-panel {
  border-radius: 28px;
  padding: 30px;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.timeline-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline-item span {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 800;
  color: #ffffff;
}

.timeline-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.workflow-stack {
  display: grid;
  gap: 18px;
}

.stack-card {
  border-radius: 24px;
}

.stack-card-main {
  padding-bottom: 28px;
}

.stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stack-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.stack-list li {
  color: var(--muted);
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  line-height: 1.65;
}

.stack-list span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #78ddba);
  margin-top: 7px;
}

.pricing-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
}

.pricing-card {
  border-radius: 28px;
  padding: 28px;
}

.pricing-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.currency-switcher {
  display: inline-flex;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

.currency-btn {
  min-width: 58px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.currency-btn.is-active {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.price-row {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 24px;
}

.price {
  font-size: clamp(3rem, 8vw, 4.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.price-note {
  color: var(--muted);
  padding-bottom: 10px;
}

.pricing-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.pricing-list div {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  color: #dbe5ec;
  line-height: 1.65;
}

.pricing-list span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #75dbb7);
  margin-top: 6px;
}

.faq-grid {
  display: grid;
  gap: 18px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--muted);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer > p {
  overflow: hidden;
}

.faq-answer.is-open {
  grid-template-rows: 1fr;
}

.cta-section {
  padding-top: 26px;
}

.cta-card {
  border-radius: 32px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-footer {
  padding: 28px 0 44px;
}

.footer-row {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
}

.footer-logo {
  height: 30px;
  width: auto;
}

.footer-brand p {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover { color: var(--text); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay { transition-delay: 0.08s; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.18s; }

@media (max-width: 1100px) {
  .hero-grid,
  .pricing-wrap,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 24px;
  }

  .floating-card-top { right: 16px; top: -12px; }
  .floating-card-bottom { left: 16px; bottom: 16px; }
}

@media (max-width: 920px) {
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(12, 20, 27, 0.96);
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open { display: flex; }
  .menu-toggle { display: inline-flex; }

  .product-grid,
  .feature-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .cta-card,
  .footer-row,
  .pricing-top {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .section { padding: 78px 0; }
  .nav-row { min-height: 72px; }
  .brand-logo { height: 34px; }
  .hero { padding-top: 46px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .hero-lead,
  .section-head p,
  .feature-copy p,
  .pricing-copy p,
  .cta-card p,
  .workflow-panel > p,
  .product-card p,
  .feature-card p,
  .stack-card p,
  .faq-answer p,
  .timeline-item p { font-size: 0.98rem; }

  .workflow-panel,
  .pricing-card,
  .cta-card,
  .proof-grid article,
  .product-card,
  .feature-card,
  .stack-card,
  .faq-item { padding: 22px; }

  .hero-metrics { gap: 10px; }
  .metric-pill { min-width: calc(50% - 5px); }
  .floating-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-visual {
    display: grid;
    gap: 14px;
  }

  .visual-frame { order: 1; }
  .floating-card-top { order: 2; }
  .floating-card-bottom { order: 3; }

  .timeline-item {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .timeline-item span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .metric-pill { padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .btn,
  .faq-answer { transition: none !important; }
}


@media (max-width: 1080px) {
  .nav-row {
    grid-template-columns: auto 1fr auto;
  }

  .nav-actions {
    display: none;
  }

  .nav {
    justify-content: flex-end;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .floating-card-top {
    right: 18px;
  }

  .floating-card-bottom {
    left: 18px;
  }
}

@media (max-width: 860px) {
  .nav-row {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 82px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(9, 17, 22, 0.96);
    box-shadow: var(--shadow-xl);
  }

  .nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
    max-width: 11ch;
    margin-inline: auto;
  }

  .hero-visual-centered {
    padding-top: 6px;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    background: rgba(9, 17, 22, 0.88);
  }

  .brand-logo {
    height: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.1rem);
    line-height: 1.02;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .metric-pill {
    min-width: calc(50% - 8px);
    flex: 1 1 150px;
  }

  .visual-frame-large {
    border-radius: 24px;
  }

  .frame-toolbar {
    min-height: 56px;
    padding: 0 14px;
  }

  .dashboard-shot {
    border-radius: 0 0 24px 24px;
  }
}
