@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,600;0,700;1,300;1,600&family=Outfit:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #4A9EFF;
  --blue-bright:#79BFFF;
  --blue-glow:  rgba(74,158,255,0.18);
  --blue-soft:  rgba(74,158,255,0.08);
  --dark:       #050810;
  --surface:    #0b0f1c;
  --surface2:   #111627;
  --surface3:   #161c2e;
  --border:     rgba(74,158,255,0.1);
  --border2:    rgba(74,158,255,0.2);
  --text:       #dce8f8;
  --muted:      #5c7090;
  --muted2:     #8aa0bb;
  --serif:      'Cormorant Garamond', serif;
  --sans:       'Outfit', sans-serif;
}

/* ═══════════════════════════════════
   SCROLLBAR + SELECTION
═══════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }
::selection { background: rgba(74,158,255,0.25); color: #fff; }

/* ═══════════════════════════════════
   BASE
═══════════════════════════════════ */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* ═══════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════ */
#cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(74,158,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all 0.15s ease;
}
body:has(a:hover) #cursor-ring,
body:has(.card:hover) #cursor-ring { width: 60px; height: 60px; border-color: var(--blue); }
body:has(a:hover) #cursor-dot,
body:has(.card:hover) #cursor-dot { width: 4px; height: 4px; }

/* ═══════════════════════════════════
   PROGRESS BAR
═══════════════════════════════════ */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, #1a6fff, #4A9EFF, #79BFFF);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(74,158,255,0.7);
}

/* ═══════════════════════════════════
   CANVAS BACKGROUND
═══════════════════════════════════ */
#canvas-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ═══════════════════════════════════
   NOISE OVERLAY
═══════════════════════════════════ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* ═══════════════════════════════════
   SIDE NAV DOTS
═══════════════════════════════════ */
#side-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}
.nav-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-family: var(--sans);
  color: var(--blue);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.nav-dot:hover::before { opacity: 1; }
.nav-dot.active { background: var(--blue); box-shadow: 0 0 10px var(--blue); width: 8px; height: 8px; }
@media (max-width: 900px) { #side-nav { display: none; } }

/* ═══════════════════════════════════
   WRAPPER
═══════════════════════════════════ */
.wrapper {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px 140px;
}

/* ═══════════════════════════════════
   HEADER
═══════════════════════════════════ */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 0;
  opacity: 0;
  animation: fadeDown 0.8s 0.1s ease forwards;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #1a5fff, var(--blue));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(74,158,255,0.4);
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
}
.logo-mark svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.logo-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.date-pill {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted2);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  padding: 100px 0 80px;
  position: relative;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero-tag-line {
  width: 30px; height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--text);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s ease forwards;
}
h1 em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, #4A9EFF, #79BFFF, #b8d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted2);
  max-width: 480px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s ease forwards;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.9s 0.6s ease forwards;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--blue-bright);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--muted); letter-spacing: 0.5px; }

/* ═══════════════════════════════════
   TOC
═══════════════════════════════════ */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 40px;
  margin-bottom: 96px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease forwards;
}
.toc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.toc-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 48px;
}
.toc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--muted2);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.25s, gap 0.25s;
  padding: 4px 0;
}
.toc-item:hover { color: var(--blue); gap: 16px; }
.toc-num {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--blue);
  opacity: 0.6;
  font-style: italic;
  min-width: 20px;
}

/* ═══════════════════════════════════
   SECTIONS
═══════════════════════════════════ */
.section {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.section.visible { opacity: 1; transform: translateY(0); }
.section:last-of-type { border-bottom: none; }

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
}
.section-num-big {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 300;
  line-height: 0.85;
  color: var(--border2);
  letter-spacing: -4px;
  font-style: italic;
  flex-shrink: 0;
  user-select: none;
  transition: color 0.4s;
}
.section.visible .section-num-big { color: rgba(74,158,255,0.12); }
.section-heading { flex: 1; }
.section-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--text);
  line-height: 1.1;
}

p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted2);
  margin-bottom: 16px;
  font-weight: 300;
}

/* ═══════════════════════════════════
   CARD GRID
═══════════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  cursor: none;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(74,158,255,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px var(--blue-glow); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 44px; height: 44px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
  transition: background 0.3s, border-color 0.3s;
}
.card:hover .card-icon { background: rgba(74,158,255,0.1); border-color: var(--border2); }

.card h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.card p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ═══════════════════════════════════
   HIGHLIGHT BOX
═══════════════════════════════════ */
.highlight {
  background: linear-gradient(135deg, rgba(74,158,255,0.07), rgba(74,158,255,0.02));
  border: 1px solid rgba(74,158,255,0.15);
  border-left: 3px solid var(--blue);
  border-radius: 0 20px 20px 0;
  padding: 28px 32px;
  margin-top: 28px;
  position: relative;
}
.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}
.highlight-item:last-child { margin-bottom: 0; }
.highlight-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.highlight p { color: var(--muted2); margin: 0; font-size: 14px; line-height: 1.7; }

/* ═══════════════════════════════════
   RIGHTS LIST
═══════════════════════════════════ */
.rights-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rights-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 15px;
  color: var(--muted2);
  line-height: 1.5;
  transition: border-color 0.3s, transform 0.3s;
  cursor: none;
}
.rights-item:hover { border-color: var(--border2); transform: translateX(6px); }
.rights-check {
  width: 28px; height: 28px;
  background: rgba(74,158,255,0.1);
  border: 1px solid rgba(74,158,255,0.25);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rights-check svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════
   SECURITY BADGE
═══════════════════════════════════ */
.security-row {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.sec-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--muted2);
  transition: border-color 0.3s;
}
.sec-badge:hover { border-color: var(--border2); }
.sec-badge-dot {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ═══════════════════════════════════
   CONTACT
═══════════════════════════════════ */
.contact-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.contact-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(74,158,255,0.07), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.contact-wrap h2 { margin-bottom: 12px; }
.contact-wrap > p { max-width: 400px; margin: 0 auto 40px; }
.email-display {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 32px;
  display: block;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #020815;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 30px rgba(74,158,255,0.35);
  cursor: none;
}
.contact-btn:hover {
  background: var(--blue-bright);
  transform: scale(1.04);
  box-shadow: 0 0 50px rgba(74,158,255,0.5);
}
.contact-btn svg { transition: transform 0.25s; }
.contact-btn:hover svg { transform: translateX(4px); }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
footer {
  margin-top: 100px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.footer-left { display: flex; align-items: center; gap: 12px; }
footer p { font-size: 13px; color: var(--muted); margin: 0; }
.footer-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--blue);
}
.footer-live-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ═══════════════════════════════════
   ANIMATIONS
═══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
