html {
  scroll-behavior: smooth;
}

:root {
  --et-bg: #020617;
  --et-bg-soft: #0f172a;
  --et-surface: rgba(15, 23, 42, 0.72);
  --et-surface-strong: rgba(15, 23, 42, 0.92);
  --et-border: rgba(255, 255, 255, 0.1);
  --et-text: #e2e8f0;
  --et-muted: #94a3b8;
  --et-accent: #22d3ee;
  --et-accent-strong: #06b6d4;
  --et-success: #34d399;
  --et-danger: #fb7185;
}

body.et-body {
  background:
    radial-gradient(circle at top, rgba(14, 165, 233, 0.16), transparent 30%),
    linear-gradient(180deg, #020617 0%, #0f172a 50%, #020617 100%);
  color: var(--et-text);
  min-height: 100vh;
}

.et-shell {
  width: min(100%, 80rem);
  margin-inline: auto;
}

.et-section {
  padding-block: 5rem;
}

.et-section-tight {
  padding-block: 3rem;
}

.et-card,
.et-card-strong {
  border: 1px solid var(--et-border);
  border-radius: 1.5rem;
  background: var(--et-surface);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.24);
}

.et-card-strong {
  background: var(--et-surface-strong);
}

.et-button-primary,
.et-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 700;
  padding: 0.875rem 1.5rem;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.et-button-primary {
  background: var(--et-accent);
  color: #020617;
}

.et-button-primary:hover {
  background: #67e8f9;
  transform: translateY(-1px);
}

.et-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.et-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.et-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(34, 211, 238, 0.08);
  color: #67e8f9;
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.et-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
}

.et-input,
.et-select,
.et-textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--et-border);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.et-input:focus,
.et-select:focus,
.et-textarea:focus {
  border-color: var(--et-accent);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
}

.et-error {
  margin-top: 0.5rem;
  color: #fda4af;
  font-size: 0.875rem;
}

.et-skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  transform: translateY(-160%);
  border-radius: 9999px;
  background: white;
  color: #020617;
  padding: 0.75rem 1rem;
  transition: transform 180ms ease;
}

.et-skip-link:focus {
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible > *:nth-child(1) {
  transition-delay: 0ms;
}

.stagger.is-visible > *:nth-child(2) {
  transition-delay: 70ms;
}

.stagger.is-visible > *:nth-child(3) {
  transition-delay: 140ms;
}

.stagger.is-visible > *:nth-child(4) {
  transition-delay: 210ms;
}

.stagger.is-visible > *:nth-child(5) {
  transition-delay: 280ms;
}

.counter {
  font-variant-numeric: tabular-nums;
}

.parallax {
  will-change: transform;
}

::selection {
  background: rgba(34, 211, 238, 0.28);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.95);
  outline-offset: 2px;
}
