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

:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-strong: #151521;
  --border: #1e1e2e;
  --text: #e8e8f0;
  --muted: #8b8ba0;
  --quiet: #6b6b80;
  --accent: #7c6af7;
  --accent-light: #a89df9;
  --accent-deep: #342a88;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

body::selection {
  background: rgba(124, 106, 247, 0.34);
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.domain {
  font-size: 0.8rem;
  color: var(--quiet);
  letter-spacing: 0.05em;
}

/* MAIN */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* HERO */
.hero {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 8.5rem 0 7.5rem;
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 35%, rgba(124, 106, 247, 0.32), transparent 30%),
    radial-gradient(circle at 72% 20%, rgba(168, 157, 249, 0.18), transparent 28%),
    linear-gradient(115deg, rgba(124, 106, 247, 0.14), transparent 48%, rgba(255, 255, 255, 0.04));
  filter: blur(28px);
  opacity: 0.72;
  transform: translate3d(0, 0, 0);
  animation: heroDrift 18s ease-in-out infinite alternate;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
  opacity: 0.28;
  z-index: -1;
}

.hero-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero-field span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent-light);
  box-shadow: 0 0 28px rgba(168, 157, 249, 0.85);
  opacity: 0.42;
  animation: particleRise 12s ease-in-out infinite;
}

.hero-field span:nth-child(1) {
  left: 12%;
  bottom: 18%;
}

.hero-field span:nth-child(2) {
  left: 65%;
  bottom: 28%;
  animation-delay: -4s;
  transform: scale(0.75);
}

.hero-field span:nth-child(3) {
  left: 88%;
  bottom: 12%;
  animation-delay: -8s;
  transform: scale(0.55);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(124, 106, 247, 0.1);
  border: 1px solid rgba(124, 106, 247, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  position: relative;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 0;
  max-width: 980px;
  position: relative;
}

.sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.72;
  position: relative;
}

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

/* SECTIONS */
section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-child {
  border-bottom: none;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 2rem;
  letter-spacing: 0;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.65rem;
}

/* PROBLEM */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.problem-card {
  background: linear-gradient(90deg, rgba(124, 106, 247, 0.1), transparent 62%), var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1.45rem 1.5rem;
  min-height: 146px;
}

.problem-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.problem-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

/* GRID CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background:
    linear-gradient(180deg, rgba(124, 106, 247, 0.14), rgba(17, 17, 24, 0.92) 42%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  min-height: 315px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.card:hover {
  border-color: rgba(124, 106, 247, 0.48);
  transform: translateY(-3px);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(124, 106, 247, 0.32);
  border-radius: 8px;
  color: var(--accent-light);
  background: rgba(124, 106, 247, 0.12);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.68;
}

/* TIMELINE */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 830px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 0 0 2rem 2rem;
  border-left: 2px solid rgba(124, 106, 247, 0.36);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.32rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(124, 106, 247, 0.7);
}

.timeline-item time {
  color: var(--accent-light);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.timeline-item p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 640px;
}

/* WHO */
.who p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.75;
}

/* STEPS */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 820px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  padding-top: 0.25rem;
  min-width: 28px;
}

.step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 660px;
}

/* SHOWCASE */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(124, 106, 247, 0.12), rgba(17, 17, 24, 0.82) 45%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.2s, transform 0.2s;
}

.proof-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(168, 157, 249, 0.2));
}

.proof-card:hover {
  border-color: rgba(124, 106, 247, 0.48);
  transform: translateY(-2px);
}

.proof-meta {
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.proof-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.proof-card p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

/* CONTACT */
.contact {
  text-align: left;
}

.contact p {
  color: var(--muted);
  max-width: 690px;
  margin-bottom: 2.25rem;
  font-size: 1.12rem;
  line-height: 1.75;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 690px;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 0.95rem 1rem;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-form textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--quiet);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 106, 247, 0.14);
}

.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: #d16a7a;
}

.contact-form input:valid,
.contact-form textarea:valid {
  border-color: rgba(124, 106, 247, 0.45);
}

.contact-note {
  display: block;
  margin-top: 1.1rem;
  color: var(--quiet);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: var(--white);
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  transition: background 0.2s, border-color 0.2s, transform 0.1s, color 0.2s;
}

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

.btn-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 14px 34px rgba(124, 106, 247, 0.22);
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 157, 249, 0.28);
  color: var(--accent-light);
}

.btn-secondary:hover {
  border-color: rgba(168, 157, 249, 0.6);
  background: rgba(124, 106, 247, 0.12);
}

.contact-btn {
  min-height: 56px;
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* FOOTER */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--quiet);
}

footer span:last-child {
  color: rgba(168, 157, 249, 0.78);
}

/* ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(3%, 6%, 0) scale(1.08);
  }
}

@keyframes particleRise {
  0%, 100% {
    opacity: 0.16;
    transform: translate3d(0, 18px, 0) scale(0.65);
  }
  45% {
    opacity: 0.5;
  }
  60% {
    transform: translate3d(14px, -58px, 0) scale(1);
  }
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card {
    min-height: 260px;
  }
}

@media (max-width: 780px) {
  .problem-grid,
  .grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .proof-card,
  .card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  nav {
    padding: 1rem 1.25rem;
  }

  main {
    padding: 0 1.25rem;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .hero-inner {
    padding: 0 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.7rem);
  }

  .sub {
    font-size: 1.05rem;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .contact-btn {
    width: 100%;
  }

  section {
    padding: 4rem 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding-left: 1.45rem;
  }

  footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .step {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
