/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: oklch(0.16 0.025 155);
  color: oklch(0.97 0.01 150);
}

/* ── Color utilities ── */
.bg-background  { background-color: oklch(0.16 0.025 155); }
.bg-background\/20 { background-color: oklch(0.16 0.025 155 / 0.2); }
.bg-background\/30 { background-color: oklch(0.16 0.025 155 / 0.3); }
.bg-background\/35 { background-color: oklch(0.16 0.025 155 / 0.35); }
.bg-background\/40 { background-color: oklch(0.16 0.025 155 / 0.4); }
.bg-background\/80 { background-color: oklch(0.16 0.025 155 / 0.8); }

.text-foreground   { color: oklch(0.97 0.01 150); }

.bg-primary        { background-color: oklch(0.82 0.22 150); }
.bg-primary\/10    { background-color: oklch(0.82 0.22 150 / 0.1); }
.bg-primary\/15    { background-color: oklch(0.82 0.22 150 / 0.15); }
.text-primary      { color: oklch(0.82 0.22 150); }
.text-primary-foreground { color: oklch(0.16 0.04 155); }
.border-primary    { border-color: oklch(0.82 0.22 150); }
.border-primary\/25 { border-color: oklch(0.82 0.22 150 / 0.25); }
.border-primary\/30 { border-color: oklch(0.82 0.22 150 / 0.3); }
.border-primary\/60 { border-color: oklch(0.82 0.22 150 / 0.6); }

.bg-secondary      { background-color: oklch(0.26 0.04 155); }
.bg-secondary\/20  { background-color: oklch(0.26 0.04 155 / 0.2); }
.bg-secondary\/30  { background-color: oklch(0.26 0.04 155 / 0.3); }

.text-muted-foreground     { color: oklch(0.72 0.02 150); }
.text-muted-foreground\/60 { color: oklch(0.72 0.02 150 / 0.6); }

.border-border     { border-color: oklch(0.32 0.04 155 / 0.5); }
.border-border\/60 { border-color: oklch(0.32 0.04 155 / 0.6); }

.bg-input { background-color: oklch(0.28 0.04 155); }

/* hover / focus states */
.hover\:text-primary:hover   { color: oklch(0.82 0.22 150); }
.hover\:border-primary:hover { border-color: oklch(0.82 0.22 150); }
.focus\:border-primary:focus { border-color: oklch(0.82 0.22 150); }
.focus\:ring-primary\/30:focus {
  outline: none;
  box-shadow: 0 0 0 2px oklch(0.82 0.22 150 / 0.3);
}

/* ── Custom utilities ── */
.glass {
  background: oklch(0.22 0.04 155 / 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid oklch(0.82 0.22 150 / 0.18);
}
.text-glow {
  text-shadow: 0 0 30px oklch(0.82 0.22 150 / 0.55);
}
.ring-glow {
  box-shadow: 0 10px 40px -10px oklch(0.82 0.22 150 / 0.4);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Keyframes ── */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%       { transform: translateY(-30px) translateX(20px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50%       { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
.animate-bounce { animation: bounce 1s infinite; }

/* ── Nav link underline ── */
.nav-link {
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 1px; width: 0;
  background-color: oklch(0.82 0.22 150);
  transition: width 0.25s;
}
.nav-link:hover { color: oklch(0.82 0.22 150); }
.nav-link:hover::after { width: 100%; }

/* ── Section divider gradient ── */
.divider-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, oklch(0.82 0.22 150 / 0.6), transparent);
}
.divider-dot {
  position: absolute;
  height: 8px; width: 8px;
  border-radius: 9999px;
  background-color: oklch(0.82 0.22 150);
  box-shadow: 0 0 20px oklch(0.82 0.22 150);
}

/* ── Floating label form ── */
.field-wrap { position: relative; display: block; }
.field-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid oklch(0.32 0.04 155 / 0.5);
  background-color: oklch(0.16 0.025 155 / 0.4);
  padding: 1.5rem 1rem 0.5rem;
  color: oklch(0.97 0.01 150);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-input::placeholder { color: transparent; }
.field-input:focus {
  border-color: oklch(0.82 0.22 150);
  box-shadow: 0 0 0 2px oklch(0.82 0.22 150 / 0.3);
}
.field-label {
  position: absolute;
  left: 1rem; top: 0.5rem;
  font-size: 0.75rem;
  color: oklch(0.72 0.02 150);
  pointer-events: none;
  transition: top 0.2s, font-size 0.2s, color 0.2s;
}
.field-input:placeholder-shown + .field-label {
  top: 1rem;
  font-size: 0.875rem;
}
.field-input:focus + .field-label {
  top: 0.5rem;
  font-size: 0.75rem;
  color: oklch(0.82 0.22 150);
}

/* ── Arrow button icon transition ── */
.btn-arrow:hover svg { transform: translateX(4px); }
.btn-arrow svg { transition: transform 0.2s; }
