/* ============================================
   FONTS — via Google Fonts (index.html)
   ============================================ */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --color-bg-primary:    #050505;
  --color-bg-surface:    #0E0E0E;
  --color-bg-elevated:   #161616;

  --color-border-subtle:  #1C1C1C;
  --color-border-default: #252525;
  --color-border-strong:  #383838;

  --color-fg-primary:    #F2F2F2;
  --color-fg-secondary:  #999999;
  --color-fg-tertiary:   #555555;
  --color-fg-inverse:    #050505;

  --color-accent-violet:  #7B6FFF;
  --color-accent-lavender:#B8A8FF;
  --color-accent-magenta: #E56BC4;
  --color-accent-pink:    #F05BB7;

  --gradient-brand:   linear-gradient(135deg, #7B6FFF 0%, #B8A8FF 30%, #E56BC4 70%, #F05BB7 100%);
  --gradient-brand-h: linear-gradient(90deg,  #7B6FFF 0%, #B8A8FF 40%, #E56BC4 75%, #F05BB7 100%);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --shadow-glow-cta:    0 0 32px rgba(240,91,183,0.32);
  --shadow-glow-accent: 0 0 24px rgba(183,144,255,0.22);

  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:  150ms;
  --dur-base:  250ms;

  --max-width: 1200px;
  --gutter: 24px;
}

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

html { height: 100%; }

body {
  min-height: 100%;
  background-color: var(--color-bg-primary);
  color: var(--color-fg-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }

/* ============================================
   BACKGROUND ATMOSPHERE
   ============================================ */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(130px);
  will-change: transform;
}

.bg-orb--violet {
  width: 750px;
  height: 750px;
  top: -280px;
  left: -200px;
  background: radial-gradient(circle, rgba(123,111,255,0.14) 0%, transparent 70%);
  animation: orbDrift1 20s ease-in-out infinite alternate;
}

.bg-orb--pink {
  width: 650px;
  height: 650px;
  bottom: -180px;
  right: -180px;
  background: radial-gradient(circle, rgba(240,91,183,0.11) 0%, transparent 70%);
  animation: orbDrift2 26s ease-in-out infinite alternate;
}

/* Film-grain texture overlay */
.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.048;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
}

/* Video-timeline decorative rules */
.bg-timeline {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  pointer-events: none;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  padding-bottom: 16px;
  overflow: hidden;
}

.bg-timeline span {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(183,144,255,0.06) 20%,
    rgba(183,144,255,0.14) 50%,
    rgba(183,144,255,0.06) 80%,
    transparent 100%
  );
}

.bg-timeline span:nth-child(1) { opacity: 0.3; }
.bg-timeline span:nth-child(2) { opacity: 0.5; }
.bg-timeline span:nth-child(3) { opacity: 0.9; }
.bg-timeline span:nth-child(4) { opacity: 0.5; }
.bg-timeline span:nth-child(5) { opacity: 0.3; }

/* ============================================
   PAGE LAYOUT
   ============================================ */
.page-wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--gutter);
}

/* ============================================
   HEADER / LOGO
   ============================================ */
.site-header {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 0 0;
  animation: fadeUp 0.7s var(--ease-out-expo) both;
}

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

.logo-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logo-wordmark {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 0 56px;
  max-width: 820px;
  width: 100%;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-lavender);
  background: rgba(183,144,255,0.08);
  border: 1px solid rgba(183,144,255,0.18);
  border-radius: 9999px;
  padding: 6px 16px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.08s both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-lavender);
  flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
}

/* Headline */
.headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 8.5vw, 84px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--color-fg-primary);
  margin-bottom: 28px;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.16s both;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtext */
.subtext {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-fg-secondary);
  margin-bottom: 60px;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.24s both;
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 0 44px;
  animation: fadeUp 1s var(--ease-out-expo) 0.5s both;
}

.social-links {
  display: flex;
  gap: 2px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--color-fg-tertiary);
  border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease-out-expo);
}

.social-link:hover {
  color: var(--color-accent-lavender);
  border-color: rgba(183,144,255,0.18);
  background: rgba(183,144,255,0.07);
}

.copyright {
  font-size: 12px;
  color: var(--color-fg-tertiary);
  letter-spacing: 0.02em;
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes orbDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, 50px) scale(1.1); }
}

@keyframes orbDrift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, -70px) scale(1.06); }
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  .hero {
    padding: 52px 0 40px;
  }

  .subtext {
    font-size: 15px;
  }
}
