/* ===== FONTS ===== */
/* Using system fonts natively */

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

:root {
  --font-stack: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --bg-color: #000000;
  --bg-gradient: linear-gradient(135deg, #000000 0%, #111111 100%);
  --surface: #111111;
  --surface-hover: #1a1a1a;
  --text-main: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.5);
  --border-color: rgba(255, 255, 255, 0.1);
  --ease-slow: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-color);
}

body {
  font-family: var(--font-stack);
  color: var(--text-main);
  background: var(--bg-gradient);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-stack);
  color: #ffffff;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(to bottom right, #ffffff 0%, #aaaaaa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--border-color);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 24px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s var(--ease-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin-bottom: 20px;
  line-height: 1.1;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(to bottom, #ffffff 40%, #c0c0c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 40px;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    min-height: 100svh;
    padding: 100px 0 60px;
    height: auto;
    align-items: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 100%;
  }
}

/* ===== LOCK HERO ANIMATIONS ===== */
.lock-hero {
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.25;
  animation: floatOrb 12s ease-in-out infinite;
}

.orb-a {
  width: 340px;
  height: 340px;
  top: 10%;
  left: 8%;
  background: radial-gradient(circle, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.02) 72%);
}

.orb-b {
  width: 460px;
  height: 460px;
  right: 6%;
  top: 18%;
  animation-delay: 1.2s;
  background: radial-gradient(circle, rgba(120,120,120,0.5) 0%, rgba(80,80,80,0.03) 70%);
}

.orb-c {
  width: 300px;
  height: 300px;
  left: 40%;
  bottom: 8%;
  animation-delay: 2.4s;
  background: radial-gradient(circle, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.02) 74%);
}

.grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: driftGrid 18s linear infinite;
}

.lock-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  animation: fadeRise 1.2s var(--ease-slow) both;
}

.lock-title {
  animation: fadeRise 1.35s var(--ease-slow) both;
}

.lock-subcopy {
  animation: fadeRise 1.5s var(--ease-slow) both;
}

.lock-btn-glow {
  position: relative;
  overflow: hidden;
}

.lock-btn-glow::after {
  content: '';
  position: absolute;
  inset: -180% auto auto -35%;
  width: 40%;
  height: 340%;
  transform: rotate(25deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: sweep 3.2s ease-in-out infinite;
}

.lock-contact-panel {
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lock-poem-wrap {
  position: relative;
  overflow: hidden;
  text-align: left;
}

.lock-email {
  margin-bottom: 24px;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-align: center;
}

.lock-email a {
  color: rgba(255, 255, 255, 0.9);
}

.lock-poem {
  position: relative;
  z-index: 2;
  white-space: pre-wrap;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
  font-size: 0.95rem;
}

.star-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  animation: twinkle 3.4s ease-in-out infinite;
}

.star:nth-child(1) { top: 8%; left: 7%; animation-delay: 0.1s; }
.star:nth-child(2) { top: 12%; left: 26%; animation-delay: 1.3s; }
.star:nth-child(3) { top: 18%; left: 48%; animation-delay: 0.8s; }
.star:nth-child(4) { top: 9%; left: 68%; animation-delay: 2.2s; }
.star:nth-child(5) { top: 14%; left: 86%; animation-delay: 1.1s; }
.star:nth-child(6) { top: 28%; left: 17%; animation-delay: 2.7s; }
.star:nth-child(7) { top: 36%; left: 37%; animation-delay: 1.9s; }
.star:nth-child(8) { top: 33%; left: 57%; animation-delay: 0.5s; }
.star:nth-child(9) { top: 30%; left: 75%; animation-delay: 1.6s; }
.star:nth-child(10) { top: 44%; left: 90%; animation-delay: 2.8s; }
.star:nth-child(11) { top: 52%; left: 9%; animation-delay: 1.5s; }
.star:nth-child(12) { top: 58%; left: 22%; animation-delay: 0.9s; }
.star:nth-child(13) { top: 62%; left: 40%; animation-delay: 2.4s; }
.star:nth-child(14) { top: 55%; left: 61%; animation-delay: 1.2s; }
.star:nth-child(15) { top: 64%; left: 81%; animation-delay: 2.9s; }
.star:nth-child(16) { top: 76%; left: 14%; animation-delay: 1.8s; }
.star:nth-child(17) { top: 82%; left: 31%; animation-delay: 0.6s; }
.star:nth-child(18) { top: 79%; left: 52%; animation-delay: 2.1s; }
.star:nth-child(19) { top: 86%; left: 70%; animation-delay: 1.4s; }
.star:nth-child(20) { top: 90%; left: 89%; animation-delay: 2.6s; }

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -22px, 0) scale(1.05); }
}

@keyframes driftGrid {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-48px, -48px, 0); }
}

@keyframes sweep {
  0% { left: -50%; opacity: 0; }
  20% { opacity: 1; }
  50% { left: 120%; opacity: 0.8; }
  100% { left: 120%; opacity: 0; }
}

@keyframes fadeRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.8); }
}

/* ===== LOCK CINEMATIC LAYOUT ===== */
.lock-title-cinematic {
  font-size: clamp(2.1rem, 8.2vw, 7.2rem);
  letter-spacing: -0.04em;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  white-space: nowrap;
}

.email-reveal-section {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
}

.email-reveal-inner {
  display: flex;
  justify-content: center;
}

.lock-email-reveal {
  display: inline-block;
  font-size: clamp(1.2rem, 4vw, 3rem);
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.95);
  transform-origin: center center;
  will-change: transform, opacity;
  transition: transform 120ms linear, opacity 120ms linear;
}

.poem-section {
  position: relative;
  padding: 60px 0 120px;
}

.poem-inner {
  position: relative;
  max-width: 980px;
}

.lock-poem-wrap {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.poem-lines {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

.lock-line {
  margin: 0 0 18px;
  font-size: clamp(1.15rem, 2.3vw, 1.8rem);
  line-height: 1.5;
  font-style: italic;
  color: rgba(255, 255, 255, 0.28);
  transition: color 420ms ease, transform 420ms ease, text-shadow 420ms ease;
  transform-origin: left center;
}

.lock-line-indent {
  padding-left: clamp(18px, 5vw, 74px);
}

.lock-line.active {
  color: rgba(255, 255, 255, 0.96);
  transform: translateX(12px) scale(1.15);
  text-shadow: 0 0 26px rgba(255, 255, 255, 0.22);
}

@media (max-width: 900px) {
  .email-reveal-section {
    min-height: 48vh;
    padding: 90px 0 44px;
  }

  .poem-section {
    padding-top: 30px;
  }

  .lock-line {
    margin-bottom: 14px;
  }
}
