/* 
   Numaya Website Stylesheet
   Design System: Celestial Glassmorphism
   Primary Accent: Violet/Purple (#7B61FF)
   Secondary Accent: Premium Gold (#E2B659)
*/

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

:root {
  /* Colors */
  --bg-color: #07050f;
  --bg-darker: #04030a;
  --text-primary: #f5f4f8;
  --text-secondary: #a9a6b6;
  --text-muted: #6b677a;
  
  --accent-purple: #7B61FF;
  --accent-purple-glow: rgba(123, 97, 255, 0.4);
  --accent-purple-muted: rgba(123, 97, 255, 0.15);
  
  --accent-gold: #E2B659;
  --accent-gold-glow: rgba(226, 182, 89, 0.4);
  --accent-gold-muted: rgba(226, 182, 89, 0.15);
  
  --glass-bg: rgba(20, 16, 38, 0.65);
  --glass-bg-hover: rgba(28, 23, 52, 0.8);
  --glass-border: rgba(123, 97, 255, 0.15);
  --glass-border-hover: rgba(123, 97, 255, 0.35);
  --glass-border-gold: rgba(226, 182, 89, 0.2);
  --glass-border-gold-hover: rgba(226, 182, 89, 0.5);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Nebulae Background Orbs */
.nebula-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  mix-blend-mode: screen;
  pointer-events: none;
}

.orb-purple-1 {
  width: 50vw;
  height: 50vw;
  background: var(--accent-purple);
  top: -10vw;
  right: -10vw;
}

.orb-purple-2 {
  width: 40vw;
  height: 40vw;
  background: #3c096c;
  top: 40vh;
  left: -15vw;
}

.orb-gold-1 {
  width: 35vw;
  height: 35vw;
  background: var(--accent-gold);
  top: 100vh;
  right: -5vw;
  opacity: 0.08;
}

.orb-purple-3 {
  width: 45vw;
  height: 45vw;
  background: var(--accent-purple);
  top: 190vh;
  left: -5vw;
}

/* Glassmorphism Containers */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), 
              inset 0 1px 1px rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 40px 0 rgba(123, 97, 255, 0.08), 
              0 0 15px 0 rgba(123, 97, 255, 0.05),
              inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.glass-panel.lucky-gold {
  border-color: var(--glass-border-gold);
}

.glass-panel.lucky-gold:hover {
  border-color: var(--glass-border-gold-hover);
  box-shadow: 0 12px 40px 0 rgba(226, 182, 89, 0.08), 
              0 0 15px 0 rgba(226, 182, 89, 0.05);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Buttons and Links */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-purple), #5b3eff);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px var(--accent-purple-glow);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 97, 255, 0.6), 0 0 15px rgba(123, 97, 255, 0.2);
}

.btn-primary:hover::after {
  left: 125%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Nav Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 5, 15, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 97, 255, 0.08);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(4, 3, 10, 0.85);
  border-bottom: 1px solid rgba(123, 97, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: #fff;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-purple);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-cta .btn-primary {
  padding: 10px 20px;
  font-size: 13.5px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-purple-muted);
  border: 1px solid rgba(123, 97, 255, 0.3);
  color: #cbbfff;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 14px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 20px;
  font-family: var(--font-sans);
}

.hero-subhead {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.stat-chips {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-chip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 18px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-gold);
}

.stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* Device Mockups & CSS Frame */
.hero-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 575px;
  background: #0d0a1b;
  border: 12px solid #231e3d;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9),
              0 0 40px rgba(123, 97, 255, 0.15),
              inset 0 0 10px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0a0815;
  position: relative;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Phone Mockup Details */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #231e3d;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.phone-notch::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 20px;
  width: 45px;
  height: 4px;
  background: #090810;
  border-radius: 2px;
}

.phone-notch::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 25px;
  width: 8px;
  height: 8px;
  background: #110e20;
  border-radius: 50%;
}

.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  z-index: 10;
}

/* Feature Grid */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-purple-muted);
  border: 1px solid rgba(123, 97, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-purple);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--accent-purple);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 15px rgba(123, 97, 255, 0.3);
}

.feature-card.lucky-gold .feature-icon-wrapper {
  background: var(--accent-gold-muted);
  border-color: rgba(226, 182, 89, 0.2);
  color: var(--accent-gold);
}

.feature-card.lucky-gold:hover .feature-icon-wrapper {
  background: var(--accent-gold);
  color: #07050f;
  box-shadow: 0 0 15px rgba(226, 182, 89, 0.3);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.6;
}

/* App Showcase (Screenshots Carousel) */
.showcase-slider-container {
  position: relative;
  max-width: 100vw;
  width: 100%;
  margin-top: 40px;
  overflow: hidden;
}

.showcase-carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.showcase-carousel-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 10px 40px 40px 40px;
}

.marquee-group {
  display: flex;
  gap: 36px;
  animation: marquee 35s linear infinite;
  will-change: transform;
}

.showcase-carousel-track:hover .marquee-group {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 36px));
  }
}

.carousel-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.carousel-slide .phone-mockup {
  width: 250px;
  height: 512px;
  border-width: 10px;
  border-radius: 35px;
  transition: var(--transition-smooth);
}

.carousel-slide:hover .phone-mockup {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 35px rgba(123, 97, 255, 0.25);
}

.slide-caption {
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

/* Systems Section */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.system-card {
  padding: 40px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
}

.system-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-style: italic;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  opacity: 0.45;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
}

.system-details h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.system-details p {
  font-size: 14px;
  line-height: 1.6;
}

/* Why Numaya (4 Tiles) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.why-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #fff;
}

.why-card p {
  font-size: 13.5px;
  line-height: 1.65;
}

.why-check {
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

/* Footer Section */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(123, 97, 255, 0.08);
  padding: 80px 0 40px 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 13px;
  max-width: 300px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col ul a {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links-col ul a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: #fff;
}

/* Legal Pages Styling (privacy-policy.html, terms-of-service.html) */
.legal-body {
  padding-top: 140px;
  padding-bottom: 100px;
}

.legal-card {
  padding: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.legal-header h1 {
  font-size: 40px;
  margin-bottom: 12px;
}

.legal-header .update-date {
  font-size: 13.5px;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #fff;
  border-left: 3px solid var(--accent-purple);
  padding-left: 12px;
}

.legal-content p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.legal-content ul, .legal-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent-purple);
  text-decoration: underline;
}

.legal-content a:hover {
  color: #cbbfff;
}

.legal-cta-block {
  margin-top: 50px;
  background: rgba(123, 97, 255, 0.05);
  border: 1px solid rgba(123, 97, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
}

.legal-cta-block h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.legal-cta-block p {
  margin-bottom: 20px;
}

/* Animations */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 15px rgba(123, 97, 255, 0.15); }
  50% { box-shadow: 0 0 25px rgba(123, 97, 255, 0.3); }
  100% { box-shadow: 0 0 15px rgba(123, 97, 255, 0.15); }
}

.pulse-button {
  animation: pulseGlow 3s infinite;
}

/* Scroll Animation Hooks */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 42px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .systems-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  
  .navbar .container {
    height: 70px;
  }
  
  .navbar .btn-primary {
    display: none; /* Hide on mobile to save space */
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #07050f;
    flex-direction: column;
    padding: 60px 40px;
    gap: 40px;
    transition: var(--transition-smooth);
    border-top: 1px solid rgba(123, 97, 255, 0.1);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .eyebrow-tag {
    margin: 0 auto 20px auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .stat-chips {
    justify-content: center;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .legal-card {
    padding: 30px;
  }
  
  .legal-header h1 {
    font-size: 28px;
  }
  
  .system-card {
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .system-num {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 10px;
    justify-content: flex-start;
  }
}
