:root {
  --bg: #090b10;
  --bg-soft: #0f131a;
  --panel: #10141c;
  --panel-2: #171c26;
  --text: #f6f8fc;
  --muted: #aab1bf;
  --accent: #ff4d5a;
  --accent-2: #ff7a18;
  --line: rgba(255,255,255,0.08);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1280px;
  --shadow: 0 20px 40px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255,77,90,0.12), transparent 22%),
    radial-gradient(circle at top left, rgba(255,122,24,0.08), transparent 20%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(8,10,14,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(255,77,90,.3);
}
.brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 2px;
}
.menu {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.menu a {
  font-size: 14px;
  color: #e7ebf2;
  position: relative;
  padding: 8px 2px;
}
.menu a:hover,
.menu a.active { color: #fff; }
.menu a:hover::after,
.menu a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.nav-actions { display: flex; gap: 12px; align-items: center; }
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  font-size: 24px;
  cursor: pointer;
}
.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 28px rgba(255,77,90,0.25);
}
.btn-secondary {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.52) 42%, rgba(0,0,0,.78) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  align-items: end;
  padding: 64px 0 86px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: #f9d7d9;
  margin-bottom: 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.hero h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 78px);
  line-height: .95;
  letter-spacing: -.04em;
  max-width: 760px;
}
.lead {
  color: #d3d8e2;
  max-width: 680px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
  margin: 18px 0 28px;
}
.hero-actions, .meta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.meta-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  color: #d8dde6;
  font-size: 14px;
}
.hero-card, .panel {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-card h3, .panel h3 { margin: 0 0 12px; }
.card-surface {
  border-radius: 22px;
  overflow: hidden;
  background: #0d1016;
  border: 1px solid rgba(255,255,255,.06);
}
.thumb-cover {
  aspect-ratio: 16/9;
  position: relative;
  background-position: center;
  background-size: cover;
  display: grid;
  place-items: center;
  font-size: 58px;
}
.thumb-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.72));
}
.thumb-cover > * { position: relative; z-index: 1; }
.badge, .duration, .score {
  position: absolute;
  top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.badge, .duration { background: rgba(10,10,14,.72); }
.badge { left: 14px; }
.duration { right: 14px; }
.score {
  right: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  min-width: 50px;
  text-align: center;
}
.card-copy { padding: 16px; }
.card-copy h3 { margin: 0 0 6px; font-size: 18px; }
.card-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
}
.card-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}
main { padding-bottom: 80px; }
.section { padding: 28px 0 18px; }
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.section-header h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.03em;
}
.section-header p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 700px;
  line-height: 1.7;
}
.section-link { font-weight: 700; white-space: nowrap; }
.cards-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.cards-row::-webkit-scrollbar { height: 8px; }
.cards-row::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 999px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.stack { display: grid; gap: 18px; }
.card, .info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover, .info-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.list-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.list-item b, .icon-pill {
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #e9edf4;
  cursor: pointer;
}
.chip.active, .chip:hover {
  background: linear-gradient(135deg, rgba(255,77,90,.2), rgba(255,122,24,.16));
  border-color: rgba(255,255,255,.14);
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.stat strong { display: block; font-size: 24px; margin-bottom: 4px; }
.stat span { color: var(--muted); font-size: 14px; }
.form-grid { display: grid; gap: 12px; }
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: white;
  outline: none;
}
textarea { min-height: 130px; resize: vertical; }
.footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 28px 0 60px;
  color: var(--muted);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.page-hero {
  padding: 76px 0 32px;
}
.page-hero p {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 18px;
  margin: 18px 0 0;
}
.center { text-align: center; }
.small { font-size: 14px; color: var(--muted); }
.notice {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,77,90,.08);
  border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 1120px) {
  .hero-content, .feature-grid, .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .menu, .nav-actions { display: none; }
  .hamburger { display: block; }
  .menu.open {
    display: flex;
    position: absolute;
    top: 78px;
    left: 16px; right: 16px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(15,17,22,.98);
    border: 1px solid rgba(255,255,255,.08);
    flex-direction: column;
    align-items: flex-start;
  }
  .hero { min-height: auto; }
  .hero-content { grid-template-columns: 1fr; padding: 50px 0 72px; }
  .grid-2, .grid-3, .stats { grid-template-columns: 1fr; }
}
