/* ============================================================
   TALANOVA CREATIVES — Coming Soon
   Kawaii Cosmos theme
   ============================================================ */

:root{
  --space:        #080970;
  --space-deep:   #22012D;
  --cream:        #F3E4FA;
  --magenta:      #B117DB;
  --magenta-pop:  #D254FB;
  --royal:        #1618C3;
  --blue-pop:     #5B83F7;
  --violet-deep:  #552280;
  --lavender:     #DDAFF1;

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-script:  'Caveat', cursive;
  --font-body:    'Quicksand', system-ui, sans-serif;

  --max-w: 1831px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--font-body);
  background: linear-gradient(160deg, var(--space-deep) 0%, var(--space) 55%, var(--space-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

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

button{ font-family: inherit; cursor: pointer; }

.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ---------- atmosphere layers ---------- */

#starfield{
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

.grain-overlay{
  position: fixed; inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: lighten;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

#sparkle-layer{
  position: fixed; inset: 0;
  z-index: 60;
  pointer-events: none;
}

.sparkle{
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--magenta-pop), transparent 70%);
  animation: sparkle-fade 700ms ease-out forwards;
}

@keyframes sparkle-fade{
  0%{ opacity: 0.9; transform: scale(1); }
  100%{ opacity: 0; transform: scale(0.2) translateY(-14px); }
}

.nebula{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.nebula--magenta{ background: var(--magenta); opacity: 0.16; width: 42vw; height: 42vw; top: -10%; left: -8%; }
.nebula--blue{ background: var(--blue-pop); opacity: 0.14; width: 38vw; height: 38vw; bottom: -12%; right: -6%; }

/* ---------- liquid glass ---------- */

.liquid-glass{
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: background 220ms ease, box-shadow 260ms ease;
}
.liquid-glass::before{
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.liquid-glass:hover,
.liquid-glass:focus-within{
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 0 40px rgba(177,23,219,0.35);
}

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

.page{ position: relative; z-index: 2; }

.hero{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.hero-scrim{
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(34,1,45,0.55) 0%, rgba(8,9,112,0.6) 45%, rgba(34,1,45,0.92) 100%),
    linear-gradient(90deg, rgba(34,1,45,0.75) 0%, rgba(34,1,45,0.15) 45%, rgba(34,1,45,0.65) 100%);
}

@media (min-width: 640px){ .hero{ padding: 0 32px; } }
@media (min-width: 1024px){ .hero{ padding: 0 56px; } }

.site-header{
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  animation: fade-up 700ms ease both;
}

.logo{
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.logo::before{
  content: '';
  position: absolute;
  inset: -16px -24px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(ellipse 75% 100% at 50% 50%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.55) 45%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
}
.logo-lockup{
  position: relative;
  height: 28px;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 0 3px rgba(255,255,255,0.9))
    drop-shadow(0 0 10px rgba(255,255,255,0.7));
}

.nav{
  display: none;
  border-radius: 28px;
  padding: 18px 40px;
  gap: 32px;
}
@media (min-width: 1024px){ .nav{ display: flex; } }
.nav a{
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 200ms ease;
}
.nav a:hover{ color: var(--magenta-pop); }

.header-right{
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle{
  display: flex;
  border-radius: 20px;
  padding: 4px;
  gap: 2px;
}
.lang-btn{
  border: none;
  background: transparent;
  color: rgba(243,228,250,0.6);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: 16px;
  transition: color 200ms ease, background 200ms ease;
}
.lang-btn:hover{ color: var(--cream); }
.lang-btn.is-active{
  color: var(--magenta-pop);
  background: rgba(255,255,255,0.06);
}

.social-icons{ display: flex; gap: 10px; }
.social-icons--desktop{ display: none; }
@media (min-width: 1024px){ .social-icons--desktop{ display: flex; } }
.social-icons--mobile{ display: flex; justify-content: center; margin-top: 28px; }
@media (min-width: 1024px){ .social-icons--mobile{ display: none; } }

.social-btn{
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
}
.social-btn svg{ width: 18px; height: 18px; }
.social-btn:hover{ color: var(--magenta-pop); }

.hero-content{
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 60px;
}
@media (min-width: 1024px){ .hero-content{ padding-left: 32px; } }

.script-accent{
  font-family: var(--font-script);
  color: var(--magenta-pop);
  font-size: clamp(20px, 4vw, 34px);
  transform: rotate(-2deg);
  mix-blend-mode: exclusion;
  margin: 0 0 4px;
  animation: fade-up 700ms ease both;
  animation-delay: 80ms;
}

.hero-heading{
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(34px, 6.5vw, 76px);
  line-height: 1.04;
  max-width: 900px;
  margin: 0 0 20px;
  animation: fade-up 700ms ease both;
  animation-delay: 160ms;
}
.hero-heading .accent{ color: var(--magenta-pop); }

.hero-sub{
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--cream);
  max-width: 460px;
  line-height: 1.5;
  margin: 0 0 32px;
  animation: fade-up 700ms ease both;
  animation-delay: 240ms;
}

/* countdown */

.countdown{
  display: inline-block;
  border-radius: 24px;
  padding: 18px 24px;
  margin-bottom: 24px;
  width: fit-content;
  animation: fade-up 700ms ease both;
  animation-delay: 320ms;
}
.countdown-label{
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lavender);
  font-family: var(--font-display);
}
.countdown-grid{
  display: flex;
  gap: 18px;
}
.countdown-unit{
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}
.countdown-num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--magenta-pop);
  font-variant-numeric: tabular-nums;
}
.countdown-word{
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender);
}

/* notify form */

.notify{
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  max-width: 420px;
  animation: fade-up 700ms ease both;
  animation-delay: 400ms;
}
.notify input{
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 0;
}
.notify input::placeholder{ color: rgba(243,228,250,0.45); }
.notify button{
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--space-deep);
  background: linear-gradient(135deg, var(--magenta-pop), var(--blue-pop));
  box-shadow: 0 4px 20px rgba(177,23,219,0.4);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.notify button:hover{ transform: translateY(-1px) scale(1.03); box-shadow: 0 6px 26px rgba(177,23,219,0.55); }
.notify button:active{ transform: translateY(0) scale(0.98); }
.notify.is-invalid{ box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 0 0 1.5px rgba(255,90,120,0.6); }

.notify-msg{
  min-height: 20px;
  font-size: 13px;
  margin: 10px 2px 0;
  color: var(--lavender);
}
.notify-msg.is-success{ color: var(--magenta-pop); }
.notify-msg.is-error{ color: #ff9fb3; }

.scroll-cue{
  position: relative;
  z-index: 3;
  align-self: center;
  margin-bottom: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue svg{ width: 18px; height: 18px; }
.scroll-cue:hover{ color: var(--magenta-pop); }

@keyframes bob{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(6px); }
}

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

.script-accent--inline{
  display: block;
  transform: rotate(-2deg);
  margin-bottom: 6px;
}

/* ============================================================
   NOTIFY SECTION
   ============================================================ */

.notify-section{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 90px 20px 100px;
  display: flex;
  justify-content: center;
}
@media (min-width: 640px){ .notify-section{ padding-top: 110px; } }
@media (min-width: 1024px){ .notify-section{ padding-top: 130px; } }

.notify-panel{
  width: 100%;
  max-width: 620px;
  border-radius: 32px;
  padding: 48px 32px;
  text-align: center;
}
.notify-panel h2{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(24px, 3.5vw, 36px);
  margin: 4px 0 12px;
}
.notify-panel > p:not([class]){
  color: var(--lavender);
  font-size: 15px;
  max-width: 420px;
  margin: 0 auto 28px;
  line-height: 1.5;
}
.notify--panel{
  margin: 0 auto;
  max-width: 420px;
}

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

.site-footer{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--lavender);
}
.logo--footer{ margin-bottom: 6px; }
.logo--footer .logo-lockup{ height: 36px; }
.logo--footer::before{ inset: -28px -34px; }
.footer-note{
  font-family: var(--font-script);
  color: var(--magenta-pop);
  font-size: 20px;
  margin: 0;
}
.footer-contact a{ color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact a:hover{ color: var(--magenta-pop); }
.footer-rights{ font-size: 12px; opacity: 0.7; margin: 4px 0 0; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .scroll-cue,
  .site-header, .script-accent, .hero-heading, .hero-sub,
  .countdown, .notify, .mission-card{
    animation: none !important;
  }
  .sparkle{ display: none; }
}
