/* 
 * AURA - Premium Mobile App Landing Page Style Sheet
 * Design System: Mobile Product Keynote Presentation
 * Designed by worldofinternet.in
 */

/* ==========================================================================
   1. DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Colors - Biophilic Emerald & Champagne Gold */
  --bg-dark: #040a08;
  --bg-card: rgba(12, 28, 24, 0.65);
  --bg-card-solid: #0e201b;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(16, 185, 129, 0.15);
  
  --primary-navy: #06120f;
  --primary-blue: #10b981; /* Bioluminescent Emerald */
  --primary-white: #f4fbf7; /* Soothing warm white */
  --primary-gray: #5c6f68; /* Pine stone gray */
  
  --accent-purple: #f59e0b; /* Champagne Gold */
  --accent-cyan: #34d399; /* Mint Glow */
  --accent-pink: #059669; /* Deep Jade */
  --accent-aqua: #a7f3d0; /* Soft Coral Mint */
  --accent-orange: #d97706; /* Burnt Bronze */
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #10b981 0%, #f59e0b 50%, #059669 100%);
  --gradient-cyan-blue: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  --gradient-purple-pink: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-dark: linear-gradient(180deg, #040a08 0%, #0e201b 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* Base resets & Lenis Scroll Setup */
html {
  scroll-behavior: auto !important; /* Disable default CSS smooth scroll to prevent conflicts with Lenis in Chrome */
}
html.lenis {
  height: auto;
}
.lenis-clean-scroll {
  scrollbar-width: none;
}
.lenis-clean-scroll::-webkit-scrollbar {
  display: none;
}

body {
  background-color: var(--bg-dark);
  color: var(--primary-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Glows */
.ambient-glow-1 {
  position: absolute;
  top: 5%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}
.ambient-glow-2 {
  position: absolute;
  top: 35%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(0,0,0,0) 75%);
  z-index: -1;
  pointer-events: none;
}
.ambient-glow-3 {
  position: absolute;
  top: 70%;
  left: 10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.07) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Typography Extensions */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-cyan {
  background: var(--gradient-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-purple {
  background: var(--gradient-purple-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}
.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px 0 rgba(27, 99, 255, 0.1);
}

.glass-btn {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--primary-white);
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.glass-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--primary-white);
  transform: translateY(-2px);
}
 
.glow-btn {
  background: var(--gradient-hero);
  border: none;
  color: var(--primary-white);
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.glow-btn:hover {
  box-shadow: 0 6px 30px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
  color: var(--primary-white);
}

/* ==========================================================================
   2. FLOATING IPHONE DEVICE MOCKUP (PURE HTML/CSS)
   ========================================================================== */
.iphone-device-wrapper {
  perspective: 1000px;
  display: inline-block;
  position: relative;
  margin-top: 120px; /* Offset to center/align phone within viewport when pinned */
}

.iphone-device {
  width: 320px;
  height: 640px;
  background: #111;
  border-radius: 52px;
  padding: 12px;
  box-shadow: 
    0px 25px 50px -12px rgba(0, 0, 0, 0.8),
    0px 0px 0px 4px #262930,
    0px 0px 0px 5px #15161a,
    inset 0 0 2px 2px rgba(255,255,255,0.2);
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s ease-out;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Phone Buttons */
.iphone-device::before { /* Volume button left */
  content: '';
  position: absolute;
  left: -6px;
  top: 120px;
  width: 4px;
  height: 50px;
  background: #222;
  border-radius: 4px 0 0 4px;
  box-shadow: inset 1px 0 1px rgba(255,255,255,0.1);
}
.iphone-device::after { /* Power button right */
  content: '';
  position: absolute;
  right: -6px;
  top: 140px;
  width: 4px;
  height: 75px;
  background: #222;
  border-radius: 0 4px 4px 0;
  box-shadow: inset -1px 0 1px rgba(255,255,255,0.1);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #07120e;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.05);
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  overflow: hidden;
}
.dynamic-island.expanded {
  width: 220px;
  height: 48px;
  border-radius: 24px;
  top: 10px;
}
.dynamic-island-content {
  color: #fff;
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: space-between;
}
.dynamic-island.expanded .dynamic-island-content {
  opacity: 1;
}

/* Screen Content Styles (For Live CSS App Mockup) */
.app-screen-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: var(--font-body);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding: 55px 16px 20px 16px;
}
.app-screen-container.active {
  opacity: 1;
  pointer-events: auto;
}

.app-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.app-screen-header .app-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.app-screen-header .profile-pic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-purple-pink);
  border: 1px solid rgba(255,255,255,0.2);
}

/* Glare & Reflection overlay */
.iphone-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(125deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 15%, rgba(255,255,255,0) 30%);
  pointer-events: none;
  z-index: 99;
  border-radius: 42px;
}

/* Device Floating & Shadow Effect */
.iphone-device-shadow {
  position: absolute;
  bottom: -40px;
  left: 10%;
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  filter: blur(10px);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

/* ==========================================================================
   3. NAVIGATION (FLOATING GLASS HEADER)
   ========================================================================== */
.navbar-custom {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  padding: 8px 20px;
  background: rgba(6, 15, 12, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  transition: var(--transition-smooth);
}
.navbar-custom.scrolled {
  top: 12px;
  background: rgba(6, 15, 12, 0.85);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.navbar-custom .glass-btn,
.navbar-custom .glow-btn {
  padding: 8px 18px;
  font-size: 13.5px;
  flex-shrink: 0;
  white-space: nowrap;
}

.navbar-custom .navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--primary-white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-custom .navbar-brand i {
  font-size: 20px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-custom .nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: rgba(248, 250, 252, 0.75);
  padding: 8px 16px !important;
  border-radius: 50px;
  transition: var(--transition-fast);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary-white);
  background: rgba(255, 255, 255, 0.05);
}

.navbar-custom .navbar-toggler {
  border: none;
  padding: 4px;
}
.navbar-custom .navbar-toggler:focus {
  box-shadow: none;
}
.navbar-custom .toggler-icon {
  width: 24px;
  height: 2px;
  background-color: var(--primary-white);
  display: block;
  position: relative;
  transition: var(--transition-fast);
}
.navbar-custom .toggler-icon::before,
.navbar-custom .toggler-icon::after {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--primary-white);
  display: block;
  position: absolute;
  transition: var(--transition-fast);
}
.navbar-custom .toggler-icon::before { top: -6px; }
.navbar-custom .toggler-icon::after { top: 6px; }

/* Offcanvas Custom styling */
.offcanvas-custom {
  background: rgba(7, 9, 19, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-color);
  width: 300px;
}
.offcanvas-custom .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.offcanvas-custom .nav-link {
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  border-radius: 0;
}

/* ==========================================================================
   4. HERO LAUNCH EXPERIENCE (KEYNOTE SPECIFIC)
   ========================================================================== */
.hero-section {
  padding-top: 160px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge-launch {
  background: rgba(27, 99, 255, 0.1);
  border: 1px solid rgba(27, 99, 255, 0.3);
  color: var(--primary-blue);
  padding: 6px 18px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.badge-launch span {
  width: 6px;
  height: 6px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--primary-blue);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(27, 99, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(27, 99, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(27, 99, 255, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}
.hero-stat-item h4 {
  font-size: 28px;
  margin-bottom: 4px;
}
.hero-stat-item p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Floating UI Badges */
.floating-badge {
  position: absolute;
  background: rgba(15, 20, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 10;
  pointer-events: none;
  animation: float-badge 6s ease-in-out infinite alternate;
}
.floating-badge.badge-top-left {
  top: 15%;
  left: -80px;
  animation-delay: 0s;
}
.floating-badge.badge-bottom-right {
  bottom: 20%;
  right: -60px;
  animation-delay: 2s;
}
.floating-badge .icon-container {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.floating-badge.badge-top-left .icon-container {
  background: var(--gradient-cyan-blue);
}
.floating-badge.badge-bottom-right .icon-container {
  background: var(--gradient-purple-pink);
}
.floating-badge .badge-text h5 {
  font-size: 13px;
  margin-bottom: 2px;
}
.floating-badge .badge-text p {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 0;
}

@keyframes float-badge {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(2deg); }
}

/* ==========================================================================
   5. APP OVERVIEW (THE STORY BEGINS)
   ========================================================================== */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-title-wrapper {
  margin-bottom: 60px;
}
.section-subtitle {
  color: var(--primary-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.overview-card {
  padding: 40px;
  height: 100%;
}
.overview-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(27, 99, 255, 0.08);
  border: 1px solid rgba(27, 99, 255, 0.2);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 28px;
  transition: var(--transition-smooth);
}
.overview-card:hover .overview-icon {
  background: var(--primary-blue);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

/* ==========================================================================
   6. KEY FEATURES (GLOWING CARDS)
   ========================================================================== */
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 40px 32px;
  height: 100%;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(27, 99, 255, 0.08), transparent 40%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(27, 99, 255, 0.25);
  box-shadow: 0 15px 45px rgba(27, 99, 255, 0.1);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  z-index: 2;
  position: relative;
}
.feature-card:nth-child(1) .feature-icon-wrapper {
  background: rgba(27, 99, 255, 0.1);
  color: var(--primary-blue);
}
.feature-card:nth-child(2) .feature-icon-wrapper {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
}
.feature-card:nth-child(3) .feature-icon-wrapper {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
}
.feature-card:nth-child(4) .feature-icon-wrapper {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-aqua);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  z-index: 2;
  position: relative;
}
.feature-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  z-index: 2;
  position: relative;
}

/* ==========================================================================
   7. APP SCREENS SHOWCASE (VERTICAL PHONE PINNING SLIDER)
   ========================================================================== */
.showcase-pin-section {
  position: relative;
  min-height: 100vh;
  background: #050d0a;
  display: flex;
  align-items: center;
}

.showcase-scroll-container {
  display: flex;
  width: 100%;
}

.showcase-text-col {
  padding-right: 40px;
}

.showcase-step-content {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.5s ease;
  padding-bottom: 100px;
}
.showcase-step-content.active {
  opacity: 1;
}

.showcase-step-content h3 {
  font-size: 32px;
  margin-bottom: 16px;
}
.showcase-step-content p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 450px;
}

.showcase-phone-col {
  display: flex;
  align-items: flex-start; /* Align to top to allow proper pinning start */
  justify-content: center;
  position: relative;
}

/* Dynamic screen visual indicators within the showcase phone */
.orbital-ring-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 30px auto;
}
.orbital-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(27, 99, 255, 0.2);
  border-radius: 50%;
  animation: rotate-dashed 20s linear infinite;
}
.orbital-ring-inner {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(139, 92, 246, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}
.orbital-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}
.orbital-node {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #111;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.node-1 { top: -12px; left: calc(50% - 12px); border-color: var(--accent-cyan); color: var(--accent-cyan); }
.node-2 { bottom: -12px; left: calc(50% - 12px); border-color: var(--accent-pink); color: var(--accent-pink); }
.node-3 { left: -12px; top: calc(50% - 12px); border-color: var(--accent-purple); color: var(--accent-purple); }

@keyframes rotate-dashed {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.stat-bubble {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.stat-bubble i {
  color: var(--accent-aqua);
}

/* ==========================================================================
   8. USER JOURNEY (ONBOARDING PIPELINE)
   ========================================================================== */
.journey-timeline {
  position: relative;
  padding-left: 48px;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-purple) 50%, transparent 100%);
}

.journey-step {
  position: relative;
  margin-bottom: 48px;
}
.journey-step:last-child {
  margin-bottom: 0;
}

.journey-icon {
  position: absolute;
  left: -48px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 2;
  transition: var(--transition-smooth);
}
.journey-step.active .journey-icon {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-blue);
  transform: scale(1.15);
}

.journey-step h4 {
  font-size: 20px;
  margin-bottom: 8px;
  transition: var(--transition-fast);
}
.journey-step.active h4 {
  color: var(--primary-blue);
}

.journey-step p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 0;
}

/* ==========================================================================
   9. SMART FEATURES (NOTIFICATION CENTER & LIVE POPUPS)
   ========================================================================== */
.notification-phone-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.notification-container-absolute {
  position: absolute;
  top: 120px;
  right: -50px;
  width: 260px;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-notification {
  background: rgba(15, 20, 42, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: flex;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.popup-notification.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.notification-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.notification-content h6 {
  font-size: 13px;
  margin-bottom: 2px;
  font-weight: 700;
}
.notification-content p {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Hotspot Demo */
.hotspot {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(27, 99, 255, 0.4);
  border: 2px solid #fff;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hotspot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(27, 99, 255, 0.4);
  animation: pulse-hotspot 2s infinite;
}
.hotspot-1 { top: 180px; left: 60px; }
.hotspot-2 { top: 320px; right: 80px; }

@keyframes pulse-hotspot {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hotspot-tooltip {
  position: absolute;
  background: #111424;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  width: 180px;
  display: none;
  z-index: 105;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  pointer-events: none;
}
.hotspot:hover .hotspot-tooltip {
  display: block;
}
.hotspot-1 .hotspot-tooltip { top: -65px; left: -80px; }
.hotspot-2 .hotspot-tooltip { top: -65px; right: -80px; }

/* ==========================================================================
   10. WHY CHOOSE US
   ========================================================================== */
.why-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}
.why-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.why-item h4 {
  font-size: 20px;
  margin-bottom: 8px;
}
.why-item p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 0;
}

/* ==========================================================================
   11. STATISTICS SECTION
   ========================================================================== */
.stats-section {
  position: relative;
  background: linear-gradient(180deg, #0c0f24 0%, #070913 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-box {
  padding: 40px 20px;
  text-align: center;
}
.stat-box .counter-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-box p {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

/* ==========================================================================
   12. APP ECOSYSTEM (MULTI-DEVICE ECOSYSTEM STORYTELLING)
   ========================================================================== */
.ecosystem-container {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-ecosystem {
  position: absolute;
  /* Removed CSS transition to prevent conflicts with GSAP transform/opacity animations */
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Mac Mockup */
.device-mac {
  width: 520px;
  height: 310px;
  background: #222;
  border-radius: 12px 12px 0 0;
  border: 4px solid #333;
  z-index: 1;
  bottom: 50px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  left: calc(50% - 260px); /* Center horizontally without using transform to avoid GSAP conflict */
}
.device-mac::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: -40px;
  width: 600px;
  height: 8px;
  background: #444;
  border-radius: 4px;
}
.device-mac-screen {
  width: 100%;
  height: 100%;
  background: #0d1124;
  overflow: hidden;
  position: relative;
  padding: 20px;
}

/* iPad Mockup */
.device-ipad {
  width: 280px;
  height: 390px;
  background: #111;
  border-radius: 24px;
  border: 10px solid #252830;
  z-index: 2;
  left: 10%;
  bottom: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.device-ipad-screen {
  width: 100%;
  height: 100%;
  background: #0a0d1e;
  overflow: hidden;
  position: relative;
  padding: 20px;
}

/* Watch Mockup */
.device-watch {
  width: 110px;
  height: 135px;
  background: #000;
  border-radius: 26px;
  border: 5px solid #222;
  z-index: 4;
  right: 15%;
  bottom: 60px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}
.device-watch-screen {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: #090a14;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

/* Phone Mockup in Ecosystem */
.device-phone-eco {
  width: 160px;
  height: 320px;
  background: #111;
  border-radius: 28px;
  border: 6px solid #252830;
  z-index: 3;
  right: 28%;
  bottom: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.device-phone-eco-screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #080a17;
  padding: 12px;
}

/* Live charts inside mockups */
.mock-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 80px;
  gap: 4px;
}
.mock-bar {
  background: var(--gradient-hero);
  width: 14%;
  border-radius: 4px;
  height: 10%;
  transition: height 1s ease-out;
}

/* ==========================================================================
   13. TESTIMONIALS (VIDEO PLAYBACK & SWIPER CAROUSEL)
   ========================================================================== */
.testimonial-swiper {
  padding-bottom: 50px !important;
}

.testimonial-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  position: relative;
  transition: var(--transition-smooth);
}
.testimonial-card::after {
  content: '“';
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 120px;
  font-family: var(--font-display);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

.video-testimonial-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(27, 99, 255, 0.1);
  border: 1px solid rgba(27, 99, 255, 0.3);
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.video-testimonial-btn:hover {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 0 15px rgba(27, 99, 255, 0.4);
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.testimonial-user img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
}
.user-info h5 {
  font-size: 16px;
  margin-bottom: 2px;
}
.user-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.2) !important;
  opacity: 1 !important;
  width: 10px !important;
  height: 10px !important;
  transition: var(--transition-fast);
}
.swiper-pagination-bullet-active {
  background: var(--primary-blue) !important;
  width: 28px !important;
  border-radius: 5px !important;
}

/* ==========================================================================
   14. PRICING PLANS (GLASSMORPHIC CARDS WITH SWITCH)
   ========================================================================== */
.pricing-switch-wrapper {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: 50px;
  margin-bottom: 48px;
}
.pricing-switch-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 10px 24px;
  font-size: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-fast);
}
.pricing-switch-btn.active {
  background: var(--gradient-hero);
  color: #fff;
}

.pricing-card {
  padding: 48px 40px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition-smooth);
}
.pricing-card.popular {
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(135deg, rgba(15, 20, 42, 0.8) 0%, rgba(27, 20, 50, 0.8) 100%);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.1);
}
.pricing-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 24px;
  right: 28px;
  background: var(--gradient-purple-pink);
  font-size: 10px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.pricing-card .price {
  font-size: 48px;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 24px;
}
.pricing-card .price span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.pricing-features-list li i {
  color: var(--accent-aqua);
  font-size: 16px;
}
.pricing-features-list li.disabled {
  color: rgba(255,255,255,0.3);
}
.pricing-features-list li.disabled i {
  color: rgba(255,255,255,0.2);
}

/* ==========================================================================
   15. FAQ ACCORDION (MINIMALIST & CLEAN)
   ========================================================================== */
.faq-accordion .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
  border-radius: 16px !important;
  overflow: hidden;
  transition: var(--transition-fast);
}
.faq-accordion .accordion-item:hover {
  border-color: rgba(255,255,255,0.15);
}

.faq-accordion .accordion-button {
  background: transparent;
  color: var(--primary-white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  padding: 24px;
  border: none;
  box-shadow: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.faq-accordion .accordion-button::after {
  content: '+';
  background-image: none;
  font-size: 24px;
  line-height: 1;
  color: var(--primary-blue);
  width: auto;
  height: auto;
  font-family: var(--font-display);
  font-weight: 400;
  transition: transform 0.3s ease;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  content: '-';
  transform: rotate(180deg);
  color: var(--accent-purple);
}

.faq-accordion .accordion-body {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ==========================================================================
   16. DOWNLOAD CTA
   ========================================================================== */
.download-section {
  position: relative;
  background: linear-gradient(185deg, #070913 0%, #0d122b 100%);
  overflow: hidden;
}

.download-glass-box {
  background: radial-gradient(circle at 10% 20%, rgba(27, 99, 255, 0.1) 0%, rgba(139, 92, 246, 0.05) 90%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 32px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.qr-code-box {
  background: #fff;
  padding: 16px;
  border-radius: 20px;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.qr-code-box img {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   17. CONTACT SECTION (FULLY WORKING PHP FORM)
   ========================================================================== */
.contact-info-card {
  padding: 40px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(27, 99, 255, 0.08);
  border: 1px solid rgba(27, 99, 255, 0.2);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-text h5 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-muted);
}
.contact-info-text p,
.contact-info-text a {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-white);
  text-decoration: none;
}
.contact-info-text a:hover {
  color: var(--primary-blue);
}

.contact-form-card {
  padding: 48px;
}

.form-group-custom {
  position: relative;
  margin-bottom: 24px;
}

.form-control-custom {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--primary-white);
  padding: 14px 20px;
  font-size: 15px;
  width: 100%;
  transition: var(--transition-fast);
}
.form-control-custom:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(27, 99, 255, 0.15);
  outline: none;
}

textarea.form-control-custom {
  resize: none;
  min-height: 120px;
}

/* Form Validation Styles */
.form-feedback {
  font-size: 12px;
  margin-top: 6px;
  display: none;
}
.form-feedback.success-msg {
  color: var(--accent-aqua);
  display: block;
}
.form-feedback.error-msg {
  color: var(--accent-pink);
  display: block;
}

/* ==========================================================================
   18. FOOTER
   ========================================================================== */
.footer-top {
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
  padding-bottom: 60px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.footer-brand i {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 300px;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  color: var(--primary-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-fast);
  text-decoration: none;
}
.social-icon:hover {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 15px;
}
.footer-links a:hover {
  color: var(--primary-white);
  padding-left: 4px;
}

.newsletter-form {
  position: relative;
}
.newsletter-form .form-control-custom {
  padding-right: 60px;
}
.newsletter-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  background: var(--gradient-hero);
  border: none;
  border-radius: 8px;
  color: #fff;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.newsletter-btn:hover {
  opacity: 0.9;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 0;
}
.footer-bottom a {
  color: var(--primary-white);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--primary-blue);
}

/* ==========================================================================
   19. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats {
    justify-content: center;
  }
  .floating-badge.badge-top-left {
    left: -20px;
  }
  .floating-badge.badge-bottom-right {
    right: -20px;
  }
  .showcase-pin-section {
    min-height: auto;
    padding: 80px 0;
  }
  .showcase-step-content {
    min-height: auto;
    padding-bottom: 40px;
    opacity: 1;
  }
  .ecosystem-container {
    height: 400px;
    margin-top: 40px;
  }
  .iphone-device-wrapper {
    margin-top: 40px; /* Reduce top margin when stacked on tablet/mobile */
  }
  .device-mac {
    width: 420px;
    height: 250px;
    left: calc(50% - 210px); /* Adjust centering for tablet width */
  }
  .device-mac::after {
    width: 500px;
  }
  .device-ipad {
    width: 200px;
    height: 280px;
  }
  .device-phone-eco {
    width: 120px;
    height: 240px;
    right: 22%;
  }
  .device-watch {
    width: 80px;
    height: 100px;
    right: 10%;
  }
  .download-glass-box {
    padding: 40px;
  }
}

@media (max-width: 767px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .floating-badge {
    display: none; /* Hide floating badges on very small screens to avoid overlaps */
  }
  .iphone-device {
    width: 280px;
    height: 560px;
  }
  .ecosystem-container {
    height: 320px;
  }
  .device-mac {
    width: 320px;
    height: 190px;
    bottom: 30px;
    left: calc(50% - 160px); /* Adjust centering for mobile width */
  }
  .device-mac::after {
    width: 380px;
    left: -30px;
  }
  .device-ipad {
    width: 140px;
    height: 200px;
    bottom: 20px;
  }
  .device-phone-eco {
    width: 90px;
    height: 180px;
    right: 20%;
    bottom: 15px;
  }
  .device-watch {
    width: 60px;
    height: 75px;
    right: 5%;
    bottom: 40px;
  }
  .contact-form-card {
    padding: 24px;
  }
}

/* ==========================================================================
   16. CUSTOM FAQ ACCORDION & RESPONSIVE NAVBAR FIXES
   ========================================================================== */
.faq-accordion .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.faq-accordion .accordion-item:hover {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.faq-accordion .accordion-button {
  background: transparent;
  color: var(--primary-white) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  padding: 24px;
  box-shadow: none !important;
  border: none;
  transition: var(--transition-fast);
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(16, 185, 129, 0.08);
  color: var(--primary-blue) !important;
}

.faq-accordion .accordion-button::after {
  filter: invert(1) brightness(2);
}

.faq-accordion .accordion-collapse {
  border: none;
}

.faq-accordion .accordion-body {
  color: rgba(244, 251, 247, 0.7) !important;
  font-size: 15px;
  line-height: 1.7;
  padding: 0 24px 24px 24px;
  background: transparent;
}

@media (max-width: 1300px) {
  .navbar-custom .nav-link {
    padding: 6px 10px !important;
    font-size: 14px;
  }
  .navbar-custom .glass-btn, 
  .navbar-custom .glow-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* Mock Bar Chart Sizing & Aesthetics */
.mock-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 60px;
  width: 100%;
  padding: 5px 0;
  gap: 4px;
}
.mock-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-emerald) 0%, rgba(16, 185, 129, 0.2) 100%);
  border-radius: 3px 3px 0 0;
  height: 10%; /* Initial fallback height */
  min-height: 3px;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.25);
  transition: height 0.3s ease;
}

/* GSAP Pin-Spacer Layout Fixes */
.pin-spacer {
  background: transparent !important;
}
.showcase-phone-col .pin-spacer {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none;
}
.showcase-phone-col .pin-spacer > * {
  pointer-events: auto;
}

