/* ============ FALKUN — styles ============ */
/* Palette: see business/BRAND.md */
:root {
  --ink: #0B0E14;
  --card: #131926;
  --card-edge: rgba(255, 255, 255, 0.07);
  --text: #E8ECF4;
  --muted: #8B94A7;
  --red: #FF3B4E;
  --violet: #9D4EDD;
  --cyan: #4CC9F0;
  --argb: linear-gradient(100deg, var(--red), var(--violet), var(--cyan));
  --radius: 16px;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(157, 78, 221, 0.14), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(255, 59, 78, 0.10), transparent 60%),
    var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.muted { color: var(--muted); }

.argb-text {
  background: var(--argb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(11, 14, 20, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-edge);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 20px;
  letter-spacing: 0.16em; color: var(--text);
}
.nav-brand:hover { text-decoration: none; }
.nav-logo { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ============ buttons ============ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600; font-size: 16px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 6px 24px rgba(255, 59, 78, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 32px rgba(255, 59, 78, 0.5); }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18); color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn-nav { padding: 10px 18px; font-size: 15px; white-space: nowrap; }
.btn-big { padding: 17px 34px; font-size: 18px; }

/* ============ hero ============ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 56px) clamp(28px, 4vw, 56px);
  max-width: 1240px; margin: 0 auto;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 13px; font-weight: 600; color: var(--cyan);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(52px, 8vw, 92px);
  font-weight: 700; letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero-sub { font-size: 19px; color: var(--muted); max-width: 54ch; }
.hero-sub strong, .hero-sub em { color: var(--text); }

.price-block {
  display: flex; align-items: center; gap: 20px;
  margin: 30px 0 26px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  width: fit-content;
}
.price {
  font-family: var(--font-head); font-weight: 700;
  font-size: 46px; line-height: 1;
}
.price-note { font-size: 14.5px; line-height: 1.5; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-center { justify-content: center; }

.trust-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin-top: 28px;
}
.trust-chips li {
  font-size: 14px; font-weight: 500;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-edge);
  border-radius: 999px;
}

/* ============ hero visual ============ */
.hero-visual { text-align: center; }
.pc-render { width: min(100%, 380px); filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5)); }
.case-badge {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.5em;
  fill: rgba(232, 236, 244, 0.55);
}
.fan-ring { animation: ringPulse 4s ease-in-out infinite; }
@keyframes ringPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.render-note {
  font-size: 13px; color: var(--muted);
  max-width: 40ch; margin: 10px auto 0;
}

/* ============ sections ============ */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) clamp(20px, 5vw, 56px);
}
.section h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  margin-bottom: 14px;
}
.section-sub { color: var(--muted); max-width: 64ch; margin-bottom: 34px; }

/* ============ fps bars ============ */
.fps-grid { display: grid; gap: 16px; margin-top: 34px; }
.fps-row {
  display: grid;
  grid-template-columns: 150px 1fr 92px;
  align-items: center; gap: 16px;
}
.fps-game { font-weight: 600; font-size: 15.5px; }
.fps-val {
  font-family: var(--font-head); font-weight: 700;
  text-align: right; font-size: 15.5px;
}
.fps-bar {
  height: 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.fps-fill {
  height: 100%; width: 0;
  border-radius: 999px;
  background: var(--argb);
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fps-fill.grow { width: var(--w); }

/* ============ specs ============ */
.spec-card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  padding: 16px 22px;
  text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--card-edge);
  font-size: 16px;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th {
  width: 168px; color: var(--muted);
  font-weight: 600; white-space: nowrap;
  font-family: var(--font-head); letter-spacing: 0.02em;
}

/* ============ cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card p a { font-weight: 600; }

/* ============ steps ============ */
.steps {
  counter-reset: step;
  list-style: none;
  display: grid; gap: 14px;
  max-width: 760px;
}
.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: var(--radius);
  padding: 20px 22px 20px 74px;
  position: relative;
  color: var(--muted); font-size: 16px;
}
.steps li strong { color: var(--text); }
.steps li::before {
  content: counter(step);
  position: absolute; left: 22px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--argb);
  color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
}

/* ============ faq ============ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600; font-size: 16.5px;
  font-family: var(--font-head);
  list-style: none;
  position: relative;
  padding-right: 34px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--red); font-size: 24px; font-weight: 500;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; font-size: 15.5px; }

/* ============ order ============ */
.order { text-align: center; }
.order .section-sub { margin-left: auto; margin-right: auto; }
.order-smallprint {
  color: var(--muted); font-size: 14px;
  max-width: 52ch; margin: 22px auto 0;
}

/* ============ footer ============ */
.footer {
  border-top: 1px solid var(--card-edge);
  padding: 44px clamp(20px, 5vw, 56px) 36px;
  max-width: 1240px; margin: 24px auto 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  font-size: 15px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700;
  letter-spacing: 0.16em; font-size: 18px;
}
.footer-legal {
  margin-top: 34px; font-size: 13px;
  max-width: 88ch;
}

/* ============ doc pages (warranty.html) ============ */
.doc {
  max-width: 780px; margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 56px);
}
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.doc .doc-updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 24px; margin: 38px 0 12px; }
.doc p, .doc li { color: var(--muted); font-size: 16px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 8px; margin: 10px 0; }
.doc strong { color: var(--text); }
.doc .doc-back { display: inline-block; margin-bottom: 28px; font-weight: 600; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .pc-render { width: min(72vw, 300px); }
  .nav-links { display: none; }
  .fps-row { grid-template-columns: 110px 1fr 76px; gap: 10px; }
  .price-block { width: 100%; }
  .btn-big { width: 100%; text-align: center; }
}
