/* =============================================
   ADVERTOBOOK - LANDING.CSS  (Terracotta Redesign)
   Landing page - warm cream + terracotta palette
   ============================================= */

/* Landing page root scope */
.landing-page {
  background: var(--cream-bg);
  color: var(--warm-text-primary);
  font-family: Inter, sans-serif;
  min-height: 100vh;
}

/* Public Navigation */
.public-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 16px 0;
  background: rgba(250, 246, 241, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-slow);
}
.public-nav.scrolled {
  background: rgba(250, 246, 241, 0.98);
  border-bottom-color: var(--warm-line);
  padding: 12px 0;
  box-shadow: var(--shadow-warm-sm);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--sp-6);
}
.nav-logo {
  display: flex; align-items: center;
  gap: 12px; text-decoration: none;
}
.nav-logo-mark,
.nav-logo-icon {
  width: 34px; height: 34px;
  background: var(--terracotta);
  border-radius: 8px;
  display: inline-block; flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(193,98,45,.35);
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem; font-weight: 700;
  color: var(--warm-text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  color: var(--warm-text-secondary);
  font-size: 1.06rem; font-weight: 600;
  transition: color var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
}
.nav-link:hover { color: var(--terracotta); transform: translateY(-1px); }
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-actions .btn {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: 10px;
}

/* Navigation Login Dropdown */
.login-dropdown-wrap {
  position: relative;
}
.login-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.login-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  background: #FFFFFF;
  border: 1px solid var(--warm-line, #EBE3D7);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 14px 36px rgba(44, 30, 20, 0.14);
  z-index: 1000;
  display: none;
  animation: dropdownPop 0.18s ease-out;
}
@keyframes dropdownPop {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.dropdown-login-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--warm-text-primary, #2A1D15);
  transition: all 0.15s ease;
}
.dropdown-login-item:hover {
  background: var(--terracotta-soft, rgba(193, 98, 45, 0.08));
  transform: translateX(2px);
}
.dropdown-login-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dropdown-login-item-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--warm-text-primary, #2A1D15);
  line-height: 1.2;
}
.dropdown-login-item-sub {
  font-size: 0.74rem;
  color: var(--warm-text-secondary, #7A6F66);
  margin-top: 2px;
}

/* Landing button overrides */
.landing-page .btn-primary {
  background: var(--terracotta) !important;
  color: #fff !important; border: none !important;
  border-radius: 10px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(193,98,45,.28);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.landing-page .btn-primary:hover {
  background: var(--terracotta-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(193,98,45,.36);
}
.landing-page .btn-secondary,
.landing-page .btn-ghost {
  background: transparent !important;
  color: var(--warm-text-secondary) !important;
  border: 1.5px solid var(--warm-line) !important;
  border-radius: 10px; font-weight: 500;
  transition: all var(--transition-fast);
}
.landing-page .btn-secondary:hover,
.landing-page .btn-ghost:hover {
  border-color: var(--terracotta) !important;
  color: var(--terracotta) !important;
  background: var(--terracotta-soft) !important;
}

/* Hero section */
.hero-section {
  min-height: auto;
  display: flex; align-items: center;
  padding-top: 90px; padding-bottom: 60px;
  position: relative; overflow: hidden;
  background: var(--cream-bg);
}
.hero-section::before {
  content: ''; position: absolute;
  top: -10%; right: -5%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(193,98,45,.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-16); align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 5px 16px; background: var(--terracotta-soft);
  border: 1px solid var(--terracotta-border); border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 600; color: var(--terracotta);
  margin-bottom: var(--sp-5); letter-spacing: .04em; text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 3.6rem; font-weight: 500; line-height: 1.1;
  margin-bottom: var(--sp-5); color: var(--warm-text-primary);
  letter-spacing: -0.02em;
}
.hero-title em, .hero-title span {
  font-style: italic; color: var(--terracotta);
  background: none; -webkit-background-clip: unset;
  -webkit-text-fill-color: unset; background-clip: unset;
}
.hero-desc {
  font-size: 1.05rem; color: var(--warm-text-secondary);
  line-height: 1.75; margin-bottom: var(--sp-8); max-width: 460px; font-weight: 400;
}
.hero-actions { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.hero-stats { display: none; }
.hero-visual { position: relative; }

/* Hero card preview */
.hero-card-preview {
  background: var(--cream-card);
  border: 1px solid var(--warm-line);
  border-radius: 20px; padding: var(--sp-5);
  box-shadow: var(--shadow-warm-lg), 0 0 60px rgba(193,98,45,.06);
  animation: floatCard 6s ease-in-out infinite alternate;
}
@keyframes floatCard {
  from { transform: translateY(0) rotate(-0.5deg); }
  to   { transform: translateY(-14px) rotate(0.5deg); }
}
.hero-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.hero-card-title {
  font-family: var(--font-serif); font-size: 0.9rem; font-weight: 600;
  color: var(--warm-text-primary);
}
.hero-mini-calendar {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; margin-bottom: var(--sp-4);
}
.hero-mini-day {
  aspect-ratio: 1; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .67rem; font-weight: 500; color: var(--warm-text-muted);
}
.hero-mini-day.has-event { background: var(--terracotta-soft); color: var(--terracotta); font-weight: 700; }
.hero-mini-day.current { background: var(--terracotta); color: white; font-weight: 700; box-shadow: 0 2px 8px rgba(193,98,45,.35); }
.hero-booking-item {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3); background: #F9F5F1;
  border-radius: 10px; margin-bottom: var(--sp-2);
  border: 1px solid var(--warm-line);
}
.hero-booking-color { width: 3px; height: 34px; border-radius: 2px; flex-shrink: 0; background: var(--terracotta); }
.hero-booking-info { flex: 1; }
.hero-booking-name { font-size: .78rem; font-weight: 600; color: var(--warm-text-primary); }
.hero-booking-time { font-size: .67rem; color: var(--warm-text-muted); margin-top: 2px; }

/* Status dot - replaces colored badges */
.booking-status-dot {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; font-weight: 600;
  color: var(--warm-text-secondary); white-space: nowrap;
}
.booking-status-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta); flex-shrink: 0;
}
/* Override badges inside hero card */
.hero-booking-item .badge,
.hero-booking-item .badge-success,
.hero-booking-item .badge-warning {
  background: var(--terracotta-soft) !important;
  color: var(--terracotta) !important;
  border: 1px solid var(--terracotta-border) !important;
  border-radius: 999px !important;
  font-size: .68rem !important; font-weight: 600 !important;
  padding: 2px 9px !important; box-shadow: none !important;
}
.hero-card-header .badge,
.hero-card-header .badge-success {
  background: var(--terracotta-soft) !important;
  color: var(--terracotta) !important;
  border: 1px solid var(--terracotta-border) !important;
  box-shadow: none !important;
}
/* Floating badges */
.hero-badge {
  position: absolute;
  background: var(--cream-card); border: 1px solid var(--warm-line);
  border-radius: 14px; padding: var(--sp-3) var(--sp-4);
  box-shadow: var(--shadow-warm-md);
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: .78rem; font-weight: 600;
  animation: floatBadge 5s ease-in-out infinite alternate;
  color: var(--warm-text-primary);
}
.hero-badge.badge-1 { top: 8%; right: -4%; animation-delay: -2s; color: var(--terracotta); }
.hero-badge.badge-2 { bottom: 12%; left: -7%; color: var(--warm-text-secondary); }
@keyframes floatBadge {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

/* Section shared */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 5px 16px; background: var(--terracotta-soft);
  border: 1px solid var(--terracotta-border); border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 600; color: var(--terracotta);
  margin-bottom: var(--sp-3); letter-spacing: .04em; text-transform: uppercase;
}
.section-heading {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 500;
  margin-bottom: var(--sp-3); color: var(--warm-text-primary); letter-spacing: -0.02em;
}
.section-subheading { font-size: 1rem; color: var(--warm-text-secondary); max-width: 540px; line-height: 1.7; }

/* Features section */
.features-section { padding: 52px 0; background: var(--cream-bg); position: relative; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4); margin-top: var(--sp-8);
}
.feature-card {
  background: var(--cream-card); border: 1.5px solid var(--warm-line);
  border-radius: 20px; padding: var(--sp-6);
  transition: all var(--transition-base); position: relative; overflow: hidden;
}
.feature-card::before { display: none !important; }
.feature-card:hover { border-color: var(--terracotta-border); transform: translateY(-5px); box-shadow: var(--shadow-warm-md); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--terracotta-soft); display: flex; align-items: center; justify-content: center;
  color: var(--terracotta); margin-bottom: var(--sp-4); flex-shrink: 0;
  transition: background var(--transition-fast);
}
.feature-card:hover .feature-icon { background: rgba(193,98,45,.18); }
.feature-title {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500;
  margin-bottom: var(--sp-2); color: var(--warm-text-primary);
}
.feature-desc { font-size: .875rem; color: var(--warm-text-secondary); line-height: 1.65; }

/* How It Works */
.how-section {
  padding: 52px 0; background: #FFFFFF;
  border-top: 1px solid var(--warm-line); border-bottom: 1px solid var(--warm-line);
}
.how-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6); margin-top: var(--sp-8); position: relative;
}
.how-steps::before {
  content: ''; position: absolute; top: 29px;
  left: 12.5%; right: 12.5%;
  height: 1px; background: var(--warm-line); z-index: 0;
}
.how-step { text-align: center; padding: var(--sp-4) var(--sp-3); position: relative; z-index: 1; }
.how-step-num {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--terracotta-soft); border: 2px solid var(--terracotta-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--terracotta);
  margin: 0 auto var(--sp-4); transition: all var(--transition-base);
}
.how-step:hover .how-step-num { background: var(--terracotta); border-color: var(--terracotta); color: #fff; box-shadow: 0 4px 16px rgba(193,98,45,.30); }
.how-step-title { font-family: var(--font-serif); font-size: .98rem; font-weight: 500; margin-bottom: var(--sp-2); color: var(--warm-text-primary); }
.how-step-desc { font-size: .82rem; color: var(--warm-text-muted); line-height: 1.6; }

/* Demo Salons */
.demo-section { padding: 52px 0; background: var(--cream-bg); }

/* Centered heading with scroll-driven scale/glow */
.demo-section-heading {
  text-align: center;
  margin-bottom: var(--sp-8);
  transform-origin: center center;
  will-change: transform, opacity;
  transition: transform 0.05s linear, opacity 0.05s linear;
}

.demo-section-desc {
  color: var(--warm-text-secondary);
  font-size: 0.95rem;
  margin-top: var(--sp-2);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.location-filter-wrapper {
  margin-top: var(--sp-8); margin-bottom: var(--sp-8); background: var(--cream-card);
  border: 1.5px solid var(--warm-line); border-radius: 20px;
  padding: var(--sp-5) var(--sp-6); box-shadow: var(--shadow-warm-sm);
}
.location-filter-header { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.location-filter-left { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.location-filter-title { display: flex; align-items: center; gap: var(--sp-2); font-size: .95rem; font-weight: 700; color: var(--warm-text-primary); }
.location-filter-title svg { color: var(--terracotta); }

/* City Dropdown Menu */
.city-dropdown-wrap { position: relative; }
.city-dropdown-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; background: #ffffff;
  border: 1.5px solid var(--warm-line); border-radius: 14px;
  color: var(--warm-text-primary); font-size: 0.92rem; font-weight: 700;
  cursor: pointer; transition: all var(--transition-fast); user-select: none;
  box-shadow: var(--shadow-warm-sm); min-height: 44px;
}
.city-dropdown-btn:hover,
.city-dropdown-btn.active {
  border-color: var(--terracotta);
  background: var(--terracotta-soft);
  box-shadow: 0 4px 14px rgba(193,98,45,0.18);
}
.city-dropdown-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terracotta); flex-shrink: 0;
}
.city-dropdown-badge {
  font-size: 0.75rem; padding: 2px 8px; border-radius: var(--radius-full);
  background: var(--terracotta-soft); color: var(--terracotta); font-weight: 800;
}
.city-dropdown-arrow {
  color: var(--warm-text-muted); transition: transform 0.2s ease; margin-left: 2px;
}
.city-dropdown-btn.active .city-dropdown-arrow {
  transform: rotate(180deg);
}
.city-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 250px; background: var(--cream-card, #ffffff);
  border: 1.5px solid var(--warm-line); border-radius: 16px;
  box-shadow: 0 16px 36px -8px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.03);
  z-index: 150; overflow: hidden; padding: 6px;
  display: flex; flex-direction: column; gap: 3px;
  animation: dropdownPop 0.2s ease-out;
}
.city-dropdown-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 10px; cursor: pointer;
  transition: all 0.15s ease; color: var(--warm-text-primary);
  font-size: 0.88rem; font-weight: 600;
}
.city-dropdown-item:hover {
  background: var(--terracotta-soft); color: var(--terracotta);
}
.city-dropdown-item.active {
  background: var(--terracotta); color: #ffffff;
}
.city-dropdown-item-left {
  display: flex; align-items: center; gap: 8px;
}
.city-dropdown-item.active .city-dropdown-item-left svg {
  color: #ffffff;
}
.city-dropdown-item .city-item-badge {
  font-size: 0.72rem; padding: 2px 7px; border-radius: var(--radius-full);
  background: rgba(0,0,0,0.06); font-weight: 700; color: var(--warm-text-secondary);
}
.city-dropdown-item.active .city-item-badge {
  background: rgba(255,255,255,0.25); color: #ffffff;
}
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--warm-text-muted); pointer-events: none; display: flex; }
.salon-city-tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px;
  background: var(--terracotta-soft); color: var(--terracotta); border-radius: var(--radius-full);
  font-size: .73rem; font-weight: 700; letter-spacing: .02em; margin-bottom: var(--sp-2);
  border: 1px solid var(--terracotta-border);
}
.demo-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: var(--sp-4); 
  margin-top: var(--sp-4); 
}
.demo-salon-card { background: var(--cream-card); border: 1.5px solid var(--warm-line); border-radius: 20px; overflow: hidden; transition: all var(--transition-base); cursor: pointer; text-decoration: none; }
.demo-salon-card:hover { border-color: var(--terracotta-border); transform: translateY(-5px); box-shadow: var(--shadow-warm-md); }
.demo-salon-banner { height: 120px; position: relative; overflow: hidden; background: var(--terracotta-soft); }
.demo-salon-content { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.demo-salon-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; color: var(--warm-text-primary); }
.demo-salon-meta { font-size: .78rem; color: var(--warm-text-muted); }
.salon-cta-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px;
  background: var(--terracotta); color: #fff; border-radius: 999px;
  font-size: .8rem; font-weight: 600; transition: all var(--transition-fast);
  border: none; cursor: pointer; text-decoration: none;
  box-shadow: 0 2px 8px rgba(193,98,45,.25); margin-top: var(--sp-4);
}
.salon-cta-btn:hover { background: var(--terracotta-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(193,98,45,.32); color: #fff; }
.demo-salon-card .badge-primary { display: none !important; }

/* CTA Section */
.cta-section { padding: 52px 0; text-align: center; background: var(--cream-bg); }
.cta-card {
  background: var(--terracotta-soft); border: 1.5px solid var(--terracotta-border);
  border-radius: 24px; padding: 52px var(--sp-12); position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(193,98,45,.12) 0%, transparent 70%); pointer-events: none;
}
.cta-title { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 500; margin-bottom: var(--sp-4); color: var(--warm-text-primary); letter-spacing: -0.02em; }
.cta-desc { font-size: 1rem; color: var(--warm-text-secondary); margin-bottom: var(--sp-8); max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* Footer */
.public-footer { background: var(--cream-card); border-top: 1px solid var(--warm-line); padding: var(--sp-8) 0; text-align: center; }
.footer-text { font-size: .82rem; color: var(--warm-text-muted); }

/* Smart Search Bar */
.smart-search-section {
  padding: 0 0 var(--sp-12);
  position: relative;
  z-index: 10;
  margin-top: -20px;
}

.smart-search-card {
  background: var(--cream-card, #ffffff);
  border: 1.5px solid var(--warm-line, #e2e8f0);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.smart-search-header {
  margin-bottom: 20px;
}

.smart-search-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--terracotta-soft, rgba(124, 111, 247, 0.1));
  border: 1px solid var(--terracotta-border, rgba(124, 111, 247, 0.25));
  border-radius: var(--radius-full, 9999px);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--terracotta, var(--color-primary));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.smart-search-title {
  font-family: var(--font-serif, var(--font-heading));
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--warm-text-primary, var(--text-primary));
  margin-bottom: 4px;
  line-height: 1.2;
}

.smart-search-subtitle {
  font-size: 0.88rem;
  color: var(--warm-text-secondary, var(--text-secondary));
  margin: 0;
}

.smart-search-form {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr 1fr auto;
  gap: 12px;
  align-items: flex-end;
  margin-top: 18px;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.search-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--warm-text-primary, var(--text-primary));
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-field-icon {
  position: absolute;
  left: 12px;
  width: 17px;
  height: 17px;
  color: var(--terracotta, var(--color-primary));
  pointer-events: none;
  z-index: 2;
}

.search-select,
.search-input {
  width: 100%;
  height: 48px;
  padding: 0 12px 0 38px;
  border-radius: 12px;
  border: 1.5px solid var(--warm-line, #e2e8f0);
  background: var(--cream-bg, #f8fafc);
  color: var(--warm-text-primary, var(--text-primary));
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.search-select:focus,
.search-input:focus {
  border-color: var(--terracotta, var(--color-primary));
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(193, 98, 45, 0.15);
}

/* Category Dropdown in Smart Search */
.category-dropdown-arrow-btn {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; color: var(--warm-text-muted, #94a3b8);
  cursor: pointer; padding: 6px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; transition: all 0.2s ease; z-index: 3;
}
.category-dropdown-arrow-btn:hover {
  color: var(--terracotta, var(--color-primary)); background: var(--terracotta-soft, rgba(193,98,45,0.08));
}
.category-dropdown-arrow-btn svg {
  transition: transform 0.2s ease;
}
.category-dropdown-arrow-btn.active svg {
  transform: rotate(180deg);
}

.search-category-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--cream-card, #ffffff); border: 1.5px solid var(--warm-line, #e2e8f0);
  border-radius: 16px; box-shadow: 0 16px 36px -8px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.03);
  z-index: 120; overflow: hidden; animation: dropdownPop 0.2s ease-out;
}

@keyframes dropdownPop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.category-dropdown-header {
  padding: 10px 14px 7px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--warm-text-muted, #94a3b8);
  border-bottom: 1px solid var(--warm-line, #f1f5f9); background: var(--cream-bg, #faf8f5);
  display: flex; justify-content: space-between; align-items: center;
}

.category-dropdown-hint {
  font-size: 0.68rem; font-weight: 500; text-transform: none; color: var(--terracotta, var(--color-primary));
}

.category-dropdown-list {
  max-height: 250px; overflow-y: auto; padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
}

.category-dropdown-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 10px; cursor: pointer;
  transition: all 0.15s ease; color: var(--warm-text-primary, var(--text-primary));
  font-size: 0.88rem; font-weight: 600;
}

.category-dropdown-item:hover,
.category-dropdown-item.active {
  background: var(--terracotta-soft, rgba(193,98,45,0.08));
  color: var(--terracotta, var(--color-primary));
}

.category-dropdown-item-left {
  display: flex; align-items: center; gap: 8px;
}

.category-dropdown-item-icon {
  width: 26px; height: 26px; border-radius: 7px;
  background: rgba(193,98,45,0.08); display: flex; align-items: center; justify-content: center;
  color: var(--terracotta, var(--color-primary)); flex-shrink: 0;
}

.smart-search-btn {
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(193, 98, 45, 0.35);
  border: none;
}

.smart-search-quick-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--warm-line, #f1f5f9);
}

.quick-tag-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--warm-text-muted, var(--text-muted));
}

.quick-category-btn {
  background: var(--terracotta-soft, rgba(124, 111, 247, 0.08));
  border: 1px solid var(--terracotta-border, rgba(124, 111, 247, 0.2));
  color: var(--warm-text-primary, var(--text-primary));
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-category-btn:hover,
.quick-category-btn.active {
  background: var(--terracotta, var(--color-primary));
  color: #ffffff;
  border-color: var(--terracotta, var(--color-primary));
  transform: translateY(-1px);
}

/* Results section */
.smart-search-results-section {
  margin-top: 24px;
  animation: fadeIn 0.3s ease;
}

.smart-search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px 18px;
  background: var(--terracotta-soft, rgba(124, 111, 247, 0.08));
  border: 1px solid var(--terracotta-border, rgba(124, 111, 247, 0.2));
  border-radius: 14px;
}

.smart-search-results-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--warm-text-primary, var(--text-primary));
}

.smart-search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

.smart-result-card {
  background: var(--cream-card, #ffffff);
  border: 1.5px solid var(--warm-line, #e2e8f0);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.smart-result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px -8px rgba(0,0,0,0.08);
  border-color: var(--terracotta, var(--color-primary));
}

.smart-result-salon-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.smart-result-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 1.5px solid var(--warm-line, #e2e8f0);
  flex-shrink: 0;
}

.smart-result-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.smart-result-salon-name {
  font-family: var(--font-serif, var(--font-heading));
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--warm-text-primary, var(--text-primary));
  line-height: 1.2;
}

.smart-result-salon-meta {
  font-size: 0.8rem;
  color: var(--warm-text-secondary, var(--text-secondary));
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.smart-result-services-box {
  background: var(--cream-bg, #f8fafc);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--warm-line, #f1f5f9);
}

.smart-result-box-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warm-text-muted, var(--text-muted));
  margin-bottom: 8px;
}

.smart-services-selector-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.smart-service-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1.5px solid var(--warm-line, #e2e8f0);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.smart-service-option:hover {
  border-color: var(--terracotta-border, rgba(193, 98, 45, 0.4));
  background: #fffdfb;
}

.smart-service-option.selected {
  border-color: var(--terracotta, var(--color-primary));
  background: var(--terracotta-soft, #fdf6f0);
  box-shadow: 0 2px 8px rgba(193, 98, 45, 0.12);
}

.smart-service-radio {
  display: none;
}

.smart-service-radio-custom {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--warm-line, #cbd5e1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
  background: #ffffff;
}

.smart-service-option.selected .smart-service-radio-custom {
  border-color: var(--terracotta, var(--color-primary));
  background: var(--terracotta, var(--color-primary));
}

.smart-service-option.selected .smart-service-radio-custom::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

.smart-service-info {
  flex: 1;
  min-width: 0;
}

.smart-service-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--warm-text-primary, var(--text-primary));
  line-height: 1.3;
}

.smart-service-dur {
  font-size: 0.75rem;
  color: var(--warm-text-muted, var(--text-muted));
  font-weight: normal;
}

.smart-service-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--terracotta, var(--color-primary));
  white-space: nowrap;
}

.smart-result-workers-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.smart-result-worker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #ffffff;
  border: 1.5px solid var(--warm-line, #e2e8f0);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--warm-text-primary, var(--text-primary));
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.smart-result-worker-badge:hover {
  border-color: var(--terracotta-border, rgba(193, 98, 45, 0.4));
  background: #fffdfb;
  transform: translateY(-1px);
}

.smart-result-worker-badge.selected {
  border-color: var(--terracotta, var(--color-primary));
  background: var(--terracotta-soft, #fdf6f0);
  color: var(--terracotta-dark, #873612);
  box-shadow: 0 2px 8px rgba(193, 98, 45, 0.15);
  font-weight: 700;
}

.smart-result-worker-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.smart-result-cta-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-8); text-align: center; }
  .hero-title { font-size: 2.5rem; }
  .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-card-preview { max-width: 380px; margin: 0 auto; }
  .smart-search-form {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .smart-search-form .search-submit-wrap {
    grid-column: 1 / -1;
  }
  .smart-search-btn {
    width: 100%;
  }
  .smart-search-results-grid {
    grid-template-columns: 1fr;
  }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
  .feature-card { padding: var(--sp-4); }
  .feature-icon { width: 40px; height: 40px; }
  .feature-title { font-size: 0.95rem; }
  .feature-desc { font-size: 0.78rem; line-height: 1.4; }
  .how-steps { grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
  .how-steps::before { display: none; }
  .how-step { padding: var(--sp-2); }
  .how-step-num { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: var(--sp-2); }
  .how-step-title { font-size: 0.85rem; }
  .how-step-desc { font-size: 0.72rem; line-height: 1.35; }
  .section-heading { font-size: 1.8rem; }
  .cta-title { font-size: 2rem; }
}

@media (max-width: 600px) {
  .hero-section { padding-top: 75px; padding-bottom: 30px; }
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 0.92rem; }
  .hero-card-preview { max-width: 340px; padding: 12px; }
  .nav-links { display: none; }
  .hero-badge.badge-1 { top: 2%; right: -2%; font-size: 0.7rem; padding: 6px 10px; }
  .hero-badge.badge-2 { display: none; }
  .smart-search-section { margin-top: -10px; padding-bottom: var(--sp-6); }
  .smart-search-card { padding: 16px 12px !important; border-radius: 16px !important; box-sizing: border-box !important; width: 100% !important; }
  .smart-search-title { font-size: 1.25rem !important; }
  .smart-search-subtitle { font-size: 0.82rem !important; }
  .smart-search-form { grid-template-columns: 1fr !important; gap: 10px !important; }
  .smart-search-quick-tags { gap: 6px; }
  .quick-category-btn { font-size: 0.72rem; padding: 4px 10px; }
  .smart-search-results-grid { grid-template-columns: 1fr !important; gap: 12px !important; width: 100% !important; }
  .smart-result-card {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .smart-result-salon-top { gap: 10px !important; }
  .smart-result-logo, .smart-result-avatar { width: 44px !important; height: 44px !important; border-radius: 10px !important; }
  .smart-result-salon-name { font-size: 1.05rem !important; }
  .smart-result-services-box { padding: 10px !important; border-radius: 10px !important; }
  .smart-service-option {
    padding: 8px 10px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .smart-service-name { font-size: 0.8rem !important; word-break: break-word !important; }
  .smart-service-price { font-size: 0.85rem !important; font-weight: 800 !important; flex-shrink: 0 !important; }
  .smart-result-workers-row { gap: 4px !important; }
  .smart-result-worker-badge { padding: 4px 10px !important; font-size: 0.74rem !important; }
  .smart-result-cta-btn {
    padding: 11px 12px !important;
    font-size: 0.84rem !important;
    white-space: normal !important;
    text-align: center !important;
  }
  .cta-card { padding: var(--sp-8) var(--sp-4); }
  .demo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .demo-salon-content { padding: 10px 12px 14px; }
  .demo-salon-name { font-size: 0.9rem; }
  .demo-salon-meta { font-size: 0.7rem; }
  .salon-city-tag { font-size: 0.65rem; padding: 2px 6px; }
  .salon-cta-btn { padding: 5px 12px; font-size: 0.72rem; margin-top: 8px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .feature-card { padding: 10px 8px; border-radius: 14px; }
  .feature-icon { width: 34px; height: 34px; margin-bottom: 8px; border-radius: 8px; }
  .feature-title { font-size: 0.82rem; }
  .feature-desc { font-size: 0.68rem; line-height: 1.3; }
  .how-steps { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .how-step { padding: 4px; }
  .how-step-num { width: 36px; height: 36px; font-size: 0.95rem; margin-bottom: 6px; }
  .how-step-title { font-size: 0.75rem; }
  .how-step-desc { font-size: 0.65rem; line-height: 1.25; }
  .location-filter-header { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; }
  .location-filter-left { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; width: 100% !important; }
  .city-dropdown-wrap { width: 100% !important; }
  .city-dropdown-btn { width: 100% !important; justify-content: space-between !important; }
  .city-dropdown-menu { width: 100% !important; min-width: 100% !important; }
  .location-filter-header .search-wrapper,
  .location-filter-header .search-wrapper input { width: 100% !important; }
  .search-category-dropdown { width: 100% !important; }
  .login-dropdown-menu { right: -6px !important; width: 215px !important; }
}