/* ═══════════════════════════════════════════════════════════
   SCHOLAR VAULT CONFERENCE SYSTEM — GLOBAL DESIGN SYSTEM
   Conference: AI in Healthcare & Clinical Research (ICAHCR 2026)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── RUPEE SYMBOL FONT OVERRIDE ───────────────────────────
   DM Sans (body font) renders ₹ with a curved/stylized glyph.
   Inter renders ₹ with clean straight bars matching the design.
   This @font-face rule hijacks ONLY U+20B9 (₹) across ALL
   elements sitewide so it always renders consistently.
   ────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'DM Sans';
  src: local('Inter'), url('https://fonts.gstatic.com/s/inter/v19/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyeAZ9hiJ-Ek-_EeA.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  unicode-range: U+20B9;
  /* Indian Rupee Sign ₹ only */
}

@font-face {
  font-family: 'DM Sans';
  src: local('Inter'), url('https://fonts.gstatic.com/s/inter/v19/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyeAZ9hiJ-Ek-_EeA.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  unicode-range: U+20B9;
  /* Indian Rupee Sign ₹ only */
}

/* ─── DESIGN TOKENS ─── */
:root {
  --navy: #050d1f;
  --navy-2: #0a1628;
  --navy-3: #0f1f3d;
  --blue: #0066ff;
  --blue-light: #3d8bff;
  --cyan: #00d4ff;
  --cyan-soft: #00d4ff22;
  --teal: #00b4d8;
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-10: rgba(255, 255, 255, 0.08);
  --white-5: rgba(255, 255, 255, 0.04);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --green: #00e676;
  --amber: #ffc107;
  --red: #ff4757;

  --font-head: 'Inter', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-btn: 0 4px 20px rgba(0, 102, 255, 0.4);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  --navbar-h: 72px;
}

/* ─── PROCEEDINGS BOOK FLOAT ANIMATION ─── */
@keyframes proceedingsFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(-2deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent ANY horizontal scroll */
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

input,
textarea,
select,
button {
  font-family: inherit;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--navy-2);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* ─── SELECTION ─── */
::selection {
  background: var(--cyan);
  color: var(--navy);
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background: rgba(5, 13, 31, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 13, 31, 0.97);
}

.navbar__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  /* Prevent flex children from overflowing */
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
  /* overflow removed — was clipping logo image on mobile */
}

/* ─── ICAHCR Logo Image ─── */
.navbar__logo-img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0, 180, 255, 0.25));
  transition: filter 0.3s ease;
  background: white;
  padding: 3px;
}

.navbar__logo:hover .navbar__logo-img {
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.55));
}

/* Hide the old emoji mark box */
.navbar__logo-mark {
  display: none;
}

/* ── Restore navbar text alongside the logo icon ── */
.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.navbar__logo-conf {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.navbar__logo-year {
  font-size: 12px;
  font-weight: 600;
  color: #00e676;
  /* Green — matches conference branding */
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.navbar__links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--white-70);
  transition: var(--transition-fast);
}

.navbar__links a:hover {
  color: var(--white);
  background: var(--white-10);
}

.navbar__links a.active {
  color: var(--cyan);
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-register {
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-weight: 600;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: var(--transition);
}

.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 102, 255, 0.5);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  position: relative;
  flex-shrink: 0;
  /* NEVER let this be pushed off screen */
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  background: rgba(8, 15, 35, 0.98);
  backdrop-filter: blur(20px);
  padding: 1rem 2rem 2rem;
  border-bottom: 1px solid var(--glass-border);
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  max-height: calc(100vh - var(--navbar-h));
  overflow-y: auto;
  animation: none;
}

.navbar__mobile a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--white-70);
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar__mobile a:hover {
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.06);
}

.navbar__mobile.open {
  display: flex;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 100vw;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 102, 255, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  box-sizing: border-box;
  /* Ensure padding doesn't cause overflow */
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  white-space: nowrap;
  /* Fix: keep date on single line */
  animation: fadeSlideDown 0.6s ease forwards;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

/* ── ANIMATION SAFETY ── */
.hero__title,
.hero__desc,
.hero__meta,
.hero__actions,
.hero__visual {
  animation-fill-mode: forwards !important;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.7s 0.1s ease forwards;
  opacity: 0;
}

.hero__title .grad {
  background: linear-gradient(135deg, var(--white) 0%, var(--cyan) 50%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--white-70);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2rem;
  animation: fadeSlideUp 0.7s 0.2s ease forwards;
  opacity: 0;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.7s 0.3s ease forwards;
  opacity: 0;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--white-70);
}

.hero__meta-item svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeSlideUp 0.7s 0.4s ease forwards;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--glass-border);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--white-10);
  border-color: var(--white-40);
  transform: translateY(-2px);
}

/* Hero Right — DNA Animation */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s 0.5s ease forwards;
  opacity: 0;
}

#ecgCanvas {
  display: none;
}

.dna-helix {
  position: relative;
  width: 260px;
  height: 480px;
}

.dna-strand {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0.3;
}

.dna-node {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--cyan), var(--blue));
  box-shadow: 0 0 12px var(--cyan);
  animation: dnaFloat linear infinite;
}

.dna-bar {
  position: absolute;
  left: 50%;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
  transform-origin: center center;
  opacity: 0.5;
  animation: dnaRotate linear infinite;
}

@keyframes dnaFloat {
  0% {
    transform: translateX(-50%) translateY(0px);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-480px);
    opacity: 0;
  }
}

@keyframes dnaRotate {
  0% {
    transform: translateX(-50%) scaleX(1) rotate(0deg);
    opacity: 0.6;
  }

  50% {
    transform: translateX(-50%) scaleX(0.1) rotate(0deg);
    opacity: 0.1;
  }

  100% {
    transform: translateX(-50%) scaleX(1) rotate(0deg);
    opacity: 0.6;
  }
}

.hero__stat-cards {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 150px;
  animation: statFloat 3s ease-in-out infinite;
}

.stat-card:nth-child(2) {
  animation-delay: -1s;
}

.stat-card:nth-child(3) {
  animation-delay: -2s;
}

@keyframes statFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

.stat-card__num {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-head);
  background: linear-gradient(135deg, var(--cyan), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card__label {
  font-size: 11px;
  color: var(--white-40);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════
   COUNTDOWN
   ═══════════════════════════════════════════ */
.countdown-section {
  padding: 2rem;
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.12), rgba(0, 212, 255, 0.12));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.countdown-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.countdown-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  /* Keep all units on one row */
}

.countdown-unit {
  text-align: center;
  min-width: 64px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.countdown-unit__num {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1;
}

.countdown-unit__label {
  font-size: 10px;
  color: var(--white-40);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.countdown-sep {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cyan);
  align-self: flex-start;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section {
  padding: 80px 2rem;
}

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

.section--alt {
  background: var(--navy-2);
}

.section--border-top {
  border-top: 1px solid var(--glass-border);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-title .grad {
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--white-70);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  font-family: var(--font-head);
}

.card__body {
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.7;
}

/* Lucide icon in card slots — replaces emoji */
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--cyan);
  transition: var(--transition);
  font-size: 22px;
  /* Show emoji by default */
}

/* When Lucide has rendered an SVG, hide emoji text */
.card__icon:has(svg) {
  font-size: 0 !important;
}

/* Lucide SVG styling */
.card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card:hover .card__icon {
  background: rgba(0, 212, 255, 0.14);
  border-color: rgba(0, 212, 255, 0.35);
}

.card:hover .card__icon svg {
  stroke: var(--white);
}

/* Date card icon — show emoji, SVG when available */
.date-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
}

.date-card__icon:has(svg) {
  font-size: 0 !important;
}

.date-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ═══════════════════════════════════════════
   IMPORTANT DATES
   ═══════════════════════════════════════════ */
.dates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* Force all 5 in one row on desktop */
  gap: 1rem;
}

/* Tablet: 3 columns */
@media (max-width: 1100px) {
  .dates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 640px) {
  .dates-grid {
    grid-template-columns: 1fr;
  }
}

.date-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  transition: var(--transition);
}

.date-card:hover {
  border-color: var(--cyan);
  transform: translateX(4px);
}

.date-card--paper .date-card__icon {
  color: #22c55e;
}

.date-card--notify .date-card__icon {
  color: #0ea5e9;
}

.date-card--camera .date-card__icon {
  color: #f59e0b;
}

.date-card--earlybird .date-card__icon {
  color: #ef4444;
}

.date-card--conf .date-card__icon {
  color: #3b82f6;
}

.date-card__info {}

.date-card__event {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.date-card__date {
  font-size: 14px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   SV BADGE / TRUST SCORE
   ═══════════════════════════════════════════ */
.sv-badge {
  background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sv-badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--cyan));
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.3;
  animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.5;
  }
}

.sv-badge__hex {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  animation: rotateSlow 8s linear infinite;
}

@keyframes rotateSlow {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

.sv-badge__score {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-head);
  background: linear-gradient(135deg, var(--cyan), var(--white));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.sv-badge__label {
  font-size: 13px;
  color: var(--white-70);
  margin: 0.5rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sv-badge__checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.sv-badge__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--white-70);
}

.sv-badge__check::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.2);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-container {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.form-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 14px;
  color: var(--white-70);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.form-group.full {
  grid-column: 1/-1;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--white-70);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

label .req {
  color: var(--cyan);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 15px;
  transition: var(--transition-fast);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--white-40);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

select option {
  background: var(--navy-2);
  color: var(--white);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
  display: none;
}

.form-success.show {
  display: block;
}

.form-success__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.form-success__title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-success__text {
  color: var(--white-70);
  font-size: 15px;
}

/* ═══════════════════════════════════════════
   REGISTRATION TIERS
   ═══════════════════════════════════════════ */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.tier-card {
  background: var(--glass);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  text-align: center;
}

.tier-card.selected,
.tier-card:hover {
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
}

.tier-card.popular {
  border-color: var(--blue);
  background: rgba(0, 102, 255, 0.07);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.tier-name {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
}

.tier-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan);
  font-family: var(--font-head);
  line-height: 1.1;
}

.tier-price-usd {
  font-size: 13px;
  color: var(--white-40);
  margin-top: 2px;
}

.tier-price-eb {
  font-size: 12px;
  color: var(--amber);
  margin-top: 4px;
}

.tier-features {
  margin-top: 1rem;
  text-align: left;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--white-70);
  margin-bottom: 6px;
}

.tier-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Currency toggle */
.currency-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 2rem;
}

.currency-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--glass-border);
  background: transparent;
  color: var(--white-70);
  cursor: pointer;
  transition: var(--transition-fast);
}

.currency-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

/* ═══════════════════════════════════════════
   MODAL / POPUP
   ═══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 13, 31, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--navy-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--white-10);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition-fast);
}

.modal__close:hover {
  background: var(--white-40);
}

.modal {
  position: relative;
}

/* ═══════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--navy-3);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  font-weight: 500;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: all;
  min-width: 280px;
  max-width: 400px;
}

.toast.show {
  transform: translateX(0);
}

.toast--success {
  border-color: rgba(0, 230, 118, 0.4);
}

.toast--error {
  border-color: rgba(255, 71, 87, 0.4);
}

.toast--info {
  border-color: rgba(0, 212, 255, 0.4);
}

.toast__icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--navy-2);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 2rem 2rem;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
}

.footer__brand-desc {
  font-size: 13.5px;
  color: var(--white-40);
  line-height: 1.7;
  max-width: 280px;
}

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 13.5px;
  color: var(--white-40);
  transition: var(--transition-fast);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 12.5px;
  color: var(--white-40);
}

.footer__sv-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  font-size: 12px;
  color: var(--cyan);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   SDG PILLS
   ═══════════════════════════════════════════ */
.sdg-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sdg-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.sdg-pill:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.sdg-pill__num {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: white;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */

/* Safety: if JS never fires, show elements after 3s */
@keyframes forceVisible {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  animation: forceVisible 0.01s 3s forwards;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
  /* JS took over — cancel the CSS fallback */
}

/* ── Hero cinematic animations ── */
@keyframes scanDown {
  0% {
    top: 0;
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes particleRise {
  0% {
    transform: translateY(0);
    opacity: 0.5;
  }

  80% {
    opacity: 0.1;
  }

  100% {
    transform: translateY(-90px);
    opacity: 0;
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__visual {
    display: none;
  }

  .hero__meta {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Proceedings responsive ── */
@media (max-width: 900px) {
  #proceedings .container>div {
    grid-template-columns: 1fr !important;
  }

  #proceedingsRight {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 1.5rem;
  }

  .navbar__links,
  .navbar__cta {
    display: none;
  }

  /* Hide all nav items + CTA */
  .navbar__hamburger {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Countdown single row on mobile — scale down units */
  .countdown-timer {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .countdown-unit {
    min-width: 52px;
    padding: 8px 10px;
  }

  .countdown-unit__num {
    font-size: 1.5rem;
  }

  .countdown-sep {
    font-size: 1.1rem;
    margin-top: 6px;
  }

  .hero__title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero__badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  /* Mobile hero: content starts just below the nav, no centering gap */
  .hero {
    justify-content: flex-start !important;
    align-items: center;
    padding-top: var(--navbar-h) !important;
    padding-bottom: 140px; /* reduced so content + ECG all fit */
    min-height: auto;
  }

  .hero__content {
    padding: 0 1.25rem;
  }

  .hero__badge {
    margin-bottom: 1rem;
  }

  /* Hero title: match mockup 2.5rem on mobile */
  .hero__title {
    font-size: 2.5rem !important;
  }

  /* ── Mobile viewport fit: compress hero element spacing ── */
  /* Badge: 1.8rem → 1rem */
  #heroBadge { margin-bottom: 1rem !important; }

  /* Title: 1rem → 0.6rem */
  .hero__title { margin-bottom: 0.6rem !important; }

  /* Description: smaller font + tighter margin */
  .hero__desc {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1.25rem !important;
  }

  /* Meta chips: 2.2rem → 1.25rem */
  .hero__meta { margin-bottom: 1.25rem !important; }

  /* CTA buttons: 2.2rem → 1rem */
  .hero__actions { margin-bottom: 1rem !important; }

  /* Organized by — subtle adjustments for mobile */
  #heroOrgBy {
    padding: 8px 12px !important;
    gap: 8px !important;
    text-align: left;
  }
  #heroOrgBy > div > div:first-child {
    font-size: 9px !important;
  }
  #heroOrgBy > div > a {
    font-size: 14px !important;
  }
  #heroOrgSub {
    font-size: 9px !important;
  }

  /* Tighter gap under badge on mobile */
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 1rem;
  }

  .section {
    padding: 50px 1rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .tier-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: var(--navbar-h) !important;
    padding-bottom: 200px;
  }

  .hero__title {
    font-size: 2.2rem !important;
  }

  .countdown-unit {
    min-width: 46px;
    padding: 7px 8px;
  }

  .countdown-unit__num {
    font-size: 1.3rem;
  }

  /* Keep logo from pushing hamburger off screen */
  .navbar__logo {
    max-width: 200px;
  }

  .navbar__logo-img {
    width: 50px;
    height: 50px;
  }

  .navbar__logo-conf {
    font-size: 20px;
  }

  .navbar__logo-year {
    font-size: 12px;
  }

  .navbar__hamburger {
    padding: 4px;
    flex-shrink: 0;
  }
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */
.text-cyan {
  color: var(--cyan);
}

.text-muted {
  color: var(--white-40);
}

/* SV Badge 2-col grid */
.sv-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Newsletter strip */
.newsletter-strip {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.1));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 3rem 2rem;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Mobile overrides for new grids */
@media (max-width: 768px) {
  .sv-section-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .newsletter-inner form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-inner form input {
    min-width: unset;
    width: 100%;
  }

  .newsletter-inner form button {
    width: 100%;
    justify-content: center;
  }
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 13.5px;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.divider {
  height: 1px;
  background: var(--glass-border);
  margin: 2rem 0;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tag--blue {
  background: rgba(0, 102, 255, 0.15);
  color: var(--blue-light);
}

.tag--cyan {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
}

.tag--green {
  background: rgba(0, 230, 118, 0.1);
  color: var(--green);
}

.tag--amber {
  background: rgba(255, 193, 7, 0.1);
  color: var(--amber);
}

/* ═══════════════════════════════════════════
   LUCIDE ICON SYSTEM
   ═══════════════════════════════════════════ */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon svg {
  display: block;
}

/* Icon in card slots — replaces emoji */
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--cyan);
  transition: var(--transition);
}

.card:hover .card__icon {
  background: rgba(0, 212, 255, 0.14);
  border-color: rgba(0, 212, 255, 0.35);
}

/* Date card icon override */
.date-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}

/* ═══════════════════════════════════════════
   PAGE ENTRANCE ANIMATION
   ═══════════════════════════════════════════ */
.page-enter {
  animation: pageEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger children animations */
.stagger-children>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: 0.12s;
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: 0.19s;
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: 0.26s;
}

.stagger-children.visible>*:nth-child(5) {
  transition-delay: 0.33s;
}

.stagger-children.visible>*:nth-child(6) {
  transition-delay: 0.40s;
}

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

/* Reveal variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ═══════════════════════════════════════════
   PREMIUM FORM SUCCESS STATE
   ═══════════════════════════════════════════ */
.form-success {
  display: none;
  text-align: center;
  padding: 3.5rem 2rem;
  animation: none;
}

.form-success.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: successReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes successReveal {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.form-success__icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  background: rgba(0, 230, 118, 0.1);
  border: 2px solid rgba(0, 230, 118, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  animation: successPop 0.5s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  position: relative;
}

.form-success__icon-wrap::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0, 230, 118, 0.15);
  animation: successRing 1.2s 0.3s ease-out forwards;
  opacity: 0;
}

@keyframes successPop {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes successRing {
  from {
    transform: scale(0.8);
    opacity: 1;
  }

  to {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Legacy emoji icon (hidden, keep for compat) */
.form-success__icon {
  display: none;
}

.form-success__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-success__text {
  color: var(--white-70);
  font-size: 15px;
  line-height: 1.75;
  max-width: 440px;
}

.form-success__actions {
  margin-top: 2rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ═══════════════════════════════════════════
   LOADING SPINNER
   ═══════════════════════════════════════════ */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ═══════════════════════════════════════════
   BUTTON MICRO ANIMATIONS
   ═══════════════════════════════════════════ */
.btn-primary,
.btn-outline,
.btn-register,
.form-submit {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-register::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn-primary:hover::after,
.btn-register:hover::after {
  opacity: 1;
}

/* Ripple class added by JS on click */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.25);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ═══════════════════════════════════════════
   HERO SECTION ENHANCEMENTS
   ═══════════════════════════════════════════ */
.hero__badge {
  animation: badgeEntrance 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes badgeEntrance {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating particles behind hero */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan), transparent);
  animation: particleDrift linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes particleDrift {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-120px) translateX(40px) scale(0.5);
    opacity: 0;
  }
}

/* ═══════════════════════════════════════════
   CARD HOVER ENHANCEMENTS
   ═══════════════════════════════════════════ */
.card {
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.04), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.card:hover::after {
  left: 140%;
}

/* ═══════════════════════════════════════════
   SECTION HEADER ANIMATION LINE
   ═══════════════════════════════════════════ */
.section-tag::before {
  transform-origin: left;
  animation: lineGrow 0.6s ease forwards;
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* ═══════════════════════════════════════════
   INPUT FIELD ANIMATION ON FOCUS
   ═══════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease,
    transform 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   NAVBAR ENTRANCE
   ═══════════════════════════════════════════ */
.navbar {
  animation: navSlideDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes navSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile hamburger animation */
.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════
   COUNTDOWN NUMBER FLIP
   ═══════════════════════════════════════════ */
.countdown-unit__num {
  transition: transform 0.2s ease;
}

.countdown-unit__num.flip {
  animation: numFlip 0.3s ease;
}

@keyframes numFlip {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════
   TOAST ENHANCEMENTS
   ═══════════════════════════════════════════ */
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  font-size: 14px;
  font-weight: 500;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: all;
  min-width: 280px;
  max-width: 400px;
}

.toast.show {
  transform: translateX(0);
}

.toast--success {
  border-left: 3px solid var(--green);
}

.toast--error {
  border-left: 3px solid var(--red);
}

.toast--info {
  border-left: 3px solid var(--cyan);
}

.toast__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ═══════════════════════════════════════════
   MOBILE — ADDITIONAL POLISH
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .form-container {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }

  .form-title {
    font-size: 1.3rem;
  }

  .form-success {
    padding: 2.5rem 1.5rem;
  }

  .form-success__icon-wrap {
    width: 72px;
    height: 72px;
  }

  .form-success__title {
    font-size: 1.3rem;
  }

  .modal {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
  }

  .card {
    padding: 1.5rem;
  }

  .tier-card {
    padding: 1.5rem;
  }

  .btn-primary,
  .btn-outline {
    padding: 12px 22px;
    font-size: 14px;
  }

  .toast {
    min-width: 240px;
    max-width: calc(100vw - 2rem);
    font-size: 13px;
  }

  .toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  /* Grid adjustments for small screens */
  [style*="grid-template-columns: 1fr 340px"],
  [style*="grid-template-columns: 1fr 300px"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Navbar mobile fix */
  .navbar {
    padding: 0 1.25rem;
  }
}

@media (max-width: 480px) {
  :root {
    --navbar-h: 64px;
  }

  .hero__title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .countdown-unit {
    min-width: 52px;
    padding: 8px 10px;
  }

  .countdown-unit__num {
    font-size: 1.6rem;
  }

  .form-success__actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════
   PAGE TRANSITION OVERLAY
   ═══════════════════════════════════════════ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--navy);
  pointer-events: none;
  animation: pageFadeOut 0.4s 0.1s ease forwards;
}

@keyframes pageFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    display: none;
  }
}

/* ═══════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  z-index: 2000;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════ */
.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.06);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
  color: var(--white);
}

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

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

.faq-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--cyan);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  stroke-width: 2.5;
}

.faq-item[open] .faq-icon {
  transform: rotate(90deg);
}

.faq-a {
  padding: 0 1.4rem 1.1rem 3rem;
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.75;
  border-top: 1px solid var(--glass-border);
  padding-top: 0.9rem;
}

.faq-a a {
  color: var(--cyan);
}

/* Hero badge green dot pulse */
@keyframes badgeBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* ═══════════════════════════════════════════
   HERO MOBILE — REDUCE BOTTOM PADDING
   So trust badges don't crowd the ECG line
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero--cinematic {
    padding-bottom: 120px !important;
  }
}

@media (max-width: 480px) {
  .hero--cinematic {
    padding-bottom: 100px !important;
  }
}