/* 
  =========================================
  Sanathan X - "The Way of Life" CSS System
  =========================================
*/

/* --- Custom Variables & Theme Configurations --- */
:root {
  --primary: #371011;
  --primary-rgb: 55, 16, 17;
  --primary-dark: #1F0809;
  --secondary: #DBF6D5;
  --secondary-rgb: 219, 246, 213;
  --accent-gold: #D4AF37;
  --accent-gold-rgb: 212, 175, 55;
  --accent-warm: #8E4A41;
  --btn-accent-color: #6c3133;
  --bg-light: #FCFDFB;
  --bg-card: #ffffff;
  --text-dark: #2B2121;
  --text-muted: #6E5C5C;
  --border-color: rgba(55, 16, 17, 0.08);
  
  --font-logo: 'Berkshire Swash', cursive;
  --font-body: 'Google Sans Flex', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(55, 16, 17, 0.03);
  --shadow-md: 0 12px 30px rgba(55, 16, 17, 0.06);
  --shadow-lg: 0 20px 48px rgba(55, 16, 17, 0.1);
  --shadow-gold: 0 10px 25px rgba(212, 175, 55, 0.25);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* --- Base Rules & Typography --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;     /* Offset for sticky header */
}

html {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll on page */
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: clip; /* Clip horizontal overflow on body without triggering a double vertical scrollbar */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Allow selection inside inputs, textareas and select boxes */
input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

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

.font-logo {
  font-family: var(--font-logo) !important;
}

.text-gold {
  color: var(--accent-gold) !important;
}

/* --- Bootstrap Blue Utility Overrides to Deep Burgundy --- */
.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.btn {
  border-radius: 100px !important; /* Fully rounded capsule pill shape */
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--btn-accent-color) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important; /* Thick white border outline from your app screen */
  box-shadow: 0 4px 15px rgba(55, 16, 17, 0.15), 0 0 0 1px var(--btn-accent-color) !important; /* Outer brand ring */
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #562527 !important; /* Wine dark hover shade */
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(55, 16, 17, 0.22), 0 0 0 1.5px var(--btn-accent-color) !important;
}

.btn-outline-primary {
  color: var(--btn-accent-color) !important;
  border: 2px solid var(--btn-accent-color) !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
  background-color: var(--btn-accent-color) !important;
  border-color: var(--btn-accent-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-primary-custom {
  color: var(--btn-accent-color) !important;
  border: 1.5px solid rgba(108, 49, 51, 0.3) !important;
  background-color: rgba(108, 49, 51, 0.05) !important;
  font-size: 0.9rem !important;
  padding: 8px 20px !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  transition: var(--transition-smooth) !important;
}

.btn-primary-custom:hover, .btn-primary-custom:focus, .btn-primary-custom:active {
  background-color: var(--btn-accent-color) !important;
  border-color: var(--btn-accent-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 49, 51, 0.2) !important;
}

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

a:hover {
  color: var(--accent-gold);
}

/* --- Section Formatting & Patterns --- */
section {
  padding: 100px 0;
  position: relative;
}

/* --- Custom Premium Gradient Backgrounds (Fitrack style) --- */
.bg-gradient-peach {
  background: radial-gradient(circle at 10% 20%, rgba(255, 243, 224, 0.45) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.06) 0%, rgba(255, 255, 255, 0) 50%),
              var(--bg-light);
}

.bg-gradient-mint {
  background: radial-gradient(circle at 90% 10%, rgba(219, 246, 213, 0.5) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 10% 90%, rgba(212, 175, 55, 0.04) 0%, rgba(255, 255, 255, 0) 50%),
              var(--bg-light);
}

.bg-gradient-dawn {
  background: linear-gradient(180deg, var(--bg-light) 0%, rgba(255, 243, 224, 0.3) 50%, rgba(219, 246, 213, 0.25) 100%);
}

.bg-gradient-mesh {
  background-color: var(--bg-light);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(219, 246, 213, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 95% 10%, rgba(212, 175, 55, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(55, 16, 17, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 90%, rgba(255, 235, 204, 0.28) 0%, transparent 40%);
}

.section-title-wrap {
  margin-bottom: 60px;
}

.section-subtitle {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--accent-warm);
  margin-bottom: 12px;
  display: block;
}

.section-main-title {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-warm);
  border-radius: 2px;
}

.section-main-title.text-start::after {
  left: 0;
  transform: none;
}

/* --- Sticky Header (Navbar) --- */
.navbar-custom {
  padding: 20px 0;
  transition: var(--transition-smooth);
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-custom.navbar-scrolled {
  padding: 12px 0;
  background-color: rgba(252, 253, 251, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.navbar-custom .navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary) !important;
}

.navbar-custom .nav-link {
  color: var(--text-dark) !important;
  font-weight: 600;
  margin: 0 12px;
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--btn-accent-color);
  transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: 100%;
}

/* --- Premium Responsive Mobile Hamburger Toggler --- */
.navbar-custom .navbar-toggler {
  border: 1.5px solid rgba(108, 49, 51, 0.15) !important;
  background-color: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important; /* Perfect circular touch-point target */
  display: none !important; /* Hidden on desktop screens */
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 10px rgba(55, 16, 17, 0.04), inset 0 1px 0 rgba(255,255,255,0.6) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
  position: relative;
  z-index: 1050;
}

@media (max-width: 991.98px) {
  .navbar-custom .navbar-toggler {
    display: flex !important; /* Show ONLY on small devices (mobile/tablet) */
  }
}

.navbar-custom .navbar-toggler:hover,
.navbar-custom .navbar-toggler:focus {
  border-color: var(--btn-accent-color) !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 6px 15px rgba(108, 49, 51, 0.12), 0 0 0 3px rgba(108, 49, 51, 0.1) !important;
  transform: scale(1.05);
  outline: none !important;
}

.navbar-toggler-icon-custom {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--btn-accent-color) !important;
  border-radius: 10px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.navbar-toggler-icon-custom::before,
.navbar-toggler-icon-custom::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: var(--btn-accent-color) !important;
  border-radius: 10px;
  left: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.navbar-toggler-icon-custom::before { top: -6px; }
.navbar-toggler-icon-custom::after { bottom: -6px; }

/* Elegant Morphing Transition to Sleek 'X' when Open */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom {
  background-color: transparent !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom::before {
  transform: rotate(45deg) !important;
  top: 0 !important;
  background-color: var(--btn-accent-color) !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom::after {
  transform: rotate(-45deg) !important;
  bottom: 0 !important;
  background-color: var(--btn-accent-color) !important;
}

.hero-section {
  background-color: var(--bg-light);
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(219, 246, 213, 0.45) 0%, transparent 60%),
    radial-gradient(circle at 20% 15%, rgba(212, 175, 55, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(55, 16, 17, 0.05) 0%, transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(255, 235, 204, 0.32) 0%, transparent 50%);
  padding: 100px 0 70px;
  overflow: hidden;
  /* Ensure hero floating cards never trigger horizontal scroll */
  clip-path: inset(0 0 0 0);
}

.hero-tagline {
  font-weight: 800;
  font-size: 3.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-phone-container {
  position: relative;
  z-index: 2;
  perspective: 1000px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Clip overflowing floating cards so they don't cause horizontal scroll */
  overflow: visible; /* Cards need to be visible, parent section clips them */
}

.phone-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(219, 246, 213, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(55, 16, 17, 0.08) 0%, transparent 60%);
  filter: blur(30px);
  z-index: 1;
  opacity: 0.85;
}

.hero-phone-mockup.single-phone {
  width: 270px;
  height: 540px;
  background-color: #0b0707;
  border-radius: 40px;
  border: 12px solid #2e2626;
  box-shadow: var(--shadow-lg), 0 30px 60px rgba(55, 16, 17, 0.18);
  overflow: hidden;
  position: relative;
  z-index: 3;
  margin: 0 auto;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: var(--transition-smooth);
}

.hero-phone-mockup.single-phone:hover {
  /* Delegate hover transformations and glows to .tilt-hover-card and .tilt-glow-shadow */
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--primary-dark);
  position: relative;
  color: #fff;
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-phone-notch {
  width: 120px;
  height: 24px;
  background-color: #2e2626;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.floating-feature-card {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 10;
  animation: floatCard 6s ease-in-out infinite;
  white-space: nowrap;
}

.floating-card-1 {
  top: 34%;
  left: -85px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 30%;
  right: -95px;
  animation-delay: 2s;
}

.floating-card-3 {
  bottom: 8%;
  left: -95px;
  animation-delay: 4s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

/* --- Card Styles & Highlights --- */
.premium-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(55, 16, 17, 0.15);
}

.icon-wrapper-mint {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.premium-card:hover .icon-wrapper-mint {
  background-color: var(--primary);
  color: var(--secondary);
}

/* --- Problem / Solution Comparison --- */
/* --- Problem / Solution Comparison --- */
.problem-card {
  background: linear-gradient(180deg, #FAF4F4 0%, #FFF0F0 100%);
  border: 1px solid rgba(220, 53, 69, 0.12);
  border-radius: 24px;
  padding: 36px;
  height: 100%;
  box-shadow: 0 8px 30px rgba(220, 53, 69, 0.01);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(220, 53, 69, 0.04);
}

.solution-card {
  background: linear-gradient(180deg, #F6FAF7 0%, #ECFDF0 100%);
  border: 1px solid rgba(40, 167, 69, 0.12);
  border-radius: 24px;
  padding: 36px;
  height: 100%;
  box-shadow: 0 8px 30px rgba(40, 167, 69, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(40, 167, 69, 0.06);
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  font-size: 0.94rem;
  line-height: 1.5;
  color: rgba(55, 16, 17, 0.8);
}

.comparison-list li:last-child {
  margin-bottom: 0;
}

.comparison-list li i {
  margin-right: 14px;
  margin-top: 3px;
  font-size: 1.1rem;
}

/* --- Pillars Cards --- */
.pillar-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(55, 16, 17, 0.08);
}

.pillar-card-1 {
  background: linear-gradient(180deg, #F8F9FB 0%, #FFF3E8 100%);
}

.pillar-card-2 {
  background: linear-gradient(180deg, #F8F9FB 0%, #FFF0F2 100%);
}

.pillar-card-3 {
  background: linear-gradient(180deg, #F8F9FB 0%, #FFFBEA 100%);
}

.pillar-card-4 {
  background: linear-gradient(180deg, #F8F9FB 0%, #EBFDF3 100%);
}

.pillar-card-content {
  padding: 20px 20px 0 20px;
  position: relative;
  z-index: 2;
}

.pillar-number {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.3rem;
  font-weight: 800;
  color: rgba(55, 16, 17, 0.06);
}

.pillar-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.pillar-card p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(55, 16, 17, 0.72);
  margin-bottom: 0;
}

.pillar-phone-wrap {
  height: 340px;
  margin-top: 0px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}

.pillar-phone-device {
  width: 220px;
  height: 330px;
  border: 6px solid #1c1a1a;
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  background-color: #0c0a0a;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.06);
  transform: translateY(0);
}

.pillar-phone-notch {
  width: 64px;
  height: 13px;
  background-color: #1c1a1a;
  border-radius: 0 0 8px 8px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.pillar-phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 14px 14px 0 0;
}

/* --- Pillars Cards Responsive Layout & Scale Adjustments --- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .pillar-card {
    height: 420px;
  }
  .pillar-phone-wrap {
    height: 270px;
  }
  .pillar-phone-device {
    width: 175px;
    height: 260px;
    border-width: 4px;
    border-radius: 18px 18px 0 0;
  }
  .pillar-phone-notch {
    width: 52px;
    height: 11px;
    border-radius: 0 0 6px 6px;
  }
}

@media (max-width: 575.98px) {
  .pillar-card {
    height: 420px;
  }
  .pillar-phone-wrap {
    height: 270px;
  }
  .pillar-phone-device {
    width: 180px;
    height: 260px;
    border-width: 4px;
    border-radius: 18px 18px 0 0;
  }
  .pillar-phone-notch {
    width: 52px;
    height: 11px;
    border-radius: 0 0 6px 6px;
  }
}

.pillar-body {
  padding: 30px;
}

/* --- Adaptive Routine Widget --- */
.routine-widget {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.routine-control-box {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 24px;
}

.routine-list {
  list-style: none;
  padding: 0;
}

.routine-item {
  background-color: #fff;
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeInWidget 0.4s ease forwards;
  box-shadow: 0 2px 6px rgba(55, 16, 17, 0.02);
}

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

/* --- Sankalp Journey Timeline --- */
.sankalp-timeline {
  position: relative;
  padding: 30px 0;
}

.sankalp-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(to bottom, var(--secondary) 0%, var(--primary) 50%, var(--secondary) 100%);
  transform: translateX(-50%);
}

.timeline-step {
  position: relative;
  margin-bottom: 50px;
}

.timeline-step::after {
  content: '';
  clear: both;
  display: block;
}

.timeline-marker {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border: 4px solid var(--secondary);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  width: 45%;
  background-color: #fff;
  padding: 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
}

.timeline-step:nth-child(odd) .timeline-content {
  float: left;
}

.timeline-step:nth-child(even) .timeline-content {
  float: right;
}

/* --- Panchangam Live Widget --- */
.panchang-widget {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(219, 246, 213, 0.15);
}

.panchang-grid-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.panchang-grid-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: scale(1.03);
}

/* --- Festival Countdown --- */
.festival-countdown-card {
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1) 0%, rgba(55, 16, 17, 1) 80%);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #fff;
}

.countdown-box {
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-md);
  padding: 20px;
  text-align: center;
  min-width: 90px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* --- Showcase Slider --- */
.screen-carousel-wrap {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.phone-slider-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 12px solid #2e2626;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  z-index: 5;
}

.screen-carousel {
  border-radius: 28px;
  overflow: hidden;
}

/* --- Wisdom Quote Section --- */
.wisdom-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 60px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.wisdom-quote {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
  margin-bottom: 24px;
}

/* --- Download Banner --- */
.download-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--border-radius-lg);
  padding: 80px 60px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.download-banner-logo {
  position: absolute;
  right: -160px;
  top: 50%;
  transform: translateY(-50%);
  width: 550px;
  height: 550px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
  transition: var(--transition-smooth);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 1) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 1) 100%);
}

@media (max-width: 991.98px) {
  .download-banner {
    padding: 40px 24px;
  }
  .download-banner-logo {
    width: 380px;
    height: 380px;
    right: -110px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  }
}

/* --- Footer & Details --- */
.footer-dark {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px;
}

.footer-dark a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-dark a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  margin-top: 50px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
  section {
    padding: 70px 0;
  }
  
  .hero-section {
    padding: 120px 0 80px;
    text-align: center;
  }
  
  .hero-tagline {
    font-size: 2.8rem;
  }
  
  .sankalp-timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    float: right !important;
  }
  
  .floating-feature-card {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-tagline {
    font-size: 2.2rem;
  }
  
  .section-main-title {
    font-size: 2rem;
  }
}

/* --- About Section App Icon Display --- */
.about-icon-mockup {
  padding: 40px;
  position: relative;
  z-index: 2;
}

.about-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(219, 246, 213, 0.35) 45%, rgba(255, 255, 255, 0) 70%);
  filter: blur(25px);
  z-index: 1;
}

.app-icon-display-card {
  position: relative;
  z-index: 3;
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: 42px;
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(55, 16, 17, 0.1);
  border: 1px solid var(--border-color);
  display: inline-block;
  transition: var(--transition-smooth);
}

.app-icon-display-card:hover {
  transform: scale(1.05) rotate(4deg);
  box-shadow: var(--shadow-lg), 0 25px 50px rgba(55, 16, 17, 0.15);
}

/* --- Mindful Reminders 3D Mockup & Glass Cards --- */
.reminder-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  /* Prevent reminder alert cards from creating horizontal scroll */
  overflow: visible;
}

.reminder-phone-mockup {
  width: 240px;
  height: 480px;
  background-color: #0b0707;
  border-radius: 36px;
  border: 10px solid #2e2626;
  box-shadow: var(--shadow-lg), 0 25px 50px rgba(55, 16, 17, 0.15);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transform: rotateY(8deg) rotateX(4deg);
  transition: var(--transition-smooth);
}

.reminder-phone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.03);
  box-shadow: var(--shadow-lg), 0 30px 60px rgba(55, 16, 17, 0.25);
}

.reminder-alert-card {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 12px;
  border-radius: 14px;
  box-shadow: var(--shadow-md), 0 15px 30px rgba(55, 16, 17, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  z-index: 10;
  max-width: 195px;
  text-align: left;
  animation: floatCard 6s ease-in-out infinite;
}

.reminder-alert-card .card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.reminder-alert-card .alert-heading {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.72rem;
}

.reminder-alert-card .alert-tag {
  font-size: 0.55rem;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.reminder-alert-card p {
  margin: 0;
  font-size: 0.56rem;
  color: #4a4a4a;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reminder-card-1 {
  top: 10%;
  left: -90px;
  animation-delay: 0s;
}

.reminder-card-2 {
  top: 42%;
  right: -100px;
  animation-delay: 2s;
}

.reminder-card-3 {
  bottom: 12%;
  left: -80px;
  animation-delay: 4s;
}

@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive adjustment for floating cards */
@media (max-width: 575.98px) {
  .reminder-alert-card {
    max-width: 200px;
  }
  .reminder-card-1 {
    left: -20px;
  }
  .reminder-card-2 {
    right: -20px;
  }
  .reminder-card-3 {
    left: -15px;
  }
}

/* --- Native Accordion Active State Overrides (Replaces Blue with Burgundy) --- */
.accordion-button:not(.collapsed) {
  background-color: rgba(55, 16, 17, 0.05) !important;
  color: var(--primary) !important;
}

/* Custom Burgundy Chevron for Active Accordion Button */
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23371011'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* Remove default blue focus outlines and glowing box shadows */
.accordion-button:focus {
  box-shadow: none !important;
  border-color: rgba(55, 16, 17, 0.2) !important;
}

/* --- Premium Responsive Mobile Audits & Layout Alignment Overrides --- */
@media (max-width: 768px) {
  /* Fix navbar toggler and brand padding on mobile */
  .navbar-custom {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .navbar-custom .navbar-toggler {
    margin-right: 0.25rem !important;
  }
}

@media (max-width: 576px) {
  /* Prevent clipping on Hero floating cards by pulling them slightly inward */
  .floating-card-1 {
    left: -15px !important;
  }
  .floating-card-2 {
    right: -15px !important;
  }
  .floating-card-3 {
    left: -15px !important;
  }
  
  /* Prevent visual shadow clipping on Mindful Reminders cards */
  .reminder-card-2 {
    right: -10px !important;
  }
  
  /* Ensure hero buttons stack cleanly with balanced vertical gap */
  .hero-section .btn {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  background-color: var(--btn-accent-color) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 15px rgba(55, 16, 17, 0.20), 0 0 0 1px var(--btn-accent-color) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background-color: #562527 !important; /* Wine dark hover shade */
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(55, 16, 17, 0.30), 0 0 0 1.5px var(--btn-accent-color) !important;
}

@media (max-width: 576px) {
  .back-to-top {
    bottom: 24px !important; /* Keep it further down for a cleaner, symmetric look on mobile */
    right: 24px !important;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* --- Footer Bottom Gradient Shadow & Brand Highlight --- */
.footer-bottom {
  margin-top: 50px;
  padding-top: 30px;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(108, 49, 51, 0.4) 30%, 
    rgba(212, 175, 55, 0.5) 50%, 
    rgba(108, 49, 51, 0.4) 70%, 
    transparent 100%
  ); /* Wine-to-Gold-to-Wine gradient line */
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25); /* Aura glow */
}

.footer-brand-highlight {
  font-family: var(--font-logo) !important;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #FFD700 0%, #D4AF37 40%, var(--btn-accent-color) 100%); /* Gold to Wine gradient */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(108, 49, 51, 0.4));
  transition: var(--transition-smooth);
}

.footer-brand-highlight:hover {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.5));
}

/* --- Giant Footer Backdrop Brand Signature --- */
.footer-giant-text {
  font-family: var(--font-body);
  font-size: 11.5vw;
  font-weight: 800;
  line-height: 0.8;
  margin: 0;
  padding: 0;
  text-align: center;
  /* Brighter, highly legible Gold to Wine gradient for perfect visibility on dark background */
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.40) 0%, 
    rgba(212, 175, 55, 0.45) 45%, 
    rgba(108, 49, 51, 0.30) 80%, 
    transparent 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  pointer-events: none;
  margin-top: 25px;
  margin-bottom: 5px !important; /* Tightened margin inside for neat spacing */
  letter-spacing: 4px; /* Spacious, premium gap between letters */
  
  /* Initial state for slide-up scroll animation (slower, more majestic 1.8s transition) */
  opacity: 0;
  transform: translateY(30px);
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-giant-text.animate-active {
  opacity: 1;
  transform: translateY(0);
}

/* Balanced bottom padding on footer to completely reveal the backdrop signature with clean layout margins */
footer.footer, .footer-dark, [class*="footer"] {
  padding-bottom: 20px !important;
  margin-bottom: 0px !important;
}

/* Enrich footer background with a slightly more intense, premium warm burgundy gradient */
footer.footer {
  background: linear-gradient(180deg, 
    #1C0708 0%, 
    #250B0C 60%, 
    #381213 100%
  ) !important;
}

@media (max-width: 576px) {
  .footer-giant-text {
    font-size: 13.5vw;
    margin-top: 15px;
    margin-bottom: 3px !important;
    letter-spacing: 2px; /* Spacious clean gap for mobile viewports */
  }
}

/* --- Mobile Expanded Menu Drawer Legibility Overrides --- */
@media (max-width: 991.98px) {
  .navbar-custom .navbar-collapse {
    background-color: rgba(31, 8, 9, 0.98) !important; /* Rich dark-wine glass backdrop matching the app theme */
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 24px !important;
    border-radius: var(--border-radius-lg) !important;
    margin-top: 15px !important;
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  
  .navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85) !important; /* Bright cream color for complete legibility on dark background */
    padding: 12px 16px !important;
    margin: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: var(--border-radius-sm) !important;
    transition: var(--transition-smooth) !important;
  }
  
  .navbar-custom .nav-link:hover,
  .navbar-custom .nav-link:focus,
  .navbar-custom .nav-link.active {
    color: var(--accent-gold) !important; /* Luxurious brand gold for active/hover states */
    background-color: rgba(255, 255, 255, 0.03) !important;
    padding-left: 20px !important; /* Subtle slide interaction */
  }
  
  /* Disable horizontal active underlines in vertical mobile drawer layout */
  .navbar-custom .nav-link::after {
    display: none !important;
  }

  /* Enhance the download button readability & contrast inside the dark mobile menu drawer */
  .navbar-custom .navbar-collapse .btn-primary-custom {
    color: #ffffff !important;
    background-color: var(--btn-accent-color) !important;
    border: 1.5px solid #ffffff !important;
    width: 100% !important;
    justify-content: center !important;
    margin-top: 15px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    padding: 10px 24px !important;
    transition: var(--transition-smooth) !important;
  }
  
  .navbar-custom .navbar-collapse .btn-primary-custom:hover,
  .navbar-custom .navbar-collapse .btn-primary-custom:focus {
    background-color: #ffffff !important;
    color: var(--primary-dark) !important;
    border-color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25) !important;
  }
}

/* --- Cinematic Page Preloader System --- */
.preloader-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at center, #260A0B 0%, #150506 100%);
  z-index: 999999 !important; /* Above everything including modal backdrops */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 24px;
}

.preloader-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(55, 16, 17, 0.4);
  position: relative;
  z-index: 2;
  --animate-duration: 2s;
}

.preloader-glow {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.45) 0%, rgba(108, 49, 51, 0.15) 50%, transparent 70%);
  filter: blur(12px);
  z-index: 1;
  animation: preloaderPulse 2.5s infinite ease-in-out;
}

.preloader-brand-text {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #FFD700 0%, #D4AF37 40%, var(--btn-accent-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(108, 49, 51, 0.3));
  opacity: 0;
  transform: scale(0.96) translateY(5px);
  animation: preloaderReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.preloader-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 30px;
  opacity: 0;
  transform: scale(0.96) translateY(5px);
  animation: preloaderReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.preloader-spinner-bar {
  width: 140px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.preloader-progress {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--btn-accent-color), var(--accent-gold));
  border-radius: 10px;
  animation: progressFill 2.2s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}

/* Page fade-in reveal states when preloader triggers loaded */
body.preloader-loaded .preloader-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes preloaderPulse {
  0% { transform: scale(0.96); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.95; }
  100% { transform: scale(0.96); opacity: 0.5; }
}

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

@keyframes progressFill {
  0% { width: 0; }
  45% { width: 65%; }
  100% { width: 100%; }
}

/* --- Panchang Phone Mockup Screen --- */
.panchang-phone-screen {
  background: linear-gradient(180deg, #1c0e0f 0%, #0d0607 100%);
  width: 100%;
  height: 100%;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.panchang-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panchang-app-header .location {
  font-weight: 600;
  color: var(--secondary);
}

.panchang-app-header .time {
  opacity: 0.7;
}

/* Circular Solar/Lunar Phase progress style */
.panchang-circular-widget {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

.circular-progress-wrap {
  width: 150px;
  height: 150px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circular-progress-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  filter: blur(10px);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.circular-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circular-svg .bg-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 6px;
}

.circular-svg .fg-circle {
  fill: none;
  stroke: url(#goldGradient);
  stroke-width: 6px;
  stroke-dasharray: 264;
  stroke-dashoffset: 80;
  stroke-linecap: round;
}

.circular-center-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.circular-center-content .tithi-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  font-family: var(--font-logo);
  letter-spacing: 0.5px;
}

.panchang-app-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panchang-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
}

.panchang-detail-row .label {
  opacity: 0.6;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

.panchang-detail-row .value {
  font-weight: 600;
}

.panchang-sun-timings {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
}

.panchang-sun-timings .timing-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.12);
  padding: 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Cosmic Orbit Background Animation Behind the Phone */
.celestial-orbit-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  animation: rotateOrbit 30s linear infinite;
}

.celestial-orbit-glow::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--secondary);
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes rotateOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Floating Stars Animation */
.floating-star {
  position: absolute;
  color: var(--secondary);
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
  animation: floatStar 5s ease-in-out infinite;
}

.star-1 {
  top: 15%;
  left: -40px;
  animation-delay: 0s;
}

.star-2 {
  bottom: 25%;
  right: -50px;
  animation-delay: 1.5s;
}

.star-3 {
  top: 50%;
  right: -30px;
  animation-delay: 3s;
}

@keyframes floatStar {
  0%, 100% { transform: translateY(0px) scale(0.8); opacity: 0.3; }
  50% { transform: translateY(-15px) scale(1.1); opacity: 0.8; }
}

/* --- Community & App Showcase Auto-scroll Marquee Section --- */
.bg-light-mint {
  background-color: rgba(219, 246, 213, 0.22);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.marquee-container {
  overflow: hidden;
  padding: 40px 0;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
  gap: 20px;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-card {
  position: relative;
  width: 220px;
  height: 440px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid #2e2626;
  background-color: #0b0707;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.marquee-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 15px 30px rgba(55, 16, 17, 0.15);
}

.marquee-card-image-wrap {
  width: 100%;
  height: 100%;
}

.marquee-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: calc(var(--border-radius-lg) - 4px);
}

.marquee-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.marquee-card-badge .avatar-dot {
  width: 8px;
  height: 8px;
  background-color: #DBF6D5;
  border-radius: 50%;
  display: inline-block;
}

/* Custom py-6 to match premium spacing */
.py-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

@media (max-width: 991.98px) {
  .marquee-card {
    width: 160px;
    height: 320px;
    border-radius: var(--border-radius-md);
    border-width: 3px;
  }
  .marquee-card-img {
    border-radius: calc(var(--border-radius-md) - 3px);
  }
  .marquee-track {
    gap: 15px;
  }
}

@media (max-width: 575.98px) {
  .marquee-card {
    width: 110px;
    height: 220px;
    border-radius: var(--border-radius-sm);
    border-width: 2px;
  }
  .marquee-card-img {
    border-radius: calc(var(--border-radius-sm) - 2px);
  }
  .marquee-track {
    gap: 10px;
  }
  .marquee-card-badge {
    top: 8px;
    left: 8px;
    padding: 3px 6px;
    font-size: 0.6rem;
  }
}

/* --- Real Stories Testimonial Slider Styling --- */
.stories-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none;  /* Hide scrollbar IE/Edge */
  padding: 10px 4px 30px;
  margin: 0 -4px; /* Adjust horizontal offset for card hover animations */
}

.stories-viewport::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari/Opera */
}

.stories-track {
  display: flex;
  gap: 24px;
}

.story-slide {
  flex: 0 0 380px; /* Width of slides on desktop */
  max-width: 100%;
}

.testimonial-card {
  border-radius: 20px !important;
  border: 1px solid var(--border-color) !important;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(55, 16, 17, 0.15) !important;
}

.slider-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 2px solid var(--btn-accent-color) !important;
  color: var(--btn-accent-color) !important;
  background-color: transparent !important;
  transition: var(--transition-smooth);
}

.slider-arrow-btn:hover {
  background-color: var(--btn-accent-color) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(55, 16, 17, 0.15) !important;
}

.slider-arrow-btn:disabled {
  opacity: 0.4 !important;
  pointer-events: none !important;
}

@media (max-width: 991.98px) {
  .story-slide {
    flex: 0 0 320px;
  }
  .stories-track {
    gap: 20px;
  }
}

@media (max-width: 575.98px) {
  .story-slide {
    flex: 0 0 290px;
  }
  .stories-track {
    gap: 16px;
  }
  .slider-arrow-btn {
    width: 38px;
    height: 38px;
  }
}

/* --- Reusable Scroll Reveal Text (Bottom to Top) --- */
.scroll-reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-reveal-text.animate-active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Scroll Reveal Phone Mockup (Bottom to Top, different timing) --- */
.scroll-reveal-phone {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-reveal-phone.animate-active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Staggered delays for the Four Pillars cards --- */
.pillar-card-1 .scroll-reveal-text { transition-delay: 0s; }
.pillar-card-2 .scroll-reveal-text { transition-delay: 0.1s; }
.pillar-card-3 .scroll-reveal-text { transition-delay: 0.2s; }
.pillar-card-4 .scroll-reveal-text { transition-delay: 0.3s; }

.pillar-card-1 .scroll-reveal-phone { transition-delay: 0.15s; }
.pillar-card-2 .scroll-reveal-phone { transition-delay: 0.25s; }
.pillar-card-3 .scroll-reveal-phone { transition-delay: 0.35s; }
.pillar-card-4 .scroll-reveal-phone { transition-delay: 0.45s; }

/* =========================================
   3D TILT & SCROLL ANIMATION ENGINE
   ========================================= */

/* Perspective Container for 3D Animations */
.perspective-container {
  perspective: 1200px;
}

/* 3D Tilt Card with Cursor-tracking Light Sweep */
.tilt-hover-card {
  position: relative;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-hover-card::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    80px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 175, 55, 0.8) 0%,
    rgba(108, 49, 51, 0.2) 50%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 5;
}

.tilt-hover-card:hover::before {
  opacity: 1;
}

/* Scroll Tilt 3D Roll-in (Rotate X) */
.scroll-tilt-3d {
  opacity: 0;
  transform: perspective(1200px) rotateX(16deg) translateY(50px) scale(0.93);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-tilt-3d.animate-active {
  opacity: 1;
  transform: perspective(1200px) rotateX(0deg) translateY(0) scale(1);
}

/* Scroll Tilt 3D Hinge Left (Rotate Y from left) */
/* Note: translateX uses negative values that could push content out of viewport.
   We keep translateX small enough that overflow-x:hidden on body clips it cleanly. */
.scroll-tilt-left {
  opacity: 0;
  transform: perspective(1200px) rotateY(-18deg) translateX(-40px) scale(0.95);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-tilt-left.animate-active {
  opacity: 1;
  transform: perspective(1200px) rotateY(0deg) translateX(0) scale(1);
}

/* Scroll Tilt 3D Hinge Right (Rotate Y from right) */
.scroll-tilt-right {
  opacity: 0;
  transform: perspective(1200px) rotateY(18deg) translateX(40px) scale(0.95);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-tilt-right.animate-active {
  opacity: 1;
  transform: perspective(1200px) rotateY(0deg) translateX(0) scale(1);
}

/* Scroll Zoom-In Tilt Scale */
.scroll-zoom-tilt {
  opacity: 0;
  transform: perspective(1200px) translateZ(-150px) scale(0.85);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-zoom-tilt.animate-active {
  opacity: 1;
  transform: perspective(1200px) translateZ(0) scale(1);
}

/* --- Scroll Tilt Flip Up (Rolls up from bottom) --- */
.scroll-tilt-flip-up {
  opacity: 0;
  transform: perspective(1200px) rotateX(25deg) translateY(60px) scale(0.95);
  transform-origin: bottom center;
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-tilt-flip-up.animate-active {
  opacity: 1;
  transform: perspective(1200px) rotateX(0deg) translateY(0) scale(1);
}

/* --- Scroll Skew Slide Left (Elegant slide-in skew) --- */
.scroll-skew-left {
  opacity: 0;
  transform: translateX(-35px) skewX(6deg);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-skew-left.animate-active {
  opacity: 1;
  transform: translateX(0) skewX(0deg);
}

/* --- Scroll Skew Slide Right (Elegant slide-in skew) --- */
.scroll-skew-right {
  opacity: 0;
  transform: translateX(35px) skewX(-6deg);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-skew-right.animate-active {
  opacity: 1;
  transform: translateX(0) skewX(0deg);
}

/* --- Scroll Tilt Rotate Z (Slight diagonal entry) --- */
.scroll-tilt-rotate-z {
  opacity: 0;
  transform: perspective(1200px) rotateZ(-3deg) translateY(40px) scale(0.96);
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-tilt-rotate-z.animate-active {
  opacity: 1;
  transform: perspective(1200px) rotateZ(0deg) translateY(0) scale(1);
}

/* Scroll Parallax Float Effect */
.scroll-parallax-float {
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Scroll-linked perspective tilt style for mockup devices */
.scroll-tilt-phone {
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Glowing Tilt Shadows for cards */
.tilt-glow-shadow {
  box-shadow: 0 10px 30px rgba(55, 16, 17, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.8), inset 0 -1px 2px rgba(55, 16, 17, 0.1);
  transition: var(--transition-smooth);
}

.tilt-glow-shadow:hover {
  box-shadow: 0 20px 40px rgba(108, 49, 51, 0.15), 0 0 15px rgba(212, 175, 55, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.9);
}


/* =========================================
   Core Features Slide Carousel
   ========================================= */
.features-carousel-section {
  position: relative;
  overflow: hidden;
  transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.features-track {
  display: flex;
  width: 100%;
  transition: transform 0.75s cubic-bezier(0.85, 0, 0.15, 1);
}

.feature-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  transition: opacity 0.4s ease;
}

/* Dots Page Indicators */
.dot-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(55, 16, 17, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
  cursor: pointer;
}

.dot-indicator:hover {
  background: rgba(55, 16, 17, 0.3);
  transform: scale(1.15);
}

.dot-indicator.active {
  width: 32px;
  border-radius: 6px;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(55, 16, 17, 0.15);
}

/* Navigation Arrow Controls */
.carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(55, 16, 17, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-arrow-btn:hover:not(:disabled) {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(55, 16, 17, 0.15);
}

.carousel-arrow-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.carousel-arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* --- Core Features Desktop Layout Scaling --- */
.features-carousel-section {
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
}

.features-carousel-section .section-main-title {
  font-size: 2.2rem !important;
}

.features-carousel-section .hero-phone-mockup.single-phone {
  width: 220px !important;
  height: 440px !important;
  border-width: 9px !important;
  border-radius: 32px !important;
}

.features-carousel-section .reminder-phone-mockup {
  width: 190px !important;
  height: 380px !important;
  border-width: 9px !important;
  border-radius: 30px !important;
}

.features-carousel-section .feature-slide h2 {
  font-size: 2rem !important;
  margin-bottom: 0.75rem !important;
}

.features-carousel-section .feature-slide p.fs-5 {
  font-size: 1.05rem !important;
  margin-bottom: 1.25rem !important;
}

.features-carousel-section .d-grid {
  gap: 0.85rem !important;
}

.features-carousel-section .feature-slide h5 {
  font-size: 1.1rem !important;
  margin-bottom: 0.25rem !important;
}

.features-carousel-section .feature-slide p {
  font-size: 0.88rem !important;
}

.features-carousel-section .icon-wrapper-mint {
  width: 44px !important;
  height: 44px !important;
}

/* --- Responsiveness Audits & Mobile/Tablet Scaling --- */
@media (max-width: 991.98px) {
  .hero-phone-mockup.single-phone {
    width: 220px !important;
    height: 440px !important;
    border-width: 8px !important;
    border-radius: 30px !important;
  }
  .reminder-phone-mockup {
    width: 200px !important;
    height: 400px !important;
    border-width: 8px !important;
    border-radius: 28px !important;
  }
  .feature-slide h2 {
    font-size: 1.8rem !important;
  }
  .feature-slide p.fs-5 {
    font-size: 1rem !important;
  }
  .feature-slide h5 {
    font-size: 1.1rem !important;
  }
  .py-6 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
  .reminder-card-1 {
    left: -15px !important;
  }
  .reminder-card-2 {
    right: -15px !important;
  }
  .reminder-card-3 {
    left: -15px !important;
  }
  .reminder-alert-card {
    max-width: 170px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
  }
  .reminder-alert-card p {
    font-size: 0.52rem !important;
  }
  .reminder-alert-card .alert-heading {
    font-size: 0.68rem !important;
  }
  .reminder-alert-card .alert-tag {
    font-size: 0.52rem !important;
  }
}

@media (max-width: 575.98px) {
  .hero-phone-mockup.single-phone {
    width: 180px !important;
    height: 360px !important;
    border-width: 6px !important;
    border-radius: 24px !important;
  }
  .reminder-phone-mockup {
    width: 140px !important;
    height: 280px !important;
    border-width: 6px !important;
    border-radius: 20px !important;
  }
  .feature-slide h2 {
    font-size: 1.4rem !important;
    margin-bottom: 0.75rem !important;
  }
  .feature-slide p.fs-5 {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
  }
  .feature-slide h5 {
    font-size: 0.95rem !important;
  }
  .feature-slide p {
    font-size: 0.8rem !important;
  }
  .icon-wrapper-mint {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
    margin-bottom: 12px !important;
  }
  .py-6 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  .reminder-card-1 {
    left: -10px !important;
    top: 12% !important;
  }
  .reminder-card-2 {
    right: -10px !important;
    top: 45% !important;
  }
  .reminder-card-3 {
    left: -10px !important;
    bottom: 12% !important;
  }
  .reminder-alert-card {
    max-width: 130px !important;
    padding: 6px 10px !important;
    border-radius: 10px !important;
  }
  .reminder-alert-card p {
    font-size: 0.48rem !important;
  }
  .reminder-alert-card .alert-heading {
    font-size: 0.60rem !important;
  }
  .reminder-alert-card .alert-tag {
    font-size: 0.45rem !important;
  }
}







