/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: #07111f;
  color: #f8fafc;

  line-height: 1.6;
}

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

button {
  font: inherit;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {
  --background: #07111f;
  --background-soft: #0b1728;
  --surface: #101e31;
  --surface-light: #15263d;

  --border: rgba(255, 255, 255, 0.08);

  --text: #f8fafc;
  --muted: #94a3b8;

  --primary: #3b82f6;
  --primary-dark: #2563eb;

  --accent: #60a5fa;

  --green: #34d399;
}


/* =========================================================
   GLOBAL
========================================================= */

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

.narrow {
  width: min(980px, calc(100% - 40px));
}

.section {
  padding: 120px 0;
}

.centered {
  text-align: center;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 10px;

  font-weight: 700;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: #dbeafe;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost {
  color: #cbd5e1;
}

.btn-ghost:hover {
  color: white;
}

.btn-small {
  padding: 9px 16px;
  font-size: 14px;
}

.btn-large {
  padding: 15px 23px;
  font-size: 16px;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
  position: relative;
  z-index: 20;

  border-bottom: 1px solid var(--border);

  background: rgba(7, 17, 31, 0.8);

  backdrop-filter: blur(16px);
}

.navbar-inner {
  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 19px;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  place-items: center;

  width: 32px;
  height: 32px;

  border-radius: 9px;

  background: linear-gradient(
    135deg,
    #60a5fa,
    #2563eb
  );

  color: white;
}

.desktop-nav {
  display: flex;
  gap: 30px;

  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a:hover {
  color: white;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .btn-secondary {
  padding: 8px 14px;
  font-size: 14px;
}

.mobile-menu-button {
  display: none;

  border: 0;
  background: transparent;
  color: white;

  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  overflow: hidden;

  padding: 110px 0 100px;

  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(59, 130, 246, 0.18),
      transparent 35%
    ),
    radial-gradient(
      circle at 20% 40%,
      rgba(37, 99, 235, 0.08),
      transparent 30%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;

  align-items: center;

  gap: 70px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--accent);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.14em;
}

.hero h1 {
  max-width: 700px;

  font-size: clamp(42px, 5vw, 68px);

  line-height: 1.04;

  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;

  background:
    linear-gradient(
      90deg,
      #60a5fa,
      #3b82f6
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.hero-text {
  max-width: 610px;

  margin-top: 25px;

  color: var(--muted);

  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 35px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;

  margin-top: 24px;

  color: #64748b;

  font-size: 12px;
}


/* =========================================================
   DASHBOARD MOCKUP
========================================================= */

.hero-visual {
  position: relative;
}

.dashboard-window {
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 18px;

  background: #0c1829;

  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(59, 130, 246, 0.1);

  transform: perspective(1200px) rotateY(-4deg);
}

.window-header {
  height: 45px;

  display: flex;
  align-items: center;

  padding: 0 16px;

  border-bottom: 1px solid var(--border);

  background: #0a1524;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #334155;
}

.window-title {
  flex: 1;

  text-align: center;

  color: #64748b;

  font-size: 11px;
}

.dashboard-content {
  padding: 20px;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 20px;
}

.dashboard-top small {
  display: block;

  color: #64748b;

  font-size: 10px;
}

.dashboard-top strong {
  display: block;

  margin-top: 2px;

  font-size: 14px;
}

.avatar {
  display: grid;
  place-items: center;

  width: 32px;
  height: 32px;

  border-radius: 50%;

  background: #1d4ed8;

  font-size: 12px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 10px;
}

.stat-card {
  padding: 14px;

  border: 1px solid var(--border);

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.025);
}

.stat-card span,
.stat-card small {
  display: block;

  color: #64748b;

  font-size: 9px;
}

.stat-card strong {
  display: block;

  margin: 3px 0;

  font-size: 22px;
}

.stat-card .positive {
  color: var(--green);
}

.dashboard-list {
  margin-top: 18px;

  padding: 15px;

  border: 1px solid var(--border);

  border-radius: 11px;
}

.list-header {
  display: flex;
  justify-content: space-between;

  margin-bottom: 12px;

  font-size: 11px;
}

.list-header span {
  color: var(--accent);
}

.lesson {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 11px 0;

  border-top: 1px solid var(--border);
}

.lesson-icon {
  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;

  border-radius: 8px;

  font-size: 15px;
}

.lesson-icon.blue {
  background: rgba(59, 130, 246, 0.15);
}

.lesson-icon.purple {
  background: rgba(139, 92, 246, 0.15);
}

.lesson > div:nth-child(2) {
  flex: 1;
}

.lesson strong {
  display: block;

  font-size: 11px;
}

.lesson small {
  color: #64748b;

  font-size: 9px;
}

.status {
  padding: 4px 7px;

  border-radius: 5px;

  background: rgba(245, 158, 11, 0.1);

  color: #fbbf24;

  font-size: 8px;
}

.status.open {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
}


/* =========================================================
   TRUST
========================================================= */

.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.015);
}

.trust-inner {
  min-height: 85px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  color: #64748b;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.1em;
}

.trust-items {
  display: flex;
  align-items: center;
  gap: 18px;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
  max-width: 720px;

  margin-bottom: 60px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);

  line-height: 1.1;

  letter-spacing: -0.035em;
}

.section-heading p {
  margin-top: 18px;

  color: var(--muted);

  font-size: 17px;
}


/* =========================================================
   PROBLEM
========================================================= */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.problem-card {
  padding: 28px;

  border: 1px solid var(--border);

  border-radius: 14px;

  background: var(--surface);
}

.problem-icon {
  margin-bottom: 22px;

  font-size: 25px;
}

.problem-card h3 {
  font-size: 18px;
}

.problem-card p {
  margin-top: 10px;

  color: var(--muted);

  font-size: 14px;
}


/* =========================================================
   DARK FEATURES
========================================================= */

.section-dark {
  background: #050d18;

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 16px;
}

.feature-card {
  position: relative;

  min-height: 250px;

  padding: 28px;

  border: 1px solid var(--border);

  border-radius: 15px;

  background: #0a1524;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);

  border-color: rgba(59, 130, 246, 0.35);
}

.feature-card.featured {
  background:
    linear-gradient(
      145deg,
      rgba(37, 99, 235, 0.16),
      #0a1524
    );
}

.feature-number {
  position: absolute;

  top: 22px;
  right: 24px;

  color: #334155;

  font-size: 11px;
  font-weight: 800;
}

.feature-icon {
  margin-bottom: 25px;

  font-size: 25px;
}

.feature-card h3 {
  font-size: 20px;
}

.feature-card p {
  margin-top: 10px;

  color: var(--muted);

  font-size: 14px;
}


/* =========================================================
   STEPS
========================================================= */

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;

  align-items: start;

  gap: 30px;
}

.step {
  text-align: center;
}

.step-number {
  display: grid;
  place-items: center;

  width: 52px;
  height: 52px;

  margin: 0 auto 20px;

  border-radius: 50%;

  background: rgba(59, 130, 246, 0.12);

  border: 1px solid rgba(59, 130, 246, 0.25);

  color: var(--accent);

  font-weight: 800;
}

.step h3 {
  font-size: 18px;
}

.step p {
  max-width: 250px;

  margin: 10px auto 0;

  color: var(--muted);

  font-size: 14px;
}

.step-line {
  width: 70px;

  height: 1px;

  margin-top: 26px;

  background: var(--border);
}


/* =========================================================
   VALUE
========================================================= */

.value-section {
  padding: 110px 0;

  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(37, 99, 235, 0.12),
      transparent 40%
    );
}

.value-box {
  max-width: 800px;

  margin: auto;

  padding: 70px 50px;

  text-align: center;

  border: 1px solid rgba(59, 130, 246, 0.2);

  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(59, 130, 246, 0.08),
      rgba(255, 255, 255, 0.015)
    );
}

.value-box h2 {
  font-size: clamp(32px, 4vw, 46px);

  line-height: 1.1;

  letter-spacing: -0.03em;
}

.value-box p {
  max-width: 600px;

  margin: 20px auto 0;

  color: var(--muted);
}

.value-highlight {
  margin-top: 28px;

  color: white;

  font-size: 20px;
  font-weight: 800;
}

.value-highlight span {
  color: var(--accent);
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
  padding: 100px 0;
}

.cta-box {
  position: relative;

  overflow: hidden;

  padding: 80px 30px;

  text-align: center;

  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      #1d4ed8,
      #2563eb 50%,
      #1e40af
    );

  box-shadow:
    0 30px 80px rgba(37, 99, 235, 0.2);
}

.cta-box::before {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  top: -250px;
  right: -100px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);
}

.cta-box .eyebrow {
  color: #bfdbfe;
}

.cta-box h2 {
  position: relative;

  font-size: clamp(34px, 5vw, 52px);

  line-height: 1.05;

  letter-spacing: -0.04em;
}

.cta-box p {
  position: relative;

  max-width: 500px;

  margin: 18px auto 30px;

  color: #dbeafe;
}

.cta-box .btn-primary {
  position: relative;

  background: white;

  color: #1d4ed8;

  box-shadow: none;
}

.cta-box .btn-primary:hover {
  background: #eff6ff;
}

.cta-box small {
  position: relative;

  display: block;

  margin-top: 16px;

  color: #bfdbfe;

  font-size: 11px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding: 60px 0 25px;

  border-top: 1px solid var(--border);

  background: #050c16;
}

.footer-inner {
  display: flex;

  justify-content: space-between;

  gap: 50px;
}

.footer p {
  max-width: 250px;

  margin-top: 12px;

  color: #64748b;

  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;

  align-content: flex-start;

  justify-content: flex-end;

  gap: 18px 25px;

  color: #94a3b8;

  font-size: 13px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;

  border-top: 1px solid var(--border);

  color: #475569;

  font-size: 11px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

  .desktop-nav {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-menu {
    display: none;

    padding: 20px;

    border-top: 1px solid var(--border);

    background: #07111f;
  }

  .mobile-menu.open {
    display: flex;

    flex-direction: column;

    gap: 14px;
  }

  .mobile-menu a {
    padding: 10px 0;

    color: #cbd5e1;
  }

  .mobile-menu .btn-primary,
  .mobile-menu .btn-secondary {
    padding: 12px;

    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-visual {
    max-width: 650px;

    margin: auto;
  }

  .dashboard-window {
    transform: none;
  }

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

  .steps {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .step-line {
    width: 1px;
    height: 35px;

    margin: 0 auto;
  }

  .trust-inner {
    flex-direction: column;

    justify-content: center;

    padding: 25px 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* =========================================================
   LEGAL PAGES
========================================================= */

.legal-page {
  padding: 80px 0 110px;
}

.legal-container {
  width: min(820px, calc(100% - 40px));
}

.back-link {
  display: inline-block;

  margin-bottom: 45px;

  color: #60a5fa;

  font-size: 13px;
  font-weight: 600;
}

.back-link:hover {
  color: #93c5fd;
}

.legal-container h1 {
  font-size: clamp(38px, 5vw, 54px);

  line-height: 1.05;

  letter-spacing: -0.04em;
}

.legal-intro {
  max-width: 650px;

  margin-top: 18px;

  color: #94a3b8;

  font-size: 17px;
}

.legal-updated {
  margin-top: 15px;

  color: #64748b;

  font-size: 12px;
}

.legal-section {
  margin-top: 55px;

  padding-top: 35px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section h2 {
  margin-bottom: 16px;

  color: #f8fafc;

  font-size: 21px;

  line-height: 1.3;
}

.legal-section p {
  margin-top: 12px;

  color: #94a3b8;

  font-size: 15px;

  line-height: 1.8;
}

.legal-section ul {
  margin-top: 15px;
  padding-left: 22px;

  color: #94a3b8;

  font-size: 15px;

  line-height: 1.8;
}

.legal-section li {
  margin-bottom: 5px;
}

.legal-placeholder {
  padding: 15px 18px;

  border-left: 3px solid #f59e0b;

  background: rgba(245, 158, 11, 0.06);

  color: #fbbf24 !important;

  font-size: 13px !important;
}

@media (max-width: 600px) {

  .legal-page {
    padding: 55px 0 80px;
  }

  .legal-container {
    width: min(100% - 28px, 820px);
  }

  .legal-section {
    margin-top: 40px;
    padding-top: 28px;
  }

  .legal-section h2 {
    font-size: 19px;
  }

  .legal-section p,
  .legal-section ul {
    font-size: 14px;
  }

}



@media (max-width: 600px) {

  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 65px 0 75px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-note {
    flex-direction: column;

    gap: 4px;
  }

  .hero-note span {
    display: none;
  }

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

  .problem-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .trust-items {
    flex-wrap: wrap;

    justify-content: center;

    gap: 8px 12px;

    text-align: center;
  }

  .value-box {
    padding: 50px 25px;
  }

  .cta-box {
    padding: 60px 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

}
