:root {
  --navy-950: #050a16;
  --navy-900: #081121;
  --navy-850: #0c172a;
  --navy-800: #101f35;
  --ink: #f7fbff;
  --muted: #9fb0c7;
  --soft: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #25d8ff;
  --cyan-soft: rgba(37, 216, 255, 0.14);
  --gold: #e7bd62;
  --gold-soft: rgba(231, 189, 98, 0.16);
  --white: #ffffff;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(37, 216, 255, 0.18), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(231, 189, 98, 0.12), transparent 28%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 44%, #f6f8fb 44%, #ffffff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(5, 10, 22, 0.74);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(37, 216, 255, 0.22);
  background: rgba(5, 10, 22, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(231, 189, 98, 0.48);
  border-radius: 12px;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(231, 189, 98, 0.18), rgba(37, 216, 255, 0.08));
  font-weight: 900;
  letter-spacing: 0;
}

.brand-text {
  font-weight: 900;
  font-size: 1.04rem;
  letter-spacing: 0;
}

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

.main-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(247, 251, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.header-cta {
  padding: 0 18px;
  color: #06101e;
  background: linear-gradient(135deg, var(--gold), #ffe0a0);
  box-shadow: 0 14px 34px rgba(231, 189, 98, 0.24);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
}

.section-pad {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-narrow {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 56px;
  align-items: center;
  min-height: 850px;
  padding-top: 128px;
  padding-bottom: 84px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 16%;
  bottom: 54px;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 216, 255, 0.5), transparent);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(37, 216, 255, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  color: var(--soft);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-width: 164px;
  padding: 0 24px;
  border: 1px solid transparent;
}

.btn-primary {
  color: #06101e;
  background: linear-gradient(135deg, var(--cyan), #b7f4ff);
  box-shadow: 0 18px 52px rgba(37, 216, 255, 0.22);
}

.btn-secondary {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.btn-secondary:hover {
  border-color: rgba(37, 216, 255, 0.42);
  background: rgba(37, 216, 255, 0.1);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-proof span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(247, 251, 255, 0.68);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.visual-glow {
  position: absolute;
  inset: 8% -12% 4% -4%;
  border-radius: 44px;
  background:
    radial-gradient(circle at 20% 10%, rgba(37, 216, 255, 0.32), transparent 38%),
    radial-gradient(circle at 76% 18%, rgba(231, 189, 98, 0.24), transparent 36%);
  filter: blur(6px);
  opacity: 0.9;
}

.product-frame {
  position: relative;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1100px) rotateY(-7deg) rotateX(5deg);
  animation: floatFrame 7s ease-in-out infinite;
}

.frame-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 10, 22, 0.58);
}

.frame-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.frame-top strong {
  margin-left: auto;
  color: rgba(247, 251, 255, 0.76);
  font-size: 0.8rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 86px 1fr;
  min-height: 440px;
  background: rgba(5, 10, 22, 0.78);
}

.side-panel {
  padding: 22px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  border-radius: 14px;
  color: var(--gold);
  background: rgba(231, 189, 98, 0.14);
  font-weight: 900;
}

.side-line {
  height: 9px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.side-line.active {
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(37, 216, 255, 0.52);
}

.side-line.short {
  width: 62%;
}

.dashboard {
  padding: 24px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-card,
.insight-panel,
.flow-board {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.metric-card {
  min-height: 126px;
  padding: 20px;
}

.metric-card span,
.insight-panel span {
  display: block;
  margin-bottom: 14px;
  color: rgba(247, 251, 255, 0.6);
  font-size: 0.84rem;
  font-weight: 700;
}

.metric-card strong {
  font-size: 2.2rem;
}

.metric-card.cyan {
  background: linear-gradient(150deg, rgba(37, 216, 255, 0.18), rgba(255, 255, 255, 0.05));
}

.metric-card.gold {
  background: linear-gradient(150deg, rgba(231, 189, 98, 0.2), rgba(255, 255, 255, 0.05));
}

.flow-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
}

.flow-node {
  display: grid;
  place-items: center;
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: rgba(247, 251, 255, 0.58);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  font-weight: 800;
}

.flow-node.done {
  color: var(--cyan);
  border-color: rgba(37, 216, 255, 0.28);
}

.flow-node.current {
  color: #07111d;
  background: linear-gradient(135deg, var(--gold), #ffdda0);
}

.insight-panel {
  display: grid;
  grid-template-columns: 1fr 140px;
  align-items: end;
  gap: 24px;
  margin-top: 16px;
  padding: 20px;
}

.insight-panel strong {
  font-size: 1.55rem;
}

.bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 8px;
  height: 92px;
}

.bars i {
  display: block;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--cyan), rgba(37, 216, 255, 0.16));
}

.bars i:nth-child(1) {
  height: 44%;
}

.bars i:nth-child(2) {
  height: 82%;
}

.bars i:nth-child(3) {
  height: 62%;
}

.bars i:nth-child(4) {
  height: 92%;
  background: linear-gradient(180deg, var(--gold), rgba(231, 189, 98, 0.18));
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -16px;
  margin-bottom: 90px;
}

.trust-card,
.feature-card,
.flow-card,
.integration-panel,
.demo-panel {
  border: 1px solid rgba(8, 17, 33, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 70px rgba(13, 27, 46, 0.08);
}

.trust-card {
  min-height: 214px;
  padding: 24px;
  border-radius: 24px;
}

.trust-card span {
  color: var(--gold);
  font-weight: 900;
}

.trust-card h2,
.feature-card h3,
.flow-title span,
.integration-panel h2,
.demo-panel h2,
.section-heading h2 {
  color: #07111d;
}

.trust-card h2 {
  margin: 42px 0 12px;
  font-size: 1.1rem;
}

.trust-card p,
.feature-card p,
.section-heading p,
.integration-panel p,
.demo-panel p {
  color: #607089;
  line-height: 1.65;
}

.features,
.flows,
.integration,
.demo {
  padding-top: 86px;
  padding-bottom: 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.integration-panel h2,
.demo-panel h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 250px;
  padding: 22px;
  border-radius: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 216, 255, 0.3);
  box-shadow: 0 28px 76px rgba(13, 27, 46, 0.12);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border-radius: 16px;
  color: #07111d;
  background: linear-gradient(135deg, rgba(37, 216, 255, 0.26), rgba(231, 189, 98, 0.28));
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.flow-layout {
  display: grid;
  gap: 18px;
}

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

.flow-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.flow-title span {
  font-size: 1.18rem;
  font-weight: 900;
}

.flow-title strong {
  color: #8794a7;
  font-size: 0.9rem;
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flow-steps span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(8, 17, 33, 0.1);
  border-radius: 999px;
  color: #132238;
  background: #f7f9fc;
  font-size: 0.92rem;
  font-weight: 800;
}

.flow-steps span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  width: 8px;
  height: 1px;
  background: rgba(8, 17, 33, 0.24);
}

.integration-panel {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: center;
  padding: 46px;
  border-radius: 34px;
  color: #07111d;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.92)),
    radial-gradient(circle at 90% 12%, rgba(37, 216, 255, 0.2), transparent 38%);
}

.integration-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.integration-stack span {
  display: grid;
  place-items: center;
  min-height: 86px;
  border: 1px solid rgba(8, 17, 33, 0.1);
  border-radius: 22px;
  color: #07111d;
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 18px 48px rgba(13, 27, 46, 0.08);
}

.demo {
  padding-bottom: 86px;
}

.demo-panel {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 56px 28px;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 20%, rgba(37, 216, 255, 0.24), transparent 34%),
    radial-gradient(circle at 78% 16%, rgba(231, 189, 98, 0.24), transparent 32%),
    linear-gradient(135deg, #07111d, #0d1a2d);
}

.demo-panel h2,
.demo-panel p {
  max-width: 760px;
  color: var(--white);
}

.demo-panel p {
  color: rgba(247, 251, 255, 0.72);
  font-size: 1.08rem;
}

.demo-panel .btn {
  margin-top: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  color: #607089;
}

.footer-brand .brand-text {
  color: #07111d;
}

.site-footer p {
  margin: 16px 0 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 800;
}

.footer-links a:hover {
  color: #07111d;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatFrame {
  0%,
  100% {
    transform: perspective(1100px) rotateY(-7deg) rotateX(5deg) translateY(0);
  }
  50% {
    transform: perspective(1100px) rotateY(-5deg) rotateX(4deg) translateY(-14px);
  }
}

@media (max-width: 980px) {
  body {
    background:
      radial-gradient(circle at 18% 12%, rgba(37, 216, 255, 0.16), transparent 30%),
      linear-gradient(180deg, var(--navy-950), var(--navy-900) 35%, #f6f8fb 35%, #ffffff 100%);
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-grid;
    justify-self: end;
    place-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--white);
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open {
    grid-template-columns: 1fr auto;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-cta {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.is-open .main-nav {
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }

  .site-header.is-open .main-nav a {
    text-align: center;
  }

  .site-header.is-open .header-cta {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 138px;
    gap: 34px;
  }

  .hero-visual {
    min-height: auto;
  }

  .product-frame {
    transform: none;
    animation: none;
  }

  .trust-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integration-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 20px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    font-size: 0.96rem;
  }

  .hero {
    width: min(100% - 24px, 1160px);
    padding-top: 122px;
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.9rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-proof span {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

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

  .side-panel {
    display: none;
  }

  .dashboard {
    padding: 16px;
  }

  .metric-row,
  .flow-board,
  .insight-panel {
    grid-template-columns: 1fr;
  }

  .flow-node {
    min-height: 58px;
  }

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

  .trust-grid {
    margin-bottom: 46px;
  }

  .features,
  .flows,
  .integration,
  .demo {
    width: min(100% - 24px, 1160px);
    padding-top: 56px;
  }

  .trust-card,
  .feature-card,
  .flow-card,
  .integration-panel,
  .demo-panel {
    border-radius: 22px;
  }

  .integration-panel {
    padding: 28px;
  }

  .integration-stack {
    grid-template-columns: 1fr;
  }

  .flow-title {
    display: block;
  }

  .flow-title strong {
    display: block;
    margin-top: 8px;
  }

  .flow-steps span {
    width: 100%;
    justify-content: center;
  }

  .flow-steps span:not(:last-child)::after {
    display: none;
  }

  .site-footer {
    display: block;
    width: min(100% - 24px, 1160px);
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 24px;
  }
}

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