/* ==========================================================================
   TRAVELINK - COMING SOON LANDING PAGE
   Designed with inspiration from VibeUp Index-2 & Modern Glassmorphism
   ========================================================================== */

/* -----------------------------
   Design Tokens & CSS Variables
   ----------------------------- */
:root {
  --color-primary: #0094d8;
  --color-primary-hover: #00a4ee;
  --color-primary-glow: rgba(0, 148, 216, 0.45);
  --color-primary-subtle: rgba(0, 148, 216, 0.15);
  
  --color-bg-base: #060911;
  --color-bg-dark: #0a0f1d;
  --color-overlay: rgba(6, 9, 17, 0.72);
  --color-overlay-heavy: rgba(6, 9, 17, 0.88);
  
  --color-text-main: #ffffff;
  --color-text-muted: #94a3b8;
  --color-text-subtle: #64748b;
  
  --glass-bg: rgba(15, 23, 42, 0.55);
  --glass-bg-hover: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-focus: rgba(0, 148, 216, 0.5);
  --glass-blur: blur(16px);
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html, body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -----------------------------
   Background Hero Container
   ----------------------------- */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 1.5rem 2rem;
  z-index: 1;
}

/* Background Hero Image (Fixed 100% Viewport Cover) */
.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--color-bg-base);
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  transform: scale(1);
}

/* Vignette and Atmospheric Overlays (Fixed 100% Viewport) */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 9, 17, 0.35) 0%,
    rgba(6, 9, 17, 0.72) 65%,
    rgba(6, 9, 17, 0.95) 100%
  );
  z-index: -2;
  pointer-events: none;
}

.bg-ambient-glow {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  max-width: 90vw;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, rgba(0, 148, 216, 0) 70%);
  filter: blur(80px);
  opacity: 0.25;
  z-index: -2;
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.18; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.32; }
}

/* Canvas Particle Layer */
#network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}

/* -----------------------------
   Header Section
   ----------------------------- */
.header-nav {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  animation: fadeInDown 0.8s ease-out;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand-link:hover {
  transform: translateY(-2px);
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #22c55e;
  opacity: 0.7;
  animation: pingDot 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingDot {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* -----------------------------
   Main Hero Content
   ----------------------------- */
.hero-content {
  width: 100%;
  max-width: 860px;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0;
  z-index: 5;
}

/* Brand Icon Accent */
.brand-accent-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(0, 148, 216, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.brand-accent-pill svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* The Grand Headline */
.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Lead Subtitle (matching vibeup index-2) */
.hero-subtitle {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 400;
  color: #f8fafc;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-description {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2.75rem;
  animation: fadeInUp 0.8s ease-out 0.35s both;
}

/* -----------------------------
   Countdown Timer
   ----------------------------- */
.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.countdown-box {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  min-width: 100px;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.countdown-box:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 148, 216, 0.4);
}

.countdown-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* -----------------------------
   Email Notification Form
   ----------------------------- */
.notify-form-container {
  width: 100%;
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.notify-form {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.35rem 0.35rem 1.4rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.notify-form:focus-within {
  border-color: var(--glass-border-focus);
  box-shadow: 0 0 0 3px var(--color-primary-subtle), 0 12px 36px rgba(0, 0, 0, 0.5);
}

.notify-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text-main);
  padding: 0.65rem 0;
}

.notify-input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.notify-btn:hover {
  background-color: var(--color-primary-hover);
  transform: scale(1.02);
  box-shadow: 0 4px 20px var(--color-primary-glow);
}

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

.notify-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

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

/* Form Message Feedback */
.form-feedback {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  min-height: 1.4rem;
  transition: opacity var(--transition-fast);
}

.form-feedback.success {
  color: #4ade80;
}

.form-feedback.error {
  color: #f87171;
}

/* -----------------------------
   Feature Highlights Pills
   ----------------------------- */
.features-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: #cbd5e1;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.feature-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 148, 216, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.feature-pill svg {
  width: 14px;
  height: 14px;
  color: #38bdf8;
}

/* -----------------------------
   Footer Section
   ----------------------------- */
.footer-bar {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  z-index: 10;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}


/* Social Links */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 14px var(--color-primary-glow);
}

.social-icon-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Copyright text */
.copyright-text {
  font-size: 0.82rem;
  color: var(--color-text-subtle);
}

/* -----------------------------
   Toast Notification
   ----------------------------- */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 148, 216, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--color-primary-glow);
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

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

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

/* -----------------------------
   Responsive Breakpoints
   ----------------------------- */
@media (max-width: 768px) {
  .hero-wrapper {
    padding: 2rem 1.25rem 1.5rem;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .bg-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 1;
  }

  .bg-overlay {
    background: radial-gradient(
      ellipse at center,
      rgba(6, 9, 17, 0.25) 0%,
      rgba(6, 9, 17, 0.65) 65%,
      rgba(6, 9, 17, 0.92) 100%
    );
  }
  
  .header-nav {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 0;
  }

  .brand-logo-img {
    height: 38px;
  }
  
  .hero-content {
    padding: 1.5rem 0;
    margin: auto 0;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.7);
  }

  .hero-subtitle {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
    line-height: 1.55;
    margin-bottom: 0;
    padding: 0 0.5rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  }

  .footer-bar {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}
