* {
  box-sizing: border-box;
}

:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #3b82f6;
  --accent-soft: rgba(59,130,246,0.15);
  --accent-strong: #22c55e;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2933;
  --shadow-soft: 0 22px 60px rgba(15,23,42,0.75);
  --radius-lg: 18px;
  --radius-full: 999px;
  --max-width: 1120px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.nav {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(to right, rgba(15,23,42,0.95), rgba(2,6,23,0.98));
  border-bottom: 1px solid rgba(148,163,184,0.25);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, #22c55e 0, #16a34a 28%, #0f766e 55%, #1d4ed8 100%);
  box-shadow: 0 0 0 1px rgba(15,23,42,0.75), 0 16px 40px rgba(34,197,94,0.55);
  position: relative;
  overflow: hidden;
}
.logo-mark::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, rgba(248,250,252,0.45), transparent 60%);
  mix-blend-mode: screen;
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1rem;
}
.logo-text-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(to right, #2563eb, #22c55e);
  color: white;
  box-shadow: 0 14px 30px rgba(37,99,235,0.4);
  border: none;
}
.nav-links a.nav-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--muted);
}

@media (max-width: 860px) {
  .nav-inner {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    margin-top: 0.4rem;
    background: rgba(15,23,42,0.97);
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,0.45);
    box-shadow: 0 18px 40px rgba(15,23,42,0.9);
    z-index: 50;
  }

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

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .nav-toggle span {
    transition: transform 0.15s ease, opacity 0.15s ease;
  }

  /* Optional little "X" animation */
  .nav-toggle.nav-open span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  .nav-toggle.nav-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.nav-open span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }
}

/* Hero + Layout */

.section {
  padding: 3.25rem 1.25rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero {
  padding-top: 3.5rem;
  padding-bottom: 3.25rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.75rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.3);
  box-shadow: 0 10px 25px rgba(15,23,42,0.8);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34,197,94,0.3);
}

.hero-title {
  font-size: clamp(2.35rem, 4vw, 2.9rem);
  line-height: 1.08;
  margin: 0 0 0.75rem;
}
.hero-gradient {
  background: radial-gradient(circle at 0 0, #22c55e 0, #60a5fa 35%, #a855f7 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  color: var(--muted);
  max-width: 32rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
  margin-bottom: 1.1rem;
}
.btn-primary {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  background: linear-gradient(to right, #2563eb, #22c55e);
  color: white;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(37,99,235,0.55);
}
.btn-primary span.icon {
  font-size: 1rem;
}
.btn-secondary {
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--muted);
  background: rgba(15,23,42,0.9);
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.btn-secondary:hover {
  color: var(--text);
  border-color: rgba(148,163,184,0.9);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-meta span strong {
  color: var(--text);
  font-weight: 600;
}

.hero-card {
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(96,165,250,0.15), transparent 55%), 
              radial-gradient(circle at bottom right, rgba(45,212,191,0.18), transparent 60%),
              #020617;
  padding: 1.4rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.hero-card-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.hero-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.45);
  font-size: 0.7rem;
  margin-bottom: 0.8rem;
}
.hero-score-pill span.value {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: #bbf7d0;
}
.hero-score-pill span.value-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}
.hero-card-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}
.metric-chip {
  padding: 0.55rem 0.6rem;
  border-radius: 1rem;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.35);
  font-size: 0.72rem;
}
.metric-chip-title {
  color: var(--muted);
  margin-bottom: 0.12rem;
}
.metric-chip-value {
  font-weight: 600;
  font-size: 0.88rem;
}
.metric-chip-trend {
  font-size: 0.7rem;
  color: #4ade80;
}
.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.76rem;
  color: var(--muted);
}
.hero-card-footer strong {
  color: var(--text);
}
.hero-card-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}
.hero-card-rings::before,
.hero-card-rings::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(148,163,184,0.35);
}
.hero-card-rings::before {
  width: 180px;
  height: 180px;
  right: -80px;
  top: 12%;
}
.hero-card-rings::after {
  width: 260px;
  height: 260px;
  right: -120px;
  top: 32%;
}

/* Generic content */

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.section-title {
  font-size: 1.6rem;
  margin: 0 0 0.2rem;
}
.section-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 34rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.8rem;
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(15,118,110,0.18), rgba(15,23,42,0.96));
  border: 1px solid rgba(148,163,184,0.3);
  padding: 1rem;
  box-shadow: 0 14px 30px rgba(15,23,42,0.75);
}
.card h3 {
  margin-top: 0;
  font-size: 1rem;
}
.card p {
  font-size: 0.88rem;
  color: var(--muted);
}
.card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #bfdbfe;
  font-size: 0.7rem;
  margin-bottom: 0.4rem;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 2.1rem;
}
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.pricing-card {
  border-radius: 20px;
  background: radial-gradient(circle at top, rgba(59,130,246,0.22), rgba(15,23,42,0.96));
  border: 1px solid rgba(129,140,248,0.4);
  padding: 1.2rem 1.15rem 1.25rem;
  box-shadow: 0 24px 50px rgba(30,64,175,0.7);
}
.pricing-card h3 {
  margin-top: 0;
}
.price {
  font-size: 1.35rem;
  font-weight: 600;
}
.price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}
.pricing-card ul {
  margin-top: 0.7rem;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.pricing-card .btn-primary {
  margin-top: 1rem;
  font-size: 0.85rem;
}

/* Layout helpers */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.4rem;
  margin-top: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

.point-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
  font-size: 0.9rem;
}
.point-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
}
.point-bullet {
  margin-top: 0.3rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

/* Tables, generic */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 1.2rem;
}
th, td {
  padding: 0.5rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid rgba(31,41,55,0.9);
}
th {
  font-weight: 500;
  color: var(--muted);
}

/* Contact form */

.form-card {
  border-radius: 20px;
  background: radial-gradient(circle at top, rgba(56,189,248,0.22), rgba(15,23,42,0.98));
  border: 1px solid rgba(96,165,250,0.55);
  padding: 1.2rem;
  box-shadow: 0 24px 60px rgba(15,23,42,0.9);
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.form-group {
  flex: 1;
  min-width: 200px;
}
label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
input, textarea, select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.55);
  background: rgba(15,23,42,0.96);
  color: var(--text);
  padding: 0.55rem 0.6rem;
  font-size: 0.85rem;
}
textarea {
  resize: vertical;
  min-height: 120px;
}

/* Alerts */

.alert {
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}
.alert-success {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.6);
  color: #bbf7d0;
}
.alert-error {
  background: rgba(248,113,113,0.14);
  border: 1px solid rgba(248,113,113,0.7);
  color: #fecaca;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(30,64,175,0.7);
  background: radial-gradient(circle at top, #020617 0, #000 90%);
  padding: 1.5rem 1.25rem 1.8rem;
  margin-top: 2.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.footer-links a {
  color: var(--muted);
}
