:root {
  color-scheme: dark;
  --bg: #090909;
  --bg-elevated: #101214;
  --panel: rgba(18, 20, 22, 0.9);
  --panel-strong: rgba(26, 28, 31, 0.96);
  --surface: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f4f5;
  --muted: #b9bfc5;
  --accent: #e50914;
  --accent-soft: rgba(229, 9, 20, 0.14);
  --shadow: rgba(0, 0, 0, 0.4);
  --radius: 22px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(229, 9, 20, 0.14), transparent 38%),
    linear-gradient(180deg, #090909 0%, #111315 100%);
}

body a {
  color: #ff5a61;
  text-decoration: none;
}

body a:hover,
body a:focus {
  color: #ff868d;
}

.site-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 72px;
}

.page-card {
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 28px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px var(--shadow);
  backdrop-filter: blur(10px);
}

.page-card::before,
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(229, 9, 20, 0.25));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto 24px;
  padding: 12px 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), rgba(229, 9, 20, 0.74));
  box-shadow: 0 10px 20px rgba(229, 9, 20, 0.28);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 26px;
  height: 26px;
}

.brand-word {
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: 1.9rem;
  background: linear-gradient(90deg, #ffffff, #ffb7bd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.link-pill,
.button,
.button.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.link-pill:hover,
.button:hover,
.button.secondary:hover,
.link-pill:focus,
.button:focus,
.button.secondary:focus {
  transform: translateY(-1px);
  border-color: rgba(229, 9, 20, 0.35);
}

.button {
  padding-inline: 20px;
  background: linear-gradient(135deg, var(--accent), #b80611);
  border-color: rgba(229, 9, 20, 0.6);
  box-shadow: 0 14px 28px rgba(229, 9, 20, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.02);
}

.button.primary {
  color: white;
}

.hero-panel {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 42px 28px 28px;
  background: linear-gradient(180deg, rgba(24, 25, 27, 0.72), rgba(10, 10, 12, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px var(--shadow);
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.3);
  color: #ffb7bd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 16px;
}

.hero-copy {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 26px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.7);
}

.hero-visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  padding: 18px;
}

.window {
  position: relative;
  height: 100%;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 14, 15, 0.96), rgba(19, 22, 25, 1));
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.window-dot:nth-child(1) { background: #ff5f57; }
.window-dot:nth-child(2) { background: #febc2e; }
.window-dot:nth-child(3) { background: #28c840; }

.browser-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 12px;
}

.video-frame {
  position: relative;
  height: 146px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(229, 9, 20, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.video-play {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.2), rgba(229, 9, 20, 0.15));
}

.video-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.88);
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.45);
}

.video-play::after {
  content: "";
  position: absolute;
  left: calc(50% + 8px);
  top: calc(50% - 16px);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid rgba(255, 255, 255, 0.9);
}

.chat-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.9), rgba(229, 9, 20, 0.35));
  flex-shrink: 0;
}

.chat-bubble {
  flex: 1;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.chat-bubble:nth-child(2) { width: 72%; }
.chat-bubble:nth-child(3) { width: 38%; }

.section {
  max-width: 1080px;
  margin: 26px auto 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

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

.feature-card {
  padding: 22px 18px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.28);
  color: #ffb7bd;
  font-size: 1.25rem;
}

.feature-card h3 {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  max-width: 1080px;
  margin: 26px auto 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .hero-layout,
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .site-shell {
    padding-top: 12px;
  }
}

@media (max-width: 520px) {
  .site-shell,
  .hero-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    font-size: 1.5rem;
  }

  .button,
  .link-pill {
    width: 100%;
  }

  .cta-row,
  .topbar-links,
  .footer-links {
    width: 100%;
  }
}
