@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --primary: #6c47ff;
  --primary-dark: #5035cc;
  --primary-light: #a78bfa;
  --secondary: #ff6b6b;
  --accent: #ffd166;
  --success: #06d6a0;
  --danger: #ef233c;
  --text: #0d0d0d;
  --text-muted: #6b7280;
  --bg: #f9f7ff;
  --white: #ffffff;
  --border: #e5e7eb;
  --card-shadow: 0 2px 20px rgba(108,71,255,.08);
  --card-shadow-hover: 0 20px 60px rgba(108,71,255,.18);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(108,71,255,.1);
  border-bottom: 1px solid rgba(108,71,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.logo-mark { width: 38px; height: 38px; background: linear-gradient(135deg, var(--primary), #a855f7); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.5; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 16px; border-radius: 10px; font-weight: 500; font-size: .92rem; color: var(--text-muted); transition: all .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: rgba(108,71,255,.07); }
.btn-nav-login { background: var(--primary) !important; color: #fff !important; border-radius: 12px !important; font-weight: 600 !important; padding: 9px 22px !important; box-shadow: 0 4px 15px rgba(108,71,255,.3); transition: all .3s !important; }
.btn-nav-login:hover { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(108,71,255,.4) !important; background: var(--primary-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--text); border-radius: 4px; transition: all .3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: #0a0118;
  display: flex; align-items: center;
  padding: 100px 0 60px;
  position: relative; overflow: hidden;
}
.hero-bg-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(108,71,255,.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(168,85,247,.2) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 10%, rgba(255,107,107,.15) 0%, transparent 50%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: .06;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-left {}
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(108,71,255,.2); border: 1px solid rgba(108,71,255,.4); color: #c4b5fd; padding: 7px 18px; border-radius: 50px; font-size: .8rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 28px; }
.hero-eyebrow span { width: 6px; height: 6px; background: #a78bfa; border-radius: 50%; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 24px; }
.hero h1 .gradient-text { background: linear-gradient(135deg, #a78bfa, #f472b6, #fb923c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.6); max-width: 480px; line-height: 1.75; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }
.btn-hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: #fff; padding: 16px 32px; border-radius: 14px;
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 30px rgba(108,71,255,.5);
  transition: all .3s;
}
.btn-hero-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(108,71,255,.6); }
.btn-hero-cta svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85); padding: 16px 28px; border-radius: 14px;
  font-weight: 600; font-size: 1rem; backdrop-filter: blur(10px);
  transition: all .3s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.btn-hero-ghost svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.hero-trust { display: flex; align-items: center; gap: 16px; }
.trust-avatars { display: flex; }
.trust-avatars img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #1a0a3c; object-fit: cover; margin-left: -10px; }
.trust-avatars img:first-child { margin-left: 0; }
.trust-text { font-size: .85rem; color: rgba(255,255,255,.5); }
.trust-text strong { color: rgba(255,255,255,.85); display: block; }

/* Hero right - floating cards */
.hero-right { position: relative; height: 520px; }
.hero-main-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl); box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.hero-float-card {
  position: absolute; background: rgba(255,255,255,.95); backdrop-filter: blur(20px);
  border-radius: 16px; padding: 14px 18px; box-shadow: 0 20px 40px rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.5);
  animation: float 4s ease-in-out infinite;
}
.hero-float-card:nth-child(2) { animation-delay: -2s; }
.hero-float-card.card-1 { top: 30px; left: -40px; min-width: 200px; }
.hero-float-card.card-2 { bottom: 60px; right: -30px; min-width: 180px; }
.hero-float-card.card-3 { top: 50%; left: -50px; transform: translateY(-50%); }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hero-float-card.card-3 { animation: float2 4s ease-in-out infinite; }
@keyframes float2 { 0%,100%{transform:translateY(-50%)} 50%{transform:translateY(calc(-50% - 10px))} }
.fc-label { font-size: .7rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.fc-value { font-size: 1.1rem; font-weight: 800; color: var(--text); font-family: 'Syne', sans-serif; }
.fc-sub { font-size: .75rem; color: var(--text-muted); }
.fc-row { display: flex; align-items: center; gap: 10px; }
.fc-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(6,214,160,.2); flex-shrink: 0; }

/* Hero stats bar */
.hero-stats-bar { position: relative; z-index: 1; background: rgba(255,255,255,.04); border-top: 1px solid rgba(255,255,255,.06); padding: 28px 0; }
.hero-stats-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.hstat { text-align: center; }
.hstat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.hstat-label { font-size: .75rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ── SECTION BASE ── */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(108,71,255,.08); color: var(--primary);
  padding: 6px 16px; border-radius: 50px; font-size: .78rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
  border: 1px solid rgba(108,71,255,.15);
}
.section-header h2 { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--text); letter-spacing: -1px; margin-bottom: 14px; line-height: 1.15; }
.section-header p { color: var(--text-muted); max-width: 480px; margin: 0 auto; font-size: 1rem; line-height: 1.7; }

/* ── HOW IT WORKS ── */
.how-section { background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 44px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--primary), #a855f7, var(--secondary)); z-index: 0; border-radius: 2px; }
.step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step-num { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #a855f7); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; box-shadow: 0 12px 30px rgba(108,71,255,.3); position: relative; }
.step-num svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 2; }
.step-num .step-badge { position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; background: var(--accent); border-radius: 50%; font-size: .75rem; font-weight: 800; color: #000; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.step h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ── CATEGORY FILTER ── */
.cat-section { background: var(--bg); padding: 20px 0 0; }
.cat-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; justify-content: center; flex-wrap: wrap; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 50px;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--text-muted); font-weight: 600; cursor: pointer;
  transition: all .25s; font-size: .88rem; font-family: 'Inter', sans-serif;
}
.cat-btn .cat-icon { font-size: 1rem; }
.cat-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(108,71,255,.04); }
.cat-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 6px 20px rgba(108,71,255,.3); }

/* ── EXPERT CARDS ── */
.experts-section { background: var(--bg); padding-top: 40px; }
.experts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.expert-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1.5px solid var(--border);
  box-shadow: var(--card-shadow); transition: all .35s cubic-bezier(.4,0,.2,1);
  cursor: pointer; position: relative;
}
.expert-card::before { display: none; }
.expert-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); border-color: rgba(108,71,255,.2); }
.card-cover { height: 120px; position: relative; overflow: hidden; }
.card-cover-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.expert-card:hover .card-cover-img { transform: scale(1.05); }
.card-cover-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.5)); }
.card-avail-badge {
  position: absolute; top: 12px; right: 12px;
  display: flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,.5); backdrop-filter: blur(8px);
  color: #fff; padding: 4px 10px; border-radius: 50px; font-size: .72rem; font-weight: 600;
}
.avail-dot { width: 6px; height: 6px; border-radius: 50%; }
.avail-dot.on { background: var(--success); box-shadow: 0 0 0 2px rgba(6,214,160,.3); }
.avail-dot.off { background: #9ca3af; }
.card-body { padding: 0 20px 20px; position: relative; }
.card-avatar-wrap { margin-top: -36px; margin-bottom: 12px; position: relative; display: inline-block; }
.card-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 15px rgba(0,0,0,.15); }
.verified-tick { position: absolute; bottom: 2px; right: 2px; width: 20px; height: 20px; background: var(--primary); border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.verified-tick svg { width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 3; }
.expert-name { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.expert-specialty { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; }
.expert-cat-tag { display: inline-flex; align-items: center; gap: 5px; background: rgba(108,71,255,.08); color: var(--primary); padding: 3px 10px; border-radius: 50px; font-size: .72rem; font-weight: 700; letter-spacing: .3px; margin-bottom: 12px; }
.expert-about { font-size: .83rem; color: var(--text-muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.rating-row { display: flex; align-items: center; gap: 5px; }
.stars-filled { color: #f59e0b; font-size: .9rem; letter-spacing: -1px; }
.rating-num { font-weight: 700; font-size: .88rem; color: var(--text); }
.rating-count { font-size: .78rem; color: var(--text-muted); }
.charge-tag { text-align: right; }
.charge-amount { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.charge-unit { font-size: .72rem; color: var(--text-muted); font-weight: 400; }
.card-footer-btn { display: block; width: calc(100% - 40px); margin: 0 20px 20px; padding: 12px; background: linear-gradient(135deg, var(--primary), #a855f7); color: #fff; border-radius: 12px; font-weight: 700; font-size: .88rem; text-align: center; border: none; cursor: pointer; transition: all .3s; box-shadow: 0 4px 15px rgba(108,71,255,.25); position: relative; z-index: 2; }
.card-footer-btn:hover { box-shadow: 0 8px 25px rgba(108,71,255,.4); transform: translateY(-1px); }
.no-results { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.no-results svg { width: 60px; height: 60px; stroke: var(--border); fill: none; stroke-width: 1.5; margin: 0 auto 16px; }

/* ── TRUST STRIP ── */
.trust-section {
  background: linear-gradient(135deg, #0a0118 0%, #1a0533 100%);
  padding: 80px 0;
}
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; }
.trust-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg); padding: 32px 24px; text-align: center;
  backdrop-filter: blur(10px); transition: all .3s;
}
.trust-card:hover { background: rgba(108,71,255,.15); border-color: rgba(108,71,255,.3); transform: translateY(-4px); }
.trust-icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), #a855f7); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.trust-icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2; }
.trust-card h3 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.trust-card p { font-size: .83rem; color: rgba(255,255,255,.5); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: #fff; padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; }
.testi-card { background: var(--bg); border-radius: var(--radius-lg); padding: 28px; border: 1.5px solid var(--border); transition: all .3s; }
.testi-card:hover { border-color: rgba(108,71,255,.2); box-shadow: var(--card-shadow); }
.testi-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: .92rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-name { font-weight: 700; font-size: .9rem; color: var(--text); }
.testi-role { font-size: .78rem; color: var(--text-muted); }

/* ── PROFILE PAGE ── */
.profile-hero-bg {
  background: linear-gradient(135deg, #0a0118 0%, #1a0533 100%);
  padding: 100px 0 80px; position: relative; overflow: hidden;
}
.profile-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(108,71,255,.3), transparent);
}
.profile-wrapper { position: relative; z-index: 1; }
.profile-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 48px; box-shadow: 0 30px 80px rgba(0,0,0,.12);
  margin-top: -60px; position: relative; z-index: 2;
}
.profile-top { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.profile-img-wrap { position: relative; flex-shrink: 0; }
.profile-avatar { width: 130px; height: 130px; border-radius: 24px; object-fit: cover; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.profile-verified { position: absolute; bottom: -8px; right: -8px; background: var(--primary); color: #fff; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; }
.profile-verified svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 3; }
.profile-meta { flex: 1; min-width: 220px; }
.profile-meta h1 { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; }
.profile-specialty { color: var(--text-muted); font-size: 1rem; margin-bottom: 16px; }
.profile-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pbadge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; border-radius: 50px; font-size: .78rem; font-weight: 700; }
.pbadge-purple { background: rgba(108,71,255,.1); color: var(--primary); }
.pbadge-green { background: rgba(6,214,160,.1); color: #059669; }
.pbadge-yellow { background: rgba(245,158,11,.1); color: #d97706; }
.pbadge-red { background: rgba(239,35,60,.1); color: var(--danger); }
.profile-stats-row { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.pstat { text-align: center; }
.pstat-num { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--text); }
.pstat-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-book-now {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: #fff; padding: 15px 32px; border-radius: 14px;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  box-shadow: 0 8px 25px rgba(108,71,255,.4); transition: all .3s;
}
.btn-book-now:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(108,71,255,.5); }
.btn-book-now:disabled { background: #d1d5db; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-book-now svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }
.charge-box {
  background: linear-gradient(135deg, rgba(108,71,255,.08), rgba(168,85,247,.08));
  border: 1.5px solid rgba(108,71,255,.15); border-radius: var(--radius-lg);
  padding: 24px 28px; text-align: center; min-width: 170px;
}
.charge-box .amount { font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.charge-box .per { font-size: .82rem; color: var(--text-muted); }
.charge-box .min-note { font-size: .78rem; color: var(--text-muted); margin-top: 8px; }
.charge-box .min-total { font-weight: 700; color: var(--primary); font-size: .9rem; }
.profile-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin: 36px 0 28px; }
.tab-btn { padding: 12px 24px; border: none; background: none; font-weight: 600; font-size: .92rem; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .2s; font-family: 'Inter', sans-serif; }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.profile-stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 16px; margin-top: 24px; }
.psc { background: var(--bg); border-radius: var(--radius); padding: 20px; text-align: center; border: 1.5px solid var(--border); }
.psc-icon { font-size: 1.6rem; margin-bottom: 8px; }
.psc-val { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text); }
.psc-key { font-size: .75rem; color: var(--text-muted); }
.review-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.reviewer-name { font-weight: 700; font-size: .9rem; }
.reviewer-date { font-size: .75rem; color: var(--text-muted); }
.review-stars { color: #f59e0b; font-size: .85rem; }
.review-text { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }

/* ── BOOKING ── */
.booking-page { padding: 110px 0 60px; background: var(--bg); min-height: 100vh; }
.booking-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.bcard { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--card-shadow); border: 1.5px solid var(--border); }
.bcard h2 { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; margin-bottom: 28px; letter-spacing: -.3px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 7px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: 12px; font-size: .93rem; font-family: 'Inter', sans-serif;
  transition: all .2s; background: var(--bg); color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
  background: #fff; box-shadow: 0 0 0 4px rgba(108,71,255,.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pay-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 22px; }
.pay-opt { border: 1.5px solid var(--border); border-radius: 12px; padding: 14px 10px; text-align: center; cursor: pointer; transition: all .2s; }
.pay-opt:hover { border-color: var(--primary); }
.pay-opt.sel { border-color: var(--primary); background: rgba(108,71,255,.06); }
.pay-opt .picon { font-size: 1.6rem; display: block; margin-bottom: 5px; }
.pay-opt span { font-size: .78rem; font-weight: 700; color: var(--text-muted); }
.pay-opt.sel span { color: var(--primary); }
.btn-pay-now {
  width: 100%; background: linear-gradient(135deg, var(--primary), #a855f7);
  color: #fff; padding: 16px; border-radius: 14px; font-size: 1rem;
  font-weight: 700; border: none; cursor: pointer; transition: all .3s;
  font-family: 'Inter', sans-serif; letter-spacing: .3px;
  box-shadow: 0 8px 25px rgba(108,71,255,.35);
}
.btn-pay-now:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(108,71,255,.5); }
.secure-note { display: flex; align-items: center; gap: 8px; background: rgba(6,214,160,.08); color: #059669; padding: 11px 16px; border-radius: 10px; font-size: .8rem; font-weight: 600; margin-top: 14px; border: 1px solid rgba(6,214,160,.2); }
.secure-note svg { width: 16px; height: 16px; stroke: #059669; fill: none; stroke-width: 2.5; flex-shrink: 0; }
.summary-expert-row { display: flex; gap: 14px; align-items: center; background: var(--bg); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; border: 1.5px solid var(--border); }
.summary-expert-row img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.sum-name { font-weight: 700; font-size: .92rem; }
.sum-spec { font-size: .78rem; color: var(--text-muted); }
.sum-verified { font-size: .72rem; color: var(--success); font-weight: 600; }
.sum-rows { border-top: 1.5px solid var(--border); padding-top: 16px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .88rem; color: var(--text-muted); }
.sum-row.total { font-weight: 800; font-size: 1rem; color: var(--text); border-top: 1.5px solid var(--border); margin-top: 8px; padding-top: 14px; }
.sum-row.total span:last-child { color: var(--primary); }

/* ── WAITING ── */
.waiting-page { min-height: 100vh; background: linear-gradient(135deg, #0a0118, #1a0533); display: flex; align-items: center; justify-content: center; padding: 20px; }
.waiting-card { background: #fff; border-radius: var(--radius-xl); padding: 52px 44px; text-align: center; max-width: 500px; width: 100%; box-shadow: 0 40px 80px rgba(0,0,0,.4); }
.pulse-wrap { position: relative; width: 110px; height: 110px; margin: 0 auto 28px; }
.pulse-wrap img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 8px 25px rgba(0,0,0,.15); position: relative; z-index: 1; }
.pulse-ring-1, .pulse-ring-2 { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--primary); animation: pulseRing 2s ease-out infinite; }
.pulse-ring-2 { animation-delay: 1s; }
@keyframes pulseRing { 0%{transform:scale(1);opacity:.8} 100%{transform:scale(1.6);opacity:0} }
.waiting-card h2 { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.3px; }
.waiting-card .sub { color: var(--text-muted); margin-bottom: 28px; }
.wait-timer { font-family: 'Syne', sans-serif; font-size: 3.5rem; font-weight: 800; color: var(--primary); line-height: 1; margin: 16px 0 4px; }
.wait-timer-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.wait-steps { text-align: left; background: var(--bg); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.wstep { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: .88rem; color: var(--text-muted); }
.wstep-icon { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wstep-icon.done { background: var(--success); }
.wstep-icon.done svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 3; }
.wstep-icon.spin { border: 2px solid var(--primary); border-top-color: transparent; animation: spin 1s linear infinite; }
.wstep-icon.wait { border: 2px solid var(--border); }
@keyframes spin { to{transform:rotate(360deg)} }
.btn-cancel-wait { background: none; border: 1.5px solid var(--border); color: var(--text-muted); padding: 12px 28px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif; font-size: .88rem; }
.btn-cancel-wait:hover { border-color: var(--danger); color: var(--danger); }

/* ── AUTH ── */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-left {
  background: linear-gradient(135deg, #0a0118, #1a0533);
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px; position: relative; overflow: hidden;
}
.auth-left::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(108,71,255,.3), transparent); }
.auth-left-content { position: relative; z-index: 1; }
.auth-left h2 { font-family: 'Syne', sans-serif; font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px; }
.auth-left p { color: rgba(255,255,255,.55); font-size: .95rem; line-height: 1.7; margin-bottom: 36px; }
.auth-feature { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.auth-feature-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(108,71,255,.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.auth-feature-icon svg { width: 18px; height: 18px; stroke: #a78bfa; fill: none; stroke-width: 2; }
.auth-feature-text strong { display: block; color: #fff; font-size: .88rem; font-weight: 600; }
.auth-feature-text span { color: rgba(255,255,255,.45); font-size: .78rem; }
.auth-right { background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 60px 40px; }
.auth-card { background: var(--white); border-radius: var(--radius-xl); padding: 44px; width: 100%; max-width: 440px; box-shadow: var(--card-shadow); border: 1.5px solid var(--border); }
.auth-logo { display: flex; align-items: center; gap: 8px; font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 28px; }
.auth-logo-mark { width: 32px; height: 32px; background: linear-gradient(135deg, var(--primary), #a855f7); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.auth-logo-mark svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }
.auth-card h2 { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; letter-spacing: -.3px; }
.auth-card .subtitle { color: var(--text-muted); font-size: .88rem; margin-bottom: 24px; }
.auth-tabs { display: flex; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 24px; border: 1.5px solid var(--border); }
.auth-tab { flex: 1; padding: 10px; text-align: center; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--text-muted); transition: all .2s; border: none; background: none; font-family: 'Inter', sans-serif; }
.auth-tab.active { background: var(--white); color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.btn-submit { width: 100%; background: linear-gradient(135deg, var(--primary), #a855f7); color: #fff; padding: 14px; border-radius: 12px; font-size: .95rem; font-weight: 700; border: none; cursor: pointer; transition: all .3s; font-family: 'Inter', sans-serif; box-shadow: 0 6px 20px rgba(108,71,255,.3); }
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(108,71,255,.4); }
.divider { text-align: center; color: var(--text-muted); font-size: .82rem; margin: 18px 0; position: relative; }
.divider::before, .divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--border); }
.divider::before { left: 0; } .divider::after { right: 0; }
.social-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-social { padding: 11px; border: 1.5px solid var(--border); border-radius: 11px; background: var(--white); font-weight: 600; font-size: .83rem; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Inter', sans-serif; }
.btn-social:hover { border-color: var(--primary); color: var(--primary); }
.alert { padding: 12px 16px; border-radius: 10px; font-size: .85rem; margin-bottom: 16px; font-weight: 500; }
.alert-success { background: rgba(6,214,160,.1); color: #059669; border: 1px solid rgba(6,214,160,.2); }
.alert-error { background: rgba(239,35,60,.08); color: var(--danger); border: 1px solid rgba(239,35,60,.15); }

/* ── PAGE HERO (static pages) ── */
.page-hero { background: linear-gradient(135deg, #0a0118, #1a0533); padding: 130px 0 70px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(108,71,255,.25), transparent); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.55); max-width: 480px; margin: 0 auto; }
.page-content { max-width: 820px; margin: 0 auto; padding: 70px 24px; }
.page-content h2 { font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 800; margin: 36px 0 12px; color: var(--text); letter-spacing: -.2px; }
.page-content p, .page-content li { color: var(--text-muted); line-height: 1.85; margin-bottom: 12px; font-size: .95rem; }
.page-content ul { padding-left: 20px; list-style: disc; }
.page-content .last-updated { display: inline-flex; align-items: center; gap: 6px; background: rgba(108,71,255,.08); color: var(--primary); padding: 8px 16px; border-radius: 50px; font-size: .8rem; font-weight: 700; margin-bottom: 28px; border: 1px solid rgba(108,71,255,.15); }

/* ── FOOTER ── */
.footer { background: #060010; color: #6b7280; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-brand .logo { color: #fff; margin-bottom: 14px; display: inline-flex; }
.footer-brand p { font-size: .85rem; line-height: 1.8; margin-bottom: 24px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: all .2s; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); }
.footer-social a svg { width: 16px; height: 16px; stroke: #9ca3af; fill: none; stroke-width: 2; }
.footer-social a:hover svg { stroke: #fff; }
.footer-col h4 { color: #fff; font-weight: 700; font-size: .88rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-right { display: none; }
  .hero-trust { justify-content: center; }
  .hero-actions { justify-content: center; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
  .booking-grid { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 76px; left: 0; right: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(20px); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,.1); gap: 4px; z-index: 999; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .steps-grid { grid-template-columns: 1fr; }
  .profile-top { flex-direction: column; align-items: center; text-align: center; }
  .profile-stats-row { justify-content: center; }
  .profile-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pay-methods { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .experts-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .waiting-card { padding: 36px 24px; }
  .auth-card { padding: 28px 20px; }
  .bcard { padding: 24px 16px; }
  .profile-card { padding: 28px 20px; }
  .trust-grid { grid-template-columns: 1fr; }
}

/* ── UTILITIES ── */
.hidden { display: none !important; }
.text-center { text-align: center; }

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