/* ===================================================
   HARSHIT ENTERPRISES HOLDINGS — Coming Soon
   Premium Cinematic Dark Aesthetic
   =================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --bg-primary: #0a0a0c;
  --bg-secondary: #111114;
  --surface-glass: rgba(255, 255, 255, 0.04);
  --surface-glass-border: rgba(255, 255, 255, 0.08);
  --surface-glass-hover: rgba(255, 255, 255, 0.07);
  --text-primary: #f0ece4;
  --text-secondary: #8a857d;
  --text-muted: #5a5650;
  --accent: #c8b898;
  --accent-dim: rgba(200, 184, 152, 0.15);
  --accent-glow: rgba(200, 184, 152, 0.25);

  /* Typography */
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Background Pattern ---------- */
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: fadeInSlow 3s ease-out 0.5s forwards;
}

.bg-pattern svg {
  width: 100%;
  height: 100%;
}

.topo-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.025);
  stroke-width: 0.8;
}

/* Animate topo lines subtly */
.topo-lines path:nth-child(odd) {
  animation: topoShift1 25s ease-in-out infinite alternate;
}
.topo-lines path:nth-child(even) {
  animation: topoShift2 30s ease-in-out infinite alternate;
}

@keyframes topoShift1 {
  0%   { transform: translateX(0); }
  100% { transform: translateX(15px); }
}
@keyframes topoShift2 {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-12px); }
}

/* ---------- Ambient Glow Orbs ---------- */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: fadeInSlow 4s ease-out 1s forwards;
}

.ambient-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 184, 152, 0.06) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  animation: orbFloat1 20s ease-in-out infinite alternate, fadeInSlow 4s ease-out 1s forwards;
}

.ambient-orb--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(140, 130, 110, 0.04) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
  animation: orbFloat2 25s ease-in-out infinite alternate, fadeInSlow 4s ease-out 1.5s forwards;
}

@keyframes orbFloat1 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-40px, 30px); }
}
@keyframes orbFloat2 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(30px, -40px); }
}

/* ---------- Page Wrapper ---------- */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: var(--space-lg) var(--space-md);
}

/* ---------- Header / Logo ---------- */
.site-header {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: var(--space-md);
  opacity: 0;
  animation: slideDown 1s ease-out 0.3s forwards;
}

.logo {
  display: flex;
  justify-content: center;
}

.logo__img {
  height: clamp(160px, 24vw, 280px);
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
  transition: filter 0.4s ease, opacity 0.4s ease;
  opacity: 0.95;
}

.logo__img:hover {
  filter: brightness(1.3) drop-shadow(0 0 25px rgba(200, 184, 152, 0.12));
  opacity: 1;
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 720px;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
}

.hero__heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  opacity: 0;
  animation: slideUp 1.2s ease-out 0.6s forwards;
}

.hero__heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero__subtext {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 560px;
  opacity: 0;
  animation: slideUp 1.2s ease-out 0.9s forwards;
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  opacity: 0;
  animation: slideUp 1.2s ease-out 1.2s forwards;
}

.countdown__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(72px, 12vw, 110px);
  height: clamp(84px, 14vw, 120px);
  border-radius: 16px;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
  gap: 0.5rem;
}

.countdown__card:hover {
  background: var(--surface-glass-hover);
  border-color: rgba(200, 184, 152, 0.15);
  transform: translateY(-2px);
}

.countdown__number {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-primary);
  line-height: 1;
  transition: color 0.3s ease;
}

.countdown__card:hover .countdown__number {
  color: var(--accent);
}

.countdown__label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Notify Form ---------- */
.notify-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  max-width: 480px;
  opacity: 0;
  animation: slideUp 1.2s ease-out 1.5s forwards;
}

.notify-form__pill {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  border-radius: 100px;
  padding: 5px 5px 5px 24px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.notify-form__pill:focus-within {
  border-color: rgba(200, 184, 152, 0.25);
  box-shadow: 0 0 30px rgba(200, 184, 152, 0.06);
}

.notify-form__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-primary);
  padding: 0.75rem 0;
  min-width: 0;
}

.notify-form__input::placeholder {
  color: var(--text-muted);
  font-weight: 300;
}

.notify-form__btn {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--bg-primary);
  background: var(--accent);
  border: none;
  border-radius: 100px;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.notify-form__btn:hover {
  background: #d4c5a8;
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(200, 184, 152, 0.2);
}

.notify-form__btn:active {
  transform: scale(0.98);
}

/* Success state */
.notify-form__btn--success {
  background: #5a8a6a;
  pointer-events: none;
}

.notify-form__disclaimer {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.site-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  animation: fadeInSlow 1.5s ease-out 1.8s forwards;
}

.site-footer__left,
.site-footer__right {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.site-footer__right {
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.65rem;
}

/* ---------- Animations ---------- */
@keyframes fadeInSlow {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Number flip animation */
.countdown__number.flip {
  animation: numberFlip 0.5s ease-out;
}

@keyframes numberFlip {
  0%   { transform: translateY(-8px); opacity: 0.3; }
  60%  { transform: translateY(2px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .page-wrapper {
    padding: var(--space-sm);
  }

  .hero {
    gap: var(--space-md);
    padding: var(--space-lg) 0;
  }

  .countdown {
    gap: 0.5rem;
  }

  .countdown__card {
    border-radius: 12px;
  }

  .site-footer {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

  .notify-form__pill {
    padding-left: 16px;
  }

  .notify-form__btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 380px) {
  .logo__text {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
  }

  .countdown__card {
    width: 62px;
    height: 74px;
  }
}
