/* ===========================================================
   CITEC — Bientôt disponible
   =========================================================== */

:root {
  --bg: #06060c;
  --bg-soft: #0b0b18;
  --text: #eef0fa;
  --muted: #9aa1bd;
  --accent: #6d8bff;
  --accent-2: #38e8d0;
  --accent-3: #b07bff;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.035);
  --radius: 18px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  min-height: 100svh;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(120% 120% at 50% 0%, #0c0c1c 0%, var(--bg) 55%, #040408 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Animated background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}

.blob--1 {
  width: 46vw;
  height: 46vw;
  left: -8vw;
  top: -10vh;
  background: radial-gradient(circle at 30% 30%, #5d6bff 0%, transparent 65%);
  animation: drift1 22s var(--ease) infinite alternate;
}

.blob--2 {
  width: 40vw;
  height: 40vw;
  right: -6vw;
  top: 6vh;
  background: radial-gradient(circle at 50% 50%, #2fd9c0 0%, transparent 65%);
  opacity: 0.42;
  animation: drift2 26s var(--ease) infinite alternate;
}

.blob--3 {
  width: 38vw;
  height: 38vw;
  left: 30vw;
  bottom: -16vh;
  background: radial-gradient(circle at 50% 50%, #9a5bff 0%, transparent 65%);
  opacity: 0.38;
  animation: drift3 30s var(--ease) infinite alternate;
}

.grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(100% 70% at 50% 40%, #000 0%, transparent 80%);
  mask-image: radial-gradient(100% 70% at 50% 40%, #000 0%, transparent 80%);
  opacity: 0.6;
}

@keyframes drift1 {
  to { transform: translate3d(8vw, 6vh, 0) scale(1.12); }
}
@keyframes drift2 {
  to { transform: translate3d(-7vw, 9vh, 0) scale(1.08); }
}
@keyframes drift3 {
  to { transform: translate3d(6vw, -8vh, 0) scale(1.15); }
}

/* ---------- Layout shell ---------- */
.shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 760px;
  padding: clamp(2.5rem, 8vw, 5.5rem) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c7cdf0;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin: 0 0 1.6rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(56, 232, 208, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 232, 208, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(56, 232, 208, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 232, 208, 0); }
}

.hero__title {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 1.4rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.2s forwards;
}

.grad {
  background: linear-gradient(100deg, #8aa4ff 0%, #6d8bff 40%, #38e8d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 3rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.3s forwards;
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.4rem, 2vw, 1.1rem);
  opacity: 0;
  animation: rise 1s var(--ease) 0.45s forwards;
}

.countdown__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: clamp(58px, 14vw, 92px);
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(0.4rem, 1.5vw, 1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.countdown__num {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.countdown__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown__sep {
  align-self: center;
  margin-top: 0.4rem;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.18);
  font-variant-numeric: tabular-nums;
}

/* ---------- Footer ---------- */
.foot {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: rise 1s var(--ease) 0.6s forwards;
}

.foot__copy {
  margin: 0;
  font-size: 0.82rem;
  color: #878ea8;
}

/* ---------- Entrance animation ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .countdown__sep {
    display: none;
  }
  .countdown {
    gap: 0.5rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .blob {
    animation: none !important;
  }
}
