:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-soft: #090d19;
  --panel: #0d1324;
  --panel-2: #10182d;
  --text: #f8fbff;
  --muted: #b7c0d1;
  --faint: #717b91;
  --purple: #7b3cff;
  --purple-2: #a855f7;
  --gold: #f6c24a;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(123, 60, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(246, 194, 74, 0.1), transparent 22rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 20px 0;
}

.nav-shell {
  width: min(1180px, 100%);
  min-height: 74px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 7, 13, 0.82);
  box-shadow: 0 18px 60px var(--shadow);
  backdrop-filter: blur(20px);
}

.brand {
  width: 170px;
  height: 50px;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 26px);
  color: #eef2ff;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
}

.nav-cta {
  padding: 0 22px;
  background: linear-gradient(135deg, #5d28ff, #8f43ff);
  box-shadow: 0 14px 34px rgba(123, 60, 255, 0.28);
}

.nav-toggle {
  display: none;
}

.nav-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-button span {
  width: 18px;
  height: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 92px);
  padding: 86px 20px 78px;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.95) 0%, rgba(5, 7, 13, 0.64) 48%, rgba(5, 7, 13, 0.82) 100%),
    radial-gradient(circle at 76% 38%, rgba(123, 60, 255, 0.28), transparent 26rem);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 38px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple-2);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(3rem, 5.8vw, 6.15rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--purple);
}

.page-hero {
  padding-top: 110px;
  padding-bottom: 28px;
}

.page-hero h1,
.pricing h1,
.portfolio h1,
.about h1,
.contact h1 {
  max-width: 820px;
}

.hero-text {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

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

.button {
  border: 0;
  padding: 0 26px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #5d28ff, #964cff);
  box-shadow: 0 16px 36px rgba(123, 60, 255, 0.34);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(168, 85, 247, 0.52);
  background: rgba(11, 14, 28, 0.76);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 36px;
}

.hero-stats div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 19, 36, 0.68);
}

.hero-stats strong {
  display: block;
  color: var(--gold);
  font-size: 1.7rem;
}

.hero-stats span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58), 0 0 90px rgba(123, 60, 255, 0.2);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  object-position: center;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.service-card {
  grid-column: span 2;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 24, 44, 0.96), rgba(10, 14, 27, 0.92));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  color: var(--purple-2);
}

.service-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3,
.price-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.service-card p,
.portfolio-copy p,
.about-copy p,
.contact-copy p,
.price-card li {
  color: var(--muted);
  line-height: 1.7;
}

.service-card .button,
.portfolio-copy .button,
.about-copy .button {
  margin-top: 18px;
}

.portfolio,
.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  align-items: center;
  gap: 44px;
}

.portfolio-copy p,
.about-copy p,
.contact-copy p {
  max-width: 590px;
  font-size: 1.04rem;
}

.portfolio-preview,
.logo-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #05070d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.portfolio-preview img {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  object-fit: cover;
}

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

.price-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 19, 36, 0.8);
}

.price-card.featured {
  border-color: rgba(246, 194, 74, 0.44);
  background:
    linear-gradient(180deg, rgba(246, 194, 74, 0.1), transparent 34%),
    rgba(15, 20, 36, 0.94);
}

.plan {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin: 18px 0 22px;
  font-size: 2.2rem;
  font-weight: 800;
}

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

.price-card ul {
  min-height: 178px;
  margin: 0;
  padding: 0 0 0 19px;
}

.price-card .button {
  width: 100%;
  margin-top: 24px;
}

.logo-panel {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.logo-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.contact {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 19, 36, 0.86);
}

.contact-trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #e9edfa;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #080d19;
  color: #fff;
  font: inherit;
  padding: 14px 15px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--purple-2);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14);
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 30px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer img {
  width: 180px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
}

.response-page {
  min-height: 58vh;
  display: grid;
  align-content: center;
}

.checkout-links {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-top: 28px;
}

.setup-note {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.7;
}

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

  .nav-button {
    display: flex;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle:checked ~ .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(4, 7, 13, 0.98);
  }

  .nav-toggle:checked ~ .nav-links a {
    padding: 16px;
  }

  .hero-shell,
  .portfolio,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-visual {
    order: -1;
  }

  .service-card {
    grid-column: span 3;
  }

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

  .price-card ul {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 12px 0;
  }

  .nav-shell {
    min-height: 66px;
    padding: 10px;
  }

  .brand {
    width: 140px;
    height: 44px;
  }

  .hero {
    min-height: auto;
    padding: 34px 14px 58px;
  }

  .hero-shell {
    gap: 26px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 62px 0;
  }

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

  .service-card {
    grid-column: auto;
    min-height: auto;
  }

  .portfolio,
  .about,
  .contact {
    gap: 24px;
  }

  .contact-form,
  .price-card,
  .service-card {
    padding: 22px;
  }
}
