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

/* ── DARK MODE (default) ── */
:root {
  --blue: #1B7CED;
  --blue-dim: rgba(27,124,237,0.15);
  --blue-glow: rgba(27,124,237,0.06);
  --cream: #F5F0E8;
  --ink: #0A0A0F;
  --ink2: #12121A;
  --muted: rgba(245,240,232,0.35);
  --muted2: rgba(245,240,232,0.55);
  --line: rgba(245,240,232,0.08);
  --surface: rgba(245,240,232,0.03);
  --toggle-bg: rgba(245,240,232,0.08);
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --blue: #1260C4;
  --blue-dim: rgba(18,96,196,0.12);
  --blue-glow: rgba(18,96,196,0.05);
  --cream: #0A0A1A;
  --ink: #F7F4EE;
  --ink2: #EDE9E0;
  --muted: rgba(10,10,26,0.4);
  --muted2: rgba(10,10,26,0.65);
  --line: rgba(10,10,26,0.1);
  --surface: rgba(10,10,26,0.03);
  --toggle-bg: rgba(10,10,26,0.08);
}

/* ─── CURSOR ─────────────────────────────────── */
* { cursor: none !important; }

#cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
}

#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(27,124,237,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s ease, height 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

#cursor-ring.hover {
  width: 64px; height: 64px;
  border-color: var(--blue);
  background: rgba(27,124,237,0.08);
}

#cursor-ring.click {
  width: 24px; height: 24px;
  background: rgba(27,124,237,0.2);
}

/* ─── BASE ────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
  min-height: 100vh;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ─── THEME TOGGLE ───────────────────────────── */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--toggle-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--blue-dim);
  border-color: var(--blue);
  transform: rotate(20deg);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  color: var(--cream);
  stroke: var(--cream);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: var(--cream);
  stroke: var(--cream);
}

[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* ─── CANVAS BACKGROUND ──────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── LAYOUT ─────────────────────────────────── */
.shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* ─── HEADER ─────────────────────────────────── */
header {
  padding: 2.4rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  animation: reveal 1s 0.2s ease forwards;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
}

.logo-mark {
  width: 128px;
  height: auto;
  flex-shrink: 0;
  filter: brightness(1);
}

.logo-words {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}

.logo-sub {
  font-family: 'Sora', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-top: 3px;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav a {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.35s ease;
}

nav a:hover { color: var(--cream); }
nav a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue) !important;
  border: 1px solid rgba(27,124,237,0.3);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  transition: background 0.3s, border-color 0.3s !important;
}

.nav-cta:hover {
  background: rgba(27,124,237,0.1) !important;
  border-color: var(--blue) !important;
}

.nav-cta::after { display: none !important; }

/* ─── HERO ────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 100px - 80px);
}

/* LEFT PANEL */
.hero-left {
  padding: 5rem 4rem 5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: reveal 1s 0.4s ease forwards;
}

.eyebrow-line { width: 28px; height: 1px; background: var(--blue); }

.eyebrow-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero-headline {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  animation: reveal 1.1s 0.5s ease forwards;
}

.hl-serif {
  font-family: 'Sora', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.5rem, 8vw, 7.5rem);
  line-height: 0.9;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.hl-sans {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 3.2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1;
  margin-top: 0.6rem;
}

.hl-desc {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted2);
  margin-top: 2.2rem;
  max-width: auto;
}

/* Countdown */
.countdown-wrap {
  margin-top: 4rem;
  opacity: 0;
  animation: reveal 1s 0.7s ease forwards;
}

.countdown-label {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.countdown {
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
}

.cd-num {
  font-family: 'Sora', sans-serif;
  font-weight: 200;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.04em;
  transition: all 0.3s ease;
}

.cd-unit {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.cd-sep {
  font-size: 2.5rem;
  font-weight: 200;
  color: rgba(27,124,237,0.4);
  line-height: 1;
  padding: 0 4px;
  padding-bottom: 12px;
  align-self: flex-end;
}

/* ─── RIGHT PANEL ─────────────────────────────── */
.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Layered visual composition */
.visual-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-circle-outer {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(27,124,237,0.12);
  border-radius: 50%;
  animation: spin-slow 40s linear infinite;
}

.v-circle-mid {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(27,124,237,0.08);
  border-radius: 50%;
  animation: spin-slow 25s linear infinite reverse;
}

.v-circle-inner {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(27,124,237,0.15);
  border-radius: 50%;
  animation: spin-slow 15s linear infinite;
}

.v-hand {
  position: absolute;
  height: 140%;
  width: auto;
  pointer-events: none;
  z-index: 5;
  left: 50%;
  top: 50%;
  transform: translate(-52.3%, -39.4%) rotate(-30deg) scaleX(-1);
  transform-origin: 52.3% 39.4%;
  filter: drop-shadow(0 0 50px rgba(27, 124, 237, 0.15));
}

.v-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,124,237,0.12) 0%, transparent 70%);
  animation: pulse-glow 6s ease-in-out infinite;
}

/* Orbit dots */
.orbit-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.7;
}

/* Right panel content */
.right-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.7) 60%, transparent 100%);
}

/* Email capture */
.email-section {
  opacity: 0;
  animation: reveal 1s 0.9s ease forwards;
}

.email-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  display: block;
}

.email-row {
  display: flex;
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.email-row:focus-within {
  border-color: rgba(27,124,237,0.5);
}

.email-inp {
  flex: 1;
  background: rgba(245,240,232,0.03);
  border: none;
  outline: none;
  padding: 1rem 1.3rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.03em;
}

.email-inp::placeholder {
  color: rgba(245,240,232,0.25);
}

.email-submit {
  background: var(--blue);
  border: none;
  outline: none;
  padding: 1rem 1.6rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  white-space: nowrap;
  transition: background 0.25s, transform 0.15s;
}

.email-submit:hover { background: #0f5db5; }
.email-submit:active { transform: scale(0.97); }

.email-note {
  font-size: 0.64rem;
  color: var(--muted);
  margin-top: 0.8rem;
  letter-spacing: 0.05em;
}

.success-state {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 0;
}

.success-state.visible { display: flex; }

.s-check {
  width: 26px;
  height: 26px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  flex-shrink: 0;
}

.s-text {
  font-family: 'Sora', sans-serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--cream);
  font-weight: 300;
}

/* ─── FOOTER ─────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  animation: reveal 1s 1.1s ease forwards;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-tag {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-divider {
  width: 1px;
  height: 14px;
  background: var(--line);
}

.footer-cats {
  display: flex;
  gap: 1.5rem;
}

.footer-cat {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted2);
  transition: color 0.3s;
}

.footer-cat:hover { color: var(--cream); }

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.parent-link {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.parent-link:hover { color: var(--cream); }

.parent-link::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: currentColor;
}

/* ─── SIDEBAR INDEX ─────────────────────────── */
.sidebar-index {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: reveal 1s 1.3s ease forwards;
}

.s-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  transition: background 0.3s, transform 0.3s;
}

.s-dot.active {
  background: var(--blue);
  transform: scale(1.4);
}

/* ─── MARQUEE ───────────────────────────────── */
.marquee-wrap {
  position: fixed;
  left: 0; right: 0;
  bottom: 80px;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.06;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

.marquee-text {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  padding-right: 3rem;
  flex-shrink: 0;
}

/* ─── SCROLL LINES ──────────────────────────── */
.scroll-indicator {
  position: fixed;
  bottom: 2.5rem;
  left: 3.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: reveal 1s 1.5s ease forwards;
  transition: opacity 0.4s ease;
}

.scroll-indicator.hidden {
  opacity: 0 !important;
  pointer-events: none;
}

.scroll-line {
  width: 32px;
  height: 1px;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: translateX(-100%);
  animation: scan-line 2.5s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── KEYFRAMES ─────────────────────────────── */
@keyframes reveal {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.06; }
  50%       { transform: translateY(-12px) rotate(3deg); opacity: 0.1; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.12); }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scan-line {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(240px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(240px) rotate(-360deg); }
}

@keyframes orbit2 {
  from { transform: rotate(180deg) translateX(170px) rotate(-180deg); }
  to   { transform: rotate(540deg) translateX(170px) rotate(-540deg); }
}

.orbit-dot-1 { animation: orbit 12s linear infinite; }
.orbit-dot-2 { animation: orbit2 8s linear infinite reverse; }

/* ─── ABOUT SECTION ─────────────────────────── */
.about-section {
  position: relative;
  z-index: 2;
  padding: 8rem 3.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(27,124,237,0.03) 0%, transparent 50%);
  overflow: hidden;
}

.about-section::before {
  content: 'VARSEL';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(8rem, 20vw, 18rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(27,124,237,0.03);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}

.about-header {
  position: sticky;
  top: 5rem;
}

.about-title {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  color: var(--cream);
  margin-top: 1.5rem;
  letter-spacing: -0.01em;
}

.about-title-accent {
  color: var(--blue);
  font-style: normal;
  font-weight: 400;
  display: block;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-para {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted2);
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(27,124,237,0.2);
  transition: border-color 0.4s, color 0.4s;
}

.about-para:hover {
  color: var(--cream);
  border-color: var(--blue);
}

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 300px; }
  .hero-left { border-right: none; border-bottom: 1px solid var(--line); }
  .v-circle-outer { width: 280px; height: 280px; }
  .v-circle-mid { width: 200px; height: 200px; }
  .v-hand {
    transform: translate(-52.3%, -39.4%) rotate(0deg) scaleX(1);
    height: 100%;
  }
  header { padding: 1.8rem 2rem; }
  nav { display: flex; gap: 1.5rem; }
  nav a { display: none; }
  footer { padding: 1.4rem 2rem; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .footer-left { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-divider { display: none; }
  .footer-cats { flex-wrap: wrap; gap: 1rem; }
  .hero-left { padding: 3rem 2rem; }
  .right-content { padding: 2rem; }
  .sidebar-index { display: none; }
  .scroll-indicator { left: 2rem; }
  .about-section { padding: 5rem 2rem; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-header { position: static; }
}
