/* ============================================================
   DonPeeSMS — Global Stylesheet
   Stack: HTML + Tailwind (CDN) + Custom CSS
   Theme: OLED Black + Deep Purple AI
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --bg-0:        #000000;
  --bg-1:        #07070F;
  --bg-2:        #0D0D1F;
  --bg-3:        #12122A;
  --bg-4:        #1A1A35;

  --p-900:       #1E0A4E;
  --p-800:       #2D1B69;
  --p-700:       #4C1D95;
  --p-600:       #5B21B6;
  --p-500:       #7C3AED;
  --p-400:       #8B5CF6;
  --p-300:       #A78BFA;
  --p-200:       #C4B5FD;
  --p-100:       #DDD6FE;

  --txt-1:       #F8FAFC;
  --txt-2:       #CBD5E1;
  --txt-3:       #94A3B8;
  --txt-4:       #64748B;

  --border:      #1E1B4B;
  --border-2:    #312E81;

  --success:     #10B981;
  --warning:     #F59E0B;
  --error:       #EF4444;
  --info:        #3B82F6;

  --glow-sm:     0 0 12px rgba(139,92,246,.35);
  --glow-md:     0 0 30px rgba(139,92,246,.40);
  --glow-lg:     0 0 60px rgba(139,92,246,.30);
  --glow-cta:    0 0 25px rgba(139,92,246,.55);

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --font-head:   'Poppins', sans-serif;
  --font-body:   'Poppins', sans-serif;

  --transition:  all 0.22s cubic-bezier(.4,0,.2,1);
  --transition-slow: all 0.45s cubic-bezier(.4,0,.2,1);
}

/* ── LIGHT MODE OVERRIDES ── */
[data-theme="light"] {
  --bg-0:     #F8F9FF;
  --bg-1:     #F0F1FA;
  --bg-2:     #E8EAFC;
  --bg-3:     #DDE0F7;
  --bg-4:     #D0D4F4;

  --txt-1:    #0F0A1E;
  --txt-2:    #2D2B54;
  --txt-3:    #4B4880;
  --txt-4:    #7B78A8;

  --border:   #C8C6F0;
  --border-2: #A8A5E8;

  --glow-sm:  0 0 12px rgba(91,33,182,.18);
  --glow-md:  0 0 30px rgba(91,33,182,.20);
  --glow-lg:  0 0 60px rgba(91,33,182,.15);
  --glow-cta: 0 0 25px rgba(91,33,182,.28);
}
[data-theme="light"] .navbar {
  background: rgba(248,249,255,.82);
  border-color: rgba(139,92,246,.18);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(240,241,250,.97);
  box-shadow: 0 8px 32px rgba(0,0,0,.08), 0 0 0 1px var(--border-2);
}
[data-theme="light"] .hero { background: var(--bg-1); }
[data-theme="light"] .hero-bg { opacity: .04; }
[data-theme="light"] .hero-grid { opacity: .03; }
[data-theme="light"] .phone-frame { background: linear-gradient(145deg,#fff,#f0eeff); border-color:#c8c6f0; }
[data-theme="light"] .phone-screen { background: #fff; }
[data-theme="light"] .verify-card { background: linear-gradient(135deg,rgba(91,33,182,.06),rgba(139,92,246,.04)); border-color:rgba(139,92,246,.2); }
[data-theme="light"] .otp-box { background: #fff; color: #0F0A1E; border-color: #C8C6F0; }
[data-theme="light"] .otp-box.filled { background: rgba(16,185,129,.06); color: #059669; border-color: #10B981; }
[data-theme="light"] .float-otp { color: var(--p-600); background: rgba(255,255,255,.9); border-color: rgba(91,33,182,.2); text-shadow: none; }
[data-theme="light"] .sidebar { background: #fff; border-right-color: var(--border); }
[data-theme="light"] .sidebar-link:hover { background: var(--bg-2); }
[data-theme="light"] .sidebar-link.active { background: rgba(91,33,182,.1); color: var(--p-600); }
[data-theme="light"] .dash-topbar { background: rgba(248,249,255,.95); border-bottom-color: var(--border); }
[data-theme="light"] .data-table thead tr { background: var(--bg-2); }
[data-theme="light"] .data-table tbody tr:hover { background: var(--bg-1); }
[data-theme="light"] .card { background: #fff; }
[data-theme="light"] .stat-card { background: #fff; }
[data-theme="light"] .feature-card { background: #fff; }
[data-theme="light"] .pricing-card { background: #fff; }
[data-theme="light"] .pricing-card.popular { background: linear-gradient(145deg,rgba(91,33,182,.05),rgba(139,92,246,.02)); }
[data-theme="light"] .testimonial-card { background: #fff; }
[data-theme="light"] .footer { background: var(--bg-1); }
[data-theme="light"] .auth-page { background: var(--bg-1); }
[data-theme="light"] .auth-card { background: #fff; }
[data-theme="light"] .form-input, [data-theme="light"] .form-select { background: #fff; color: var(--txt-1); border-color: var(--border); }
[data-theme="light"] .form-input:focus, [data-theme="light"] .form-select:focus { border-color: var(--p-500); }
[data-theme="light"] .mobile-nav { background: #fff; }
[data-theme="light"] .modal-box { background: #fff; }
[data-theme="light"] pre code { color: var(--p-700); }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--txt-1);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font-body); cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: var(--font-body); outline: none; }

/* ── PAGE SECTIONS (SPA routing) ── */
.page { display: none; }
.page.active { display: block; }

/* ── LANDING SUB-PAGES ── */
.landing-pg { display: block; }
.landing-pg.hidden { display: none; }

/* Fade-in animation when switching landing pages */
@keyframes lpFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.landing-pg.lp-fade {
  animation: lpFadeIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--p-600); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--p-400); }

/* ══════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════ */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
.h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
.h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
.h4 { font-size: clamp(1rem, 2vw, 1.3rem); }

.text-gradient {
  background: linear-gradient(135deg, var(--p-300) 0%, var(--p-400) 40%, #C084FC 70%, var(--p-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #FCD34D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.08);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--p-600), var(--p-400));
  color: #fff;
  box-shadow: var(--glow-cta);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(139,92,246,.7);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--p-500);
  color: var(--p-300);
}
.btn-outline:hover {
  background: rgba(124,58,237,.15);
  border-color: var(--p-300);
  box-shadow: var(--glow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--txt-2);
}
.btn-ghost:hover { color: var(--txt-1); background: var(--bg-3); }

.btn-success {
  background: linear-gradient(135deg, #059669, #10B981);
  color: #fff;
  box-shadow: 0 0 20px rgba(16,185,129,.35);
}
.btn-success:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(16,185,129,.5); }

.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-md); }

.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ══════════════════════════════════════════
   CARDS
══════════════════════════════════════════ */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-2); }
.card-glow:hover {
  border-color: var(--p-600);
  box-shadow: var(--glow-sm), inset 0 0 40px rgba(124,58,237,.06);
}
.card-glass {
  background: rgba(13,13,31,.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ══════════════════════════════════════════
   FORM ELEMENTS
══════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--txt-2);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-input {
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--txt-1);
  font-size: .95rem;
  transition: var(--transition);
  width: 100%;
}
.form-input:focus {
  border-color: var(--p-500);
  box-shadow: 0 0 0 3px rgba(124,58,237,.2);
}
.form-input::placeholder { color: var(--txt-4); }

.form-select {
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--txt-1);
  font-size: .95rem;
  transition: var(--transition);
  width: 100%;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-select:focus { border-color: var(--p-500); box-shadow: 0 0 0 3px rgba(124,58,237,.2); }

/* ══════════════════════════════════════════
   BADGE
══════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-purple  { background: rgba(124,58,237,.2);  color: var(--p-300); border: 1px solid rgba(124,58,237,.3); }
.badge-success { background: rgba(16,185,129,.15); color: #34D399;      border: 1px solid rgba(16,185,129,.3); }
.badge-warning { background: rgba(245,158,11,.15); color: #FCD34D;      border: 1px solid rgba(245,158,11,.3); }
.badge-error   { background: rgba(239,68,68,.15);  color: #FCA5A5;      border: 1px solid rgba(239,68,68,.3); }
.badge-info    { background: rgba(59,130,246,.15); color: #93C5FD;      border: 1px solid rgba(59,130,246,.3); }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1320px;
  z-index: 1000;
  background: rgba(7,7,15,.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(7,7,15,.95);
  box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 0 1px var(--border-2);
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
}
.navbar-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--p-600), var(--p-400));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-sm);
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 500;
  color: var(--txt-3);
  transition: var(--transition);
  cursor: pointer;
}
.nav-link:hover { color: var(--txt-1); background: var(--bg-3); }
.nav-link.active {
  color: var(--p-200);
  background: linear-gradient(135deg, rgba(91,33,182,.35), rgba(139,92,246,.18));
  box-shadow: inset 0 0 0 1px rgba(139,92,246,.45), 0 0 14px rgba(139,92,246,.25);
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 3px;
  background: linear-gradient(90deg, var(--p-400), var(--p-300));
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--p-400);
}
.navbar-actions { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--txt-2); border-radius: 2px; transition: var(--transition); }
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.95);
  z-index: 999;
  padding: 100px 32px 32px;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { font-size: 1.1rem; padding: 14px 20px; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 24px 80px;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(92,36,195,.45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(124,58,237,.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 70%, rgba(76,29,149,.25) 0%, transparent 60%);
  z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 30%, transparent 80%);
}
.hero-content { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.35);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--p-300);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--p-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--p-400);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}
.hero-title { margin-bottom: 22px; letter-spacing: -.02em; }
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--txt-3);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl { font-size: .82rem; color: var(--txt-4); text-transform: uppercase; letter-spacing: .07em; }
.stat-divider {
  width: 1px;
  background: var(--border-2);
  align-self: stretch;
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
  animation: float-orb 8s ease-in-out infinite;
  z-index: 0;
}
.orb-1 { width: 400px; height: 400px; background: var(--p-600); top: -100px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; background: var(--p-400); bottom: -50px; right: -80px; animation-delay: 3s; }
.orb-3 { width: 200px; height: 200px; background: #1D4ED8; top: 30%; right: 10%; animation-delay: 5s; }
@keyframes float-orb {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* ══════════════════════════════════════════
   SECTION LAYOUT
══════════════════════════════════════════ */
.section { padding: 96px 24px; position: relative; }
.section-sm { padding: 64px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 840px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--p-400);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.section-title { margin-bottom: 16px; }
.section-desc {
  color: var(--txt-3);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   FEATURES
══════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  cursor: default;
}
.feature-card:hover {
  border-color: var(--p-600);
  transform: translateY(-4px);
  box-shadow: var(--glow-sm), 0 20px 40px rgba(0,0,0,.4);
}
.feature-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, rgba(124,58,237,.25), rgba(139,92,246,.15));
  border: 1px solid rgba(124,58,237,.3);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--p-400);
}
.feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; font-family: var(--font-body); }
.feature-desc { color: var(--txt-3); font-size: .9rem; line-height: 1.7; }

/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  position: relative;
}
.step-item {
  text-align: center;
  padding: 40px 30px;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 60px; right: -2px;
  width: 4px; height: 2px;
  background: linear-gradient(90deg, var(--p-600), transparent);
  display: none;
}
.step-num {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--p-700), var(--p-500));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: var(--glow-md);
}
.step-arrow {
  position: absolute;
  top: 70px; right: -20px;
  color: var(--p-600);
  z-index: 1;
}
.step-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; font-family: var(--font-body); }
.step-desc { color: var(--txt-3); font-size: .9rem; line-height: 1.65; }

/* ══════════════════════════════════════════
   SERVICES CARDS
══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.service-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--p-600), var(--p-400), var(--p-200));
}
.service-card:hover {
  border-color: var(--p-500);
  transform: translateY(-6px);
  box-shadow: var(--glow-md), 0 24px 60px rgba(0,0,0,.5);
}
.service-icon-wrap {
  width: 90px; height: 90px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
}
.service-icon-wa { background: radial-gradient(circle, rgba(37,211,102,.2), rgba(37,211,102,.05)); border: 2px solid rgba(37,211,102,.3); }
.service-icon-wa .brand-logo { filter: drop-shadow(0 2px 8px rgba(37,211,102,.45)); }
.brand-logo { display: block; }
.dock-icon img { display: block; border-radius: 4px; }
.sidebar-link img,
.buy-card-icon img,
.td-service img { vertical-align: middle; }
.service-icon-sms { background: radial-gradient(circle, rgba(124,58,237,.25), rgba(124,58,237,.05)); border: 2px solid rgba(124,58,237,.3); }
.service-price-from { font-size: .8rem; color: var(--txt-4); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.service-price { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; }
.service-features { list-style: none; margin-bottom: 28px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.service-features li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--txt-2); }
.service-features li svg { color: var(--p-400); flex-shrink: 0; }

/* ══════════════════════════════════════════
   COUNTRIES
══════════════════════════════════════════ */
.countries-scroll {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}
.countries-track {
  display: flex;
  gap: 12px;
  animation: scroll-countries 30s linear infinite;
  width: max-content;
}
.countries-scroll:hover .countries-track { animation-play-state: paused; }
@keyframes scroll-countries {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.country-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: .875rem;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
}
.country-chip:hover {
  border-color: var(--p-500);
  background: var(--bg-3);
  box-shadow: var(--glow-sm);
}
.country-flag { font-size: 1.2rem; }

/* ══════════════════════════════════════════
   PRICING TABLE
══════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.pricing-card.popular {
  border-color: var(--p-500);
  box-shadow: var(--glow-sm);
}
.pricing-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--p-600), var(--p-400));
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}
.pricing-card:hover { transform: translateY(-4px); border-color: var(--p-600); }
.pricing-plan { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--p-300); font-weight: 600; margin-bottom: 10px; }
.pricing-amount { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; margin-bottom: 6px; }
.pricing-amount sup { font-size: 1rem; vertical-align: super; }
.pricing-per { font-size: .82rem; color: var(--txt-4); margin-bottom: 24px; }
.pricing-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.pricing-list { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.pricing-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--txt-2); }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.testimonial-stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { color: var(--txt-2); font-size: .92rem; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p-700), var(--p-400));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: .9rem; }
.author-role { font-size: .8rem; color: var(--txt-4); }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--p-600); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  gap: 16px;
  user-select: none;
}
.faq-q:hover { color: var(--p-300); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  background: var(--bg-3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--p-400);
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--p-700); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 24px 20px; color: var(--txt-3); font-size: .9rem; line-height: 1.75; }

/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--p-900) 0%, var(--bg-2) 50%, var(--p-900) 100%);
  border: 1px solid var(--p-700);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(124,58,237,.15), transparent);
}
.cta-banner-content { position: relative; z-index: 1; }

/* ══════════════════════════════════════════
   COMMUNITY BANNER
══════════════════════════════════════════ */
.community-banner {
  background: linear-gradient(135deg, rgba(91,33,182,.18) 0%, rgba(16,10,40,.6) 50%, rgba(37,211,102,.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.community-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(124,58,237,.1), transparent),
              radial-gradient(ellipse 40% 60% at 80% 50%, rgba(37,211,102,.06), transparent);
  pointer-events: none;
}
.community-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.community-banner-title {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 800;
  background: linear-gradient(135deg, var(--txt-1), var(--p-300));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.community-banner-sub { font-size: .9rem; color: var(--txt-3); }
.community-banner-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.community-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-lg);
  font-size: .88rem; font-weight: 700;
  text-decoration: none; border: 1px solid transparent;
  transition: var(--transition); white-space: nowrap;
  cursor: pointer;
}
.community-btn-tg {
  background: linear-gradient(135deg, rgba(32,162,228,.2), rgba(32,162,228,.08));
  border-color: rgba(32,162,228,.4); color: #29b6d8;
}
.community-btn-tg:hover {
  background: linear-gradient(135deg, rgba(32,162,228,.35), rgba(32,162,228,.15));
  border-color: #29b6d8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(32,162,228,.2);
}
.community-btn-wa {
  background: linear-gradient(135deg, rgba(37,211,102,.2), rgba(37,211,102,.08));
  border-color: rgba(37,211,102,.4); color: #25D366;
}
.community-btn-wa:hover {
  background: linear-gradient(135deg, rgba(37,211,102,.35), rgba(37,211,102,.15));
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.2);
}
.community-btn-call {
  background: linear-gradient(135deg, rgba(124,58,237,.25), rgba(139,92,246,.1));
  border-color: rgba(139,92,246,.45); color: var(--p-300);
}
.community-btn-call:hover {
  background: linear-gradient(135deg, rgba(124,58,237,.4), rgba(139,92,246,.2));
  border-color: var(--p-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,.25);
}
[data-theme="light"] .community-banner { background: linear-gradient(135deg, rgba(91,33,182,.07), rgba(248,249,255,1) 50%, rgba(37,211,102,.04)); }

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 8px;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--p-600);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(91,33,182,.15);
}
.contact-card-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.contact-card-label {
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--txt-4);
}
.contact-card-value {
  font-size: 1.05rem; font-weight: 700;
  color: var(--txt-1);
  text-decoration: none;
  transition: var(--transition);
  word-break: break-all;
}
.contact-card-value:hover { color: var(--p-300); }
.contact-card-sub {
  font-size: .8rem; color: var(--txt-4); line-height: 1.5;
}
.contact-card-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 12px;
}
.contact-action-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-lg);
  font-size: .78rem; font-weight: 700;
  text-decoration: none; border: 1px solid transparent;
  transition: var(--transition); white-space: nowrap;
  cursor: pointer;
}
.contact-action-call {
  background: rgba(124,58,237,.15); border-color: rgba(139,92,246,.35); color: var(--p-300);
}
.contact-action-call:hover { background: rgba(124,58,237,.28); border-color: var(--p-400); }
.contact-action-wa {
  background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.35); color: #25D366;
}
.contact-action-wa:hover { background: rgba(37,211,102,.25); border-color: #25D366; }
.contact-action-tg {
  background: rgba(32,162,228,.12); border-color: rgba(32,162,228,.35); color: #29b6d8;
}
.contact-action-tg:hover { background: rgba(32,162,228,.25); border-color: #29b6d8; }

/* Availability dot */
.contact-availability {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 10px; font-size: .8rem; color: var(--txt-3);
}
.avail-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16,185,129,.2);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
  50%       { box-shadow: 0 0 0 6px rgba(16,185,129,.08); }
}

/* Contact form + location layout */
.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-form-wrap { grid-template-columns: 1fr; }
}
.contact-form-inner, .contact-location {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}
.contact-form-title {
  font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 800;
  color: var(--txt-1); margin-bottom: 6px;
}
.contact-form-sub { font-size: .88rem; color: var(--txt-3); margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .contact-form-row { grid-template-columns: 1fr; } }
.contact-form-group { display: flex; flex-direction: column; gap: 6px; }
.contact-form-group label { font-size: .8rem; font-weight: 700; color: var(--txt-3); text-transform: uppercase; letter-spacing: .05em; }
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 11px 14px;
  color: var(--txt-1); font-size: .9rem;
  transition: var(--transition); resize: vertical;
}
.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  outline: none;
  border-color: var(--p-500);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}
.contact-form-group select option { background: var(--bg-3); color: var(--txt-1); }

/* Map placeholder */
.contact-location-map {
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-2);
  background: var(--bg-3);
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.map-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--txt-4); font-size: .9rem;
}
.map-placeholder small { font-size: .78rem; }
.contact-location-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.location-tag {
  padding: 6px 14px; border-radius: var(--radius-full);
  background: var(--bg-3); border: 1px solid var(--border);
  font-size: .78rem; color: var(--txt-3);
}

[data-theme="light"] .contact-card { background: #fff; }
[data-theme="light"] .contact-form-inner,
[data-theme="light"] .contact-location { background: #fff; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-desc { color: var(--txt-4); font-size: .88rem; line-height: 1.7; max-width: 280px; margin-bottom: 14px; }

/* Footer contact numbers */
.footer-contacts { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.footer-contact-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; color: var(--txt-3);
  text-decoration: none;
  transition: var(--transition);
}
.footer-contact-item:hover { color: var(--p-300); }
.footer-contact-item svg { color: var(--p-400); flex-shrink: 0; }

/* Social buttons */
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 12px;
  height: 34px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-size: .78rem; font-weight: 600; color: var(--txt-3);
  text-decoration: none;
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--txt-3);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
/* Icon-only fallback for social buttons without text */
.social-btn:not(.social-tg):not(.social-wa) {
  width: 36px; height: 36px; padding: 0; border-radius: 50%;
}
.social-btn:hover { background: var(--p-800); border-color: var(--p-600); color: var(--p-300); }
.social-btn.social-tg  { background: rgba(32,162,228,.12); border-color: rgba(32,162,228,.3); color: #29b6d8; }
.social-btn.social-tg:hover  { background: rgba(32,162,228,.25); border-color: #29b6d8; }
.social-btn.social-wa  { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.3); color: #25D366; }
.social-btn.social-wa:hover  { background: rgba(37,211,102,.25); border-color: #25D366; }
.footer-col-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--txt-2);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .875rem;
  color: var(--txt-4);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--p-300); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-text { font-size: .82rem; color: var(--txt-4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .82rem; color: var(--txt-4); }
.footer-bottom-links a:hover { color: var(--p-300); }

/* ══════════════════════════════════════════
   AUTH PAGES
══════════════════════════════════════════ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(92,36,195,.3), transparent 70%),
    var(--bg-0);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-title { font-size: 1.6rem; font-weight: 700; text-align: center; margin-bottom: 8px; }
.auth-subtitle { text-align: center; color: var(--txt-3); font-size: .9rem; margin-bottom: 32px; }
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--txt-4); font-size: .82rem; margin: 6px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-footer-text { text-align: center; font-size: .88rem; color: var(--txt-3); margin-top: 20px; }
.auth-footer-text a { color: var(--p-300); font-weight: 600; }

/* Auth tab switcher */
.auth-tabs {
  display: flex;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 28px;
  gap: 4px;
}
.auth-tab {
  flex: 1;
  padding: 10px 0;
  border: none;
  border-radius: 9px;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--txt-3);
  transition: all .2s ease;
}
.auth-tab:hover:not(.active) {
  color: var(--txt-1);
  background: var(--bg-3);
}
.auth-tab.active {
  background: linear-gradient(135deg, var(--p-600), var(--p-400));
  color: #fff;
  box-shadow: 0 2px 12px rgba(124,58,237,.35);
}

/* New-user welcome banner on login page */
.auth-new-user-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.2);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: .84rem;
  color: var(--p-300);
  margin-bottom: 18px;
  cursor: pointer;
  transition: background .2s;
}
.auth-new-user-banner:hover { background: rgba(124,58,237,.18); }
.auth-new-user-banner strong { color: var(--p-200); }

/* ══════════════════════════════════════════
   DASHBOARD LAYOUT
══════════════════════════════════════════ */
.dash-wrap {
  display: flex;
  min-height: 100vh;
}

/* ── SIDEBAR ── */
.sidebar {
  width: 240px;
  height: 100vh;
  background: var(--bg-1);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 14px 12px 10px;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  overflow: hidden;
  transition: var(--transition-slow);
}
.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding-right: 2px;
}
.sidebar-logo { display: flex; align-items: center; gap: 8px; padding: 4px 10px; margin-bottom: 12px; }
.sidebar-logo .logo-icon { width: 26px; height: 26px; background: linear-gradient(135deg, var(--p-600), var(--p-400)); border-radius: 7px; display: flex; align-items: center; justify-content: center; box-shadow: var(--glow-sm); flex-shrink: 0; }
.sidebar-logo span { font-family: var(--font-head); font-size: .88rem; font-weight: 700; }

.sidebar-section { margin-bottom: 8px; }
.sidebar-section-label {
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--txt-4);
  padding: 0 10px;
  margin-bottom: 3px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 1px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: var(--radius-md);
  font-size: .79rem;
  font-weight: 500;
  color: var(--txt-3);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.sidebar-link:hover { color: var(--txt-1); background: var(--bg-3); }
.sidebar-link.active {
  color: var(--p-200);
  background: linear-gradient(90deg, rgba(124,58,237,.2), rgba(124,58,237,.05));
  border: 1px solid rgba(124,58,237,.25);
}
.sidebar-link.active svg { color: var(--p-400); }
.sidebar-link svg { color: var(--txt-4); transition: var(--transition); width: 14px; height: 14px; flex-shrink: 0; }
.sidebar-link:hover svg { color: var(--p-400); }
.sidebar-badge {
  margin-left: auto;
  background: var(--p-700);
  color: var(--p-200);
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.sidebar-wallet {
  margin-top: auto;
  background: linear-gradient(135deg, var(--p-900), var(--bg-3));
  border: 1px solid var(--p-800);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.sw-label { font-size: .75rem; color: var(--txt-4); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.sw-balance { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--p-200); margin-bottom: 12px; }
.sw-balance span { font-size: .9rem; font-weight: 500; color: var(--p-300); }

/* ── DASHBOARD MAIN ── */
.dash-main {
  flex: 1;
  margin-left: 240px;
  min-height: 100vh;
  background: var(--bg-0);
}
.dash-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-notif {
  position: relative;
  width: 38px; height: 38px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--txt-3);
  cursor: pointer;
  transition: var(--transition);
}
.topbar-notif:hover { background: var(--bg-4); color: var(--txt-1); }
.notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--error);
  border: 2px solid var(--bg-0);
  border-radius: 50%;
}
.topbar-user { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.user-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--p-600), var(--p-400));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
}
.user-name { font-size: .9rem; font-weight: 600; }
.user-email { font-size: .75rem; color: var(--txt-4); }

.dash-content { padding: 32px; }

/* ── STATS ROW ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--border-2); }
.stat-card-label { font-size: .8rem; color: var(--txt-4); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.stat-card-value { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; }
.stat-card-change { font-size: .78rem; font-weight: 600; margin-top: 4px; }
.change-up { color: var(--success); }
.change-down { color: var(--error); }
.stat-card-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-purple { background: rgba(124,58,237,.2); color: var(--p-400); }
.icon-green  { background: rgba(16,185,129,.2); color: #34D399; }
.icon-amber  { background: rgba(245,158,11,.2); color: #FCD34D; }
.icon-blue   { background: rgba(59,130,246,.2); color: #93C5FD; }

/* ── BUY NUMBER PANEL ── */
.buy-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.buy-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.buy-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.buy-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.buy-card-title { font-size: 1.05rem; font-weight: 700; }
.buy-card-sub { font-size: .8rem; color: var(--txt-4); }
.buy-form { display: flex; flex-direction: column; gap: 16px; }
.number-result {
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: slide-in .3s ease;
}
.number-display {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--p-200);
  letter-spacing: .06em;
}
.number-timer { font-size: .8rem; color: var(--warning); display: flex; align-items: center; gap: 5px; }
.number-otp-wait { font-size: .85rem; color: var(--txt-3); }
.otp-display {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--success);
  letter-spacing: .15em;
  text-align: center;
  padding: 12px;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--radius-md);
  animation: glow-in .5s ease;
}
@keyframes glow-in {
  from { box-shadow: 0 0 0 rgba(16,185,129,0); }
  to   { box-shadow: 0 0 20px rgba(16,185,129,.3); }
}
@keyframes slide-in {
  from { opacity:0; transform: translateY(8px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ── ORDERS TABLE ── */
.orders-section { margin-bottom: 32px; }
.table-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.table-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.table-title { font-size: 1rem; font-weight: 700; }
.table-search {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  color: var(--txt-1);
  font-size: .875rem;
  width: 220px;
  transition: var(--transition);
}
.table-search:focus { border-color: var(--p-500); outline: none; }
.table-search::placeholder { color: var(--txt-4); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 12px 24px;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--txt-4);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 14px 24px;
  font-size: .875rem;
  border-bottom: 1px solid rgba(30,27,75,.5);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(124,58,237,.04); }
.td-service { display: flex; align-items: center; gap: 10px; }
.td-number { font-family: var(--font-head); font-size: .85rem; color: var(--p-200); letter-spacing: .04em; }
.td-amount { font-weight: 700; color: var(--warning); }

/* ── WALLET SECTION ── */
.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.wallet-balance-card {
  background: linear-gradient(135deg, var(--p-900), var(--bg-2));
  border: 1px solid var(--p-700);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.wallet-balance-card::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(124,58,237,.3), transparent);
  border-radius: 50%;
}
.wb-label { font-size: .8rem; color: var(--p-300); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.wb-amount { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; margin-bottom: 6px; }
.wb-amount sup { font-size: 1.2rem; vertical-align: super; color: var(--p-300); }
.wb-note { font-size: .8rem; color: var(--txt-4); margin-bottom: 24px; }
.topup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.topup-amount-btn {
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--p-300);
  cursor: pointer;
  transition: var(--transition);
}
.topup-amount-btn:hover,
.topup-amount-btn.selected {
  background: rgba(124,58,237,.3);
  border-color: var(--p-500);
  color: var(--p-100);
}
.wallet-history-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  width: 100%; max-width: 480px;
  padding: 36px;
  animation: modal-in .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modal-in {
  from { opacity:0; transform: scale(.92) translateY(20px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-size: 1.2rem; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px;
  background: var(--bg-3);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--txt-3);
  cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover { background: var(--error); color: #fff; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.pay-method {
  background: var(--bg-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: .85rem;
  font-weight: 600;
  color: var(--txt-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pay-method:hover, .pay-method.selected {
  border-color: var(--p-500);
  color: var(--p-200);
  background: rgba(124,58,237,.1);
}

/* ── TOAST ── */
.toast-container {
  position: fixed;
  top: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  min-width: 280px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  animation: toast-in .3s ease;
}
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--error); }
.toast-info { border-left: 3px solid var(--p-400); }
@keyframes toast-in {
  from { opacity:0; transform: translateX(20px); }
  to   { opacity:1; transform: translateX(0); }
}

/* ── MOBILE SIDEBAR ── */
.sidebar-toggle {
  display: none;
  position: fixed; top: 16px; left: 16px;
  z-index: 200;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--txt-2);
  cursor: pointer;
}
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 99;
}
.sidebar-overlay.open { display: block; }

/* ── PROGRESS / LOADING ── */
.loading-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--p-600), var(--p-400), var(--p-200));
  border-radius: 3px;
  animation: loading-bar 1.5s ease-in-out infinite;
}
@keyframes loading-bar {
  0% { width: 0%; opacity:1; }
  50% { width: 70%; opacity:1; }
  100% { width: 100%; opacity:0; }
}
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(139,92,246,.3);
  border-top-color: var(--p-400);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════
   PROFILE / SETTINGS
══════════════════════════════════════════ */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}
.settings-nav { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.settings-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  font-size: .9rem; font-weight: 500;
  color: var(--txt-3); cursor: pointer;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.settings-nav-item:hover { color: var(--txt-1); background: var(--bg-3); }
.settings-nav-item.active { color: var(--p-200); background: rgba(124,58,237,.1); border-left-color: var(--p-500); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .buy-panel { grid-template-columns: 1fr; }
  .wallet-grid { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Hide nav links, login btn, lang switcher and theme toggle on mobile */
  .navbar-nav,
  .navbar-actions .btn:not(.btn-primary),
  .navbar-actions .lang-switcher,
  .navbar-actions .theme-toggle { display: none; }

  /* Shrink logo — hide brand text, keep icon only */
  .navbar-logo span { display: none; }
  .navbar-logo .logo-icon { width: 28px; height: 28px; border-radius: 8px; }
  .navbar-logo .logo-icon svg { width: 16px; height: 16px; }

  /* Show only: Logo icon + Get Started + Hamburger */
  .navbar-actions .btn.btn-primary {
    padding: 7px 14px;
    font-size: .8rem;
  }
  .hamburger { display: flex; }

  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .sidebar-toggle { display: flex; }
  .dash-topbar { padding: 12px 16px; }
  .dash-content { padding: 16px; }

  .hero { padding: 120px 20px 60px; }
  .hero-stats { gap: 28px; }
  .stat-divider { display: none; }

  .steps-grid { grid-template-columns: 1fr; }
  .step-arrow { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .auth-card { padding: 32px 24px; }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .topbar-title { font-size: .95rem; }
  .user-email { display: none; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.flex   { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.text-sm  { font-size: .875rem; }
.text-xs  { font-size: .78rem; }
.text-muted { color: var(--txt-4); }
.text-secondary { color: var(--txt-3); }
.font-bold { font-weight: 700; }
.font-head { font-family: var(--font-head); }
.hidden { display: none !important; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.rounded-full { border-radius: var(--radius-full); }

/* Separator */
.sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-2), transparent);
  margin: 0;
}

/* Number copy animation */
.copy-btn {
  padding: 6px 12px;
  background: var(--bg-4);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  color: var(--txt-3);
  font-size: .78rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; gap: 5px;
}
.copy-btn:hover { background: var(--p-800); border-color: var(--p-600); color: var(--p-200); }

/* Glow pulse for active numbers */
.pulse-ring {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
  margin-right: 6px;
}
.pulse-ring::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--success);
  animation: ping 1.5s ease-out infinite;
  opacity: 0;
}
@keyframes ping {
  0% { transform: scale(.8); opacity:.8; }
  100% { transform: scale(1.8); opacity:0; }
}

/* ══════════════════════════════════════════
   HERO SPLIT LAYOUT + VERIFY MOCKUP
══════════════════════════════════════════ */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1240px;
  width: 100%;
  text-align: left;
}
.hero-split .hero-title,
.hero-split .hero-desc { text-align: left; margin-left: 0; margin-right: 0; }
.hero-split .hero-desc { max-width: 540px; }
.hero-split .hero-ctas { justify-content: flex-start; }
.hero-split .hero-stats { justify-content: flex-start; gap: 28px; }
.hero-split .stat-divider { display: none; }

/* ── VISUAL CONTAINER ── */
.hero-visual {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

/* ── FLOATING OTP NUMBERS ── */
.float-otp {
  position: absolute;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(196, 181, 253, .14);
  letter-spacing: .14em;
  pointer-events: none;
  user-select: none;
  transition: transform .55s cubic-bezier(.2,.9,.3,1.2),
              color .35s ease,
              text-shadow .35s ease;
  will-change: transform;
  z-index: 2;
  text-shadow: 0 0 20px rgba(124,58,237,0);
}
.float-otp.small { font-size: 1.25rem; opacity: .9; }
.float-otp.is-near {
  color: rgba(196, 181, 253, .6);
  text-shadow: 0 0 24px rgba(139, 92, 246, .65);
}

/* ── PHONE FRAME ── */
.phone-frame {
  position: relative;
  width: 320px;
  height: 540px;
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
  border-radius: 42px;
  padding: 12px;
  border: 1px solid #334155;
  box-shadow:
    0 40px 100px rgba(0,0,0,.6),
    0 0 80px rgba(124,58,237,.25),
    inset 0 1px 0 rgba(255,255,255,.08);
  z-index: 5;
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%     { transform: translateY(-14px) rotate(1deg); }
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #0F172A;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}
.phone-signal {
  position: absolute;
  top: 22px; right: 28px;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  z-index: 10;
}
.phone-signal .bar {
  width: 4px;
  background: #10B981;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(16,185,129,.6);
}
.phone-signal .bar:nth-child(1) { height: 6px; }
.phone-signal .bar:nth-child(2) { height: 10px; }
.phone-signal .bar:nth-child(3) { height: 14px; }
.phone-signal .bar:nth-child(4) { height: 18px; }

/* ── PHONE SCREEN ── */
.phone-screen {
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 32px;
  height: 100%;
  padding: 50px 22px 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── VERIFY CARD ── */
.verify-card {
  background: #0F172A;
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
  color: white;
  width: 100%;
  margin-top: 6px;
  box-shadow: 0 8px 24px rgba(15,23,42,.18);
}
.verify-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.verify-sub {
  color: #94A3B8;
  font-size: .82rem;
  margin-bottom: 6px;
}
.verify-phone {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3B82F6;
  letter-spacing: .05em;
}
.verify-phone .mask {
  color: #60A5FA;
  letter-spacing: .15em;
  font-size: .85em;
}

/* ── OTP INPUT BOXES ── */
.otp-inputs {
  display: flex;
  gap: 6px;
  margin-top: 18px;
  justify-content: center;
}
.otp-box {
  width: 32px;
  height: 38px;
  background: white;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #0F172A;
  font-family: var(--font-head);
  transition: all .3s;
}
.otp-box.filled {
  border-color: #10B981;
  background: rgba(16,185,129,.08);
  color: #059669;
  animation: otp-pop .4s ease both;
}
.otp-box:nth-child(2) { animation-delay: .1s; }
.otp-box:nth-child(3) { animation-delay: .2s; }
.otp-box:nth-child(4) { animation-delay: .3s; }
.otp-box:nth-child(5) { animation-delay: .4s; }
.otp-box:nth-child(6) { animation-delay: .5s; }
@keyframes otp-pop {
  0%   { transform: scale(.6); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* ── CHECK CIRCLE ── */
.check-circle {
  width: 72px;
  height: 72px;
  background: radial-gradient(circle, rgba(16,185,129,.15), rgba(16,185,129,.05));
  border-radius: 50%;
  margin: 22px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: check-pulse 2.5s ease-in-out infinite;
}
.check-circle svg { width: 56px; height: 56px; }
.check-circle path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw-check 1s ease-out .8s forwards; }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
@keyframes check-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  50%     { box-shadow: 0 0 0 14px rgba(16,185,129,0); }
}
.verify-success {
  font-size: .88rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 12px;
  letter-spacing: .02em;
}

/* ── APP DOCK ── */
.app-dock {
  margin-top: auto;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  gap: 4px;
  box-shadow: 0 8px 20px rgba(15,23,42,.1);
}
.dock-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.dock-icon svg { width: 22px; height: 22px; }
.dock-icon:hover { transform: translateY(-4px) scale(1.1); }

/* ══════════════════════════════════════════
   COMPARE TABLE (Features section)
══════════════════════════════════════════ */
.compare-block {
  margin-top: 72px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.compare-table thead th {
  padding: 12px 16px;
  font-family: var(--font-head);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--txt-4);
  border-bottom: 1px solid var(--border);
}
.compare-table thead .col-us {
  background: linear-gradient(135deg, rgba(91,33,182,.25), rgba(139,92,246,.12));
  color: var(--p-200);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.compare-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(30,27,75,.5);
  color: var(--txt-2);
  vertical-align: middle;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody .col-us {
  background: rgba(91,33,182,.08);
  text-align: center;
  font-weight: 600;
  color: var(--txt-1);
}
.compare-table tbody td:not(:first-child) { text-align: center; }
.compare-table .check::before {
  content: '✓ ';
  color: var(--success);
  font-weight: 700;
}
.compare-table .cross { color: var(--txt-4); font-style: italic; }

/* ══════════════════════════════════════════
   HOW IT WORKS — Step sub-list
══════════════════════════════════════════ */
.step-sub-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.step-sub-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: var(--txt-3);
}

/* ── HOW IT WORKS DEMO PANEL ── */
.hiw-demo-panel {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}
.hiw-demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--p-300);
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  margin-bottom: 18px;
}
.hiw-demo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: var(--bg-3);
  border-radius: var(--radius-md);
}
.hiw-demo-icon {
  width: 34px; height: 34px;
  background: var(--bg-4);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hiw-demo-screen {
  background: var(--bg-0);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glow-md);
}
.hiw-demo-topbar {
  background: var(--bg-2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.hiw-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hiw-dot.red    { background: #EF4444; }
.hiw-dot.yellow { background: #F59E0B; }
.hiw-dot.green  { background: #10B981; }
.hiw-demo-body { padding: 20px 18px; }
.hiw-demo-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--txt-4);
  margin-bottom: 7px;
}
.hiw-demo-select {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  font-size: .85rem;
  color: var(--txt-2);
}
.hiw-demo-result {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 12px;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

/* ══════════════════════════════════════════
   SERVICE COMPARE GRID
══════════════════════════════════════════ */
.svc-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-compare-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}
.svc-compare-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--glow-sm);
  transform: translateY(-3px);
}
.svc-compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(30,27,75,.5);
  font-size: .85rem;
  gap: 12px;
}
.svc-compare-row:last-of-type { border-bottom: none; }
.svc-compare-row span:first-child { color: var(--txt-4); flex-shrink: 0; }
.svc-compare-row span:last-child  { color: var(--txt-2); font-weight: 500; text-align: right; }

/* ══════════════════════════════════════════
   PAYMENT METHODS BLOCK
══════════════════════════════════════════ */
.pay-methods-block {
  margin-top: 56px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.pay-methods-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pay-method-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .83rem;
  color: var(--txt-2);
  transition: var(--transition);
  cursor: default;
}
.pay-method-pill:hover {
  border-color: var(--p-600);
  color: var(--txt-1);
  box-shadow: var(--glow-sm);
}
.pricing-faq-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.pricing-faq-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.pricing-faq-item svg { flex-shrink: 0; margin-top: 2px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-split .hero-title,
  .hero-split .hero-desc { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-split .hero-ctas,
  .hero-split .hero-stats { justify-content: center; }
  .hero-split .stat-divider { display: block; }
  .hero-visual { height: 520px; }

  .hiw-demo-panel { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .svc-compare-grid { grid-template-columns: 1fr; }
  .pricing-faq-row { grid-template-columns: 1fr; }
  .compare-block { padding: 28px 20px; }
}
@media (max-width: 768px) {
  .hiw-demo-panel { padding: 24px 16px; }
  .compare-table thead th,
  .compare-table tbody td { padding: 10px 10px; font-size: .8rem; }
  .pay-methods-block { padding: 24px 18px; }
  .pricing-faq-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-visual { height: 480px; }
  .phone-frame { width: 270px; height: 480px; }
  .float-otp { font-size: 1.4rem; }
  .float-otp.small { font-size: 1rem; }
  .pay-methods-row { gap: 8px; }
  .pay-method-pill { padding: 6px 12px; font-size: .78rem; }
}

/* Floating particles */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--p-400);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle var(--dur, 8s) linear var(--delay, 0s) infinite;
}
@keyframes float-particle {
  0%   { transform: translateY(100vh) translateX(0); opacity:0; }
  10%  { opacity: .6; }
  90%  { opacity: .4; }
  100% { transform: translateY(-10vh) translateX(var(--dx, 20px)); opacity:0; }
}

/* ══════════════════════════════════════════
   THEME TOGGLE
══════════════════════════════════════════ */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-2);
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--txt-3);
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--p-300); border-color: var(--p-500); box-shadow: var(--glow-sm); }
[data-theme="light"] .theme-toggle { background: #fff; color: var(--p-600); }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }

/* ══════════════════════════════════════════
   LANGUAGE SWITCHER
══════════════════════════════════════════ */
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-2);
  background: var(--bg-3);
  font-size: .8rem;
  color: var(--txt-2);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--p-500); color: var(--txt-1); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  min-width: 140px;
  z-index: 200;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  font-size: .85rem;
  color: var(--txt-2);
  cursor: pointer;
  transition: var(--transition);
}
.lang-option:hover { background: var(--bg-3); color: var(--txt-1); }
.lang-option.active { color: var(--p-300); background: rgba(139,92,246,.1); }

/* ══════════════════════════════════════════
   NOTIFICATIONS DROPDOWN
══════════════════════════════════════════ */
.notif-wrapper {
  position: relative;
}
.topbar-notif {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-2);
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--txt-3);
  transition: var(--transition);
  position: relative;
}
.topbar-notif:hover { border-color: var(--p-500); color: var(--p-300); }
.notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--error);
  border-radius: 50%;
  border: 2px solid var(--bg-0);
  animation: pulse 2s infinite;
}
.notif-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  background: var(--error);
  border-radius: 8px;
  font-size: .65rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--bg-0);
}
.notif-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
  z-index: 300;
  overflow: hidden;
}
.notif-wrapper.open .notif-panel { display: block; }
.notif-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-weight: 700; font-size: .9rem;
}
.notif-item {
  display: flex; gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(30,27,75,.4);
  cursor: pointer;
  transition: var(--transition);
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg-3); }
.notif-item.unread { background: rgba(139,92,246,.05); }
.notif-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.notif-icon.otp  { background: rgba(16,185,129,.15); color: var(--success); }
.notif-icon.pay  { background: rgba(139,92,246,.15); color: var(--p-300); }
.notif-icon.warn { background: rgba(245,158,11,.15); color: var(--warning); }
.notif-icon.info { background: rgba(59,130,246,.15); color: var(--info); }
.notif-text { font-size: .82rem; color: var(--txt-2); line-height: 1.5; }
.notif-time { font-size: .72rem; color: var(--txt-4); margin-top: 3px; }
.notif-unread-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--p-400);
  flex-shrink: 0;
  margin-top: 5px;
}
.notif-panel-foot {
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: .82rem;
  color: var(--p-300);
  cursor: pointer;
}
.notif-panel-foot:hover { color: var(--p-200); }

/* ══════════════════════════════════════════
   CHART CARDS
══════════════════════════════════════════ */
.charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.charts-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.chart-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.chart-title {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--txt-2);
  margin-bottom: 4px;
}
.chart-subtitle {
  font-size: .75rem;
  color: var(--txt-4);
  margin-bottom: 18px;
}
.chart-canvas-wrap {
  position: relative;
  width: 100%;
}

/* ══════════════════════════════════════════
   ADMIN PANEL
══════════════════════════════════════════ */
.admin-wrap { display: flex; height: 100vh; overflow: hidden; }
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-1);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  overflow-y: auto;
}
.admin-sidebar-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 0 18px 20px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.admin-badge {
  font-size: .6rem;
  background: var(--error);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .04em;
}
.admin-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-size: .87rem;
  color: var(--txt-3);
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-link:hover { color: var(--txt-1); background: var(--bg-2); }
.admin-nav-link.active { color: var(--p-200); background: rgba(139,92,246,.1); border-left-color: var(--p-400); }
.admin-main { flex: 1; overflow-y: auto; background: var(--bg-0); }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.admin-content { padding: 28px; }
.admin-section { display: none; }
.admin-section.active { display: block; }

/* Admin Stats */
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
.admin-stat { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; }
.admin-stat-label { font-size: .75rem; color: var(--txt-4); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.admin-stat-val { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.admin-stat-change { font-size: .75rem; margin-top: 4px; }

/* Provider cards */
.provider-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.provider-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
}
.provider-card.active-provider { border-color: var(--success); }
.provider-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}
.provider-status-dot.online { background: var(--success); box-shadow: 0 0 6px var(--success); }
.provider-status-dot.offline { background: var(--error); }
.provider-toggle {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 22px;
  background: var(--bg-4);
  border-radius: 11px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border-2);
}
.provider-toggle.on { background: var(--success); border-color: var(--success); }
.provider-toggle::after {
  content: '';
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.provider-toggle.on::after { left: 20px; }

/* ══════════════════════════════════════════
   AFFILIATE DASHBOARD
══════════════════════════════════════════ */
.affiliate-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.affiliate-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tier-bronze { background: rgba(180,96,0,.15); color: #B46000; border: 1px solid rgba(180,96,0,.3); }
.tier-silver { background: rgba(148,163,184,.15); color: #94A3B8; border: 1px solid rgba(148,163,184,.3); }
.tier-gold   { background: rgba(245,158,11,.15); color: #F59E0B; border: 1px solid rgba(245,158,11,.3); }
.tier-platinum { background: rgba(139,92,246,.2); color: var(--p-300); border: 1px solid var(--border-2); }

/* ══════════════════════════════════════════
   PWA INSTALL BANNER
══════════════════════════════════════════ */
.pwa-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: var(--glow-md), 0 16px 40px rgba(0,0,0,.5);
  z-index: 9000;
  display: none;
  align-items: center;
  gap: 14px;
  max-width: 420px;
  width: calc(100% - 40px);
}
.pwa-banner.visible { display: flex; animation: slide-up .4s ease; }
.pwa-banner-text { flex: 1; }
.pwa-banner-text strong { font-size: .9rem; display: block; margin-bottom: 2px; }
.pwa-banner-text span { font-size: .78rem; color: var(--txt-4); }
@keyframes slide-up {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ══════════════════════════════════════════
   WEBHOOK DASHBOARD
══════════════════════════════════════════ */
.webhook-event-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(30,27,75,.4);
  font-size: .85rem;
}
.webhook-event-row:last-child { border-bottom: none; }
.webhook-status-pill {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
}
.webhook-status-pill.delivered { background: rgba(16,185,129,.15); color: var(--success); }
.webhook-status-pill.failed    { background: rgba(239,68,68,.15); color: var(--error); }
.webhook-status-pill.pending   { background: rgba(245,158,11,.15); color: var(--warning); }

/* ══════════════════════════════════════════
   LIVE CHAT TRIGGER BUTTON (custom)
══════════════════════════════════════════ */
.chat-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p-600), var(--p-400));
  box-shadow: var(--glow-md), 0 8px 24px rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 8000;
  transition: var(--transition);
  color: #fff;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: var(--glow-lg), 0 12px 32px rgba(0,0,0,.5); }
.chat-fab.is-open { background: var(--bg-2); box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.chat-fab-badge {
  position: absolute;
  top: 0; right: 0;
  width: 16px; height: 16px;
  background: var(--error);
  border-radius: 50%;
  border: 2px solid var(--bg-0);
  font-size: .6rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* ══════════════════════════════════════════
   CHAT PANEL
══════════════════════════════════════════ */
.chat-panel {
  position: fixed;
  z-index: 7999;
  /* desktop: anchored above the FAB */
  bottom: 90px; right: 24px;
  width: 360px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px) scale(.97);
  transition: opacity .22s ease, transform .22s ease;
}
.chat-panel.is-open {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Mobile overlay (backdrop) */
.chat-overlay {
  display: none;
}

.chat-box {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px var(--border-2);
  display: flex;
  flex-direction: column;
  max-height: 480px;
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--p-700), var(--p-500));
  flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-header-name { font-weight: 700; font-size: .92rem; color: #fff; }
.chat-header-status { font-size: .75rem; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.chat-online-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(74,222,128,.3);
}
.chat-close-btn {
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 8px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .15s;
  flex-shrink: 0;
}
.chat-close-btn:hover { background: rgba(255,255,255,.28); }

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  scrollbar-width: thin;
}
.chat-msg { display: flex; flex-direction: column; max-width: 82%; }
.chat-msg--agent { align-self: flex-start; }
.chat-msg--user  { align-self: flex-end; }
.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.45;
  word-break: break-word;
}
.chat-msg--agent .chat-bubble {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--txt-1);
  border-bottom-left-radius: 4px;
}
.chat-msg--user .chat-bubble {
  background: linear-gradient(135deg, var(--p-600), var(--p-400));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-time { font-size: .7rem; color: var(--txt-4); margin-top: 4px; padding: 0 4px; }
.chat-msg--user .chat-time { text-align: right; }

/* Typing indicator */
.chat-typing .chat-bubble { display: flex; align-items: center; gap: 4px; padding: 12px 16px; }
.chat-typing-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--txt-4);
  animation: chatDotBounce .9s infinite ease-in-out;
}
.chat-typing-dot:nth-child(2) { animation-delay: .15s; }
.chat-typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes chatDotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .5; }
  40%            { transform: translateY(-5px); opacity: 1; }
}

/* Input */
.chat-input-area {
  padding: 12px 14px 10px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-1);
}
.chat-input-row { display: flex; align-items: flex-end; gap: 8px; }
.chat-input {
  flex: 1;
  resize: none;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .88rem;
  color: var(--txt-1);
  font-family: var(--font-body);
  line-height: 1.4;
  max-height: 100px;
  overflow-y: auto;
  outline: none;
  transition: border-color .15s;
}
.chat-input:focus { border-color: var(--p-500); }
.chat-input::placeholder { color: var(--txt-4); }
.chat-send-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p-600), var(--p-400));
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform .15s, box-shadow .15s;
  flex-shrink: 0;
}
.chat-send-btn:hover { transform: scale(1.08); box-shadow: var(--glow-sm); }
.chat-footer-note { font-size: .68rem; color: var(--txt-4); text-align: center; margin-top: 6px; }

/* WhatsApp header icon button */
.chat-wa-header-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(37,211,102,.2);
  border: 1px solid rgba(37,211,102,.35);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  text-decoration: none;
}
.chat-wa-header-btn:hover { background: rgba(37,211,102,.38); }

/* Quick reply chips */
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 14px 4px;
  border-top: 1px solid var(--border);
}
.chat-chip {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--txt-2);
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.chat-chip:hover {
  border-color: var(--p-500);
  color: var(--p-300);
  background: rgba(124,58,237,.12);
}

/* WhatsApp CTA bar */
.chat-wa-bar {
  padding: 10px 14px 6px;
  border-top: 1px solid var(--border);
}
.chat-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
}
.chat-wa-btn:hover { opacity: .9; transform: translateY(-1px); }

/* ── Mobile: full-width bottom sheet ── */
@media (max-width: 600px) {
  .chat-panel {
    bottom: 0; right: 0; left: 0;
    width: 100%;
    transform: translateY(100%);
  }
  .chat-panel.is-open {
    transform: translateY(0);
  }
  .chat-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: -1;
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
  }
  .chat-panel.is-open .chat-overlay {
    opacity: 1;
    pointer-events: all;
  }
  .chat-box {
    border-radius: 20px 20px 0 0;
    max-height: 72vh;
    border-bottom: none;
  }
  .chat-fab {
    bottom: 16px; right: 16px;
    width: 50px; height: 50px;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE – new components
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .charts-row { grid-template-columns: 1fr; }
  .charts-row-3 { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .provider-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .charts-row-3 { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .notif-panel { width: 300px; right: -60px; }
  .admin-sidebar { display: none; }
  .admin-wrap { display: block; }
  .lang-btn span { display: none; }
}

/* ── PRODUCTS PAGE ─────────────────────────────────────── */
.prod-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 32px;
}
.prod-chip {
  padding: 9px 18px; border-radius: 9999px; cursor: pointer;
  background: var(--bg-3); border: 1px solid var(--border-2);
  color: var(--txt-3); font-size: .85rem; font-weight: 600;
  transition: all .18s ease;
}
.prod-chip:hover { border-color: var(--p-500); color: var(--txt-1); }
.prod-chip.active {
  background: linear-gradient(135deg, var(--p-700), var(--p-500));
  border-color: transparent; color: #fff;
}
.prod-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.prod-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 20px;
  display: flex; flex-direction: column;
  transition: transform .18s ease, border-color .18s ease;
}
.prod-card:hover { transform: translateY(-3px); border-color: var(--p-600); }
.prod-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.prod-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.prod-stock {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--success);
  background: rgba(16, 185, 129, .12); padding: 4px 10px; border-radius: 9999px;
}
.prod-stock.low { color: var(--warning); background: rgba(245, 158, 11, .12); }
.prod-name { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.prod-desc {
  color: var(--txt-4); font-size: .82rem; line-height: 1.55;
  margin-bottom: 16px; flex: 1;
}
.prod-price {
  font-family: var(--font-head); font-size: 1.45rem; font-weight: 800;
  color: var(--p-300); margin-bottom: 16px;
}
@media (max-width: 600px) {
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .prod-card { padding: 18px 15px; }
  .prod-price { font-size: 1.2rem; }
}
