:root {
  color-scheme: dark;
  --bg: #07111d;
  --bg-2: #0b1730;
  --surface: rgba(11, 22, 43, 0.76);
  --surface-strong: rgba(14, 26, 50, 0.95);
  --border: rgba(255, 255, 255, 0.1);
  --text: #edf4ff;
  --muted: #a5b8d3;
  --headline: #ffffff;
  --primary: #5fd3f0;
  --primary-strong: #0f67c8;
  --accent: #1f8eea;
  --brand-gray: #626262;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef4fa;
  --bg-2: #f9fcff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.97);
  --border: rgba(19, 36, 62, 0.1);
  --text: #314055;
  --muted: #697a92;
  --headline: #626262;
  --primary: #61d0ef;
  --primary-strong: #0e68c9;
  --accent: #258fe6;
  --brand-gray: #626262;
  --shadow: 0 26px 70px rgba(56, 79, 111, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(95, 211, 240, 0.18), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(15, 103, 200, 0.18), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, #040913 100%);
  color: var(--text);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 15% 10%, rgba(95, 211, 240, 0.18), transparent 24%),
    radial-gradient(circle at 84% 8%, rgba(14, 104, 201, 0.14), transparent 22%),
    linear-gradient(180deg, var(--bg-2) 0%, #edf3f9 100%);
}

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

.site-shell {
  position: relative;
  overflow: clip;
}

.ambient {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(88px);
  opacity: 0.24;
  pointer-events: none;
}

.ambient-one {
  width: 26rem;
  height: 26rem;
  top: 7rem;
  right: -8rem;
  background: var(--primary);
}

.ambient-two {
  width: 24rem;
  height: 24rem;
  top: 32rem;
  left: -10rem;
  background: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  background: rgba(7, 16, 29, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .site-header {
  background: rgba(238, 244, 251, 0.72);
  border-bottom-color: rgba(19, 36, 62, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.brand-logo {
  width: min(300px, 34vw);
  height: auto;
  display: block;
}

.theme-logo {
  display: inline-block;
  line-height: 0;
}

.brand-logo-light,
.brand-logo-dark {
  display: none;
}

html[data-theme="light"] .brand-logo-light {
  display: block;
}

html:not([data-theme="light"]) .brand-logo-dark {
  display: block;
}

.theme-logo-header .brand-logo {
  width: clamp(124px, 10vw, 148px);
}

.footer-logo {
  width: min(240px, 40vw);
  margin-bottom: 1rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-panel a,
.theme-toggle {
  color: var(--muted);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.nav-panel a:hover,
.theme-toggle:hover {
  transform: translateY(-1px);
  color: var(--headline);
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .nav-panel a:hover,
html[data-theme="light"] .theme-toggle:hover {
  background: rgba(19, 36, 62, 0.06);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0.72rem;
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(95, 211, 240, 0.22), rgba(14, 104, 201, 0.22));
  color: var(--headline);
  font-size: 0.9rem;
}

html[data-theme="light"] .theme-toggle-icon {
  color: var(--brand-gray);
}

.nav-toggle {
  border: 0;
  background: transparent;
  padding: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  border-radius: 999px;
  background: var(--headline);
}

.hero-section,
.content-section {
  position: relative;
  padding: 2rem 0 4.5rem;
}

.hero-section {
  padding-top: 3.6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title,
.section-title,
.footer-heading,
.feature-card h3,
.reason-card h3,
.about-grid h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--headline);
  letter-spacing: -0.05em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-title {
  max-width: 10ch;
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.93;
}

.section-title {
  max-width: 13ch;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
}

.section-title-wide {
  max-width: 100%;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
}

.centered-title {
  margin-inline: auto;
}

.hero-text,
.section-copy,
.feature-card p,
.benefit-card p,
.about-grid p,
.trust-copy,
.contact-points,
.footer-copy,
.site-footer a,
.site-footer span,
.contact-form p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #04131b;
  box-shadow: 0 18px 36px rgba(53, 208, 186, 0.24);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--headline);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.25rem;
  width: 100%;
}

.hero-stats article {
  min-width: 0;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats strong {
  display: block;
  color: var(--headline);
  font-size: 1.45rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  transform: translateY(-1.75rem);
}

.hero-shell {
  align-items: start;
}

.hero-window {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(9, 16, 31, 0.94), rgba(7, 12, 24, 0.88));
}

html[data-theme="light"] .hero-window {
  background: linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(239, 245, 252, 0.92));
}

.hero-window-bar {
  display: flex;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-window-bar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hero-dashboard {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 370px;
}

.dashboard-sidebar {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-sidebar span {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(95, 211, 240, 0.14), rgba(14, 104, 201, 0.14));
  padding: 0.8rem;
  color: var(--text);
}

.dashboard-main {
  padding: 1.2rem;
}

.dashboard-metric {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(53, 208, 186, 0.16), rgba(124, 157, 255, 0.14));
}

.dashboard-metric small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dashboard-metric strong {
  font-size: 2rem;
  color: var(--headline);
}

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

.dashboard-grid div,
.signal-card {
  min-height: 92px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(95, 211, 240, 0.18), rgba(14, 104, 201, 0.14));
}

.dashboard-chart {
  height: 170px;
  margin-top: 1rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, transparent, rgba(53, 208, 186, 0.18)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  position: relative;
  overflow: hidden;
}

.dashboard-chart::after {
  content: "";
  position: absolute;
  inset: auto 0 20px 0;
  height: 70px;
  background: linear-gradient(90deg, transparent 0%, rgba(95, 211, 240, 0.62) 18%, rgba(14, 104, 201, 0.9) 54%, transparent 100%);
  clip-path: polygon(0 76%, 18% 56%, 30% 66%, 45% 40%, 62% 48%, 77% 18%, 100% 4%, 100% 100%, 0 100%);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.92rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--headline);
  font-size: 0.92rem;
}

.trust-strip {
  padding: 0 0 2rem;
}

.trust-panel {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

html[data-theme="light"] .trust-panel {
  border-color: rgba(19, 36, 62, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(56, 79, 111, 0.12);
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-grid,
.benefit-grid,
.reason-grid,
.about-grid {
  display: grid;
  gap: 1.2rem;
}

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

.feature-card,
.benefit-card,
.reason-card,
.about-grid article,
.form-card {
  padding: 1.4rem;
}

.feature-card {
  min-height: 240px;
}

.feature-icon,
.benefit-number {
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(95, 211, 240, 0.26), rgba(14, 104, 201, 0.26));
  margin-bottom: 1rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.feature-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: #f8fbff;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reason-grid,
.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intelligence-visual {
  padding: 1.5rem;
}

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

.signal-card {
  padding: 1rem;
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.signal-card p {
  margin: 0 0 0.55rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-card h3 {
  margin: 0 0 0.5rem;
  color: var(--headline);
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.signal-card span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.assistant-card {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(95, 211, 240, 0.06));
}

.assistant-card p {
  margin: 0 0 0.5rem;
  color: var(--primary-strong);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.assistant-card strong {
  color: var(--headline);
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
}

.analytics-panel {
  padding: 1.6rem;
}

.analytics-bars {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  margin-top: 2rem;
  min-height: 180px;
}

.analytics-bars span {
  display: block;
  flex: 1;
  height: var(--bar);
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, var(--primary), rgba(14, 104, 201, 0.5));
}

.contact-points {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  color: var(--headline);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.95rem 1rem;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(127, 243, 216, 0.6);
  box-shadow: 0 0 0 4px rgba(127, 243, 216, 0.12);
}

.contact-form small {
  color: #fda4af;
}

.form-alert {
  margin-bottom: 1rem;
  border-radius: 18px;
  padding: 0.9rem 1rem;
}

.form-alert.success {
  background: rgba(22, 163, 74, 0.15);
  color: #bbf7d0;
}

.form-alert.error {
  background: rgba(190, 24, 93, 0.18);
  color: #fecdd3;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 0.7rem;
}

.reveal-up,
.reveal-scale,
.reveal-left,
.reveal-right,
.reveal-text,
.split-lines .line {
  opacity: 0;
}

.split-lines .line {
  display: block;
  overflow: hidden;
}

.split-lines .line > span {
  display: block;
  transform: translateY(112%);
}

.text-center .split-lines .line {
  display: flex;
  justify-content: center;
}

.text-center .split-lines .line > span {
  text-align: center;
}

@media (max-width: 1024px) {
  .feature-grid,
  .reason-grid,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-title,
  .section-title {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nav-panel {
    position: fixed;
    top: 84px;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 24px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-dashboard,
  .field-grid,
  .benefit-grid,
  .feature-grid,
  .reason-grid,
  .about-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
  }

  .brand-logo {
    width: min(220px, 48vw);
  }

  .theme-logo-header .brand-logo {
    width: min(132px, 30vw);
  }

  .hero-visual {
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}
