/**
 * ai.razdevai.online v2 — style.css
 * Non-critical styles loaded after critical inline CSS
 * Design system: purple-pink dark theme, Awwwards-level
 */

/* ====================================================
   TRUST BAR
   ==================================================== */
.trust-bar {
  padding: 1.125rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  overflow: hidden;
}

.trust-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.trust-item svg {
  color: var(--accent-primary);
  flex-shrink: 0;
}

.trust-sep {
  color: var(--text-tertiary);
  font-size: 0.4rem;
}

@media (max-width: 480px) {
  .trust-sep { display: none; }
  .trust-list { gap: 0.75rem 1.25rem; }
}

/* ====================================================
   SECTION BASE
   ==================================================== */
.section {
  padding: var(--space-3xl) 0;
}

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

@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 1.5vw, 1.0625rem);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* ====================================================
   SCROLL REVEAL ANIMATIONS
   ==================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity 0.75s var(--ease-out),
      transform 0.75s var(--ease-out);
    transition-delay: var(--delay, 0ms);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-hero {
    opacity: 0;
    transform: translateY(20px);
    animation: hero-enter 1.1s var(--ease-out) 0.2s forwards;
  }
}

@keyframes hero-enter {
  to { opacity: 1; transform: translateY(0); }
}

/* ====================================================
   VIDEO GRID (Section 3)
   ==================================================== */
.video-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  grid-template-rows: 300px 220px;
  gap: 0.75rem;
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vcard {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}

.vcard video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), opacity 0.4s, filter 0.4s;
  display: block;
}

.vcard:hover video,
.vcard.is-active video {
  transform: scale(1.05);
  filter: brightness(0.55);
}

/* Постоянный tag (вверху) */
.vcard-tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(10, 5, 16, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Overlay с двумя CTA — появляется на hover/touch */
.vcard-cta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(10,5,16,0.4) 0%, rgba(10,5,16,0.75) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  z-index: 3;
}

.vcard:hover .vcard-cta-overlay,
.vcard:focus-within .vcard-cta-overlay,
.vcard.is-active .vcard-cta-overlay {
  opacity: 1;
}

.vcard-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, background 0.25s;
  min-width: 140px;
  transform: translateY(8px);
  opacity: 0;
}

.vcard:hover .vcard-cta,
.vcard:focus-within .vcard-cta,
.vcard.is-active .vcard-cta {
  transform: translateY(0);
  opacity: 1;
}

.vcard-cta--site {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(200,80,192,0.35);
  transition-delay: 0.05s;
}
.vcard-cta--site:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 30px rgba(200,80,192,0.55); }

.vcard-cta--bot {
  background: rgba(255,255,255,0.1);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition-delay: 0.12s;
}
.vcard-cta--bot:hover { transform: translateY(-2px) scale(1.03); background: rgba(255,255,255,0.18); }

.vcard-cta svg { width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 768px) {
  .vcard-cta-overlay { gap: 0.45rem; padding: 0.6rem; }
  .vcard-cta { padding: 0.45rem 0.85rem; font-size: 0.72rem; min-width: 0; width: 100%; max-width: 200px; }
}

/* Grid placement */
.vcard--large    { grid-column: 1; grid-row: 1; }
.vcard--medium   { grid-column: 2; grid-row: 1; }
.vcard--small-top { grid-column: 3; grid-row: 1; }
.vcard--small-bottom { grid-column: 3; grid-row: 2; }
.vcard--wide-left  { grid-column: 1; grid-row: 2; }
.vcard--wide-right { grid-column: 2; grid-row: 2; }

/* Glow on hover */
.vcard::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgba(200,80,192,0);
  transition: box-shadow 0.3s;
  pointer-events: none;
}
.vcard:hover::after {
  box-shadow: inset 0 0 0 1.5px rgba(200,80,192,0.5), 0 0 30px rgba(200,80,192,0.25);
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 180px 160px;
  }
  .vcard--large    { grid-column: 1 / 3; grid-row: 1; }
  .vcard--medium   { grid-column: 1; grid-row: 2; }
  .vcard--small-top { grid-column: 2; grid-row: 2; }
  .vcard--wide-left  { grid-column: 1; grid-row: 3; }
  .vcard--wide-right { grid-column: 2; grid-row: 3; }
  .vcard--small-bottom { display: none; }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 140px 130px;
  }
}

/* ====================================================
   FEATURES GRID (Section 4)
   ==================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-sm), var(--shadow-card);
  border-color: rgba(200,80,192,0.3);
}

.feature-video {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
}

.feature-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.feature-card:hover .feature-video video {
  transform: scale(1.06);
}

.feature-content {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  flex: 1;
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.65;
}

/* Avatar card — портретные пропорции 3:4 чтобы лица не сплющивались */
.feature-card--avatars .feature-video {
  height: auto;
  aspect-ratio: auto;
}
.feature-avatars {
  padding: var(--space-md);
  background: var(--bg-card);
}

.avatars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.avatars-grid img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 3 / 4;          /* портретный — лица оригинальные 512×768 */
  object-fit: cover;
  object-position: center 25%;  /* фокус на лицах сверху */
  display: block;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, filter 0.3s;
  filter: saturate(1.05);
}

.avatars-grid img:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(200,80,192,0.35), 0 0 0 1.5px rgba(200,80,192,0.4) inset;
  z-index: 1;
  filter: saturate(1.15) brightness(1.05);
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-video { height: 200px; }
}

/* ====================================================
   HOW IT WORKS — Steps
   ==================================================== */
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--accent-primary);
  opacity: 0.2;
  line-height: 1;
  flex-shrink: 0;
  width: 4rem;
}

.step-body {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding-top: 0.25rem;
}

.step-icon-wrap {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.step-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.step-desc {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.65;
}

.step-cta {
  padding-left: calc(4rem + var(--space-md));
}

.steps-video {
  position: relative;
}

.steps-video-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow-sm);
  border: 1px solid var(--border);
}

.steps-video-wrap video {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: cover;
}

.steps-video-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(10,5,16,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
}

.steps-video-badge svg { color: var(--accent-secondary); }

@media (max-width: 768px) {
  .steps-layout { grid-template-columns: 1fr; }
  .steps-video { display: none; }
  .step-num { font-size: 2.5rem; width: 3.25rem; }
  .step-cta { padding-left: 0; }
}

/* ====================================================
   GALLERY — Poses Grid (Section 6)
   ==================================================== */
.poses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.pose-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  background: var(--bg-elevated);
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pose-card:hover {
  border-color: rgba(200,80,192,0.4);
  box-shadow: 0 0 20px rgba(200,80,192,0.2);
}

.pose-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.pose-card:hover img { transform: scale(1.08); }

.pose-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(10,5,16,0.9) 0%, transparent 100%);
  padding: 1.25rem 0.75rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
  letter-spacing: 0.02em;
}

.pose-card:hover .pose-label {
  opacity: 1;
  transform: translateY(0);
}

/* "More" card */
.pose-card--more {
  background: linear-gradient(135deg, var(--bg-elevated), rgba(200,80,192,0.08));
  border-color: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.pose-more-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: var(--space-sm);
}

.pose-more-count {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

.pose-more-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
  .poses-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .poses-grid { grid-template-columns: repeat(2, 1fr); }
  .pose-label { opacity: 1; transform: translateY(0); }
}

/* ====================================================
   STATS + REVIEWS (Section 7)
   ==================================================== */
.stats-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.stat-item { }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-sub {
  font-size: 0.6em;
  opacity: 0.6;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 3.5rem;
  background: var(--border);
}

@media (max-width: 768px) {
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md) var(--space-lg);
    padding: var(--space-md);
  }
  .stat-divider { display: none; }
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,80,192,0.25);
  box-shadow: var(--shadow-glow-sm);
}

.review-stars {
  color: #fbbf24;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: var(--fs-small);
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  font-style: italic;
  quotes: '«' '»';
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.review-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
}

.review-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.review-meta {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ====================================================
   FAQ (Section 8)
   ==================================================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(200,80,192,0.3);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; }

.faq-q:hover { color: var(--accent-secondary); }

.faq-item[open] .faq-q { color: var(--accent-primary); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform 0.3s var(--ease-out), color 0.2s;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-a {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

.faq-a a {
  color: var(--accent-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-a a:hover { color: var(--accent-primary); }

/* ====================================================
   FINAL CTA SECTION (Section 9)
   ==================================================== */
.final-cta-section { overflow: hidden; }

.final-cta-box {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(200,80,192,0.25);
  background: linear-gradient(135deg, rgba(200,80,192,0.08), rgba(255,95,162,0.06));
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  overflow: hidden;
}

.final-cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,80,192,0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.final-cta-content { position: relative; z-index: 1; }

.final-cta-badge {
  display: inline-block;
  background: rgba(200,80,192,0.15);
  border: 1px solid rgba(200,80,192,0.3);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e879f9;
  margin-bottom: var(--space-md);
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.final-cta-sub {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 1.5vw, 1.0625rem);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.final-cta-btns {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.final-cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

@media (max-width: 480px) {
  .final-cta-box { padding: var(--space-xl) var(--space-md); }
  .final-cta-btns .btn { width: 100%; }
}

/* ====================================================
   FOOTER
   ==================================================== */
.site-footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-logo { margin-bottom: 0.25rem; }

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.footer-disc {
  font-size: 0.75rem;
  color: #7a7595;
  max-width: 480px;
}

/* ====================================================
   STICKY BAR (mobile)
   ==================================================== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  background: rgba(10,5,16,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 0.625rem var(--space-sm);
  gap: 0.5rem;
  align-items: center;
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-display);
  transition: transform 0.2s, opacity 0.2s;
}

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

.sticky-btn--site {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 2px 16px rgba(200,80,192,0.35);
}

.sticky-btn--bot {
  background: rgba(200,80,192,0.1);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.sticky-sep {
  width: 1px;
  height: 2rem;
  background: var(--border);
  flex-shrink: 0;
}

/* Show sticky bar on mobile */
@media (max-width: 768px) {
  .sticky-bar { display: flex; }
  body { padding-bottom: 5.5rem; }
}

/* ====================================================
   FOCUS STATES (Accessibility)
   ==================================================== */
a:focus-visible,
button:focus-visible,
details summary:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ====================================================
   SKIP LINK (a11y)
   ==================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ====================================================
   SCROLLBAR
   ==================================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: rgba(200,80,192,0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(200,80,192,0.5); }

/* ====================================================
   SELECTION
   ==================================================== */
::selection {
  background: rgba(200,80,192,0.3);
  color: var(--text-primary);
}

/* ====================================================
   RESPONSIVE UTILITIES
   ==================================================== */
@media (max-width: 768px) {
  .hero h1 { letter-spacing: -0.03em; }
  .section-title { letter-spacing: -0.03em; }
}
