/* somacinder — base styles (neomorphism / bright red palette) */
html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
}
body {
  font-family: "Manrope", system-ui, sans-serif;
  color: #212121;
  background: #fafafa;
  line-height: 1.7;
}
h1,
h2,
h3,
.font-display {
  font-family: "Outfit", Georgia, sans-serif;
  letter-spacing: -0.02em;
}

/* Neomorphic surfaces */
.neo {
  background: #fafafa;
  border-radius: 22px;
  box-shadow: 9px 9px 22px rgba(180, 30, 30, 0.12),
    -9px -9px 22px rgba(255, 255, 255, 0.95);
}
.neo-soft {
  background: #fafafa;
  border-radius: 18px;
  box-shadow: 6px 6px 16px rgba(180, 30, 30, 0.1),
    -6px -6px 16px rgba(255, 255, 255, 0.9);
}
.neo-inset {
  background: #fafafa;
  border-radius: 14px;
  box-shadow: inset 5px 5px 11px rgba(180, 30, 30, 0.12),
    inset -5px -5px 11px rgba(255, 255, 255, 0.95);
}
.neo-press {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.neo-press:hover,
.neo-press:focus-visible {
  box-shadow: inset 4px 4px 10px rgba(180, 30, 30, 0.15),
    inset -4px -4px 10px rgba(255, 255, 255, 0.95);
}

/* Gradients */
.grad-warm {
  background: linear-gradient(135deg, #d32f2f 0%, #ef9a9a 100%);
}
.grad-soft {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.06), rgba(239, 154, 154, 0.16));
}
.clip-angle {
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Links + buttons micro-interactions */
a,
button {
  transition: color 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.cta-pulse:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(211, 47, 47, 0.7);
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #d32f2f;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

/* Card hover */
.lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lift:hover {
  transform: translateY(-6px);
}

/* Tabs */
.tab-btn.is-active {
  background: #d32f2f;
  color: #fff;
  box-shadow: 4px 4px 12px rgba(211, 47, 47, 0.3);
}

/* Accordion */
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.acc-item.open .acc-body {
  max-height: 560px;
}
.acc-item.open .acc-icon {
  transform: rotate(45deg);
}

/* Step circles */
.step-num {
  background: linear-gradient(135deg, #d32f2f 0%, #ef9a9a 100%);
  box-shadow: 0 12px 26px -10px rgba(211, 47, 47, 0.7);
}

/* Countdown chips */
.count-chip {
  background: #212121;
  color: #ffd835;
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
}

/* Cookie banner */
#cookie-bar {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
#cookie-bar.hidden-bar {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.toggle {
  appearance: none;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #efcccc;
  position: relative;
  cursor: pointer;
  outline: none;
  flex: none;
}
.toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s ease;
}
.toggle:checked {
  background: #d32f2f;
}
.toggle:checked::before {
  transform: translateX(20px);
}
.toggle:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(211, 47, 47, 0.55);
  outline-offset: 2px;
}
