/* ==========================================================================
   RESTOVUE — PHOTO ENHANCER
   Production Stylesheet
   Developed by NextGen TechEdge Solutions Private Limited
   ========================================================================== */

:root {
  /* Core Brand Colors */
  --bg-navy: #080E29;
  --bg-navy-secondary: #151438;
  --bg-navy-card: #0F1235;
  --primary-magenta: #F018AE;
  --bright-pink: #FF37B7;
  --electric-purple: #8B32E8;
  --electric-blue: #168BFF;
  --soft-lavender: #F3ECFF;
  --lavender-card: #FFFFFF;
  --lavender-bg: #F8F4FD;
  --white: #FFFFFF;
  --text-dark: #18123B;
  --text-muted: #68627C;
  --text-light: #E2DEED;
  --text-dim: #A19BB5;
  --border-light: rgba(139, 50, 232, 0.15);
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Gradients */
  --brand-gradient: linear-gradient(135deg, #F018AE 0%, #FF37B7 50%, #8B32E8 100%);
  --brand-gradient-hover: linear-gradient(135deg, #D41499 0%, #E62CA2 50%, #7627CA 100%);
  --blue-purple-gradient: linear-gradient(135deg, #8B32E8 0%, #168BFF 100%);
  --neon-glow: 0 0 35px rgba(240, 24, 174, 0.4);
  --purple-glow: 0 0 35px rgba(139, 50, 232, 0.35);

  /* Typography */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Geometry & Elevation */
  --container-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px rgba(8, 14, 41, 0.08);
  --shadow-hover: 0 18px 45px rgba(240, 24, 174, 0.18);
}

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

html {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-navy);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  overflow-x: hidden;
  line-height: 1.6;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Utility */
.font-heading {
  font-family: var(--font-heading);
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bright-pink);
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: '';
  width: 20px;
  height: 2.5px;
  background: var(--brand-gradient);
  border-radius: 4px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.scroll-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--brand-gradient);
  box-shadow: 0 0 10px rgba(240, 24, 174, 0.7);
  z-index: 1001;
  pointer-events: none;
  transition: width 0.05s linear;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 14, 41, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 14, 41, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-combo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(240, 24, 174, 0.35));
  transition: transform 0.2s ease;
}

.footer-logo-img {
  height: 46px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(240, 24, 174, 0.4));
  transition: transform 0.2s ease;
}

.brand-logo-link:hover .brand-logo-img,
.brand-logo-link:hover .footer-logo-img {
  transform: scale(1.03);
}

.brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(240, 24, 174, 0.4));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bright-pink);
  letter-spacing: 0.04em;
  text-transform: capitalize;
}

.developer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.dev-label {
  font-size: 0.70rem;
  color: var(--text-dim);
  font-weight: 500;
  line-height: 1.2;
}

.dev-name {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  transition: color 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.28s ease;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: var(--brand-gradient);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  opacity: 0;
  box-shadow: 0 0 10px rgba(240, 24, 174, 0.6);
}

.nav-link:hover {
  color: var(--white);
  transform: translateY(-2px);
  text-shadow: 0 0 12px rgba(240, 24, 174, 0.4);
}

.nav-link:hover::after {
  width: 100%;
  opacity: 0.85;
}

.nav-link.active {
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 0 14px rgba(240, 24, 174, 0.5);
}

.nav-link.active::after {
  width: 100%;
  opacity: 1;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--brand-gradient);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(240, 24, 174, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-cta-btn:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 24, 174, 0.5);
}

.mobile-toggle-btn {
  display: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   SECTION B: HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #06091F;
  padding: 56px 0 76px;
  overflow: hidden;
  border-bottom: none;
}

/* Fallback if hero-waves-stage is absent */
.hero-section:not(:has(.hero-waves-stage)) {
  background-image: linear-gradient(180deg, rgba(6, 9, 31, 0.45) 0%, rgba(6, 9, 31, 0.05) 25%, rgba(6, 9, 31, 0.1) 70%, rgba(6, 9, 31, 0.95) 100%), url('../images/backgrounds/hero-neon-waves.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

/* ==========================================================================
   ANIMATED NEON WAVES HERO BACKGROUND SYSTEM
   ========================================================================== */
.hero-waves-stage {
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-wave-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Primary Wave: Retains exact original composition, gradient overlay & colors */
.hero-wave-primary {
  background-image: linear-gradient(180deg, rgba(6, 9, 31, 0.45) 0%, rgba(6, 9, 31, 0.05) 25%, rgba(6, 9, 31, 0.1) 70%, rgba(6, 9, 31, 0.95) 100%), url('../images/backgrounds/hero-neon-waves.webp');
  transform: scale(1.05);
  will-change: transform, filter;
}

/* Secondary Flow Wave: Dual interference creates localized flowing light ripples along the curves */
.hero-wave-secondary {
  background-image: url('../images/backgrounds/hero-neon-waves.webp');
  mix-blend-mode: screen;
  opacity: 0.22;
  transform: scale(1.06);
  will-change: transform, opacity;
}

/* Luminous Wave Aura: Gentle neon breathing highlight following illuminated wave arcs */
.hero-wave-aura {
  top: 15%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse 60% 45% at 55% 65%, rgba(240, 24, 174, 0.15) 0%, rgba(32, 214, 254, 0.08) 45%, transparent 75%);
  mix-blend-mode: screen;
  opacity: 0.45;
  filter: blur(20px);
  will-change: transform, opacity;
}

/* Ambient glow & waves */
.hero-backdrop-glow {
  position: absolute;
  top: 10%;
  right: 12%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 50, 232, 0.3) 0%, rgba(240, 24, 174, 0.18) 40%, rgba(8, 14, 41, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}

.hero-neon-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(0deg, rgba(6, 9, 31, 0.85) 0%, rgba(6, 9, 31, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 520px;
}

.hero-content {
  max-width: 610px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-subhead {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.62;
  margin-bottom: 24px;
}

/* ==========================================================================
   3 CORE BENEFIT GLASSMORPHISM BOXES (Hero Section - Tightly Aligned)
   ========================================================================== */
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 0;
  margin-bottom: 28px;
  width: 100%;
  position: relative;
  z-index: 5;
  perspective: 1000px;
}

.hero-benefit-card {
  position: relative;
  min-width: 0;
  padding: 18px 16px;
  border-radius: 16px;
  /* Exactly 50% opacity background as required - text & icons are 100% opaque */
  background: rgba(12, 18, 65, 0.50);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  cursor: default;
}

/* Light sheen reflection sweep across card */
.benefit-card-sheen {
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-benefit-card:hover .benefit-card-sheen {
  left: 190%;
}

/* Circular glass icon container with pink/magenta glow */
.benefit-card-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(240, 24, 174, 0.16);
  border: 1.5px solid rgba(240, 24, 174, 0.45);
  box-shadow: 0 0 16px rgba(240, 24, 174, 0.30), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 12px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.benefit-card-icon {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
  stroke-width: 2.2;
}

.hero-benefit-card:hover .benefit-card-icon-wrap {
  transform: scale(1.10) rotate(4deg);
  box-shadow: 0 0 22px rgba(240, 24, 174, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border-color: rgba(240, 24, 174, 0.85);
}

.benefit-card-text {
  position: relative;
  z-index: 2;
  width: 100%;
}

.benefit-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.benefit-card-desc {
  font-size: 0.82rem;
  color: #E2DEED; /* High-contrast near-white */
  line-height: 1.42;
  margin: 0;
}

/* Hover effects */
.hero-benefit-card:hover {
  border-color: rgba(240, 24, 174, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 25px rgba(240, 24, 174, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  background: rgba(18, 25, 80, 0.58);
  transform: translateY(-4px);
}

/* Fallback for legacy benefit items if used elsewhere */
.hero-benefits-row {
  display: flex;
  gap: 20px;
  margin-bottom: 34px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.benefit-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(240, 24, 174, 0.14);
  border: 1.5px solid rgba(240, 24, 174, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bright-pink);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(240, 24, 174, 0.2);
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.benefit-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.35;
}

/* App Store / Google Play Button */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.playstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: var(--white);
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.playstore-badge:hover {
  border-color: var(--bright-pink);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(240, 24, 174, 0.3);
}

.play-icon-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.play-text-top {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  display: block;
  line-height: 1.1;
}

.play-text-main {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: block;
  line-height: 1.1;
}

/* Dual Floating Phone Mockups in Hero */
.hero-phones-stage {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.phones-ambient-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(240, 24, 174, 0.32) 0%, rgba(139, 50, 232, 0.22) 42%, rgba(22, 139, 255, 0.12) 65%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

.phones-ground-reflection {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 38px;
  background: radial-gradient(ellipse at center, rgba(240, 24, 174, 0.5) 0%, rgba(139, 50, 232, 0.35) 38%, rgba(22, 139, 255, 0.2) 60%, transparent 75%);
  filter: blur(14px);
  border-radius: 50%;
  z-index: 1;
  animation: shadowPulse 5.5s ease-in-out infinite alternate;
}

.phone-mockup-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.phone-mockup-composite {
  max-height: 520px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 30px rgba(240, 24, 174, 0.3));
  will-change: transform;
}

/* Floating Anti-Gravity Animation */
@keyframes floatPhones {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(0.85deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes glowPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.65;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

@keyframes shadowPulse {
  0% {
    transform: translateX(-50%) scaleX(1);
    opacity: 0.9;
  }
  100% {
    transform: translateX(-50%) scaleX(0.82);
    opacity: 0.55;
  }
}

.animated-floating-phone {
  animation: floatPhones 5.5s ease-in-out infinite;
}

/* ==========================================================================
   SECTION C: FEATURE OVERVIEW (POWERFUL TOOLS IN ONE APP)
   ========================================================================== */
.features-section {
  position: relative;
  background-color: var(--soft-lavender);
  padding: 80px 0;
  /* Strictly rectangular straight horizontal edge */
}

.features-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.features-header-left {
  max-width: 520px;
}

.features-h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.features-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.6;
}

/* Feature Category Filter Tabs */
.feature-tabs-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.feature-tabs-wrap::-webkit-scrollbar {
  display: none;
}

.feature-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #E9E0F3;
  border-radius: var(--radius-full);
  color: #19133B;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.feature-tab:hover {
  background: #FFFFFF;
  border-color: #FFC0EA;
  color: #EC1BAA;
  transform: translateY(-1px);
}

.feature-tab.active {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(240, 24, 174, 0.35);
}

.feature-tab .tab-count {
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  font-weight: 600;
}

.feature-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Complete Feature Grid (5 columns on desktop above 1400px) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid #E9E0F3;
  border-radius: 18px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  height: 230px;
  box-shadow: 0 4px 16px rgba(24, 18, 59, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(236, 27, 170, 0.45);
  box-shadow: 0 14px 28px rgba(24, 18, 59, 0.08), 0 0 16px rgba(236, 27, 170, 0.12);
}

/* 56px icon box with soft pink background */
.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #FFF0FB;
  border: 1px solid #FFC0EA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EC1BAA;
  margin-bottom: 14px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.3s ease, 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.08) rotate(3deg);
  background: #FFE4F7;
  border-color: #EC1BAA;
  box-shadow: 0 4px 14px rgba(236, 27, 170, 0.22);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #19133B;
  margin-bottom: 6px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.feature-desc {
  font-size: 0.82rem;
  color: #69617D;
  line-height: 1.35;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-link-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #EC1BAA;
  margin-top: auto;
  transition: gap 0.25s ease;
}

.feature-card:hover .feature-link-indicator {
  gap: 10px;
}

.feature-link-indicator i,
.feature-link-indicator svg {
  transition: transform 0.25s ease;
}

.feature-card:hover .feature-link-indicator i,
.feature-card:hover .feature-link-indicator svg {
  transform: translateX(4px);
}

/* ==========================================================================
   SECTION D: BEFORE / AFTER PHOTO COMPARISON
   ========================================================================== */
.comparison-section {
  position: relative;
  background-color: var(--soft-lavender);
  padding: 40px 0 90px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  align-items: center;
  gap: 50px;
  background: var(--white);
  border: 1px solid rgba(139, 50, 232, 0.15);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 45px rgba(8, 14, 41, 0.06);
}

/* Draggable Before/After Component */
.before-after-component {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(8, 14, 41, 0.14);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  aspect-ratio: 1024 / 472;
  min-height: 240px;
  background: #080E29;
  cursor: ew-resize;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
}

.ba-image-after {
  z-index: 1;
}

.ba-image-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  will-change: clip-path;
}

.ba-image-before-wrapper .ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
}

/* Draggable divider line & circle handle */
.ba-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.5px;
  height: 100%;
  background: var(--white);
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(240, 24, 174, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: ew-resize;
  z-index: 5;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.ba-handle:hover, .ba-handle.active {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(240, 24, 174, 0.8);
}

.ba-handle:focus-visible {
  box-shadow: 0 0 0 4px var(--primary-magenta), 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Pills for Before & After labels */
.ba-label {
  position: absolute;
  top: 14px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 3;
  pointer-events: none;
}

.ba-label-before {
  left: 14px;
  background: rgba(15, 23, 42, 0.8);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ba-label-after {
  right: 14px;
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(240, 24, 174, 0.5);
}

/* Comparison Copy (Right Column) */
.comparison-info {
  padding-left: 10px;
}

.comparison-h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.22;
  margin-bottom: 22px;
}

.comparison-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
}

.check-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(240, 24, 174, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-magenta);
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION E: EVERYDAY USE CASES STRIP
   ========================================================================== */
.use-cases-strip {
  position: relative;
  background-color: var(--bg-navy-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
}

.use-cases-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.use-cases-heading-wrap {
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 28px;
}

.use-cases-label-top {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.use-cases-label-main {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bright-pink);
  line-height: 1.2;
}

.use-cases-items-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  flex-grow: 1;
}

.use-case-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 12px 8px;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  color: var(--text-light);
  text-decoration: none;
}

.use-case-box:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  transform: translateY(-3px);
}

.use-case-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bright-pink);
  transition: all 0.25s ease;
}

.use-case-box:hover .use-case-icon-wrap {
  background: var(--brand-gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(240, 24, 174, 0.4);
}

.use-case-text {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   SECTION F: SCREENSHOTS CAROUSEL
   ========================================================================== */
.screenshots-section {
  padding: 85px 0;
  background: var(--bg-navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.screenshots-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.screenshots-h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.screenshots-carousel-wrapper {
  position: relative;
  padding: 10px 0;
}

.screenshots-carousel-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 10px;
  scrollbar-width: none;
}

.screenshots-carousel-track::-webkit-scrollbar {
  display: none;
}

.screenshot-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: var(--bg-navy-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.screenshot-card:hover {
  transform: translateY(-8px);
  border-color: var(--bright-pink);
  box-shadow: 0 20px 45px rgba(240, 24, 174, 0.25);
}

.screenshot-media {
  width: 100%;
  aspect-ratio: 9 / 18;
  background: #000;
  overflow: hidden;
}

.screenshot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-info {
  padding: 18px 18px 22px;
}

.screenshot-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.screenshot-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.carousel-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--brand-gradient);
  border-color: transparent;
  transform: scale(1.08);
}

/* ==========================================================================
   SECTION G: FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 85px 0;
  background-color: var(--bg-navy-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.faq-h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(240, 24, 174, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.2s ease;
}

.faq-question-btn:hover {
  color: var(--bright-pink);
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--bright-pink);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ==========================================================================
   SECTION H: MOUNTAIN LANDSCAPE FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: var(--bg-navy);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  /* Strictly rectangular */
}

.footer-mountain-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(180deg, rgba(8, 14, 41, 0.85) 0%, rgba(8, 14, 41, 0.58) 45%, rgba(8, 14, 41, 0.85) 100%),
    url('../images/backgrounds/mountains-footer.webp');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.92;
  pointer-events: none;
  z-index: 1;
}

.footer-inner {
  position: relative;
  z-index: 2;
  padding: 121px 0 35px; /* Shifted down additional 15px (106px -> 121px) onto dark mountain */
}

.footer-top-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 5px; /* Reduced to max 5px as requested */
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 5px; /* Reduced to max 5px as requested */
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-tagline-text {
  font-size: 0.95rem;
  color: #FFFFFF;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  margin-top: 4px;
}

.footer-brand-wrap .footer-tagline-text + div,
.footer-dev-by {
  font-size: 0.84rem;
  color: #E2DEED !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--brand-gradient);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 25px rgba(240, 24, 174, 0.4);
  transition: all 0.25s ease;
}

.footer-cta-btn:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(240, 24, 174, 0.6);
}

.footer-links-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px; /* Moved down 10px as requested */
  padding-bottom: 30px;
}

.footer-nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--bright-pink);
}

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

.footer-copyright a {
  color: var(--bright-pink);
  font-weight: 600;
}

.footer-copyright a:hover {
  text-decoration: underline;
}
