﻿:root {
  --bg: #090c10;
  --bg-soft: #10161d;
  --card: #121a22;
  --line: #253243;
  --text: #ecf2ff;
  --muted: #98a7ba;
  --accent: #79e87e;
  --accent-deep: #2aa375;
  --highlight: #1fd2a5;
  --radius: 18px;
}

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

html,
body {
  font-family: "Outfit", sans-serif;
  background: radial-gradient(circle at 80% 60%, #0f4f3f 0%, rgba(15, 79, 63, 0) 35%), var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body.modal-open {
  overflow: hidden;
}

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

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

.topbar {
  border-bottom: 1px solid #1a2430;
  background: #0b1118;
  color: #b7c4d5;
  font-size: 0.9rem;
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar a {
  color: var(--accent);
  font-weight: 500;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #1b2734;
  backdrop-filter: blur(10px);
  background: rgba(9, 12, 16, 0.88);
}

.nav-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.9rem;
  font-weight: 600;
}

.brand-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  color: #0b1219;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links > a {
  color: #c8d4e4;
  font-size: 1.02rem;
}

.nav-links > a.btn-solid {
  color: #06110a;
}

.btn {
  border: 1px solid transparent;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-solid {
  background: var(--accent);
  color: #06110a;
}

.cta-primary {
  border: 1px solid #99f59d;
  box-shadow: 0 0 0 2px rgba(121, 232, 126, 0.2), 0 10px 24px rgba(121, 232, 126, 0.35);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(121, 232, 126, 0.3);
}

.cta-primary:hover {
  box-shadow: 0 0 0 2px rgba(121, 232, 126, 0.35), 0 14px 26px rgba(121, 232, 126, 0.45);
}

.btn-outline {
  border-color: #4d637a;
  color: #e3ebf7;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #374a60;
  color: #d9e3f0;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 0.85rem;
}

.section {
  padding: 88px 0;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero {
  padding: 88px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 1.03;
  max-width: 12ch;
  margin-bottom: 18px;
}

.subcopy {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero-points {
  list-style: none;
  margin: 26px 0;
  display: grid;
  gap: 10px;
}

.hero-points li::before,
.panel li::before,
.price-card li::before {
  content: "+";
  color: var(--accent);
  margin-right: 10px;
  font-weight: 700;
}

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

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-card {
  border: 1px solid #2c3949;
  background: linear-gradient(165deg, rgba(21, 29, 38, 0.95), rgba(13, 20, 28, 0.95));
  border-radius: var(--radius);
  padding: 22px;
}

.metric-main {
  grid-column: span 2;
  min-height: 220px;
}

.metric-card p {
  color: #a4b4c8;
  font-size: 0.95rem;
}

.metric-card h3 {
  margin: 10px 0 6px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.metric-card span {
  color: #92a2b4;
}

.logo-strip {
  border-top: 1px solid #1b2734;
  border-bottom: 1px solid #1b2734;
  background: #0b1016;
}

.logos {
  min-height: 110px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 10px;
  text-align: center;
}

.logos span {
  color: #9fb0c4;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  max-width: 18ch;
}

.services {
  background: linear-gradient(180deg, rgba(16, 22, 29, 0.85), rgba(10, 14, 18, 0.95));
}

.service-tabs {
  margin: 30px 0;
  border: 1px solid #2a3748;
  border-radius: 14px;
  padding: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab {
  border: 0;
  background: transparent;
  color: #b5c4d8;
  font: inherit;
  padding: 11px 18px;
  border-radius: 10px;
  cursor: pointer;
}

.tab.active {
  background: var(--accent);
  color: #07110a;
  font-weight: 600;
}

.tab-panels {
  border: 1px solid #2a3748;
  border-radius: var(--radius);
  background: var(--card);
  padding: 30px;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.panel h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.panel p {
  color: var(--muted);
  max-width: 60ch;
}

.panel ul {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  list-style: none;
}

.results-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: start;
}

.results-copy p {
  color: var(--muted);
  max-width: 46ch;
}

.text-link {
  margin-top: 22px;
  display: inline-block;
  color: var(--accent);
  border-bottom: 1px solid #3a9a70;
  padding-bottom: 4px;
}

.results-list {
  display: grid;
  gap: 14px;
}

.result-item {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid #334355;
  background: #101821;
  font-size: 1.05rem;
}

.pricing {
  background: #0b1117;
}

.pricing-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  border-radius: var(--radius);
  border: 1px solid #2a3a4d;
  padding: 26px;
  background: #101721;
}

.price-card h3 {
  font-size: 1.7rem;
}

.price-card .for {
  margin: 8px 0 16px;
  color: var(--muted);
}

.price {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.price-card.featured {
  border-color: #4caf7b;
  background: linear-gradient(180deg, #132017, #101721);
}

.badge {
  display: inline-block;
  background: #223025;
  color: var(--accent);
  border: 1px solid #3f7d5e;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.quote-card {
  border-radius: var(--radius);
  border: 1px solid #2a394b;
  background: #101821;
  padding: 24px;
}

.quote-card p {
  color: #d8e2f0;
  margin-bottom: 18px;
  line-height: 1.6;
}

.quote-card span {
  color: var(--muted);
}

.faq-list {
  margin-top: 30px;
  border-top: 1px solid #283648;
}

.faq-item {
  border-bottom: 1px solid #283648;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: #edf4ff;
  text-align: left;
  font: inherit;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 500;
  padding: 24px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #121f2b;
  color: #d4e1f3;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  color: var(--muted);
  padding: 0 4px 20px;
  line-height: 1.6;
}

.footer {
  border-top: 1px solid #1f2b39;
  background: #0a1015;
  padding-top: 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-grid p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 45ch;
}

.contact-box {
  border: 1px solid #2a3a4d;
  background: #101821;
  border-radius: var(--radius);
  padding: 24px;
}

.contact-box label {
  display: block;
  margin-bottom: 12px;
  color: #dce8f7;
  font-size: 1.1rem;
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-row input {
  flex: 1;
  background: #091118;
  border: 1px solid #304254;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
}

.footer-bottom {
  border-top: 1px solid #1f2b39;
  min-height: 74px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8ca0b7;
}

.footer-bottom div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
}

.auth-modal.open {
  display: block;
}

.auth-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 9, 0.75);
}

.auth-card {
  position: relative;
  width: min(620px, 94%);
  margin: 6vh auto;
  background: #0d151f;
  border: 1px solid #314155;
  border-radius: 16px;
  padding: 24px;
  z-index: 1;
  max-height: 88vh;
  overflow-y: auto;
}

.auth-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #3a4b61;
  background: #121d2a;
  color: #dbe6f7;
  cursor: pointer;
}

.auth-card h3 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.auth-subtitle {
  color: #9cb0c6;
  margin-bottom: 18px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.field-group {
  margin-bottom: 12px;
}

.field-group label {
  display: block;
  margin-bottom: 6px;
  color: #dbe7f7;
}

.field-group input {
  width: 100%;
  border: 1px solid #34485f;
  background: #0a1119;
  color: #e7f0ff;
  border-radius: 10px;
  padding: 11px 12px;
  font-family: inherit;
}

.field-group textarea {
  width: 100%;
  border: 1px solid #34485f;
  background: #0a1119;
  color: #e7f0ff;
  border-radius: 10px;
  padding: 11px 12px;
  font-family: inherit;
  resize: vertical;
}

.field-group input.error,
.field-group textarea.error,
.check-line.error {
  outline: 1px solid #ff7382;
  border-color: #ff7382;
}

.field-hint {
  display: block;
  color: #8ea6c1;
  margin-top: 6px;
}

.field-error {
  display: block;
  color: #ff8b96;
  min-height: 16px;
  margin-top: 6px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  color: #d6e4f8;
}

.auth-status {
  color: var(--accent);
  min-height: 16px;
  margin: 6px 0 12px;
}

.auth-submit {
  width: 100%;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 245;
  display: none;
  pointer-events: none;
}

.chat-modal.open {
  display: block;
}

.chat-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: auto;
}

.chatbot {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: clamp(320px, 36vw, 460px);
  height: min(78vh, 680px);
  background: #0d151f;
  border: 1px solid #314155;
  border-radius: 16px;
  z-index: 1;
  padding: 14px;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px rgba(2, 7, 12, 0.6);
}

.chatbot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-head h4 {
  font-size: 1.1rem;
}

.chatbot-head button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #3a4b61;
  background: #121d2a;
  color: #dbe6f7;
  cursor: pointer;
}

.chatbot-sub {
  color: #9cb0c6;
  margin: 8px 0 10px;
  flex: 0 0 auto;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  max-height: 130px;
  overflow-y: auto;
  padding-right: 4px;
  flex: 0 0 auto;
}

.chat-quick button {
  border: 1px solid #3d4e63;
  background: #101b28;
  color: #dbe7f8;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}

.chat-messages {
  border: 1px solid #2f4258;
  border-radius: 10px;
  background: #09111a;
  padding: 10px;
  min-height: 170px;
  flex: 1 1 auto;
  overflow-y: auto;
}

.chat-msg {
  margin-bottom: 10px;
  line-height: 1.5;
  color: #e6eefc;
}

.chat-msg.bot strong {
  color: var(--accent);
}

.chat-msg.you strong {
  color: #8cc2ff;
}

.chat-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex: 0 0 auto;
}

.chat-form input {
  flex: 1;
  border: 1px solid #304254;
  border-radius: 10px;
  background: #0a1119;
  color: #e7f0ff;
  padding: 10px 12px;
  font-family: inherit;
}

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

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

@media (max-width: 1024px) {
  .hero-grid,
  .results-grid,
  .footer-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-head h2 {
    max-width: none;
  }

  .logos {
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 0;
  }
}

@media (max-width: 800px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: #0b1118;
    border-bottom: 1px solid #203042;
    display: grid;
    padding: 20px 4%;
    gap: 14px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease;
  }

  .nav-links.open {
    transform: scaleY(1);
  }

  .topbar-inner {
    justify-content: center;
    gap: 14px;
  }

  .topbar-inner p {
    display: none;
  }

  .brand {
    font-size: 1.45rem;
  }

  .input-row,
  .auth-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

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

  .chatbot {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    height: min(82vh, 620px);
  }
}
