/* Hebat303 contrerassd.com — Varian E + Synthwave */

:root {
  --bg: #12082a;
  --bg-mid: #1a0f35;
  --panel: #221040;
  --pink: #ff2d95;
  --pink-glow: rgba(255, 45, 149, 0.45);
  --purple: #b24bf3;
  --gold: #ffd700;
  --orange: #ff6b00;
  --text: #f5e8ff;
  --muted: #b8a0d4;
  --radius: 14px;
  --dock-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  padding-bottom: var(--dock-h);
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, #2d1b69 0%, var(--bg) 45%, #0d0618 100%);
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42vh;
  z-index: -1;
  background:
    linear-gradient(transparent 0%, rgba(255, 45, 149, 0.08) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 48px);
  transform: perspective(280px) rotateX(58deg);
  transform-origin: bottom center;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { transform: none; opacity: 0.35; }
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--pink);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

a:hover {
  color: var(--gold);
  text-shadow: 0 0 10px var(--pink-glow);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
}

.skip-link:focus { left: 0.75rem; top: 0.75rem; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  color: currentColor;
}

.ico--sm { width: 1em; height: 1em; }
.ico--btn { width: 0.95em; height: 0.95em; }

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 600;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.scroll-meter__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--gold));
}

/* Desktop header */
.synth-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 400;
  background: rgba(18, 8, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 45, 149, 0.25);
  box-shadow: 0 0 24px rgba(255, 45, 149, 0.12);
}

.synth-header__inner {
  width: min(100% - 2rem, 1040px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
}

.synth-brand img {
  height: 32px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.synth-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.synth-nav a:not(.btn) {
  padding: 0.4rem 0.65rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 8px;
}

.synth-nav a:not(.btn):hover { color: var(--text); background: rgba(255, 45, 149, 0.1); }

.synth-actions {
  display: flex;
  gap: 0.35rem;
}

@media (min-width: 900px) {
  .synth-header { display: block; }
}

/* Mobile top + bottom dock — Variant E */
.mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(18, 8, 42, 0.94);
  border-bottom: 1px solid rgba(255, 45, 149, 0.2);
  position: sticky;
  top: 0;
  z-index: 400;
}

.mobile-top img {
  height: 28px;
  width: auto;
  max-width: 140px;
}

.greet-chip {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 999px;
  background: rgba(255, 45, 149, 0.12);
}

@media (min-width: 900px) {
  .mobile-top { display: none; }
}

.dock-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 450;
  height: var(--dock-h);
  display: flex;
  align-items: stretch;
  background: rgba(18, 8, 42, 0.96);
  border-top: 1px solid rgba(255, 45, 149, 0.3);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.dock-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.dock-bar a.is-active {
  color: var(--gold);
  border-top-color: var(--pink);
  background: rgba(255, 45, 149, 0.1);
}

.dock-bar .ico { width: 1.15rem; height: 1.15rem; }

@media (min-width: 900px) {
  .dock-bar { display: none; }
}

/* Sticky mini CTA */
.mini-cta {
  position: fixed;
  right: 1rem;
  bottom: calc(var(--dock-h) + 0.75rem);
  z-index: 440;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.mini-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 900px) {
  .mini-cta { bottom: 1.25rem; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.52rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
  transition: transform 0.12s, box-shadow 0.2s;
}

.btn:active { transform: scale(0.97); }

.btn-synth {
  color: var(--bg);
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 0 20px var(--pink-glow);
}

.btn-synth:hover { color: var(--bg); }

.btn-neon {
  color: var(--pink);
  background: transparent;
  border: 1px solid rgba(255, 45, 149, 0.5);
  box-shadow: 0 0 12px rgba(255, 45, 149, 0.2);
}

.btn-lg { padding: 0.72rem 1.35rem; font-size: 0.74rem; }

.container {
  width: min(100% - 2rem, 1040px);
  margin-inline: auto;
}

/* Cyber hero card — Variant E */
.cyber-hero {
  padding: 1.5rem 0 2rem;
}

.cyber-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 45, 149, 0.35);
  box-shadow: 0 0 30px rgba(255, 45, 149, 0.2), inset 0 0 40px rgba(178, 75, 243, 0.08);
}

.cyber-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cyber-card img {
  width: 100%;
  will-change: transform;
}

.hero-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.hero-copy h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.12;
  font-weight: 800;
  text-shadow: 0 0 20px var(--pink-glow);
}

.hero-copy h1 a { color: var(--gold); }

.hero-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  color: var(--text);
  background: rgba(34, 16, 64, 0.8);
  border: 1px solid rgba(255, 45, 149, 0.2);
}

.hero-chip .ico { color: var(--pink); }

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.reveal-block {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-block { opacity: 1; transform: none; transition: none; }
}

/* Sections */
.section {
  padding: 2rem 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 800;
}

.synth-panel {
  background: rgba(34, 16, 64, 0.75);
  border: 1px solid rgba(255, 45, 149, 0.18);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem;
}

.synth-panel p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.synth-panel p:last-child { margin-bottom: 0; }

/* Zigzag alternating rows — Variant E */
.zigzag-list { display: flex; flex-direction: column; gap: 0.75rem; }

.zigzag-row {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  background: rgba(34, 16, 64, 0.7);
  border: 1px solid rgba(255, 45, 149, 0.15);
  border-radius: var(--radius);
}

.zigzag-row:nth-child(even) {
  border-color: rgba(178, 75, 243, 0.25);
  background: rgba(26, 12, 52, 0.85);
}

.zigzag-num {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--pink);
}

.zigzag-row h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: var(--gold);
}

.zigzag-row p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .zigzag-row {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .zigzag-row:nth-child(even) .zigzag-num { order: 2; text-align: right; }
  .zigzag-row:nth-child(even) .zigzag-body { order: 1; text-align: right; }
}

/* Article */
.article h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1rem 0 0.45rem;
  font-size: 0.94rem;
  color: var(--gold);
}

.article p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.article .meta {
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.article-note {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 45, 149, 0.15);
}

/* FAQ stack */
.faq-stack { display: flex; flex-direction: column; gap: 0.55rem; }

.faq-item { overflow: hidden; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.87rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-q-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.faq-toggle .ico {
  color: var(--pink);
  transition: transform 0.25s;
}

.faq-item.open .faq-toggle .ico { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  padding: 0 1rem 0.9rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Footer */
.site-footer {
  padding: 1.75rem 0 2rem;
  border-top: 1px solid rgba(255, 45, 149, 0.15);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--muted);
}

.footer-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-row a { color: var(--muted); }
