:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --bg-soft: #111827;
  --surface: #111827;
  --surface-alt: #020617;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.14);
  --accent-strong: #4f46e5;
  --accent-muted: #818cf8;
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --text-muted: #6b7280;
  --danger: #f97373;
  --warning: #fbbf24;
  --success: #4ade80;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.75);
  --shadow-subtle: 0 10px 35px rgba(15, 23, 42, 0.7);
  --blur: 28px;
  --nav-h: 76px;
}

[data-theme="light"] {
  --bg: #f9fafb;
  --bg-alt: #f3f4f6;
  --bg-soft: #e5e7eb;
  --surface: #ffffff;
  --surface-alt: #f9fafb;
  --border-subtle: rgba(148, 163, 184, 0.6);
  --text: #020617;
  --text-soft: #111827;
  --text-muted: #4b5563;
  --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.12);
  --shadow-subtle: 0 12px 40px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 55%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.18), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.7));
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

[data-theme="light"] .site-header {
  background: linear-gradient(to bottom, rgba(249, 250, 251, 0.92), rgba(249, 250, 251, 0.9));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand img {
  width: 28px;
  height: 28px;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  color: var(--text);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.16s ease,
    border-color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #22c55e);
  color: #0f172a;
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.5);
}

.btn-secondary {
  background: var(--surface);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.35);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(148, 163, 184, 0.12);
}

.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.35), transparent 60%),
    rgba(15, 23, 42, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-soft);
  transition: background 0.18s ease, transform 0.16s ease, border-color 0.18s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: var(--accent-muted);
}

.icon-moon::before {
  content: "☾";
  font-size: 0.9rem;
}

main {
  flex: 1;
}

.hero {
  padding: 3.75rem 0 2.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--accent-muted);
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(2.35rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.9rem;
}

.lead {
  margin: 0 0 1.4rem;
  color: var(--text-soft);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card {
  position: relative;
  border-radius: 26px;
  padding: 1.6rem 1.7rem 1.5rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.3), transparent 55%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.86));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

[data-theme="light"] .hero-card {
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.25), transparent 55%),
    linear-gradient(145deg, #ffffff, #e5e7eb);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(251, 191, 36, 0.2), transparent 55%);
  opacity: 0.45;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-card h3 {
  margin: 0 0 0.2rem;
}

.hero-card-sub {
  margin: 0 0 1.1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.metric-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.metric-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
}

.metric-list span:first-child {
  color: var(--text-muted);
}

.metric-list strong {
  font-size: 1rem;
}

.badge {
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  font-size: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.badge-success {
  border-color: rgba(34, 197, 94, 0.8);
  color: #bbf7d0;
}

.badge-warning {
  border-color: rgba(251, 191, 36, 0.92);
  color: #fef3c7;
}

.badge-neutral {
  border-color: rgba(148, 163, 184, 0.75);
  color: var(--text-soft);
}

.full-width {
  width: 100%;
}

.section {
  padding: 2.75rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), transparent 55%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.9));
}

[data-theme="light"] .section-alt {
  background: linear-gradient(to bottom, #f9fafb, #e5e7eb);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(2, minmax(0, 1.8fr));
  gap: 1.75rem;
  align-items: flex-start;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.feature-card {
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 60%),
    var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.3rem 1.3rem 1.25rem;
  box-shadow: var(--shadow-subtle);
}

.feature-card p {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
}

.section-title {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.testimonial-slider {
  position: relative;
  border-radius: 20px;
  background: radial-gradient(circle at 0 0, rgba(251, 191, 36, 0.2), transparent 65%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.18), transparent 60%),
    var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.35s ease-out;
}

.testimonial p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.testimonial-meta {
  font-size: 0.82rem;
  color: var(--text-soft);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.slider-controls {
  position: absolute;
  inset-block: 50% auto;
  right: 0.75rem;
  display: flex;
  gap: 0.35rem;
  transform: translateY(-50%);
}

.slider-controls .icon-button {
  width: 28px;
  height: 28px;
}

.card {
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.3rem 1.35rem 1.4rem;
  box-shadow: var(--shadow-subtle);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.88rem;
  color: var(--text);
  background: rgba(15, 23, 42, 0.7);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: #f9fafb;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-muted);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.6);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.checklist li::before {
  content: "✓";
  margin-right: 0.5rem;
  color: #4ade80;
}

.form-success {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: #4ade80;
}

.site-footer {
  margin-top: 2.5rem;
  padding: 1.8rem 0 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), transparent 60%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
}

[data-theme="light"] .site-footer {
  background: linear-gradient(to bottom, #111827, #020617);
  color: #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1.1fr));
  gap: 2rem;
  font-size: 0.85rem;
}

.footer-brand span {
  font-size: 0.9rem;
}

.footer-grid h4 {
  margin: 0 0 0.7rem;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(209, 213, 219, 0.8);
  font-size: 0.82rem;
}

.footer-meta {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.85);
}

.page-hero {
  padding: 2.7rem 0 1.8rem;
}

.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.page-content {
  padding-bottom: 2.75rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: flex-start;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
  margin-bottom: 0.6rem;
}

.chip {
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  font-size: 0.78rem;
  color: #bbf7d0;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.pricing-card {
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.3rem 1.3rem 1.4rem;
}

.pricing-card.featured {
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 20px 55px rgba(129, 140, 248, 0.5);
  position: relative;
}

.pricing-price {
  font-size: 1.4rem;
  font-weight: 600;
}

.pricing-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.customers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.customer-card {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.1rem 1.1rem 1.2rem;
  font-size: 0.9rem;
}

.badge-small {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  font-size: 0.75rem;
  color: #bbf7d0;
}

.badge-small-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.blog-card {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1rem 1.1rem 1.1rem;
  font-size: 0.9rem;
}

.blog-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.team-card {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1rem 1.1rem 1.15rem;
  font-size: 0.9rem;
}

.team-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.contact-list span {
  color: var(--text-muted);
}

.badge-outline {
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  font-size: 0.75rem;
  color: var(--text-soft);
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.book-sidebar {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.1rem 1.15rem 1.2rem;
  font-size: 0.88rem;
}

.book-steps {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.badge-step {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-right: 0.4rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .two-column,
  .pricing-grid,
  .customers-grid,
  .blog-grid,
  .team-grid,
  .contact-grid,
  .book-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .site-header {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.75rem, 640px);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    font-size: 2rem;
  }

  .hero-card {
    margin-top: 0.5rem;
  }
}

