/* ==========================================================================
   GROOMER — PREMIUM LUXURY SALON & BARBER BOOKING
   Design System, Mobile-First Responsiveness & Responsive Breakpoints
   ========================================================================== */

:root {
  /* Brand Colors from App Design Reference */
  --bg-dark-burgundy: #180B12;
  --bg-deep-plum: #4B2030;
  --bg-dark-surface: #27131D;
  --bg-card: rgba(39, 19, 29, 0.75);
  --bg-card-hover: rgba(56, 26, 41, 0.85);
  --color-coral-pink: #E86D75;
  --color-coral-glow: rgba(232, 109, 117, 0.28);
  --color-coral-subtle: rgba(232, 109, 117, 0.12);
  --text-primary: #FFFFFF;
  --text-muted: #BFAEB5;
  --text-dim: #8E7983;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(232, 109, 117, 0.35);
  --border-hover: rgba(232, 109, 117, 0.6);
  
  /* Fonts */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing & Layout */
  --container-max: 1240px;
  --header-height: 74px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Shadows & Transitions */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-elevated: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-coral: 0 8px 30px rgba(232, 109, 117, 0.25);
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  background-color: var(--bg-dark-burgundy);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark-burgundy);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(75, 32, 48, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(232, 109, 117, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 70%, rgba(75, 32, 48, 0.3) 0%, transparent 50%);
  background-attachment: fixed;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 16px; /* 16px prevents iOS automatic zoom on focus */
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2px solid var(--color-coral-pink);
  outline-offset: 3px;
}

/* ==========================================================================
   LAYOUT CONTAINERS & SECTION SPACING
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 28px);
  padding-right: clamp(16px, 4vw, 28px);
}

.section-padding {
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(60px, 9vw, 110px);
  position: relative;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 6vw, 56px) auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.8vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-coral-pink);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-desc {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.65;
  text-wrap: balance;
}

.highlight-coral {
  color: var(--color-coral-pink);
  position: relative;
  display: inline-block;
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  min-height: 46px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--transition-smooth);
  user-select: none;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #F07A82 0%, #E86D75 60%, #D4545C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(232, 109, 117, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(232, 109, 117, 0.5);
  background: linear-gradient(135deg, #F78890 0%, #ED727A 60%, #DC5A62 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(39, 19, 29, 0.8);
  color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(75, 32, 48, 0.6);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  min-height: 38px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 30px;
  min-height: 50px;
  font-size: 1rem;
}

.btn .btn-arrow {
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* App Store Badges */
.app-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  min-height: 54px;
  background: rgba(24, 11, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  text-align: left;
  transition: all var(--transition-smooth);
}

.app-badge-btn:hover {
  background: rgba(39, 19, 29, 0.95);
  border-color: var(--color-coral-pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
}

.app-badge-btn .badge-subtitle {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.app-badge-btn .badge-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================================================
   NAVIGATION (Sticky Header & Responsive Drawer)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  transition: background var(--transition-smooth), border-color var(--transition-smooth), backdrop-filter var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(24, 11, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 109, 117, 0.16);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

/* Brand Zone */
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-symbol {
  width: 32px;
  height: 32px;
  color: var(--color-coral-pink);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-coral-pink);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

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

.nav-action {
  flex-shrink: 0;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  touch-action: manipulation;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(24, 11, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 24px;
  border-bottom: 1px solid var(--border-accent);
  box-shadow: var(--shadow-elevated);
  z-index: 999;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--color-coral-pink);
  padding-left: 6px;
}

/* Breakpoint for tablet / mobile nav switch */
@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }
  .nav-links, .nav-action {
    display: none;
  }
  .menu-toggle, .mobile-nav {
    display: flex;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + clamp(20px, 4vw, 40px));
  padding-bottom: clamp(50px, 8vw, 80px);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 15%;
  left: 5%;
  width: min(500px, 70vw);
  height: min(500px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 32, 48, 0.6) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  top: 25%;
  right: 5%;
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 109, 117, 0.22) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 56px);
  position: relative;
  z-index: 1;
}

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.6vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-coral-pink);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

/* Proof Strip */
.hero-proof-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.hero-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-proof-item svg {
  color: var(--color-coral-pink);
  flex-shrink: 0;
}

.hero-proof-sep {
  opacity: 0.4;
}

/* ==========================================================================
   HERO APP SHOWCASE (Multi-Device Responsive Stage)
   ========================================================================== */
.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.showcase-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: clamp(480px, 60vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-stage::before {
  content: '';
  position: absolute;
  width: min(320px, 80vw);
  height: min(320px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 109, 117, 0.35) 0%, rgba(75, 32, 48, 0.4) 60%, transparent 80%);
  filter: blur(50px);
  z-index: 1;
}

/* Phone Mockup Frame */
.phone-mockup {
  position: relative;
  border-radius: 40px;
  padding: 8px;
  background: linear-gradient(145deg, #3A1926 0%, #15080E 100%);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 35px rgba(232, 109, 117, 0.2);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background-color: var(--bg-dark-burgundy);
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  background: #000000;
  border-radius: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}

.phone-notch::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111425;
}

/* Center Phone */
.phone-center {
  width: clamp(260px, 36vw, 290px);
  height: clamp(500px, 58vh, 560px);
  z-index: 10;
  animation: floatMain 6s ease-in-out infinite alternate;
}

/* Side Mockups on Desktop/Tablet */
.phone-side {
  position: absolute;
  width: 230px;
  height: 460px;
  opacity: 0.85;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.phone-side:hover {
  opacity: 1;
  transform: translateY(-8px) scale(1.02) !important;
  z-index: 15;
}

.phone-left {
  left: -20px;
  transform: rotate(-7deg) translateY(20px) scale(0.92);
  z-index: 4;
  animation: floatLeft 7s ease-in-out infinite alternate;
}

.phone-right {
  right: -20px;
  transform: rotate(7deg) translateY(30px) scale(0.92);
  z-index: 5;
  animation: floatRight 6.5s ease-in-out infinite alternate;
}

@keyframes floatMain {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes floatLeft {
  0% { transform: rotate(-7deg) translateY(20px) scale(0.92); }
  100% { transform: rotate(-6deg) translateY(8px) scale(0.92); }
}

@keyframes floatRight {
  0% { transform: rotate(7deg) translateY(30px) scale(0.92); }
  100% { transform: rotate(8deg) translateY(16px) scale(0.92); }
}

/* Inside Screen 1: Splash Screen */
.app-screen-splash {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 18px;
  background-size: cover;
  background-position: center top;
}

.app-screen-splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 11, 18, 0.2) 0%, rgba(24, 11, 18, 0.45) 50%, #180B12 92%);
  z-index: 1;
}

.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.splash-logo-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px auto;
  color: #FFFFFF;
}

.splash-brand-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.splash-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.splash-tagline strong {
  display: block;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #FFFFFF;
}

.splash-slider-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(39, 19, 29, 0.85);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  padding: 5px 12px 5px 5px;
  box-shadow: 0 0 20px rgba(232, 109, 117, 0.35);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.splash-slider-btn:hover {
  background: rgba(75, 32, 48, 0.95);
  border-color: var(--color-coral-pink);
}

.splash-slider-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-coral-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.splash-slider-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: #FFFFFF;
}

.splash-slider-arrows {
  display: flex;
  color: var(--color-coral-pink);
  font-weight: 700;
  letter-spacing: -2px;
}

/* Inside Screen 2: Select Branch Screen */
.app-screen-branch {
  padding: 38px 14px 16px 14px;
  display: flex;
  flex-direction: column;
  background: #180B12;
  height: 100%;
}

.branch-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--color-coral-pink);
}

.branch-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.branch-hero-thumb {
  width: 100%;
  height: 105px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--border-subtle);
}

.branch-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.branch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: rgba(39, 19, 29, 0.6);
  border-radius: 10px;
  font-size: 0.74rem;
  border: 1px solid var(--border-subtle);
}

.branch-row.active {
  background: var(--color-coral-pink);
  color: #FFFFFF;
  border-color: var(--color-coral-pink);
}

.branch-row.active .branch-sub {
  color: rgba(255, 255, 255, 0.9);
}

.branch-name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.branch-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Inside Screen 3: User Profile */
.app-screen-profile {
  padding: 38px 14px 14px 14px;
  background: #180B12;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.profile-card {
  background: #27131D;
  border: 1.5px solid var(--color-coral-pink);
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 12px;
  box-shadow: 0 0 16px rgba(232, 109, 117, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-coral-pink);
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
}

.profile-info p {
  font-size: 0.66rem;
  color: var(--text-muted);
}

.profile-stamp {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px dashed var(--color-coral-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-coral-pink);
}

.profile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(39, 19, 29, 0.7);
  border-radius: 10px;
  font-size: 0.72rem;
  color: #FFFFFF;
  border: 1px solid var(--border-subtle);
}

.profile-menu-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Showcase Screen Selector */
.showcase-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  position: relative;
  z-index: 20;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px 6px;
  -webkit-overflow-scrolling: touch;
}

.showcase-pill-btn {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(39, 19, 29, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.showcase-pill-btn:hover {
  color: #FFFFFF;
  border-color: var(--border-accent);
}

.showcase-pill-btn.active {
  background: var(--color-coral-pink);
  color: #FFFFFF;
  border-color: var(--color-coral-pink);
  box-shadow: 0 2px 10px rgba(232, 109, 117, 0.4);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin-bottom: clamp(40px, 6vw, 70px);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px) clamp(20px, 3vw, 30px);
  position: relative;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-coral-pink), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-coral);
}

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

.feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(232, 109, 117, 0.12);
  border: 1px solid rgba(232, 109, 117, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-coral-pink);
  transition: all var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
  background: var(--color-coral-pink);
  color: #FFFFFF;
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(232, 109, 117, 0.4);
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.feature-benefit-tag {
  font-size: 0.8rem;
  color: var(--color-coral-pink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Feature Showcase Split Rows */
.feature-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 4.5vw, 60px);
  margin-top: clamp(36px, 5vw, 60px);
  padding: clamp(24px, 4vw, 48px);
  background: rgba(39, 19, 29, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}

.feature-showcase-row.reverse {
  direction: rtl;
}

.feature-showcase-row.reverse > * {
  direction: ltr;
}

.showcase-text-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.showcase-text-block p {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.6vw, 1.02rem);
  margin-bottom: 22px;
}

.showcase-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.showcase-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #FFFFFF;
}

.showcase-check-item svg {
  color: var(--color-coral-pink);
  flex-shrink: 0;
  margin-top: 3px;
}

.showcase-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-subtle);
  background: var(--bg-dark-surface);
}

.showcase-media-frame img {
  width: 100%;
  height: clamp(240px, 34vw, 380px);
  object-fit: cover;
  transition: transform 0.6s ease;
}

.showcase-media-frame:hover img {
  transform: scale(1.03);
}

.media-tag-floating {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(24, 11, 18, 0.88);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.media-tag-floating .tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-coral-pink);
}

/* ==========================================================================
   ANALYTICS SECTION
   ========================================================================== */
.analytics-section {
  background: linear-gradient(180deg, rgba(24, 11, 18, 0) 0%, rgba(39, 19, 29, 0.45) 50%, rgba(24, 11, 18, 0) 100%);
  position: relative;
}

.analytics-dashboard-wrap {
  background: #1B0C15;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(232, 109, 117, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.dashboard-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.dashboard-title-group h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  color: #FFFFFF;
}

.dashboard-title-group p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dashboard-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(39, 19, 29, 0.8);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.dashboard-tab-btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.dashboard-tab-btn:hover {
  color: #FFFFFF;
}

.dashboard-tab-btn.active {
  background: var(--color-coral-pink);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(232, 109, 117, 0.4);
}

/* KPI Summary Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.kpi-card {
  background: rgba(39, 19, 29, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(14px, 2vw, 20px) clamp(12px, 1.8vw, 18px);
  transition: transform var(--transition-fast);
}

.kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
}

.kpi-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 4px;
}

.kpi-delta {
  font-size: 0.76rem;
  font-weight: 600;
  color: #4ADE80;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kpi-delta.neutral {
  color: var(--text-muted);
}

/* Charts Grid */
.charts-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(16px, 2.5vw, 24px);
  margin-bottom: clamp(20px, 3vw, 28px);
}

.chart-panel {
  background: rgba(39, 19, 29, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(16px, 2.5vw, 22px);
}

.chart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.chart-panel-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

/* CSS Bar Chart */
.bar-chart-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: clamp(160px, 25vw, 190px);
  padding: 10px 4px 0 4px;
  border-bottom: 1px solid var(--border-subtle);
  gap: clamp(6px, 1.5vw, 12px);
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  cursor: pointer;
}

.bar-track {
  width: 100%;
  max-width: 38px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.bar-fill {
  width: 100%;
  background: linear-gradient(180deg, #E86D75 0%, #4B2030 100%);
  border-radius: 6px 6px 0 0;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
  position: relative;
}

.bar-group:hover .bar-fill {
  background: linear-gradient(180deg, #F08B92 0%, #6E2F46 100%);
  box-shadow: 0 0 12px rgba(232, 109, 117, 0.5);
}

.bar-tooltip {
  position: absolute;
  top: -28px;
  background: #180B12;
  border: 1px solid var(--border-accent);
  color: #FFFFFF;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.bar-group:hover .bar-tooltip {
  opacity: 1;
}

.bar-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Services Breakdown */
.services-progress-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-progress-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.service-progress-name {
  font-weight: 600;
  color: #FFFFFF;
}

.service-progress-pct {
  font-family: var(--font-mono);
  color: var(--color-coral-pink);
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4B2030, #E86D75);
  border-radius: var(--radius-full);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Analytics 4 Feature Blocks */
.analytics-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.analytics-feature-item {
  background: rgba(39, 19, 29, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(18px, 2.5vw, 24px) clamp(14px, 2vw, 20px);
  transition: all var(--transition-fast);
}

.analytics-feature-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.analytics-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(232, 109, 117, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-coral-pink);
  margin-bottom: 14px;
}

.analytics-feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.analytics-feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.analytics-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 22px;
  font-style: italic;
}

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.5vw, 36px);
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.benefit-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-coral);
  transform: translateY(-4px);
}

.benefit-card-media {
  position: relative;
  height: clamp(180px, 24vw, 240px);
  overflow: hidden;
}

.benefit-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.benefit-card:hover .benefit-card-media img {
  transform: scale(1.05);
}

.benefit-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 11, 18, 0.1) 0%, rgba(24, 11, 18, 0.85) 100%);
}

.benefit-audience-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(24, 11, 18, 0.9);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-coral-pink);
  border: 1px solid var(--border-accent);
}

.benefit-card-body {
  padding: clamp(22px, 3.5vw, 36px) clamp(20px, 3vw, 32px);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.benefit-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.benefit-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(0.9rem, 1.6vw, 0.96rem);
  color: var(--text-muted);
  line-height: 1.5;
}

.benefit-list-item svg {
  color: var(--color-coral-pink);
  flex-shrink: 0;
  margin-top: 3px;
}

.benefit-list-item strong {
  color: #FFFFFF;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  position: relative;
  margin-top: 36px;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(232, 109, 117, 0.2) 0%, 
    rgba(232, 109, 117, 0.8) 50%, 
    rgba(232, 109, 117, 0.2) 100%
  );
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px) clamp(18px, 3vw, 28px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-coral);
  background: var(--bg-card-hover);
}

.step-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #180B12;
  border: 2px solid var(--color-coral-pink);
  box-shadow: 0 0 20px rgba(232, 109, 117, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  color: var(--color-coral-pink);
  transition: transform var(--transition-fast);
}

.step-card:hover .step-badge {
  transform: scale(1.08);
}

.step-number-tag {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--color-coral-pink);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   APP DOWNLOAD SECTION
   ========================================================================== */
.download-section {
  position: relative;
  overflow: hidden;
}

.download-banner {
  background: linear-gradient(135deg, rgba(75, 32, 48, 0.75) 0%, rgba(39, 19, 29, 0.95) 60%, rgba(24, 11, 18, 0.98) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(232, 109, 117, 0.15);
}

.download-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 109, 117, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(28px, 4.5vw, 48px);
  position: relative;
  z-index: 1;
}

.download-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
}

.download-content p {
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 540px;
}

.download-store-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.download-qr-teaser {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.qr-code-box {
  width: 52px;
  height: 52px;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 4px;
  cursor: pointer;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.qr-code-box:hover {
  transform: scale(1.08);
}

.qr-code-box svg {
  width: 100%;
  height: 100%;
}

.download-mockup-wrap {
  display: flex;
  justify-content: center;
}

.download-phone-card {
  width: clamp(220px, 30vw, 270px);
  height: clamp(420px, 54vh, 500px);
  border-radius: 36px;
  padding: 8px;
  background: linear-gradient(145deg, #4B2030, #180B12);
  border: 1px solid var(--border-accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

/* ==========================================================================
   SALON PARTNERS SECTION
   ========================================================================== */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 4.5vw, 56px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4.5vw, 56px);
}

.partner-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: clamp(260px, 35vw, 420px);
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-subtle);
}

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

.partner-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(24, 11, 18, 0.85) 100%);
}

.partner-badge-stat {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(39, 19, 29, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.partner-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--color-coral-pink);
}

.partner-stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.partner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.partner-content p {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.partner-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.partner-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #FFFFFF;
}

.partner-perk-item svg {
  color: var(--color-coral-pink);
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #11070D;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(48px, 7vw, 80px) 0 32px 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(36px, 5vw, 60px);
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 2px 0;
}

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

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(39, 19, 29, 0.8);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--color-coral-pink);
  color: #FFFFFF;
  border-color: var(--color-coral-pink);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-dim);
}

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

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #1B0C15;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: clamp(22px, 4vw, 36px);
  position: relative;
  box-shadow: var(--shadow-elevated), 0 0 40px rgba(232, 109, 117, 0.2);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-smooth);
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.3rem;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--color-coral-pink);
  color: #FFFFFF;
}

.modal-header {
  margin-bottom: 20px;
  padding-right: 32px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(39, 19, 29, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: #FFFFFF;
  font-size: 16px; /* Prevents iOS auto zoom */
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-coral-pink);
  box-shadow: 0 0 0 3px rgba(232, 109, 117, 0.2);
}

.form-textarea {
  min-height: 85px;
  resize: vertical;
}

.form-feedback {
  display: none;
  padding: 16px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: var(--radius-sm);
  color: #86EFAC;
  font-size: 0.88rem;
  text-align: center;
  margin-top: 16px;
}

/* ==========================================================================
   ANIMATION & SCROLL REVEALS
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   TABLET RESPONSIVE RULES (768px – 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    max-width: 720px;
    margin: 0 auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-proof-strip {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .charts-grid {
    grid-template-columns: 1fr;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .analytics-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .steps-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps-container::before {
    display: none;
  }
  .step-card {
    text-align: left;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .step-badge {
    margin-bottom: 14px;
  }
  .download-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .download-store-row {
    justify-content: center;
  }
  .download-qr-teaser {
    justify-content: center;
  }
  .partner-grid {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }
  .feature-showcase-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 30px 22px;
  }
  .feature-showcase-row.reverse {
    direction: ltr;
  }
  /* On tablets and smaller screens, adjust side mockup visibility to prevent clipping */
  .phone-left {
    transform: rotate(-5deg) translateY(24px) scale(0.85);
    left: -10px;
  }
  .phone-right {
    transform: rotate(5deg) translateY(24px) scale(0.85);
    right: -10px;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE RULES (320px – 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 40px;
  }
  
  .hero-kicker {
    margin-bottom: 12px;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }

  /* Hide side floating mockups on phones to eliminate any horizontal overflow risk */
  .phone-left, .phone-right {
    display: none !important;
  }
  .phone-center {
    width: min(290px, 86vw);
    height: min(520px, 72vh);
  }
  .showcase-stage {
    height: auto;
    min-height: min(520px, 72vh);
  }

  .showcase-selector {
    justify-content: flex-start;
    padding: 6px 2px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 18px;
  }

  .dashboard-top-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 12px;
  }

  .dashboard-controls {
    width: 100%;
    justify-content: space-between;
  }
  .dashboard-tab-btn {
    flex: 1;
    text-align: center;
    padding: 7px 8px;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .kpi-card {
    padding: 14px 12px;
  }

  .analytics-feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .download-banner {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
  }
  .download-store-row {
    flex-direction: column;
    width: 100%;
  }
  .download-store-row .app-badge-btn {
    width: 100%;
    justify-content: center;
  }

  .download-qr-teaser {
    flex-direction: column;
    text-align: center;
  }

  .partner-grid {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }
  .partner-media-frame {
    height: 240px;
  }
  .partner-badge-stat {
    padding: 10px 14px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .footer-legal-links {
    justify-content: center;
  }
}

/* Compact Mobile (<= 400px, e.g. iPhone SE) */
@media (max-width: 400px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .hero-proof-strip {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .hero-proof-sep {
    display: none;
  }
  .modal-card {
    padding: 18px 14px;
  }
}
