/* ==========================================================================
   LYZIA LANDING — 2026
   Cinematic. Minimal. Exclusive.
   ========================================================================== */

/* ==========================================================================
   VARIABLES
   ========================================================================== */

:root {
  --black: #050208;
  --surface: #0c0a14;
  --accent: #8b5cf6;
  --accent-blue: #6366f1;
  --accent-pink: #c084fc;

  --text: #f0eff4;
  --text-dim: #7a7590;
  --text-faint: #443f56;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-ui: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET
   ========================================================================== */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--black);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(99, 102, 241, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 80% 70%, rgba(139, 92, 246, 0.03) 0%, transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
}

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

::selection {
  background: rgba(139, 92, 246, 0.35);
  color: #fff;
}

/* ==========================================================================
   FILM GRAIN
   ========================================================================== */

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  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='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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ==========================================================================
   FLOATING HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.logo {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dim);
  transition: color 0.4s var(--ease);
}

.logo:hover {
  color: var(--text);
}

.login-link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  transition: color 0.4s var(--ease);
}

.login-link:hover {
  color: var(--text);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 48px 80px;
}

/* Ambient glow */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.07) 0%, rgba(139, 92, 246, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(48px, 7.5vw, 100px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: titleReveal 1.2s var(--ease) forwards;
}

.hero-line-2 {
  animation-delay: 0.15s;
}

.hero-dot {
  color: var(--accent);
}

.hero-tagline {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(18px, 2.5vw, 30px);
  color: var(--accent-pink);
  margin-top: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: titleReveal 1s var(--ease) 0.4s forwards;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 440px;
  margin: 40px auto 48px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.7s forwards;
}

.cta {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.5s var(--ease);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.9s forwards;
}

.cta:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
  letter-spacing: 0.08em;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.4s forwards;
}

.scroll-hint-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ==========================================================================
   TRAILER
   ========================================================================== */

.trailer {
  padding: 40px 48px 160px;
  position: relative;
}

.trailer-label {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: 48px;
}

.trailer-label-text {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

.trailer-label-line {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--text-faint), transparent);
}

.trailer-frame {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Cinematic glow behind the frame */
.trailer-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08), rgba(192, 132, 252, 0.12));
  border-radius: 6px;
  z-index: -1;
  filter: blur(1px);
}

.trailer-frame::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: -2;
}

.trailer-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
}

.trailer-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact {
  padding: 80px 48px 160px;
  position: relative;
}

.contact-inner {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.contact-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 24px;
}

.contact-heading {
  font-family: var(--font-ui);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.contact-heading em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent-pink);
}

.contact-email {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text-faint);
  transition: all 0.4s var(--ease);
}

.contact-email:hover {
  color: var(--text);
  border-color: var(--accent);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-faint);
  transition: color 0.3s var(--ease);
}

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

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

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

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.15); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .site-header { padding: 24px 24px; position: absolute; }
  .hero { padding: 100px 24px 80px; }
  .trailer { padding: 40px 24px 100px; }
  .contact { padding: 60px 24px 120px; }
  .site-footer { padding: 24px; }

  .trailer-label-line { width: 32px; }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 44px;
  }

  .hero-tagline {
    font-size: 20px;
  }

  .cta {
    padding: 14px 32px;
    font-size: 13px;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
