﻿:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-soft: #f0f5ff;
  --text: #1d2b45;
  --muted: #5f6f8e;
  --primary: #315efb;
  --primary-2: #14b8a6;
  --border: #dbe4f3;
  --shadow: 0 18px 38px rgba(49, 94, 251, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #d7e2ff, transparent 34%), var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 80% 0%, rgba(20, 184, 166, 0.14), transparent 28%);
}

.container { width: min(1140px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 248, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.92rem 0;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0 0 1rem;
  line-height: 1.15;
  text-wrap: balance;
}

h1, h2 {
  font-family: "Space Grotesk", sans-serif;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }

p { margin: 0 0 1rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f8e87;
}

.btn {
  border: none;
  border-radius: 12px;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #4b79ff);
  box-shadow: var(--shadow);
}

.btn-sm { padding: 0.56rem 0.95rem; }

.btn-ghost {
  background: #eef3ff;
  color: var(--primary);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
  padding: 4.8rem 0 2.5rem;
}

.hero-unique .hero-copy,
.hero-preview,
.card,
.price-card,
.cta,
.dashboard-shell,
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-unique .hero-copy {
  padding: 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-preview {
  padding: 1.2rem;
}

.preview-kpis {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.preview-kpis div {
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
}

.preview-kpis span { display: block; font-size: 0.8rem; color: var(--muted); }
.preview-kpis strong { color: var(--text); font-size: 1.1rem; }

.preview-track p {
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.progress {
  height: 9px;
  border-radius: 999px;
  background: #dfe6f6;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.page-hero {
  padding: 4rem 0 1.4rem;
}

.section {
  padding: 1.2rem 0 2rem;
}

.section-head {
  margin-bottom: 1rem;
  max-width: 740px;
}

.feature-grid,
.pricing-grid,
.testimonial-grid,
.two-col-grid,
.bento-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid { grid-template-columns: repeat(3, 1fr); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.two-col-grid { grid-template-columns: repeat(2, 1fr); }

.card,
.price-card,
.table-wrap {
  padding: 1.15rem;
}

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

.bento-large {
  grid-column: span 2;
  background: linear-gradient(140deg, #eff4ff, #e7fffb);
}

.price { font-size: 2rem; font-weight: 800; color: var(--text); }
.price span { font-size: 0.92rem; color: var(--muted); }

.price-card ul { margin: 0 0 1rem; padding-left: 1rem; }
.price-card li { margin-bottom: 0.4rem; color: var(--muted); }

.featured {
  border: 1px solid #98ace8;
  transform: translateY(-5px);
}

.badge {
  display: inline-flex;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  background: #e9f3ff;
  color: #2d5cd6;
  border: 1px solid #c8dafd;
  font-size: 0.78rem;
  font-weight: 700;
}

.faq-list { display: grid; gap: 0.75rem; }
summary { cursor: pointer; font-weight: 600; color: var(--text); }

.cta {
  margin: 1.5rem auto 2.7rem;
  padding: 1.35rem;
}

.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-form { display: grid; gap: 0.8rem; }
label { font-weight: 600; color: #2c3d5d; font-size: 0.92rem; }

input,
textarea,
select {
  width: 100%;
  margin-top: 0.34rem;
  padding: 0.64rem;
  border-radius: 10px;
  border: 1px solid #d3deef;
  background: #fcfdff;
  color: var(--text);
  font: inherit;
}

textarea { resize: vertical; }

.dashboard-shell { padding: 1rem; }
.dashboard-grid { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; }
.sidebar { border-right: 1px solid var(--border); padding-right: 1rem; }
.sidebar a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 0.6rem; }
.sidebar a.active, .sidebar a:hover { color: var(--primary); }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.kpi {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  background: #f7faff;
}

.kpi span { display: block; color: var(--muted); font-size: 0.85rem; }
.kpi strong { display: block; color: var(--text); font-size: 1.12rem; }

.table-wrap { overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 0.6rem;
  border-bottom: 1px solid #e4ecfa;
  color: var(--muted);
}
.table-wrap th { color: var(--text); }

.dashboard-grid > *,
.kpi-grid > *,
.table-wrap {
  min-width: 0;
}

.site-footer {
  border-top: 1px solid #d8e2f4;
  margin-top: 2rem;
}

.footer-row {
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-row a { color: var(--primary); text-decoration: none; }

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

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

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .pricing-grid,
  .testimonial-grid,
  .two-col-grid,
  .dashboard-grid,
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .dashboard-grid,
  .cta-inline {
    grid-template-columns: 1fr;
    display: grid;
  }

  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 0.8rem; }
  .bento-large { grid-column: span 2; }
}

@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .btn-sm { display: none; }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem;
    background: #f7f9ff;
  }

  .nav-links a {
    display: block;
    padding: 0.28rem 0;
  }

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

  .hero,
  .feature-grid,
  .pricing-grid,
  .testimonial-grid,
  .two-col-grid,
  .kpi-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large { grid-column: auto; }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 5rem;
  }

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

  .table-wrap thead {
    display: none;
  }

  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap td {
    display: block;
    width: 100%;
  }

  .table-wrap tr {
    border: 1px solid #dce6f8;
    border-radius: 10px;
    padding: 0.44rem 0.62rem;
    margin-bottom: 0.65rem;
    background: #f7faff;
  }

  .table-wrap td {
    border-bottom: none;
    padding: 0.22rem 0;
    font-size: 0.92rem;
  }

  .table-wrap td::before {
    content: attr(data-label) ": ";
    color: var(--text);
    font-weight: 600;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
