:root {
  --bg: #09070f;
  --bg-soft: #11101b;
  --panel: rgba(19, 17, 29, 0.88);
  --panel-strong: rgba(14, 12, 22, 0.96);
  --text: #f7f3ff;
  --muted: #b8adc9;
  --line: rgba(175, 128, 255, 0.2);
  --line-strong: rgba(175, 128, 255, 0.36);
  --accent: #9b52ff;
  --accent-soft: #caa6ff;
  --glow: rgba(155, 82, 255, 0.32);
  --max: 1180px;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  --header-offset: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: calc(var(--header-offset) + 1rem);
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(138, 84, 255, 0.15), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(176, 120, 255, 0.1), transparent 22%),
    linear-gradient(180deg, #08060d 0%, #0a0812 48%, #07060b 100%);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  inset: auto auto 0 0;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 82, 255, 0.16), transparent 65%);
  pointer-events: none;
  filter: blur(10px);
  z-index: 0;
}

.page-glow-right {
  inset: 10rem 0 auto auto;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(8, 7, 14, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 20;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-inner {
  min-height: 5.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.6rem;
  height: 2.2rem;
  filter: drop-shadow(0 0 18px rgba(155, 82, 255, 0.45));
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}

.brand-wordmark strong {
  color: var(--accent-soft);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--text);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 1rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  padding: 4.8rem 0 3rem;
}

.hero-grid,
.about-grid,
.contact-grid,
.example-grid,
.pricing-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 38rem);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.hero-copy {
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.hero h1,
.section-heading h2,
.example-copy h2,
.contact-copy h2,
.about-grid h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.3rem);
  max-width: 10ch;
}

.lead {
  margin: 1.15rem 0 0;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  color: var(--text);
}

.intro,
.section-heading p,
.example-copy p,
.about-copy p,
.contact-copy p,
.form-note,
.solution-card p,
.value-card p,
.step-card p,
.why-card p,
.assignment-card p,
.faq-card p {
  color: var(--muted);
}

.intro {
  max-width: 62ch;
  margin: 1rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.why-section {
  padding-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #7d34f8 0%, #af79ff 100%);
  color: #fff;
  box-shadow: 0 0 30px rgba(155, 82, 255, 0.3);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.visual-card,
.value-card,
.solution-card,
.step-card,
.example-panel,
.contact-form,
.why-card,
.assignment-card,
.faq-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.visual-card {
  width: min(100%, 38rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2rem;
  transform: perspective(1400px) rotateY(-10deg) rotateX(2deg);
  transform-origin: center;
}

.visual-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.section {
  padding: 5.2rem 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.example-copy h2,
.contact-copy h2,
.about-grid h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.value-strip {
  padding: 1.2rem 0 2rem;
}

.value-grid,
.solutions-grid,
.steps-grid,
.why-grid,
.assignment-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

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

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

.value-card,
.solution-card,
.step-card,
.example-panel,
.contact-form,
.why-card,
.assignment-card,
.faq-card {
  border-radius: var(--radius);
}

.value-card,
.solution-card,
.step-card,
.why-card,
.assignment-card,
.faq-card {
  padding: 1.4rem;
}

.value-card {
  position: relative;
  overflow: hidden;
}

.value-card::before,
.solution-card::before,
.step-card::before,
.contact-form::before,
.example-panel::before,
.why-card::before,
.assignment-card::before,
.faq-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(202, 166, 255, 0.32), rgba(255, 255, 255, 0.03));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.icon {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: rgba(155, 82, 255, 0.08);
  color: var(--accent-soft);
}

.icon svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3,
.solution-card h3,
.step-card h3,
.why-card h3,
.assignment-card h3,
.faq-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

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

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

.solution-card {
  position: relative;
  overflow: hidden;
  min-height: 14rem;
}

.why-card,
.assignment-card,
.faq-card {
  position: relative;
  overflow: hidden;
}

.why-card::after,
.assignment-card::after,
.faq-card::after {
  content: "";
  position: absolute;
  inset: auto -1.5rem -1.5rem auto;
  width: 7rem;
  height: 7rem;
  background: radial-gradient(circle, rgba(155, 82, 255, 0.14), transparent 72%);
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 7rem;
  height: 7rem;
  background: radial-gradient(circle, rgba(155, 82, 255, 0.16), transparent 72%);
}

.accent-section {
  background: linear-gradient(180deg, rgba(17, 15, 28, 0.72), rgba(10, 8, 18, 0.2));
}

.example-grid {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr);
  align-items: center;
}

.example-panel {
  position: relative;
  padding: 1.7rem;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.95rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d7b8ff, #8d46ff);
  box-shadow: 0 0 16px rgba(155, 82, 255, 0.45);
}

.closing-line {
  margin: 1.6rem 0 0;
  font-weight: 600;
  color: var(--text);
}

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

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-soft);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.about-grid,
.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.pricing-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.pricing-section {
  background: linear-gradient(180deg, rgba(17, 15, 28, 0.4), rgba(10, 8, 18, 0));
}

.pricing-copy h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.pricing-copy p {
  color: var(--muted);
}

.pricing-panel {
  display: grid;
  gap: 1rem;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(202, 166, 255, 0.32), rgba(255, 255, 255, 0.03));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pricing-card-highlight {
  background:
    radial-gradient(circle at top right, rgba(155, 82, 255, 0.16), transparent 32%),
    var(--panel-strong);
}

.pricing-label {
  margin: 0 0 1rem;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.pricing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pricing-list span {
  color: var(--muted);
}

.pricing-list strong {
  font-size: 1.02rem;
  text-align: right;
}

.pricing-notes {
  margin-bottom: 1.4rem;
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-points {
  display: grid;
  gap: 0.35rem;
}

.contact-points a {
  font-size: 1.12rem;
}

.contact-points p {
  color: var(--muted);
}

.contact-form {
  position: relative;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-size: 0.96rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
}

.contact-form select option {
  color: #17131f;
  background: #f3ecff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(202, 166, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(155, 82, 255, 0.12);
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  padding: 1.5rem 0 3rem;
}

.footer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .example-grid,
  .about-grid,
  .contact-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .solutions-grid,
  .why-grid,
  .assignment-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

  .site-header {
    position: sticky;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 1rem;
    left: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(12, 10, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    display: none;
  }

  .visual-card {
    transform: none;
    width: min(78vw, 18rem);
    margin: 0 auto;
    border-radius: 1.25rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  }

  .visual-card img {
    aspect-ratio: auto;
    object-position: center top;
    object-fit: cover;
  }

  .value-grid,
  .solutions-grid,
  .steps-grid,
  .why-grid,
  .assignment-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .lead {
    font-size: 1.05rem;
  }

  .intro {
    font-size: 0.98rem;
  }

  .section,
  .contact-section {
    padding: 4.2rem 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--max));
  }

  .header-inner {
    min-height: 4.7rem;
  }

  .brand {
    gap: 0.7rem;
  }

  .brand-mark {
    width: 2.1rem;
    height: 1.8rem;
  }

  .brand-wordmark {
    font-size: 1.1rem;
  }

  .menu-toggle {
    width: 2.8rem;
    height: 2.8rem;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero-grid {
    gap: 1.1rem;
  }

  .hero-actions {
    margin-top: 1.4rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .value-card,
  .solution-card,
  .step-card,
  .example-panel,
  .contact-form {
    animation: rise-in 680ms ease both;
  }

  .hero-visual {
    animation-delay: 120ms;
  }

  .value-card:nth-child(2),
  .solution-card:nth-child(2),
  .step-card:nth-child(2) {
    animation-delay: 90ms;
  }

  .value-card:nth-child(3),
  .solution-card:nth-child(3),
  .step-card:nth-child(3) {
    animation-delay: 150ms;
  }

  .value-card:nth-child(4),
  .solution-card:nth-child(4),
  .step-card:nth-child(4) {
    animation-delay: 210ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
