:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5e7eb;
  background: #020617;
  accent: #7c3aed;
  soft: #0b1120;
  border: rgba(255,255,255,0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.2), transparent 28%),
              radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.18), transparent 30%),
              linear-gradient(180deg, #020617 0%, #050b18 100%);
}

button,
a {
  font: inherit;
}

.page-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c7d2fe;
}

.topnav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topnav a {
  color: rgba(229,231,235,0.85);
  text-decoration: none;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #e5e7eb;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  min-height: 78vh;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.15);
  color: #c7d2fe;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.hero p {
  max-width: 680px;
  margin: 1.4rem 0 2rem;
  color: rgba(229,231,235,0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #7c3aed, #38bdf8);
  color: white;
  padding: 0.95rem 1.8rem;
}

.button-secondary {
  background: rgba(255,255,255,0.08);
  color: #e5e7eb;
  padding: 0.95rem 1.8rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.3), transparent 35%),
              radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.35), transparent 28%);
}

.visual-card {
  position: relative;
  width: 100%;
  min-height: 340px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2rem;
  padding: 2rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 120px rgba(0,0,0,0.25);
}

.visual-pill {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.2);
  color: #d8b4fe;
  font-size: 0.9rem;
}

.visual-card h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.visual-card p {
  margin: 0 0 1.75rem;
  color: rgba(229,231,235,0.8);
}

.metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.metrics span {
  display: inline-flex;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #c7d2fe;
  font-size: 0.95rem;
}

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

.section-heading span {
  display: block;
  color: #a5b4fc;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-heading h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.features,
.showcase,
.contact-block {
  padding: 4rem 0;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card,
.showcase-card,
.contact-form,
.contact-copy {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.75rem;
  padding: 2rem;
  backdrop-filter: blur(14px);
}

.feature-card h3,
.showcase-card h3 {
  margin-top: 0;
}

.feature-card p,
.showcase-card p,
.contact-copy p {
  color: rgba(229,231,235,0.85);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.showcase-card {
  min-height: 220px;
}

.contact-block {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.contact-copy span {
  display: block;
  margin-bottom: 1rem;
  color: #93c5fd;
  font-weight: 700;
}

.contact-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.contact-copy p {
  margin: 0;
  color: rgba(229,231,235,0.8);
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  color: #e5e7eb;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
  background: rgba(255,255,255,0.04);
  color: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid rgba(56, 189, 248, 0.8);
}

.form-message {
  margin-top: 1rem;
  color: #93c5fd;
  font-weight: 600;
}

.footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(229,231,235,0.6);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .contact-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .topnav.open {
    display: flex;
  }

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

  .hero {
    gap: 1.5rem;
  }

  .grid-three,
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}
