
:root {
  --bg: #020617;
  --bg-soft: #07111f;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --card: #f2f6f1;
  --card-soft: rgba(242, 246, 241, 0.9);
  --text: #eef7f1;
  --muted: #94a3b8;
  --ink: #152131;
  --ink-muted: #556475;
  --accent: #6ee7b7;
  --accent-strong: #34d399;
  --blue: #60a5fa;
  --purple: #c084fc;
  --amber: #fbbf24;
  --line: rgba(255, 255, 255, 0.12);
  --dark-line: rgba(21, 33, 49, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 0%, rgba(59, 130, 246, .22), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(16, 185, 129, .18), transparent 34%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(180deg, #020617, #07111f 45%, #020617);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  color: var(--text);
  font: 16px/1.6 "Inter Tight", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: none;
  margin: 0 auto;
  padding: 14px max(18px, calc((100vw - 1280px) / 2 + 24px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: linear-gradient(135deg, #6ee7b7, #60a5fa);
  color: #020617;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset;
}

.brand strong,
.brand em {
  display: block;
  white-space: nowrap;
}

.brand strong {
  line-height: 1;
  font-size: 18px;
  font-weight: 950;
}

.brand em {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav-group {
  position: relative;
}

.nav-trigger,
.header-link,
.button,
.mobile-menu summary,
.mobile-panel a,
.mobile-group summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid transparent;
  color: rgba(238, 247, 241, 0.82);
  gap: 8px;
  font-weight: 850;
  font-size: 14px;
}

.nav-trigger:hover,
.header-link:hover,
.button:hover {
  border-color: rgba(114, 216, 156, 0.28);
  background: rgba(114, 216, 156, 0.09);
}

.chevron {
  color: rgba(148, 163, 184, .76);
  font-size: 10px;
  line-height: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 310px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 16px;
  color: rgba(238, 247, 241, 0.78);
}

.nav-dropdown a:hover {
  background: rgba(255,255,255,.07);
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button {
  border-color: var(--line);
  background: rgba(255,255,255,.055);
  font-weight: 900;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #020617;
  border-color: transparent;
  background: linear-gradient(135deg, #6ee7b7, #bae6fd);
  box-shadow: 0 14px 42px rgba(16, 185, 129, 0.28);
}

.button-primary:hover {
  background: linear-gradient(135deg, #a7f3d0, #bfdbfe);
}

.button-small {
  min-height: 40px;
}

.button-quiet {
  color: var(--muted);
  background: transparent;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu {
  display: none;
}

.hero,
.section,
.simple-page,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  margin-top: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 26px;
  align-items: stretch;
}

.hero-copy,
.server-panel,
.offer,
.audit,
.final-cta,
.simple-page {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 56px;
}

.badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(114, 216, 156, 0.18);
  border-radius: 999px;
  background: rgba(114, 216, 156, 0.08);
  color: #d1fae5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1,
.simple-page h1 {
  margin: 22px 0 0;
  max-width: 820px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .97;
  letter-spacing: 0;
  font-weight: 950;
}

.hero p,
.simple-page p {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions .button {
  min-height: 48px;
  padding-left: 18px;
  padding-right: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.hero-stats div {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.04);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: #dff7e6;
  font-size: 26px;
  line-height: 1;
}

.hero-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.server-panel {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(110, 231, 183, .13), transparent 38%),
    linear-gradient(315deg, rgba(96, 165, 250, .14), transparent 42%),
    rgba(255,255,255,.06);
}

.server-top,
.server-line,
.server-stack,
.case-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.server-top span {
  color: var(--muted);
  font-weight: 850;
}

.server-top b {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(114, 216, 156, .14);
  color: #c9f2d3;
  font-size: 12px;
  text-transform: uppercase;
}

.server-screen {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(3, 9, 14, .58);
  border: 1px solid rgba(255,255,255,.08);
}

.server-line {
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.045);
}

.server-line span {
  color: var(--muted);
  font-size: 13px;
}

.server-line strong {
  font-size: 24px;
}

.server-line.is-emerald strong {
  color: var(--accent);
}

.server-line.is-blue strong {
  color: var(--blue);
}

.server-line.is-amber strong {
  color: var(--amber);
}

.terminal {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(114, 216, 156, .18);
  border-radius: 24px;
  background: #041018;
  color: #aee8c5;
  font: 13px/1.45 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.terminal b {
  color: var(--accent);
  font-style: normal;
}

.terminal i {
  color: var(--blue);
  font-style: normal;
}

.terminal em {
  color: var(--amber);
  font-style: normal;
}

.server-stack {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.server-stack span,
.cms-card span {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(238, 247, 241, .72);
  font-size: 12px;
  font-weight: 850;
}

.section {
  margin-top: 110px;
}

.section-title {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-title > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.section-title h2,
.offer h2,
.audit h2,
.final-cta h2 {
  margin: 8px 0 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-title p,
.offer p,
.audit p,
.final-cta p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.pain-grid,
.service-grid,
.cms-grid,
.niche-grid,
.case-grid,
.tool-grid {
  display: grid;
  gap: 16px;
}

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

.pain-card,
.service-card,
.cms-card,
.niche-card,
.case-card,
.faq-list details {
  border-radius: 32px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.pain-card:hover,
.service-card:hover,
.cms-card:hover,
.niche-card:hover,
.case-card:hover,
.tool-grid a:hover,
.faq-list details:hover {
  transform: translateY(-2px);
  border-color: rgba(114, 216, 156, .32);
  background: var(--panel-strong);
}

.pain-card {
  min-height: 246px;
  padding: 24px;
}

.pain-card b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: rgba(110,231,183,.12);
  color: #c9f2d3;
  font-size: 14px;
  box-shadow: 0 16px 34px rgba(16, 185, 129, .1);
}

.pain-card h3,
.service-card h3,
.cms-card h3,
.niche-card h3,
.case-card h3 {
  margin: 20px 0 0;
  font-size: 22px;
  line-height: 1.16;
}

.pain-card p,
.service-card p,
.cms-card p,
.niche-card p,
.case-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.offer,
.audit {
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .72fr);
  gap: 30px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(110,231,183,.13), rgba(96,165,250,.1)),
    rgba(255,255,255,.055);
  color: var(--text);
}

.offer p,
.audit p {
  color: var(--muted);
}

.offer-list {
  display: grid;
  gap: 10px;
}

.offer-list span {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15,23,42,.36);
  color: var(--text);
  font-weight: 850;
}

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

.service-card {
  min-height: 235px;
  padding: 24px;
}

.service-card-main {
  grid-row: span 2;
  min-height: 486px;
  background: linear-gradient(135deg, rgba(110,231,183,.18), rgba(96,165,250,.12));
  color: var(--text);
  border-color: rgba(110,231,183,.2);
}

.service-card-main p {
  color: var(--muted);
}

.service-card span {
  color: var(--accent);
  font-weight: 950;
}

.service-card-main span {
  color: var(--accent-strong);
}

.icon-tile {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(96, 165, 250, .1);
  color: #bfdbfe;
  margin-bottom: 18px;
}

.icon-tile .icon {
  width: 24px;
  height: 24px;
}

.icon-tile-purple {
  background: rgba(192, 132, 252, .12);
  color: #e9d5ff;
}

.card-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 950;
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: 32px;
  align-items: start;
}

.cms-grid {
  grid-template-columns: 1fr;
}

.cms-card {
  display: block;
  padding: 26px;
}

.cms-card h3 {
  margin-top: 0;
}

.cms-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.cms-card::before {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(110,231,183,.16), rgba(96,165,250,.12));
  box-shadow: 0 16px 38px rgba(59,130,246,.08);
}

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

.niche-card,
.case-card {
  min-height: 220px;
  padding: 24px;
}

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

.case-values {
  align-items: stretch;
  margin-top: 18px;
}

.case-values span {
  flex: 1;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  color: #dff7e6;
  font-weight: 900;
}

.case-values small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card > strong {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 10px;
  border-radius: 18px;
  background: rgba(114,216,156,.12);
  color: #cdf2d7;
}

.tools-section {
  padding: 36px;
  border-radius: 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}

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

.tool-grid a {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: #dff7e6;
  font-weight: 850;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.tool-grid a,
.tool-grid a span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-grid a > .icon {
  color: rgba(148, 163, 184, .74);
}

.tool-grid a span .icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(110,231,183,.1);
  color: var(--accent);
}

.audit {
  align-items: start;
}

.audit-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(2, 6, 23, .38);
  border: 1px solid var(--line);
}

.audit-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.audit-form input,
.audit-form textarea {
  width: 100%;
  border: 1px solid rgba(21,33,49,.14);
  border-radius: 18px;
  padding: 13px 14px;
  background: rgba(2, 6, 23, .62);
  color: var(--text);
  outline: none;
}

.audit-form input:focus,
.audit-form textarea:focus {
  border-color: rgba(66,201,129,.56);
  box-shadow: 0 0 0 3px rgba(66,201,129,.12);
}

.audit-form .button {
  width: 100%;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  color: #e9f7ed;
  font-weight: 900;
}

.faq-list p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--muted);
}

.final-cta {
  padding: 52px;
  background:
    linear-gradient(135deg, rgba(110,231,183,.16), transparent 42%),
    linear-gradient(315deg, rgba(96,165,250,.14), transparent 48%),
    rgba(255,255,255,.06);
}

.simple-page {
  min-height: 560px;
  margin-top: 76px;
  padding: 64px;
}

.footer {
  margin-top: 82px;
  padding: 36px 0 46px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  max-width: 420px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-columns strong,
.footer-columns a {
  display: block;
}

.footer-columns strong {
  margin-bottom: 10px;
  color: var(--text);
}

.footer-columns a {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .header-link {
    display: none;
  }

  .header-actions {
    justify-content: end;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
    position: relative;
  }

  .mobile-menu > summary {
    cursor: pointer;
    list-style: none;
    border-color: var(--line);
    background: rgba(255,255,255,.055);
  }

  .mobile-menu > summary::-webkit-details-marker,
  .mobile-group > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: min(360px, calc(100vw - 28px));
    max-height: calc(100vh - 108px);
    overflow: auto;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(8, 18, 24, 0.98);
    box-shadow: var(--shadow);
  }

  .mobile-panel a,
  .mobile-group summary {
    width: 100%;
    justify-content: flex-start;
  }

  .mobile-group a {
    min-height: 34px;
    padding-left: 24px;
    color: var(--muted);
  }

  .hero,
  .split-section,
  .offer,
  .audit,
  .footer {
    grid-template-columns: 1fr;
  }

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

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

  .service-card-main {
    grid-row: auto;
    min-height: 260px;
  }

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

@media (max-width: 720px) {
  body {
    background-size: 34px 34px, 34px 34px, auto;
  }

  .site-header {
    grid-template-columns: auto auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .brand em,
  .header-actions {
    display: none;
  }

  .hero,
  .section,
  .simple-page,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    margin-top: 48px;
  }

  .hero-copy,
  .server-panel,
  .offer,
  .audit,
  .tools-section,
  .final-cta,
  .simple-page {
    padding: 24px;
  }

  .hero h1,
  .simple-page h1 {
    font-size: clamp(36px, 11vw, 46px);
  }

  .hero p,
  .simple-page p,
  .section-title p,
  .offer p,
  .audit p,
  .final-cta p {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats,
  .pain-grid,
  .service-grid,
  .niche-grid,
  .case-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .section {
    margin-top: 76px;
  }

  .section-title h2,
  .offer h2,
  .audit h2,
  .final-cta h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }
}
