/* ==========================================================================
   SalonPro SaaS Landing Page Template - Modern Premium Design System
   ========================================================================== */

/* --------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------- */
:root {
  /* Color Palette */
  --sp-primary: #F63B04;
  --sp-primary-hover: #D73000;
  --sp-primary-light: rgba(246, 59, 4, 0.08);
  --sp-primary-glow: rgba(246, 59, 4, 0.25);
  --sp-secondary: #FF5E2E;
  --sp-secondary-hover: #E74B1B;
  --sp-dark: #101828;
  --sp-dark-surface: #162038;
  --sp-dark-elevated: #1D2939;
  --sp-white: #FFFFFF;
  --sp-light-bg: #F8F9FC;
  --sp-card-bg: #FFFFFF;
  --sp-text-main: #172033;
  --sp-text-secondary: #475467;
  --sp-text-muted: #5A6578;
  --sp-border: #E4E7EC;
  --sp-border-subtle: #F2F4F7;
  --sp-border-dark: #2A3854;
  --sp-success: #22A06B;
  --sp-success-bg: rgba(34, 160, 107, 0.1);
  --sp-warning: #F79009;
  --sp-warning-bg: rgba(247, 144, 9, 0.1);
  --sp-info: #0BA5EC;

  /* Typography */
  --sp-font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --sp-font-ar: 'Cairo', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sp-font-current: var(--sp-font-ar);

  /* Shadows */
  --sp-shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --sp-shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --sp-shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --sp-shadow-lg: 0 16px 36px rgba(16, 24, 40, 0.12);
  --sp-shadow-xl: 0 24px 48px -12px rgba(16, 24, 40, 0.18);
  --sp-shadow-hero: 0 30px 60px -15px rgba(0, 0, 0, 0.45);

  /* Border Radii */
  --sp-radius-xs: 6px;
  --sp-radius-sm: 8px;
  --sp-radius-md: 12px;
  --sp-radius-lg: 16px;
  --sp-radius-xl: 24px;
  --sp-radius-pill: 9999px;

  /* Transitions */
  --sp-transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --sp-transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bootstrap Theme Overrides for #f63b04 */
.text-primary {
  color: var(--sp-primary) !important;
}
.bg-primary {
  background-color: var(--sp-primary) !important;
}
.bg-primary-subtle {
  background-color: var(--sp-primary-light) !important;
}
.border-primary {
  border-color: var(--sp-primary) !important;
}

/* --------------------------------------------------
   2. Typography & Base Resets
   -------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--sp-font-current);
  color: var(--sp-text-main);
  background-color: var(--sp-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Font switches per language */
html[lang="ar"],
html[lang="ar-eg"] {
  --sp-font-current: var(--sp-font-ar);
}

html[lang="en"] {
  --sp-font-current: var(--sp-font-en);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--sp-text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--sp-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

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

::selection {
  background-color: var(--sp-secondary);
  color: var(--sp-white);
}

/* --------------------------------------------------
   3. Buttons & Component Utilities
   -------------------------------------------------- */
.btn-sp-primary {
  background-color: var(--sp-primary);
  color: var(--sp-white);
  border: 1px solid var(--sp-primary);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--sp-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--sp-transition-fast);
  box-shadow: 0 4px 14px rgba(246, 59, 4, 0.25);
}
.btn-sp-primary:hover,
.btn-sp-primary:focus {
  background-color: var(--sp-primary-hover);
  border-color: var(--sp-primary-hover);
  color: var(--sp-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(246, 59, 4, 0.35);
}

.btn-sp-secondary {
  background-color: transparent;
  color: var(--sp-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--sp-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  backdrop-filter: blur(4px);
  transition: all var(--sp-transition-fast);
}
.btn-sp-secondary:hover,
.btn-sp-secondary:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--sp-white);
  transform: translateY(-1px);
}

.btn-sp-outline {
  background-color: transparent;
  color: var(--sp-primary);
  border: 1px solid var(--sp-border);
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  border-radius: var(--sp-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--sp-transition-fast);
}
.btn-sp-outline:hover {
  background-color: var(--sp-primary-light);
  border-color: var(--sp-primary);
  color: var(--sp-primary);
}

.btn-sm-sp {
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
}

/* Badges */
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--sp-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
}

.sp-badge-purple {
  background-color: rgba(246, 59, 4, 0.1);
  color: var(--sp-primary);
  border: 1px solid rgba(246, 59, 4, 0.2);
}

.sp-badge-dark {
  background-color: rgba(255, 255, 255, 0.12);
  color: #E0E7FF;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.sp-badge-success {
  background-color: var(--sp-success-bg);
  color: var(--sp-success);
  border: 1px solid rgba(34, 160, 107, 0.25);
}

.sp-badge-demo {
  background-color: #FEF3F2;
  color: #B42318;
  border: 1px solid #FECDCA;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Section Header Structure */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header .section-tag {
  color: var(--sp-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.section-header .section-title {
  font-size: 2.25rem;
  color: var(--sp-text-main);
  margin-bottom: 1rem;
}
.section-header .section-desc {
  font-size: 1.125rem;
  color: var(--sp-text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------
   4. Navigation Bar
   -------------------------------------------------- */
.sp-navbar {
  background-color: var(--sp-white);
  border-bottom: 1px solid var(--sp-border);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: all var(--sp-transition-normal);
  padding: 0.85rem 0;
}

.sp-navbar.scrolled {
  box-shadow: var(--sp-shadow-sm);
  padding: 0.65rem 0;
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--sp-dark);
  letter-spacing: -0.03em;
}
.navbar-brand-logo:hover {
  color: var(--sp-primary);
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--sp-primary), var(--sp-secondary));
  color: var(--sp-white);
  border-radius: var(--sp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(246, 59, 4, 0.3);
}

.nav-link {
  color: var(--sp-text-secondary);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.5rem 0.9rem !important;
  transition: color var(--sp-transition-fast);
}
.nav-link:hover,
.nav-link:focus {
  color: var(--sp-primary);
}

/* Language Selector Dropdown */
.lang-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sp-text-main);
  background-color: var(--sp-light-bg);
  border: 1px solid var(--sp-border);
  padding: 0.45rem 0.85rem;
  border-radius: var(--sp-radius-sm);
  cursor: pointer;
  transition: all var(--sp-transition-fast);
}
.lang-selector-btn:hover {
  background-color: #ECEEF4;
  border-color: #D0D5DD;
}

.dropdown-menu-lang {
  border-radius: var(--sp-radius-md);
  border: 1px solid var(--sp-border);
  box-shadow: var(--sp-shadow-md);
  padding: 0.4rem;
  min-width: 210px;
}
.dropdown-menu-lang .dropdown-item {
  border-radius: var(--sp-radius-xs);
  padding: 0.55rem 0.85rem;
  font-weight: 500;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dropdown-menu-lang .dropdown-item.active,
.dropdown-menu-lang .dropdown-item:active {
  background-color: var(--sp-primary-light);
  color: var(--sp-primary);
  font-weight: 700;
}

.lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* --------------------------------------------------
   5. Hero Section
   -------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: var(--sp-dark);
  color: var(--sp-white);
  padding: 5.5rem 0 6.5rem;
  overflow: hidden;
}

.hero-background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.1) brightness(0.7);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 20%, rgba(22, 32, 56, 0.7) 0%, rgba(16, 24, 40, 0.95) 80%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-headline {
  color: var(--sp-white);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero-lead {
  color: #D0D5DD;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-benefits-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #EAECF0;
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-benefit-item i {
  color: var(--sp-secondary);
  font-size: 1.15rem;
}

/* Hero Dashboard Preview Window */
.hero-preview-wrapper {
  position: relative;
  margin-top: 3.5rem;
  z-index: 4;
}

.browser-mockup {
  background-color: var(--sp-dark-surface);
  border: 1px solid var(--sp-border-dark);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-hero);
  overflow: hidden;
  position: relative;
}

.browser-header {
  background-color: #0F172A;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--sp-border-dark);
}

.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.browser-address {
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: var(--sp-radius-xs);
  padding: 0.25rem 1.25rem;
  font-size: 0.78rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: monospace;
}

/* Floating Mobile Appointment Card */
.floating-mobile-card {
  position: absolute;
  bottom: -28px;
  right: -20px;
  background-color: var(--sp-white);
  color: var(--sp-text-main);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-md);
  padding: 1.25rem;
  box-shadow: var(--sp-shadow-xl);
  width: 290px;
  z-index: 10;
  animation: floatSubtle 6s ease-in-out infinite;
}

html[dir="rtl"] .floating-mobile-card {
  right: auto;
  left: -20px;
}

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

@media (prefers-reduced-motion: reduce) {
  .floating-mobile-card {
    animation: none;
  }
}

/* --------------------------------------------------
   6. Trust & Capability Metrics Section
   -------------------------------------------------- */
.metrics-section {
  background-color: var(--sp-white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--sp-border);
}

.metric-box {
  padding: 1.25rem 1.5rem;
  border-radius: var(--sp-radius-md);
  background-color: var(--sp-light-bg);
  border: 1px solid var(--sp-border);
  height: 100%;
}

.metric-number {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--sp-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sp-text-main);
  margin-bottom: 0.25rem;
}

.metric-desc {
  font-size: 0.88rem;
  color: var(--sp-text-secondary);
  margin-bottom: 0;
  line-height: 1.4;
}

/* --------------------------------------------------
   7. Features Grid Section
   -------------------------------------------------- */
.features-section {
  padding: 6rem 0;
  background-color: var(--sp-light-bg);
}

.feature-card {
  background-color: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--sp-transition-normal);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow-md);
  border-color: #D0D5DD;
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--sp-radius-md);
  background-color: var(--sp-primary-light);
  color: var(--sp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.5rem;
  transition: all var(--sp-transition-fast);
}
.feature-card:hover .feature-icon-wrapper {
  background-color: var(--sp-primary);
  color: var(--sp-white);
}

.feature-card h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--sp-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--sp-text-main);
}
.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.feature-bullets li i {
  color: var(--sp-success);
  font-size: 0.95rem;
}

/* --------------------------------------------------
   8. Product Dashboard Showcase (Realistic UI)
   -------------------------------------------------- */
.dashboard-showcase-section {
  padding: 6rem 0;
  background-color: var(--sp-white);
}

.dashboard-showcase-frame {
  background-color: #0D1322;
  border: 1px solid var(--sp-border-dark);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-xl);
  overflow: hidden;
}

.dash-topbar {
  background-color: #141D30;
  border-bottom: 1px solid var(--sp-border-dark);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.dash-tabs-nav {
  display: flex;
  gap: 0.5rem;
  background-color: #0D1322;
  padding: 0.3rem;
  border-radius: var(--sp-radius-sm);
  border: 1px solid var(--sp-border-dark);
}
.dash-tab-btn {
  background: transparent;
  color: #94A3B8;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: var(--sp-radius-xs);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--sp-transition-fast);
}
.dash-tab-btn.active {
  background-color: var(--sp-primary);
  color: var(--sp-white);
}

.dash-branch-badge {
  background-color: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  padding: 0.4rem 0.9rem;
  border-radius: var(--sp-radius-sm);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-inner-content {
  padding: 1.75rem;
}

/* Dashboard UI Cards */
.dash-kpi-card {
  background-color: #162038;
  border: 1px solid var(--sp-border-dark);
  border-radius: var(--sp-radius-md);
  padding: 1.25rem;
  color: var(--sp-white);
  height: 100%;
}
.dash-kpi-card .kpi-label {
  font-size: 0.82rem;
  color: #94A3B8;
  margin-bottom: 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-kpi-card .kpi-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--sp-white);
  letter-spacing: -0.02em;
}
.dash-kpi-card .kpi-delta {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: var(--sp-radius-pill);
}

/* Schedule Matrix / Table */
.dash-table-card {
  background-color: #162038;
  border: 1px solid var(--sp-border-dark);
  border-radius: var(--sp-radius-md);
  padding: 1.25rem;
  color: var(--sp-white);
  margin-top: 1.25rem;
}
.dash-table-card h4 {
  color: var(--sp-white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.dash-table th {
  color: #94A3B8;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--sp-border-dark);
  text-align: inherit;
}
.dash-table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #E2E8F0;
  vertical-align: middle;
}
.dash-table tr:last-child td {
  border-bottom: none;
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--sp-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.status-completed {
  background-color: rgba(34, 160, 107, 0.15);
  color: #34D399;
}
.status-in-progress {
  background-color: rgba(246, 59, 4, 0.18);
  color: #F63B04;
}
.status-confirmed {
  background-color: rgba(11, 165, 236, 0.18);
  color: #38BDF8;
}

/* --------------------------------------------------
   9. How It Works Section
   -------------------------------------------------- */
.how-it-works-section {
  padding: 6rem 0;
  background-color: var(--sp-light-bg);
}

.step-card {
  background-color: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  height: 100%;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--sp-primary);
  color: var(--sp-white);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.step-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------
   10. Solutions by Business Type
   -------------------------------------------------- */
.solutions-section {
  padding: 6rem 0;
  background-color: var(--sp-white);
}

.solution-card {
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  overflow: hidden;
  height: 100%;
  background-color: var(--sp-white);
  display: flex;
  flex-direction: column;
  transition: all var(--sp-transition-normal);
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow-md);
  border-color: #D0D5DD;
}

.solution-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.solution-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.solution-card:hover .solution-img-box img {
  transform: scale(1.04);
}

.solution-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(16, 24, 40, 0.85);
  color: var(--sp-white);
  padding: 0.35rem 0.8rem;
  border-radius: var(--sp-radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
html[dir="rtl"] .solution-tag {
  left: auto;
  right: 1rem;
}

.solution-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.solution-content p {
  font-size: 0.95rem;
  color: var(--sp-text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* --------------------------------------------------
   11. Pricing Section
   -------------------------------------------------- */
.pricing-section {
  padding: 6rem 0;
  background-color: var(--sp-light-bg);
}

.billing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.billing-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sp-text-secondary);
  cursor: pointer;
}
.billing-label.active {
  color: var(--sp-text-main);
  font-weight: 700;
}

.form-switch .form-check-input {
  width: 2.8em;
  height: 1.5em;
  cursor: pointer;
}
.form-switch .form-check-input:checked {
  background-color: var(--sp-primary);
  border-color: var(--sp-primary);
}

.pricing-card {
  background-color: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--sp-transition-normal);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow-lg);
}

.pricing-card.popular {
  border: 2px solid var(--sp-primary);
  box-shadow: 0 10px 30px rgba(246, 59, 4, 0.15);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--sp-primary), var(--sp-secondary));
  color: var(--sp-white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: var(--sp-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--sp-text-secondary);
  min-height: 44px;
  margin-bottom: 1.5rem;
}

.price-box {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sp-border);
}
.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--sp-text-main);
  line-height: 1;
}
.price-currency {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sp-text-secondary);
}
.price-period {
  font-size: 0.88rem;
  color: var(--sp-text-muted);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.93rem;
  color: var(--sp-text-main);
}
.plan-features li i {
  color: var(--sp-success);
  font-size: 1.1rem;
  margin-top: 0.1rem;
}
.plan-features li.disabled {
  color: var(--sp-text-muted);
}
.plan-features li.disabled i {
  color: var(--sp-text-muted);
}

/* --------------------------------------------------
   12. Why Choose SalonPro Section
   -------------------------------------------------- */
.why-section {
  padding: 6rem 0;
  background-color: var(--sp-white);
}

.why-card {
  padding: 2rem;
  background-color: var(--sp-light-bg);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-md);
  height: 100%;
}
.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--sp-radius-sm);
  background-color: var(--sp-primary);
  color: var(--sp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.why-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}
.why-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --------------------------------------------------
   13. Testimonials / Proof Layout (Sample / Demo)
   -------------------------------------------------- */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--sp-light-bg);
}

.testimonial-card {
  background-color: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--sp-text-main);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.author-avatar-placeholder {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--sp-primary-light);
  color: var(--sp-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.author-name {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.author-role {
  font-size: 0.82rem;
  color: var(--sp-text-secondary);
}

/* --------------------------------------------------
   14. FAQ Accordion
   -------------------------------------------------- */
.faq-section {
  padding: 6rem 0;
  background-color: var(--sp-white);
}

.accordion-sp .accordion-item {
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: var(--sp-white);
}

.accordion-sp .accordion-button {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sp-text-main);
  padding: 1.35rem 1.5rem;
  background-color: var(--sp-white);
  box-shadow: none;
}
.accordion-sp .accordion-button:not(.collapsed) {
  color: var(--sp-primary);
  background-color: var(--sp-primary-light);
}

.accordion-sp .accordion-body {
  padding: 1.25rem 1.5rem 1.5rem;
  color: var(--sp-text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* --------------------------------------------------
   15. Final Call-to-Action Banner
   -------------------------------------------------- */
.final-cta-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--sp-primary) 0%, #B82800 100%);
  color: var(--sp-white);
  position: relative;
  overflow: hidden;
}

.final-cta-box {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.final-cta-box h2 {
  color: var(--sp-white);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.final-cta-box p {
  color: #FFE6DE;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-sp-white {
  background-color: var(--sp-white);
  color: var(--sp-primary);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--sp-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--sp-transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.btn-sp-white:hover {
  background-color: #F8F9FC;
  color: var(--sp-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------
   16. Footer
   -------------------------------------------------- */
.sp-footer {
  background-color: #0C121E;
  color: #94A3B8;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--sp-border-dark);
}

.footer-brand {
  margin-bottom: 1.5rem;
}
.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--sp-white);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 320px;
}

.footer-title {
  color: var(--sp-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: color var(--sp-transition-fast);
}
.footer-links a:hover {
  color: var(--sp-white);
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--sp-radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--sp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--sp-transition-fast);
}
.social-icon-btn:hover {
  background-color: var(--sp-primary);
  color: var(--sp-white);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

/* --------------------------------------------------
   17. Modal & Contact Transparency
   -------------------------------------------------- */
.modal-content-sp {
  border-radius: var(--sp-radius-lg);
  border: 1px solid var(--sp-border);
  box-shadow: var(--sp-shadow-xl);
}

.static-notice-box {
  background-color: #FEF3F2;
  border: 1px solid #FECDCA;
  border-radius: var(--sp-radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #B42318;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------
   18. Responsive Optimizations (360px - 1440px)
   -------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  .section-header .section-title {
    font-size: 1.95rem;
  }
  .floating-mobile-card {
    position: static;
    width: 100%;
    margin-top: 1.5rem;
    animation: none;
  }
  .hero-section {
    padding: 3.5rem 0 4.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-headline {
    font-size: 2rem;
  }
  .hero-lead {
    font-size: 1.05rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .section-header .section-title {
    font-size: 1.7rem;
  }
  .dash-tabs-nav {
    flex-wrap: wrap;
    width: 100%;
  }
  .dash-tab-btn {
    flex: 1 1 45%;
    justify-content: center;
  }
  .final-cta-box h2 {
    font-size: 2rem;
  }
}

/* --------------------------------------------------
   19. Go To Top Button
   -------------------------------------------------- */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1040;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sp-primary), #D73000);
  color: #ffffff;
  border: none;
  outline: none;
  box-shadow: 0 4px 16px rgba(246, 59, 4, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html[dir="ltr"] .back-to-top-btn {
  left: auto;
  right: 2rem;
}

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

.back-to-top-btn:hover {
  background: linear-gradient(135deg, var(--sp-primary-hover), var(--sp-secondary));
  box-shadow: 0 6px 22px rgba(246, 59, 4, 0.55);
  transform: translateY(-4px);
  color: #ffffff;
}

.back-to-top-btn:active {
  transform: translateY(0);
}

@media (max-width: 575.98px) {
  .back-to-top-btn {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  html[dir="ltr"] .back-to-top-btn {
    left: auto;
    right: 1.25rem;
  }
}

