:root {
  --bg: #09090b;
  --bg-soft: rgba(255, 255, 255, 0.03);
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-strong: rgba(24, 24, 27, 0.7);
  --text: #f4f4f5;
  --text-soft: #d4d4d8;
  --text-muted: #a1a1aa;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.15);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

video,
iframe {
  border: 0;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(99, 102, 241, 0.18), transparent 35%),
    radial-gradient(circle at bottom, rgba(168, 85, 247, 0.12), transparent 25%),
    var(--bg);
}

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

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-glow {
  position: absolute;
  inset: auto;
  pointer-events: none;
  filter: blur(20px);
}

.hero-glow-top {
  top: -150px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 65%);
}

.hero-glow-bottom {
  right: -60px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 65%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
  gap: 56px;
  align-items: center;
  padding: 64px 0 72px;
}

.hero-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}

.hero-brand-logo {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.hero-brand-text {
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.4;
}

.brand-logo {
  width: auto;
  height: 32px;
  object-fit: contain;
}

.hero h1,
.section-heading h2,
.cta-box h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
}

.hero-text,
.section-heading p,
.card p,
.portfolio-card p,
.stack-card p,
.cta-box p,
.footer p,
.audience-list li {
  color: var(--text-soft);
  line-height: 1.75;
}

.hero-text {
  max-width: 650px;
  margin-top: 20px;
  font-size: 1.08rem;
}

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

.hero-note,
.cta-note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: #ffffff;
  color: #0f172a;
}

.button-primary:hover {
  opacity: 0.92;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: var(--border-strong);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button.large {
  min-height: 58px;
  padding-inline: 28px;
  margin-top: 28px;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-self: center;
}

.phone-frame {
  width: min(100%, 400px);
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: var(--shadow);
}

.hero-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000000;
  border-radius: 28px;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-bordered {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 40px;
  text-align: left;
}

.section-heading.max-width-medium,
.max-width-medium {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.section-heading h2,
.cta-box h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 700;
}

.section-heading p {
  margin: 16px 0 0;
  font-size: 1rem;
}

.card-grid,
.portfolio-grid {
  display: grid;
  gap: 24px;
}

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

.card,
.stack-card,
.portfolio-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.card,
.stack-card {
  background: var(--bg-card);
  padding: 24px;
}

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

.card p,
.stack-card p {
  margin: 12px 0 0;
  font-size: 0.96rem;
}

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

.portfolio-card {
  background: var(--bg-card-strong);
  padding: 16px;
}

.portfolio-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #000000;
}

.portfolio-frame iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
}

.portfolio-card p {
  margin: 16px 0 0;
  font-size: 0.95rem;
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.audience-list {
  display: grid;
  gap: 16px;
}

.audience-list li {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  font-size: 0.96rem;
}

.stack-list {
  display: grid;
  gap: 20px;
}

.section-cta {
  padding-top: 0;
}

.cta-box {
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.cta-box p {
  max-width: 780px;
  margin-inline: auto;
  margin-top: 16px;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand,
.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .three-columns,
  .portfolio-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 56px 0 64px;
  }

  .hero-content,
  .hero-media {
    justify-self: stretch;
  }

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

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

  .section,
  .hero-grid {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-brand-logo {
    height: 48px;
  }

  .hero-brand-text {
    border-radius: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .cta-box {
    padding: 32px 20px;
  }

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