/* ============================================================
   VeriBox — Dark Premium Fintech Stylesheet
   ============================================================ */

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

/* ── Custom Properties ── */
:root {
  --bg-primary:    #0A0F1E;
  --bg-secondary:  #0D1224;
  --bg-darkest:    #060912;

  --gradient:         linear-gradient(135deg, #2563EB, #7C3AED);
  --gradient-reverse: linear-gradient(135deg, #7C3AED, #2563EB);

  --accent-blue:   #2563EB;
  --accent-purple: #7C3AED;
  --success:       #10B981;

  --text-white:  #FFFFFF;
  --text-muted:  rgba(255, 255, 255, 0.6);

  --glass-bg:     rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur:   blur(20px);

  --card-hover-border: rgba(255, 255, 255, 0.2);

  --max-w: 1200px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; overflow: hidden; }

/* ── Utility: Glass ── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

/* ── Utility: Gradient text ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Utility: Gradient button ── */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-gradient:hover {
  transform: scale(1.02);
  box-shadow: 0 0 32px rgba(37, 99, 235, 0.45);
}

/* ── Utility: Ghost button ── */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); }

/* ── Utility: Section badge ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 20px;
}

/* ── Utility: Section heading ── */
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
}

/* ── Fade-in animation (driven by JS IntersectionObserver) ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ── Keyframes ── */
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(30px) scale(0.97); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), backdrop-filter var(--transition),
              border-color var(--transition), padding var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--glass-border);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.logo-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.3px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.ham-bar {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X */
.nav-hamburger.open .ham-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open .ham-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open .ham-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 18, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  font-size: 22px;
  font-weight: 600;
  padding: 12px 32px;
}
.nav-mobile .btn-gradient { font-size: 17px; padding: 16px 40px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: -100px;
  right: -150px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  opacity: 0.25;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  left: -100px;
  background: linear-gradient(135deg, #1d4ed8, #2563EB);
  opacity: 0.15;
  animation: floatReverse 6s ease-in-out infinite;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 32px;
}

.hero-headline {
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text-white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-buttons .btn-gradient { font-size: 16px; padding: 16px 36px; }
.hero-buttons .btn-ghost    { font-size: 16px; padding: 16px 36px; }

/* Stats pills */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
}

.stat-pill strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
}

.stat-pill span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  background: var(--bg-secondary);
  padding: 100px 0;
  text-align: center;
}

.section-header { margin-bottom: 64px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  align-items: stretch;
}

/* Connector dashes between step cards */
.steps-grid::before,
.steps-grid::after {
  content: '';
  position: absolute;
  top: 56px;
  height: 1px;
  border-top: 2px dashed rgba(255, 255, 255, 0.18);
  z-index: 0;
}
.steps-grid::before { left: calc(33.333% + 24px); width: calc(33.333% - 48px); }
.steps-grid::after  { left: calc(66.666% + 24px); width: calc(33.333% - 48px); }

.step-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: 40px 32px;
  margin: 0 16px;
  position: relative;
  z-index: 1;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.step-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.step-number {
  font-size: 52px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   SUPPORTED SERVICES
   ============================================================ */
.services {
  background: var(--bg-primary);
  padding: 100px 0;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.15);
}

.service-emoji {
  font-size: 36px;
  line-height: 1;
}

.service-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
}

.services-more {
  font-size: 15px;
  color: var(--text-muted);
}

/* ============================================================
   PRICING PREVIEW
   ============================================================ */
.pricing {
  background: var(--bg-secondary);
  padding: 100px 0;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  align-items: center;
}

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: 36px 28px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover { transform: translateY(-4px); }

/* Popular card */
.pricing-card.popular {
  border: 1px solid rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(124, 58, 237, 0.2);
  transform: scale(1.04);
  background: rgba(37, 99, 235, 0.08);
}
.pricing-card.popular:hover { transform: scale(1.04) translateY(-4px); }

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-flag { font-size: 48px; margin-bottom: 16px; }

.pricing-country {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.pricing-service {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-amount {
  font-size: 36px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 28px;
  line-height: 1;
}

.pricing-amount span {
  font-size: 16px;
  font-weight: 500;
}

.pricing-note {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================================
   WHY VERIBOX
   ============================================================ */
.why {
  background: var(--bg-primary);
  padding: 100px 0;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: 40px 36px;
  text-align: left;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.feature-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.feature-icon { font-size: 40px; margin-bottom: 20px; display: block; }

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta {
  background: var(--gradient);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern overlay */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}

.cta .container { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
  border-radius: var(--radius-xl);
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  background-clip: unset;
  color: transparent;
  background: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

/* Gradient text on white button */
.btn-white span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.btn-white:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.cta-perks {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-perks span { display: flex; align-items: center; gap: 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 0;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
}

.footer-brand .logo-name { font-size: 22px; }

.footer-tagline {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.footer-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.footer-divider {
  height: 1px;
  background: var(--glass-border);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-legal a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile landscape / tablet portrait */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { padding: 100px 24px 60px; }
  .hero-headline { letter-spacing: -0.5px; }
  .hero-stat-row { gap: 8px; }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps-grid::before,
  .steps-grid::after { display: none; }
  .step-card { margin: 0; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: scale(1); }
  .pricing-card.popular:hover { transform: translateY(-4px); }

  /* Why */
  .features-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-perks { flex-direction: column; gap: 10px; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn-gradient,
  .hero-buttons .btn-ghost { width: 100%; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .stat-pill { padding: 8px 14px; }
}

/* ============================================================
   DEMO EXPLORER v2 — Hardcoded Showcase
   ============================================================ */

.demo-section {
  background: #0D1224;
  padding: 96px 0;
  overflow: visible;
}

.demo-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 56px;
  align-items: start;
}

/* ── Phone Column ── */
.phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.phone-wrap { position: relative; }

.phone-frame {
  width: 280px;
  height: 560px;
  background: #1a1a2e;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow:
    0 0 0 8px #0f0f1a,
    0 0 0 10px rgba(255,255,255,0.05),
    0 30px 80px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 30px;
  background: #0a0f1e;
  border-radius: 0 0 20px 20px;
  z-index: 20;
}

.phone-home {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  z-index: 20;
}

.phone-glow {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 80px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.3;
  pointer-events: none;
}

/* ── Phone Screens ── */
.phone-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 36px 16px 22px;
  background: #0d1020;
}

.phone-screen.active {
  opacity: 1;
  pointer-events: auto;
}

.ps-status {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  padding: 0 4px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.ps-appbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.ps-app-name {
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ps-app-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}

.ps-app-badge.active-badge {
  background: rgba(16,185,129,0.15);
  color: #10B981;
}

/* ── Screen 1: Choose Service ── */
.ps-list-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
  padding-left: 2px;
  flex-shrink: 0;
}

.ps-service-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
}

.ps-svc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.ps-svc-row.active {
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.45);
  color: #fff;
}

.ps-svc-icon  { font-size: 14px; flex-shrink: 0; }
.ps-svc-name  { flex: 1; font-weight: 500; }
.ps-svc-arrow { font-size: 12px; color: rgba(255,255,255,0.25); flex-shrink: 0; }

.ps-svc-price {
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ps-country-pill {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

/* ── Screen 2: Number Active ── */
.ps-num-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.ps-num-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.35);
}

.ps-num-display {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  padding: 12px 14px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 14px;
  width: 100%;
  text-align: center;
  letter-spacing: -0.3px;
}

.ps-cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: #2563EB;
  margin-left: 1px;
  vertical-align: middle;
  animation: cursorBlink 1s step-end infinite;
}

.ps-wait-card {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 10px 12px;
}

.ps-wait-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

.ps-wait-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  flex-shrink: 0;
  animation: pulseDot 1.5s ease-in-out infinite;
}

.ps-timer-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.ps-timer-fill {
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, #2563EB, #7C3AED);
  border-radius: 2px;
}

.ps-timer-label {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  text-align: right;
}

.ps-action-row { display: flex; gap: 7px; width: 100%; }

.ps-btn-outline {
  flex: 1;
  padding: 7px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-align: center;
  cursor: pointer;
}

.ps-btn-grad {
  flex: 1.6;
  padding: 7px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

/* ── Screen 3: OTP Received ── */
.ps-otp-header {
  padding: 8px 12px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #10B981;
  text-align: center;
  margin-bottom: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(16,185,129,0.12);
}

.ps-otp-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ps-otp-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
}

.ps-otp-boxes { display: flex; gap: 8px; }

.ps-otp-box {
  width: 46px;
  height: 54px;
  background: rgba(37,99,235,0.09);
  border: 1.5px solid rgba(37,99,235,0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
}

.ps-sms-preview {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 10px 12px;
}

.ps-sms-from { font-size: 11px; font-weight: 700; color: #10B981; margin-bottom: 4px; }
.ps-sms-text { font-size: 10px; color: rgba(255,255,255,0.5); line-height: 1.5; }

.ps-copy-btn {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  flex-shrink: 0;
  margin-top: auto;
  cursor: pointer;
}

/* ── Screen 4: Success ── */
.ps-success-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.ps-success-emoji { font-size: 52px; line-height: 1; }
.ps-success-title  { font-size: 26px; font-weight: 900; color: #fff; }
.ps-success-sub    { font-size: 12px; color: rgba(255,255,255,0.5); max-width: 180px; line-height: 1.5; }

.ps-success-chip {
  padding: 5px 14px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
}

/* ── Phone Dots ── */
.phone-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.phone-dot.active {
  width: 24px;
  border-radius: 4px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
}

/* ── Explorer Column ── */
.explorer-col { padding-top: 4px; }

.explorer-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.explorer-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  line-height: 1.6;
}

.step-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: block;
}

/* Service grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.svc-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.svc-pill:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-2px);
}

.svc-pill.selected {
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.6);
  box-shadow: 0 0 20px rgba(37,99,235,0.15);
}

.svc-pill-check {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #2563EB;
  opacity: 0;
  transition: opacity 0.2s;
}

.svc-pill.selected .svc-pill-check { opacity: 1; }

.svc-emoji { font-size: 24px; line-height: 1; }

.svc-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-align: center;
  line-height: 1.2;
}

.svc-pill.selected .svc-name { color: #fff; }

/* ── Step 2: Country selection ── */
.step2-block {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
}

.step2-block.open {
  max-height: 600px;
  opacity: 1;
}

.country-search-wrap {
  position: relative;
  margin-bottom: 12px;
}

.country-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}

.country-search-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 16px 12px 42px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #fff;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.country-search-input::placeholder { color: rgba(255,255,255,0.3); }

.country-search-input:focus {
  border-color: rgba(37,99,235,0.5);
  background: rgba(255,255,255,0.07);
}

.country-list {
  max-height: 292px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 2px;
}

.country-list::-webkit-scrollbar { width: 3px; }
.country-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); }
.country-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }
.country-list::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

.country-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  transition: all 0.25s;
}

.country-row:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(37,99,235,0.3);
  transform: translateX(3px);
}

.country-row.hidden { display: none; }

.cr-left  { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cr-flag  { font-size: 24px; flex-shrink: 0; line-height: 1; }
.cr-name  { font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; }
.cr-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.cr-price {
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.cr-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cr-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
}

/* ── Demo Footer ── */
.demo-footer {
  text-align: center;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.demo-footer-note {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}

/* ── Keyframes ── */
@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.82); }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .demo-layout { grid-template-columns: 1fr; gap: 48px; }
  .phone-col   { order: 2; position: static; }
  .explorer-col { order: 1; }
}

@media (max-width: 480px) {
  .phone-frame { width: 260px; height: 520px; }
  .svc-grid    { gap: 7px; }
  .svc-pill    { padding: 10px 6px 9px; }
  .svc-emoji   { font-size: 20px; }
  .svc-name    { font-size: 10px; }
}
