/* ============================================
   BASE
   ============================================ */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  cursor: none;
}

#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-bar {
  width: 240px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 2px;
  transition: width 0.05s linear;
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-3);
}

.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ============================================
   CURSOR
   ============================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}

body.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--content-pad);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-logo .accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.05em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0%; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 10px 24px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  color: var(--text-2);
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px var(--content-pad) 80px;
  max-width: var(--content-width);
  margin: 0 auto;
  gap: 60px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 28px;
  padding: 8px 18px;
  border: 1px solid var(--cyan-glow);
  border-radius: 100px;
  background: rgba(34,211,238,0.05);
}

.status-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  overflow: hidden;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2);
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text-2);
  margin-bottom: 40px;
  min-height: 28px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-item .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-3);
  text-transform: uppercase;
}

.meta-item .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.meta-divider {
  width: 1px;
  height: 32px;
  background: var(--border-2);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 100px;
  transition: all var(--transition);
  box-shadow: 0 0 40px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--accent-glow);
}

.btn-primary .arrow {
  transition: transform var(--transition);
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  background: rgba(123,97,255,0.07);
}

/* ============================================
   HERO PHOTO
   ============================================ */
.hero-photo {
  position: relative;
  flex-shrink: 0;
  width: 360px;
}

.photo-frame {
  position: relative;
  width: 320px;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-3);
}

.photo-icon svg {
  width: 64px; height: 64px;
  stroke: var(--text-3);
}

.photo-placeholder p {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.photo-placeholder span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  text-align: center;
  padding: 0 20px;
}

.photo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(123,97,255,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.photo-border-animated {
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: conic-gradient(from 0deg, transparent 0%, var(--accent) 20%, transparent 40%);
  z-index: -1;
  animation: spin-border 4s linear infinite;
  opacity: 0.6;
}

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

.floating-badge {
  position: absolute;
  padding: 8px 18px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}

.floating-badge span {
  color: var(--accent);
  font-weight: 700;
}

.badge-1 { top: -20px; right: -30px; animation-delay: 0s; }
.badge-2 { bottom: 80px; right: -50px; animation-delay: 1s; }
.badge-3 { bottom: -20px; left: -10px; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: var(--content-pad);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

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

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scroll-anim 2s ease infinite;
}

@keyframes scroll-anim {
  0% { left: -100%; }
  100% { left: 100%; }
}
