/* ==========================================================================
   ARYAN RAYANA — MINIMAL & SOPHISTICATED COMING SOON EXPERIENCE
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-base: #07090e;
  --bg-surface: rgba(15, 23, 42, 0.65);
  --bg-surface-elevated: rgba(30, 41, 59, 0.75);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.35);
  --border-glow: rgba(168, 85, 247, 0.45);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  
  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 15%, #c7d2fe 55%, #c084fc 100%);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-base);
  color: var(--text-primary);
  height: 100%;
}

body {
  font-family: var(--font-sans);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.6;
  background-color: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Page Layout Wrapper */
.page-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   BACKGROUND AMBIENT EFFECTS & CANVAS
   -------------------------------------------------------------------------- */
.bg-scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Glowing Mesh Orbs */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.glow-1 {
  width: 700px;
  height: 700px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45) 0%, rgba(168, 85, 247, 0.25) 50%, transparent 70%);
  animation: pulseBlob 14s ease-in-out infinite alternate;
}

.glow-2 {
  width: 550px;
  height: 550px;
  bottom: 0%;
  left: -120px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.28) 0%, rgba(99, 102, 241, 0.15) 50%, transparent 70%);
  animation: driftBlob 18s ease-in-out infinite alternate;
}

.glow-3 {
  width: 600px;
  height: 600px;
  bottom: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.32) 0%, rgba(236, 72, 153, 0.15) 50%, transparent 70%);
  animation: driftBlobReverse 16s ease-in-out infinite alternate;
}

/* Subtle Modern Grid Overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 25%, transparent 85%);
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.header {
  padding-top: 2.25rem;
  padding-bottom: 1.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 14px rgba(99, 102, 241, 0.35));
}

.logo-svg {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #e2e8f0;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: border-color var(--transition-normal), background-color var(--transition-normal);
}

.status-pill:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  position: relative;
  box-shadow: 0 0 10px var(--accent-emerald);
}

.status-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  opacity: 0.75;
  animation: pulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
}

/* Launch Pill Badge */
.launch-badge-wrapper {
  margin-bottom: 2rem;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.25rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #e0e7ff;
  font-size: 0.825rem;
  font-weight: 500;
  box-shadow: 0 4px 20px -2px rgba(99, 102, 241, 0.25);
  cursor: default;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.launch-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 6px 24px -2px rgba(99, 102, 241, 0.35);
}

.badge-sparkle {
  display: flex;
  align-items: center;
  color: #c084fc;
  animation: sparkleTwinkle 3s ease-in-out infinite;
}

.badge-arrow {
  color: #a5b4fc;
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
}

.launch-badge:hover .badge-arrow {
  transform: translateX(3px);
}

/* Hero Headline */
.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

/* Hero Supporting Description */
.hero-description {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 640px;
  margin-bottom: 2.75rem;
  font-weight: 400;
}

/* Launch Note Capsule */
.launch-announcement {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.4rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.launch-pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-indigo);
  box-shadow: 0 0 12px var(--accent-indigo);
  animation: pulseIndicator 2s ease-in-out infinite alternate;
}

.launch-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #e2e8f0;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  padding-top: 1.75rem;
  padding-bottom: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-badge {
  font-size: 0.825rem;
  font-weight: 500;
  color: #818cf8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-copyright {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   KEYFRAME ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes pulseBlob {
  0% {
    transform: translateX(-50%) scale(1) translateY(0);
    opacity: 0.4;
  }
  100% {
    transform: translateX(-50%) scale(1.15) translateY(40px);
    opacity: 0.55;
  }
}

@keyframes driftBlob {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }
  100% {
    transform: translate(40px, -30px) scale(1.1);
    opacity: 0.4;
  }
}

@keyframes driftBlobReverse {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.28;
  }
  100% {
    transform: translate(-50px, 30px) scale(1.15);
    opacity: 0.45;
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(2.4);
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes sparkleTwinkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.2) rotate(15deg);
    opacity: 1;
    filter: drop-shadow(0 0 8px #c084fc);
  }
}

@keyframes pulseIndicator {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 6px var(--accent-indigo);
  }
  100% {
    transform: scale(1.25);
    box-shadow: 0 0 16px var(--accent-purple);
  }
}

/* Page load fade in */
.animate-fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeIn 0.8s var(--ease-smooth) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (Desktop -> Mobile)
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  .hero-section {
    padding-top: 5rem;
    padding-bottom: 6rem;
  }
  .hero-headline {
    font-size: 4.75rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .header {
    padding-top: 1.75rem;
  }

  .hero-section {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-headline {
    font-size: 2.75rem;
  }

  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 2.25rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .header {
    padding-top: 1.25rem;
    padding-bottom: 1rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .status-pill {
    padding: 0.325rem 0.75rem;
    font-size: 0.65rem;
  }

  .launch-badge {
    padding: 0.375rem 0.95rem;
    font-size: 0.75rem;
  }

  .hero-headline {
    font-size: 2.15rem;
    line-height: 1.18;
  }

  .hero-description {
    font-size: 0.975rem;
    margin-bottom: 2rem;
  }

  .launch-announcement {
    padding: 0.55rem 1.15rem;
  }

  .launch-text {
    font-size: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY: PREFERS REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ambient-glow,
  .status-pulse-dot::after,
  .badge-sparkle,
  .animate-fade-in {
    animation: none !important;
  }

  .animate-fade-in {
    opacity: 1 !important;
    transform: none !important;
  }

  #particle-canvas {
    display: none !important;
  }
}
