/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #020617;
  background: #f1f5f9;
}

/* LAYOUT */
.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: #e2e8f0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 640px;
  color: #475569;
  margin-bottom: 2rem;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,23,42,0.96);
  backdrop-filter: blur(12px);
  color: #e2e8f0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #0ea5e9, #22c55e 40%, #0f766e 80%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #e0f2fe;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #cbd5f5;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #cbd5f5;
  text-decoration: none;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ecfdf3;
  box-shadow: 0 10px 26px rgba(22,163,74,0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(22,163,74,0.55);
}

.btn-secondary {
  background: rgba(15,23,42,0.06);
  color: #0f172a;
}

.btn-outline {
  border: 1px solid rgba(148,163,184,0.7);
  background: transparent;
  color: #e2e8f0;
}

.btn-outline:hover {
  background: rgba(148,163,184,0.2);
}

.btn-full {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #e2e8f0;
}

/* HERO */
.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at top left, #e0f2fe, #ecfdf3 55%, #f1f5f9);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  margin-bottom: 1rem;
  color: #020617;
}

.hero-copy p {
  color: #475569;
  margin-bottom: 1.5rem;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f766e;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.hero-badges div {
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 18px rgba(15,23,42,0.08);
}

.hero-badges strong {
  display: block;
  font-size: 0.9rem;
}

.hero-badges span {
  font-size: 0.8rem;
  color: #64748b;
}

.hero-disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
}

/* HERO CARD / CALCULATOR */
.hero-card {
  background: #020617;
  color: #e5e7eb;
  border-radius: 1.6rem;
  padding: 1.6rem;
  box-shadow: 0 22px 42px rgba(15,23,42,0.7);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.calculator-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.calculator-form input[type="range"] {
  width: 100%;
  margin: 0.35rem 0;
}

.calculator-form input[type="number"] {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148,163,184,0.75);
  background: rgba(15,23,42,0.85);
  color: #e5e7eb;
}

.calculator-form input[type="number"]::placeholder {
  color: #9ca3af;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #9ca3af;
}

.calculator-result {
  margin-top: 1.25rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(15,23,42,0.92);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.8rem;
}

.calculator-result span {
  color: #9ca3af;
}

.calculator-result strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
}

.calculator-note {
  margin-top: 0.7rem;
  font-size: 0.72rem;
  color: #9ca3af;
}

/* TWO COLUMN */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.info-card {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 1.4rem;
  padding: 1.6rem;
  box-shadow: 0 18px 36px rgba(15,23,42,0.55);
}

.info-card h3 {
  margin-bottom: 0.75rem;
}

/* LISTS */
.icon-list,
.check-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.icon-list li::before {
  content: "•";
  color: #22c55e;
  margin-right: 0.5rem;
}

.check-list li::before {
  content: "✓";
  color: #16a34a;
  margin-right: 0.45rem;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.feature-card {
  background: #f8fafc;
  border-radius: 1.2rem;
  padding: 1rem;
  box-shadow: 0 10px 20px rgba(15,23,42,0.06);
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: #475569;
}

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.step-card {
  background: #f8fafc;
  border-radius: 1.2rem;
  padding: 1.1rem;
  position: relative;
  box-shadow: 0 12px 22px rgba(15,23,42,0.08);
}

.step-number {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #e0f2fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0369a1;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 0.9rem;
  color: #475569;
}

/* TABLE */
.table-wrapper {
  margin-top: 1.5rem;
  overflow-x: auto;
}

.charges-table {
  width: 100%;
  border-collapse: collapse;
  background: #f8fafc;
  border-radius: 1.2rem;
  overflow: hidden;
  font-size: 0.9rem;
}

.charges-table th,
.charges-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.charges-table th {
  text-align: left;
  background: #020617;
  color: #e5e7eb;
}

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

/* APPLY */
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.apply-form {
  background: #020617;
  color: #e5e7eb;
  border-radius: 1.4rem;
  padding: 1.6rem;
  box-shadow: 0 22px 38px rgba(15,23,42,0.7);
}

.apply-form h3 {
  margin-bottom: 1rem;
}

.apply-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.apply-form input {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148,163,184,0.75);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
}

.apply-form input::placeholder {
  color: #9ca3af;
}

.form-note {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  color: #9ca3af;
}

/* FAQ */
.faq-list {
  margin-top: 1.5rem;
  border-radius: 1.2rem;
  background: #f8fafc;
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid #e2e8f0;
}

.faq-question {
  width: 100%;
  padding: 0.9rem 1rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
  text-align: left;
}

.faq-icon {
  margin-left: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #6b7280;
  transition: transform 0.15s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  font-size: 0.9rem;
  color: #4b5563;
  transition: max-height 0.2s ease;
}

.faq-answer p {
  padding-bottom: 0.75rem;
}

.faq-item.open .faq-answer {
  max-height: 230px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* FOOTER */
.site-footer {
  background: #020617;
  color: #cbd5f5;
  margin-top: 2rem;
  padding-top: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(148,163,184,0.35);
}

.footer-text {
  margin-top: 0.75rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-links h4 {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-links ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding: 1rem 0 1.6rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-small {
  max-width: 820px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .two-col,
  .features-grid,
  .steps-grid,
  .apply-grid,
  .footer-inner,
  .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 720px) {
  .header-inner {
    justify-content: space-between;
  }

  .main-nav,
  .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav.active {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #020617;
    padding: 0.75rem 1rem 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-badges {
    grid-template-columns: minmax(0, 1fr);
  }

  .calculator-result {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }

  .hero-card,
  .apply-form,
  .info-card {
    padding: 1.3rem;
  }
}
