:root {
  --navy-950: #06152f;
  --navy-900: #091e42;
  --navy-800: #172b4d;
  --slate-700: #344563;
  --slate-600: #505f79;
  --slate-400: #8993a4;
  --slate-200: #dfe1e6;
  --slate-100: #f4f5f7;
  --white: #ffffff;
  --blue-600: #0052cc;
  --blue-700: #0747a6;
  --blue-100: #deebff;
  --green-700: #006644;
  --green-600: #00875a;
  --green-100: #e3fcef;
  --amber-100: #fffae6;
  --amber-700: #974f0c;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(9, 30, 66, 0.08);
  --shadow-md: 0 10px 30px rgba(9, 30, 66, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: var(--navy-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy-900);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue-600), var(--green-600));
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--slate-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.28);
}

.btn-primary:hover {
  background: var(--blue-700);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-outline {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-200);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 80% 10%, #153c7a 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: var(--white);
  padding: 84px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pill-green {
  background: rgba(0, 135, 90, 0.22);
  color: #79f2c0;
  border: 1px solid rgba(121, 242, 192, 0.35);
}

.pill-blue {
  background: rgba(0, 82, 204, 0.28);
  color: #b3d4ff;
  border: 1px solid rgba(179, 212, 255, 0.32);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.125rem;
  color: #d3e0f7;
  margin: 0 0 28px;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.875rem;
  color: #a5badc;
}

/* Mockup Preview Card */
.hero-card {
  background: var(--white);
  color: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.mini-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.mini-kpi {
  background: var(--slate-100);
  border-radius: 10px;
  padding: 12px 14px;
}

.mini-kpi.green {
  background: var(--green-100);
  color: var(--green-700);
}

.mini-kpi.amber {
  background: var(--amber-100);
  color: var(--amber-700);
}

.mini-kpi-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.mini-kpi-val {
  font-size: 1.45rem;
  font-weight: 800;
  margin-top: 2px;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.mini-table th,
.mini-table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--slate-200);
}

.mini-table th {
  color: var(--slate-600);
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.tag-red {
  background: #ffebe6;
  color: #bf2600;
}

.tag-blue {
  background: var(--blue-100);
  color: var(--blue-700);
}

/* Trust Strip */
.trust-strip {
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  padding: 20px 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--slate-100);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  color: var(--navy-900);
}

.section-heading p {
  margin: 0;
  color: var(--slate-600);
  font-size: 1.05rem;
}

/* Calculator */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.calc-field {
  margin-bottom: 22px;
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--blue-600);
}

.calc-field select,
.calc-field input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.calc-results {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.calc-big-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #79f2c0;
  line-height: 1.1;
}

.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
}

.calc-metric-label {
  font-size: 0.78rem;
  color: #a5badc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calc-metric-val {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2px;
}

.calc-note {
  font-size: 0.84rem;
  color: #c1d5f4;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  border-radius: 8px;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--navy-900);
}

.card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 800;
  margin-bottom: 14px;
}

/* Pricing */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
}

.pricing-table th {
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-highlight {
  background: var(--green-100);
  font-weight: 700;
  color: var(--green-700);
}

/* Legal pages */
.legal-page {
  padding: 56px 0 80px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-top: 0;
  color: var(--navy-900);
}

.legal-content h2 {
  margin-top: 32px;
  color: var(--navy-900);
  font-size: 1.25rem;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #a5badc;
  padding: 44px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

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

.footer-links a {
  color: #d3e0f7;
}

@media (max-width: 900px) {
  .hero-grid,
  .calc-wrapper,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}
