/* ========================================
   PRATIPAKCHYA — Landing Page Styles
   Zen · White · Nepal
   ======================================== */

:root {
  --white: #ffffff;
  --snow: #fafafa;
  --ghost: #f5f5f5;
  --silk: #eeeeee;
  --silver: #cccccc;
  --stone: #999999;
  --slate: #666666;
  --charcoal: #333333;
  --ink: #1a1a1a;
  --void: #0a0a0a;

  /* Nepal accent colors — subtle */
  --nepal-red: #DC143C;
  --nepal-blue: #003893;
  --nepal-red-soft: rgba(220, 20, 60, 0.08);
  --nepal-blue-soft: rgba(0, 56, 147, 0.06);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-nepali: 'Noto Sans Devanagari', 'Inter', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ─── Background Elements ─── */
.bg-pattern {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.03) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, var(--nepal-red-soft) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, var(--nepal-blue-soft) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Nepal accent stripe ─── */
.nepal-accent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      var(--nepal-red) 0%,
      var(--nepal-red) 50%,
      var(--nepal-blue) 50%,
      var(--nepal-blue) 100%);
  z-index: 100;
}

/* ─── Particles canvas ─── */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ─── Container ─── */
.container {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  width: 100%;
}

/* ─── Badge ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--ghost);
  border: 1px solid var(--silk);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--slate);
  margin-bottom: 3rem;
  font-family: var(--font-nepali);
}

/* ─── Hero Title ─── */
.hero-title {
  margin-bottom: 1.5rem;
}

.title-nepali {
  display: block;
  font-family: var(--font-nepali);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--void);
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--void) 0%, var(--charcoal) 50%, var(--nepal-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-english {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ─── Subtitle ─── */
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--slate);
  margin-bottom: 2.5rem;
}

.hero-subtitle strong {
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
}

.hero-subtitle strong::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--nepal-red);
  opacity: 0.3;
  border-radius: 1px;
}

/* ─── Divider ─── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: var(--silk);
}

.divider-symbol {
  color: var(--nepal-red);
  font-size: 0.5rem;
  opacity: 0.5;
}

/* ─── Countdown ─── */
.countdown-section {
  margin-bottom: 3rem;
}

.countdown-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--stone);
  margin-bottom: 1.5rem;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  padding: 1.25rem 0.75rem;
  background: var(--snow);
  border: 1px solid var(--silk);
  border-radius: 16px;
  transition: all 0.3s var(--ease-out-expo);
}

.countdown-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border-color: var(--silver);
}

.countdown-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--void);
  font-variant-numeric: tabular-nums;
  transition: all 0.3s var(--ease-out-expo);
}

.countdown-unit {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--stone);
  margin-top: 0.5rem;
}

.countdown-separator {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--silver);
  padding-bottom: 1rem;
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

/* ─── Mission ─── */
.mission {
  margin-bottom: 2.5rem;
}

.mission p {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.8;
  color: var(--charcoal);
  font-weight: 400;
}

.text-muted {
  color: var(--stone);
  font-family: var(--font-nepali);
  font-weight: 400;
  font-size: 0.95em;
}

/* ─── CTA Button ─── */
.cta-section {
  margin-bottom: 4rem;
}

.btn-notify {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: var(--void);
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out-expo);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-notify::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--nepal-red), var(--nepal-blue));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
  border-radius: inherit;
}

.btn-notify:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.btn-notify:hover::before {
  opacity: 1;
}

.btn-notify span,
.btn-notify svg {
  position: relative;
  z-index: 1;
}

.btn-notify svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-notify:hover svg {
  transform: translateX(4px);
}

/* ─── Footer ─── */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-text {
  font-size: 0.75rem;
  color: var(--stone);
  letter-spacing: 0.02em;
}

.footer-flag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.footer-nepal {
  font-family: var(--font-nepali);
  color: var(--stone);
  font-weight: 500;
  font-size: 0.75rem;
}

/* ─── Animations ─── */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s var(--ease-out-expo) forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s var(--ease-out-expo) forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.delay-4 {
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

/* ─── Number flip animation ─── */
.countdown-number.flip {
  animation: flipNum 0.4s var(--ease-out-expo);
}

@keyframes flipNum {
  0% {
    transform: rotateX(0deg);
  }

  50% {
    transform: rotateX(-90deg);
    opacity: 0.5;
  }

  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .countdown {
    gap: 0.35rem;
  }

  .countdown-block {
    min-width: 60px;
    padding: 1rem 0.5rem;
    border-radius: 12px;
  }

  .countdown-separator {
    font-size: 1.2rem;
    padding-bottom: 0.75rem;
  }

  .badge {
    font-size: 0.65rem;
    padding: 0.4rem 1rem;
    margin-bottom: 2rem;
  }

  .hero-subtitle br {
    display: none;
  }

  .container {
    padding: 1.5rem;
  }

  .divider-line {
    width: 40px;
  }
}

@media (max-width: 380px) {
  .countdown-block {
    min-width: 50px;
    padding: 0.75rem 0.35rem;
  }

  .countdown-number {
    font-size: 1.75rem;
  }
}

/* ─── Selection styling ─── */
::selection {
  background: var(--nepal-red);
  color: var(--white);
}

/* ─── Scrollbar (for future pages) ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--snow);
}

::-webkit-scrollbar-thumb {
  background: var(--silver);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--stone);
}