/* =========================
   Base + Variables
   ========================= */

:root {
  --color-bg: #020617;
  --color-bg-alt: #020617;
  --color-surface: #020617;
  --color-surface-soft: #020617;
  --color-surface-alt: #020617;
  --color-accent: #38bdf8;
  --color-accent-soft: rgba(56, 189, 248, 0.12);
  --color-accent-strong: #0ea5e9;
  --color-border: rgba(148, 163, 184, 0.35);
  --color-text: #e5e7eb;
  --color-muted: #9ca3af;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);

  --content-max-width: 1120px;
  --header-height: 4.25rem;

  --section-padding-y: clamp(3rem, 4vw, 4.5rem);
  --section-padding-x: 1.5rem;
}

/* =========================
   Global
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.site {
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--color-text);
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(129, 140, 248, 0.12), transparent 50%),
    radial-gradient(circle at 0 100%, rgba(16, 185, 129, 0.1), transparent 55%),
    #020617;
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 0.8em;
  color: var(--color-muted);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 600;
  color: var(--color-text);
}

/* Layout helpers */

.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.section {
  padding: var(--section-padding-y) 0;
}

.section--alt {
  padding: var(--section-padding-y) 0;
}

.section__header {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* =========================
   Header / Nav
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.75),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.site-header__inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__logo {
  height: 2.4rem;
  width: auto;
  border-radius: 0.9rem;
  display: block;
  box-shadow:
    0 0 30px rgba(56, 189, 248, 0.6),
    0 18px 35px rgba(15, 23, 42, 0.9);
}


.brand__mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 30% 0, #e0f2fe, #0ea5e9);
  box-shadow:
    0 0 30px rgba(56, 189, 248, 0.9),
    0 18px 35px rgba(15, 23, 42, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  color: #0f172a;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 600;
}

.brand__tagline {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav__link {
  padding: 0.4rem 0.1rem;
  position: relative;
  color: var(--color-muted);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, #22d3ee, #a855f7);
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}

.nav__link--primary {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent),
    rgba(15, 23, 42, 0.95);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0;
}

.nav-toggle__bar {
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* =========================
   Hero
   ========================= */

.hero {
  padding-top: calc(var(--section-padding-y) + 1.5rem);
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  max-width: 580px;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.hero__title {
  font-size: clamp(2.3rem, 3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.hero__highlight {
  display: inline-block;
  background: linear-gradient(to right, #22d3ee, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 0.98rem;
  max-width: 34rem;
  color: var(--color-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.7rem 0 1.2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Hero side card */

.hero__panel {
  max-width: 440px;
  margin-left: auto;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent),
    rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.hero-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.hero-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.hero-card__list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
}

.hero-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(to bottom right, #22d3ee, #a855f7);
}

.hero-card__note {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* Pills */

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  background: transparent;
  color: var(--color-text);
}

.btn--primary {
  background: linear-gradient(to right, #22d3ee, #a855f7);
  border-color: transparent;
  color: #0b1120;
  font-weight: 600;
}

.btn--ghost {
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
}

.btn--full {
  width: 100%;
}

/* =========================
   Cards / Grid
   ========================= */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.65);
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.card__list li {
  margin-bottom: 0.35rem;
}

/* pricing cards */

.card--pricing {
  position: relative;
  margin-bottom: 1rem;
}

.card__price {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.card__price span {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
}

.card__subtitle {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.card--highlight {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow:
    0 0 30px rgba(56, 189, 248, 0.3),
    0 24px 50px rgba(15, 23, 42, 0.85);
}

/* Card link block for portfolio */

.card__link {
  margin-top: 0.7rem;
  font-size: 0.9rem;
}

.card__link a {
  text-decoration: underline;
}

.pricing_note {
  margin-top: 0.5rem;
}

/* Badges */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--color-muted);
}

.badge--accent {
  border-color: rgba(56, 189, 248, 0.9);
  color: #e0f2fe;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent);
}

/* Steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 1.2rem;
}

.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: flex-start;
}

.steps__badge {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--color-accent-soft);
  border: 1px solid rgba(56, 189, 248, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* FAQ */

.faq {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}

.faq__item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.8rem 0.9rem;
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  color: var(--color-text);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Contact */

.section--contact {
  padding-bottom: calc(var(--section-padding-y) + 2rem);
}

.contact {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

.contact__intro h2 {
  margin-bottom: 0.5rem;
}

.contact__bullets {
  list-style: none;
  padding: 0;
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
}

.contact__bullets li {
  margin-bottom: 0.3rem;
}

.contact__form {
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
}

.contact__field--full {
  grid-column: 1 / -1;
}

.contact__field--hidden {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact__field label {
  color: var(--color-muted);
}

.contact__field input,
.contact__field select,
.contact__field textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.55rem 0.7rem;
  color: var(--color-text);
  font: inherit;
}

.contact__field input:focus-visible,
.contact__field select:focus-visible,
.contact__field textarea:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.8);
  outline-offset: 2px;
  border-color: transparent;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.25rem 0 1.6rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: center;
  font-size: 0.8rem;
}

.site-footer__note {
  color: var(--color-muted);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: var(--header-height) 1rem auto 1rem;
    border-radius: var(--radius-lg);
    padding: 1rem 1.1rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.18s ease-out,
      transform 0.18s ease-out;
  }

  .nav--open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .contact__form {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .contact {
    grid-template-columns: 1.1fr 1fr;
  }
}

/* =========================
   Legal pages
   ========================= */

.legal {
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.legal h2 {
  font-size: 1.1rem;
  margin-top: 1.6rem;
}

.legal p,
.legal ul {
  font-size: 0.95rem;
}

.legal ul {
  padding-left: 1.2rem;
  margin-bottom: 0.8rem;
}

.legal__meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

/* Footer links */

.site-footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.site-footer__links a {
  text-decoration: underline;
}


/* =========================
   Services subnav
   ========================= */

.subnav {
  margin-bottom: 1.5rem;
}

.subnav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.subnav__link {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.85);
  color: var(--color-muted);
}

.subnav__link:hover,
.subnav__link:focus-visible {
  border-color: rgba(56, 189, 248, 0.9);
  color: #e5e7eb;
}

/* =========================
   Icons for services
   ========================= */

.icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.icon svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.icon--site svg {
  stroke: #38bdf8;
}

.icon--subscription svg {
  stroke: #a855f7;
}

.icon--hourly svg {
  stroke: #22c55e;
}

/* =========================
   Comparison table
   ========================= */

.compare {
  max-width: 960px;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.compare-table thead th {
  text-align: left;
  padding: 0.5rem 0.6rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.5);
}

.compare-table tbody td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
}

.compare-table tbody tr:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* Tighten up legal blocks when reused for text sections */

.legal--narrow {
  max-width: 720px;
  margin: 0 auto;
}

.card--pricing {
  position: relative;
  margin-bottom: 1rem;
}