/* ============================================
   SeenLoop — Coming Soon · style.css
   Full Responsive: 320px → 4K
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,600;0,700;1,300;1,600&family=Outfit:wght@300;400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --cyan:         #6EE7F7;
  --violet:       #A78BFA;
  --rose:         #F472B6;
  --gold:         #FBBF24;
  --indigo:       #818CF8;
  --white:        #F0F4FF;
  --muted:        #7080A0;
  --bg:           #03050F;
  --surface:      rgba(255,255,255,0.045);
  --surface-h:    rgba(255,255,255,0.085);
  --border:       rgba(255,255,255,0.08);
  --border-cyan:  rgba(110,231,247,0.3);
  --success:      #34D399;
  --error:        #F87171;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Outfit', system-ui, sans-serif;

  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 100px;
  --t:      0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--white);
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }

/* ---- Sky canvas ---- */
#skyCanvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Ambient Orbs ---- */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}
.orb--blue {
  width: min(600px, 80vw); height: min(600px, 80vw);
  background: radial-gradient(circle, rgba(56,100,255,0.22), transparent 65%);
  top: -180px; left: -150px;
  animation: orbFloat 18s ease-in-out infinite alternate;
}
.orb--violet {
  width: min(480px, 70vw); height: min(480px, 70vw);
  background: radial-gradient(circle, rgba(139,80,255,0.18), transparent 65%);
  bottom: -100px; right: -100px;
  animation: orbFloat 22s ease-in-out infinite alternate-reverse;
}
.orb--cyan {
  width: min(360px, 55vw); height: min(360px, 55vw);
  background: radial-gradient(circle, rgba(34,211,238,0.12), transparent 65%);
  top: 35%; left: 60%;
  animation: orbFloat 14s ease-in-out infinite alternate;
  animation-delay: -7s;
}
.orb--rose {
  width: min(280px, 45vw); height: min(280px, 45vw);
  background: radial-gradient(circle, rgba(244,114,182,0.10), transparent 65%);
  top: 10%; right: 5%;
  animation: orbFloat 16s ease-in-out infinite alternate-reverse;
  animation-delay: -4s;
}

@keyframes orbFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(28px,20px) scale(1.07); }
}

/* ---- Nebula layers ---- */
.nebula {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  opacity: 0.06;
  filter: blur(60px);
}
.nebula--1 {
  width: 70vw; height: 40vh;
  background: linear-gradient(135deg, #6EE7F7, #A78BFA);
  top: 20%; left: 15%;
  animation: nebulaPulse 10s ease-in-out infinite alternate;
}
.nebula--2 {
  width: 50vw; height: 30vh;
  background: linear-gradient(135deg, #F472B6, #FBBF24);
  bottom: 15%; right: 10%;
  animation: nebulaPulse 13s ease-in-out infinite alternate-reverse;
}
@keyframes nebulaPulse {
  from { opacity: 0.04; transform: scale(1); }
  to   { opacity: 0.10; transform: scale(1.08); }
}

/* ---- Page layout ---- */
.page {
  position: relative;
  z-index: 10;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 5.5rem;
}

/* ---- Brand ---- */
.brand {
  margin-bottom: 2rem;
  animation: fadeUp 0.9s 0.05s both;
}
.brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--surface);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-pill);
  padding: 10px 22px 10px 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand__icon-wrap {
  display: flex;
  align-items: center;
}
.brand__svg {
  width: 32px; height: 32px;
  animation: svgSpin 8s linear infinite;
  filter: drop-shadow(0 0 8px rgba(110,231,247,0.5));
}
@keyframes svgSpin {
  0%   { filter: drop-shadow(0 0 6px rgba(110,231,247,0.4)); }
  50%  { filter: drop-shadow(0 0 14px rgba(167,139,250,0.7)); }
  100% { filter: drop-shadow(0 0 6px rgba(110,231,247,0.4)); }
}
.brand__name {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(120deg, var(--cyan), var(--violet), var(--cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* ---- Badge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(110,231,247,0.08);
  border: 1px solid rgba(110,231,247,0.25);
  border-radius: var(--r-pill);
  padding: 8px 20px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 2.2rem;
  animation: fadeUp 0.9s 0.15s both;
  position: relative;
  overflow: hidden;
}
.badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(110,231,247,0.12), transparent);
  transform: translateX(-100%);
  animation: badgeSweep 3s ease infinite;
}
@keyframes badgeSweep {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.badge__ring {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  position: absolute;
  left: 14px;
  animation: ringPulse 2s ease-in-out infinite;
  opacity: 0;
}
@keyframes ringPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
.badge__dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: dotBlink 2s ease-in-out infinite;
  flex-shrink: 0;
  margin-left: 6px;
}
@keyframes dotBlink {
  0%,100% { opacity: 1; box-shadow: 0 0 8px var(--cyan); }
  50%      { opacity: 0.3; box-shadow: none; }
}

/* ---- Headline ---- */
.headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  margin-bottom: 1.6rem;
  animation: fadeUp 0.9s 0.28s both;
}
.headline__top {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: rgba(240,244,255,0.75);
  line-height: 1.05;
}
.headline__em {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 8vw, 5.6rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.05;
  color: var(--white);
}
.headline__accent {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 11vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 50%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: baseline;
  gap: 4px;
  filter: drop-shadow(0 0 30px rgba(110,231,247,0.3));
}
.typewriter { display: inline-block; }
.cursor {
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  font-weight: 200;
  animation: cursorBlink 0.9s step-end infinite;
}
@keyframes cursorBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ---- Subtext ---- */
.subtext {
  font-size: clamp(0.92rem, 2.2vw, 1.12rem);
  color: var(--muted);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 2rem;
  animation: fadeUp 0.9s 0.4s both;
}
.subtext strong {
  color: rgba(240,244,255,0.88);
  font-weight: 500;
}

/* ---- Feature pills ---- */
.feature-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s 0.5s both;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(240,244,255,0.65);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.pill i { font-size: 14px; color: var(--cyan); }
.pill:hover {
  border-color: var(--border-cyan);
  color: var(--white);
  background: var(--surface-h);
}

/* ---- Divider ---- */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(300px, 70vw);
  margin: 0 auto 2.5rem;
  animation: fadeUp 0.9s 0.55s both;
}
.divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110,231,247,0.35), transparent);
}
.divider__icon {
  color: var(--cyan);
  font-size: 16px;
  opacity: 0.7;
  animation: iconSpin 6s linear infinite;
}
@keyframes iconSpin {
  0%   { transform: rotate(0deg);   opacity: 0.5; }
  50%  { transform: rotate(180deg); opacity: 1; }
  100% { transform: rotate(360deg); opacity: 0.5; }
}

/* ---- Countdown ---- */
.countdown {
  display: flex;
  align-items: center;
  gap: clamp(6px, 2vw, 20px);
  margin-bottom: 2rem;
  animation: fadeUp 0.9s 0.62s both;
  flex-wrap: wrap;
  justify-content: center;
}
.countdown__unit {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  width: clamp(66px, 13.5vw, 102px);
  padding: clamp(14px, 3vw, 22px) 8px clamp(12px, 2.5vw, 16px);
  overflow: hidden;
  transition: border-color var(--t), transform var(--t);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.countdown__unit::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: 0.4;
}
.countdown__unit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(110,231,247,0.06), transparent 70%);
  pointer-events: none;
}
.countdown__unit:hover {
  border-color: rgba(110,231,247,0.3);
  transform: translateY(-2px);
}
.countdown__num {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 5vw, 2.9rem);
  font-weight: 600;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 7px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.countdown__num.flip {
  animation: numFlip 0.22s ease both;
}
@keyframes numFlip {
  from { opacity: 0.3; transform: translateY(-8px) scale(0.96); }
  to   { opacity: 1;   transform: translateY(0)    scale(1); }
}
.countdown__label {
  font-size: clamp(9px,1.8vw,10.5px);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  font-weight: 400;
}
.countdown__sep {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--cyan);
  opacity: 0.35;
  margin-top: -12px;
  animation: sepBlink 1s step-end infinite;
  user-select: none;
}
@keyframes sepBlink {
  0%,100% { opacity: 0.35; }
  50%      { opacity: 0.07; }
}

/* ---- Datetime bar ---- */
.datetime-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-size: clamp(12px, 2.4vw, 13.5px);
  color: var(--muted);
  margin-bottom: 2rem;
  animation: fadeUp 0.9s 0.72s both;
  flex-wrap: wrap;
  justify-content: center;
}
.datetime-bar__item { display: flex; align-items: center; gap: 7px; }
.datetime-bar__item i { color: var(--cyan); font-size: 14px; }
.datetime-bar__sep { opacity: 0.3; user-select: none; }

/* ---- Progress ---- */
.progress-wrap {
  width: min(380px, 88vw);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s 0.8s both;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.progress-track {
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: visible;
  position: relative;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--rose));
  border-radius: 10px;
  width: 0%;
  transition: width 3.2s cubic-bezier(0.23,1,0.32,1);
  position: relative;
}
.progress-glow {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px 4px rgba(110,231,247,0.6);
  left: 0%;
  transition: left 3.2s cubic-bezier(0.23,1,0.32,1);
}

/* ---- Subscribe ---- */
.subscribe-area {
  width: min(480px, 92vw);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s 0.9s both;
}
.subscribe-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.subscribe-form {
  display: flex;
  gap: 10px;
  width: 100%;
}
.subscribe-input {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 14px 22px;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}
.subscribe-input::placeholder { color: var(--muted); }
.subscribe-input:focus {
  border-color: rgba(110,231,247,0.5);
  background: var(--surface-h);
  box-shadow: 0 0 0 3px rgba(110,231,247,0.08);
}
.subscribe-input.error {
  border-color: rgba(248,113,113,0.6);
  box-shadow: 0 0 0 3px rgba(248,113,113,0.08);
}
.subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #080B18;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: var(--r-pill);
  padding: 14px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--t), transform var(--t), box-shadow var(--t);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.subscribe-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(110,231,247,0.25);
}
.subscribe-btn:active { transform: scale(0.96); }
.subscribe-btn i { font-size: 15px; }
.subscribe-success,
.subscribe-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  animation: fadeUp 0.4s both;
}
.subscribe-success { color: var(--success); }
.subscribe-error   { color: var(--error); }
.subscribe-note {
  font-size: 11.5px;
  color: rgba(112,128,160,0.55);
  margin-top: 10px;
  letter-spacing: 0.2px;
}

/* ---- Socials ---- */
.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.9s 1.0s both;
}
.social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 18px;
  transition: border-color var(--t), color var(--t), transform var(--t), background var(--t), box-shadow var(--t);
  -webkit-tap-highlight-color: transparent;
}
.social-btn:hover {
  border-color: var(--border-cyan);
  color: var(--cyan);
  background: rgba(110,231,247,0.08);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(110,231,247,0.15);
}
.social-btn:active { transform: scale(0.94); }

/* ---- Footer ---- */
.site-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 1.5rem;
  font-size: 12px;
  color: rgba(112,128,160,0.5);
  background: linear-gradient(to top, rgba(3,5,15,0.9), transparent);
  pointer-events: none;
}
.footer-dot { opacity: 0.35; user-select: none; }
.footer-link { pointer-events: all; transition: color var(--t); }
.footer-link:hover { color: var(--cyan); }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 374px) {
  .page { padding: 5rem 1rem 5.5rem; }
  .countdown { gap: 5px; }
  .countdown__unit { width: 60px; padding: 12px 6px 10px; border-radius: 10px; }
  .countdown__num { font-size: 1.55rem; }
  .countdown__sep { font-size: 1.4rem; }
  .countdown__label { font-size: 8px; }
  .subscribe-form { flex-direction: column; }
  .subscribe-btn { width: 100%; justify-content: center; }
  .datetime-bar { flex-direction: column; gap: 6px; padding: 10px 14px; }
  .datetime-bar__sep { display: none; }
  .brand__name { font-size: 18px; }
  .feature-pills { gap: 7px; }
  .pill { font-size: 11.5px; padding: 6px 13px; }
}

@media (max-width: 479px) {
  .subscribe-form { flex-direction: column; }
  .subscribe-btn  { width: 100%; justify-content: center; }
}

@media (min-width: 480px) and (max-width: 639px) {
  .countdown__unit { width: 74px; }
}

@media (min-width: 640px) and (max-width: 767px) {
  .page { padding: 5.5rem 2rem 5.5rem; }
}

@media (min-width: 768px) {
  .br-lg { display: inline; }
}
@media (max-width: 767px) {
  .br-lg { display: none; }
}

@media (min-width: 1024px) {
  .page { padding: 4rem 4rem 5.5rem; }
}

@media (min-width: 1920px) {
  .page { max-width: 1440px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
