/* ============================================================
   WEBSEWABOT — Premium UI Design System
   Modern Dark + Glass + Aurora aesthetic
   Fonts: Plus Jakarta Sans + Inter (loaded via <link> in layout)
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  /* Brand palette */
  --brand:        #7c3aed;
  --brand-light:  #a78bfa;
  --brand-mid:    #8b5cf6;
  --brand-dark:   #5b21b6;
  --brand-glow:   rgba(124,58,237,0.45);
  --brand-subtle: rgba(124,58,237,0.08);

  /* Accent */
  --accent:       #06b6d4;
  --accent-glow:  rgba(6,182,212,0.35);
  --pink:         #ec4899;
  --pink-glow:    rgba(236,72,153,0.3);

  /* Neutrals */
  --ink:          #0a0a1a;
  --ink-soft:     #1e1b4b;
  --muted:        #6b7280;
  --muted-light:  #9ca3af;
  --surface:      #f9fafb;
  --surface-2:    #f3f4f6;
  --line:         #e5e7eb;
  --line-dark:    rgba(255,255,255,0.08);

  /* Semantic */
  --success:      #10b981;
  --warning:      #f59e0b;
  --danger:       #ef4444;

  /* Shape */
  --radius:       20px;
  --radius-lg:    28px;
  --radius-xl:    36px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06),0 1px 2px rgba(0,0,0,0.04);
  --shadow:       0 4px 16px rgba(0,0,0,0.08),0 1px 3px rgba(0,0,0,0.05);
  --shadow-lg:    0 20px 40px rgba(0,0,0,0.10),0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:    0 32px 64px rgba(0,0,0,0.15),0 8px 20px rgba(0,0,0,0.08);
  --shadow-brand: 0 8px 32px var(--brand-glow);
  --shadow-glow:  0 0 60px rgba(124,58,237,0.15);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; scroll-behavior: smooth; }

html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* === SELECTION === */
::selection { background: var(--brand); color: #fff; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--brand), var(--accent)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding: 0.9rem 0;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 1050;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 0.65rem 0;
}

/* Brand */
.navbar-brand {
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}
.navbar-brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: min(220px, 52vw);
  object-fit: contain;
  object-position: left center;
}
.navbar-brand-name { color: var(--ink); }
.footer-brand-logo {
  display: block;
  width: auto;
  height: 46px;
  max-width: min(220px, 62vw);
  object-fit: contain;
  object-position: left center;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px var(--brand-glow);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%);
}

/* Nav links */
.nav-link {
  font-weight: 600;
  color: #4b5563;
  font-size: 0.925rem;
  padding: 0.5rem 0.75rem !important;
  border-radius: 10px;
  transition: all 0.2s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--brand); background: var(--brand-subtle); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link:hover::after { width: calc(100% - 1.5rem); }

/* Toggler */
.navbar-toggler {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.45rem 0.65rem;
  transition: all 0.2s;
}
.navbar-toggler:hover { border-color: var(--brand); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--brand-subtle); }

/* Mobile collapse */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(24px);
    padding: 1rem 1.25rem;
    border-radius: 20px;
    margin-top: 0.85rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--line);
  }
  .navbar-collapse .nav-link { padding: 0.7rem 1rem !important; }
  .navbar-collapse .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  border-radius: 13px;
  font-weight: 700;
  padding: 0.8rem 1.4rem;
  font-size: 0.925rem;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::before { background: rgba(255,255,255,0.1); }
.btn:active { transform: translateY(1px) !important; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: 15px; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; border-radius: 10px; }

/* Brand button */
.btn-brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--brand-glow);
}
.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--brand-glow);
  color: #fff;
}

/* Outline dark */
.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn-outline-dark:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-subtle);
  transform: translateY(-1px);
}

/* Light */
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Gradient button */
.btn-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--pink) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  animation: gradShift 4s ease infinite;
  color: #fff;
  box-shadow: 0 6px 24px var(--brand-glow);
}
.btn-gradient:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 36px var(--brand-glow); }
@keyframes gradShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

/* WhatsApp button */
.btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.btn-wa:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 8px 28px rgba(37,211,102,0.45); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding: 8.5rem 0 6rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(124,58,237,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 50%, rgba(6,182,212,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at -10% 80%, rgba(236,72,153,0.07) 0%, transparent 50%),
    linear-gradient(180deg, #fafafe 0%, #fff 100%);
}

/* Aurora orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  top: -15%; right: -5%;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  bottom: -10%; left: -5%;
  background: radial-gradient(circle, rgba(6,182,212,0.14) 0%, transparent 70%);
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 250px; height: 250px;
  top: 30%; left: 40%;
  background: radial-gradient(circle, rgba(236,72,153,0.1) 0%, transparent 70%);
  animation-delay: -7s;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

/* Grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(139,92,246,0.06) 100%);
  border: 1px solid rgba(124,58,237,0.2);
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

/* Headings */
h1,h2,h3,h4 { letter-spacing: -0.04em; }

.display-title {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
  background: linear-gradient(135deg, #0a0a1a 0%, #1e1b4b 40%, var(--brand) 80%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead-copy {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 600px;
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.trust-badge .check-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #059669);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 0.6rem;
  flex-shrink: 0;
}

/* ============================================================
   HERO PANEL (Dashboard Preview)
   ============================================================ */
.hero-panel {
  background: linear-gradient(145deg, #1a1035 0%, #0f0a2a 100%);
  border-radius: 28px;
  padding: 6px;
  box-shadow:
    0 48px 96px rgba(10,5,30,0.35),
    0 16px 32px rgba(124,58,237,0.2),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 29px;
  background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(6,182,212,0.2), transparent);
  z-index: -1;
}
.hero-panel:hover { transform: perspective(1200px) rotateY(-1deg) rotateX(0.5deg); }

.browser {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}
.browser-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
.browser-top .url-bar {
  flex: 1;
  height: 22px;
  background: #e5e7eb;
  border-radius: 999px;
  margin: 0 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.65rem;
  color: #9ca3af;
  font-family: 'Inter', monospace;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.dot:nth-child(1) { background: #ef4444; }
.dot:nth-child(2) { background: #f59e0b; }
.dot:nth-child(3) { background: #10b981; }

.dashboard-preview {
  display: grid;
  grid-template-columns: 80px 1fr;
  min-height: 360px;
}
.dash-side {
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-side-item {
  width: 100%;
  height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
}
.dash-side-item.active { background: linear-gradient(90deg, var(--brand-light), var(--accent)); }

.dash-content { padding: 20px; background: #f8fafc; }
.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  transition: all 0.2s;
}
.mini-card:hover { box-shadow: var(--shadow); }
.chat {
  background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%);
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  margin-top: 12px;
  max-width: 88%;
  font-size: 0.775rem;
  line-height: 1.6;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.chat-bot-name {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* Live indicator */
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  position: relative;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(16,185,129,0.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.5);opacity:0} }

/* ============================================================
   SOCIAL PROOF BAR
   ============================================================ */
.proof-bar {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  padding: 1.1rem 0;
  overflow: hidden;
}
.proof-bar-inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 600;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.proof-item i { color: var(--brand-light); font-size: 1rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 6rem 0; }
.section-soft { background: var(--surface); }
.section-dark {
  background: linear-gradient(180deg, #0f172a 0%, #1a1035 50%, #0f172a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.section-dark .section-title {
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-dark .eyebrow { background: rgba(167,139,250,0.12); border-color: rgba(167,139,250,0.3); }
.section-dark .lead-copy { color: rgba(255,255,255,0.65); }

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #0a0a1a 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

/* Section heading group */
.section-heading { max-width: 680px; }
.section-heading.centered { text-align: center; margin: 0 auto; }
.section-heading .section-title { margin-top: 0.5rem; }
.section-heading .lead-copy { margin-top: 1rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card-premium {
  height: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  position: relative;
}
.card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
  border-color: rgba(124, 58, 237, 0.3);
}

/* Icon box */
.icon-box {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 100%);
  color: var(--brand);
  font-size: 1.4rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.card-premium:hover .icon-box {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px var(--brand-glow);
}

/* ============================================================
   STATUS BADGES
   ============================================================ */
.badge-status { font-size: 0.7rem; padding: 0.4rem 0.8rem; border-radius: 999px; font-weight: 800; letter-spacing: 0.02em; }
.status-available    { background: #d1fae5; color: #065f46; }
.status-maintenance  { background: #fef3c7; color: #92400e; }
.status-coming_soon  { background: #ede9fe; color: #4c1d95; }
.status-inactive,
.status-expired      { background: #fee2e2; color: #991b1b; }
.status-active       { background: #d1fae5; color: #065f46; }
.status-expiring     { background: #fef3c7; color: #92400e; }
.status-pending      { background: #dbeafe; color: #1e40af; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card-wrap {
  height: 100%;
}
.product-card {
  height: 100%;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: #fff;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-subtle), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 0 1.5px var(--brand);
  border-color: var(--brand);
}
.product-card:hover::after { opacity: 1; }
.product-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; }

/* ============================================================
   PRICING CARDS
   ============================================================ */
.price {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--ink);
  line-height: 1;
}
.price-period { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.pricing-recommended {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--brand), var(--accent)) border-box;
  position: relative;
}
.pricing-recommended::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-subtle), rgba(6,182,212,0.04));
  pointer-events: none;
}
.pricing-recommended:hover { box-shadow: 0 32px 64px rgba(124,58,237,0.2), 0 0 0 2px var(--brand); }

.recommended-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 14px var(--brand-glow);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  padding: 0.45rem 0;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.feature-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
  background: #d1fae5;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   PROBLEM VS SOLUTION
   ============================================================ */
.problem-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.problem-row:last-child { border-bottom: none; }
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.problem-item.bad { color: #6b7280; text-decoration: line-through; opacity: 0.8; }
.problem-item.good { font-weight: 600; color: var(--ink); }

.step-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-subtle);
  border: 1px solid rgba(124,58,237,0.18);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step-card {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-card .step-number {
  margin: 0 auto 1.25rem;
  width: 56px; height: 56px;
  font-size: 1.2rem;
}

/* ============================================================
   DEMO FLOW
   ============================================================ */
.demo-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  transition: all 0.2s;
}
.demo-step:hover { background: var(--brand-subtle); }
.demo-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.demo-step-done .demo-step-num {
  background: linear-gradient(135deg, var(--success), #059669);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-size: 6rem;
  font-weight: 900;
  color: var(--brand);
  opacity: 0.08;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 0.1em; }
.testimonial-quote { font-style: italic; color: #374151; line-height: 1.7; font-size: 0.925rem; }
.testimonial-author strong { font-weight: 700; color: var(--ink); }
.testimonial-author span { font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.accordion-item {
  border: none !important;
  margin-bottom: 0.5rem;
  border-radius: 16px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.accordion-button {
  border-radius: 16px !important;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  padding: 1.2rem 1.5rem;
}
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #ede9fe 0%, #e0f2fe 100%);
  color: var(--brand);
  font-weight: 700;
  box-shadow: none;
}
.accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237c3aed'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(124,58,237,0.12) !important; border-color: transparent; }
.accordion-body { padding: 0 1.5rem 1.25rem; color: var(--muted); font-size: 0.925rem; line-height: 1.7; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-panel {
  background: linear-gradient(135deg, #0f172a 0%, #1a1035 40%, #2d1b69 70%, #0f172a 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  position: relative;
  text-align: center;
}
.cta-panel::before,
.cta-panel::after { content: ''; position: absolute; border-radius: 50%; filter: blur(50px); }
.cta-panel::before {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(124,58,237,0.5) 0%, transparent 70%);
  right: -180px; top: -180px;
  animation: floatOrb 12s ease-in-out infinite;
}
.cta-panel::after {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(6,182,212,0.35) 0%, transparent 70%);
  left: -120px; bottom: -120px;
  animation: floatOrb 10s ease-in-out infinite reverse;
}
.cta-panel .cta-content { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: linear-gradient(180deg, #09090f 0%, #040408 100%);
  color: rgba(255,255,255,0.55);
  padding: 5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--brand) 30%, var(--accent) 60%, transparent 100%);
}
footer::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.footer-brand-name { font-weight: 900; font-size: 1.3rem; color: #fff; letter-spacing: -0.04em; }
.footer-tagline { color: rgba(255,255,255,0.4); font-size: 0.875rem; line-height: 1.7; margin-top: 0.75rem; }
footer h6 { font-weight: 800; color: rgba(255,255,255,0.9); margin-bottom: 1rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; transition: all 0.2s; display: block; padding: 0.2rem 0; font-size: 0.9rem; }
footer a:hover { color: #fff; transform: translateX(4px); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.footer-contact-item i { color: var(--brand-light); font-size: 1rem; }
.footer-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  margin: 2.5rem 0 1.5rem;
}

/* Social links */
.social-links { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
  padding: 0;
}
.social-link:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--brand-glow);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control, .form-select {
  border-radius: 13px;
  padding: 0.875rem 1.1rem;
  border: 1.5px solid var(--line);
  font-size: 0.925rem;
  transition: all 0.2s;
  background: #fff;
  color: var(--ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
  outline: none;
}
.form-label { font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; font-size: 0.9rem; }

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.page-hero {
  padding: 9rem 0 5rem;
  background:
    radial-gradient(ellipse 70% 60% at 80% -20%, rgba(124,58,237,0.1) 0%, transparent 60%),
    var(--surface);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 90% 80% at 80% 50%, black, transparent);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-up.visible { opacity: 1; transform: translateY(0); }

/* Shimmer effect */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Glow pulse */
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(124,58,237,0.2); }
  50% { box-shadow: 0 0 40px rgba(124,58,237,0.4); }
}

/* ============================================================
   ADMIN PANEL (SaaS Minimalist Aesthetic)
   ============================================================ */
.admin-body {
  background: #f4f6f9;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #1e293b;
}

.admin-sidebar {
  background: linear-gradient(180deg, #0b0f19 0%, #111827 50%, #0f172a 100%);
  color: #fff;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  width: 270px;
  position: fixed;
  left: 0; top: 0;
  padding: 1.5rem 1.1rem;
  z-index: 1050;
  box-shadow: 4px 0 32px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-sidebar::-webkit-scrollbar {
  width: 5px;
}
.admin-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}
.admin-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

.admin-nav-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}
.admin-nav-scroll::-webkit-scrollbar { width: 4px; }
.admin-nav-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 4px; }

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  margin: 0.2rem 0;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.admin-nav-item i { font-size: 1.05rem; opacity: 0.85; transition: opacity 0.2s; }
.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateX(3px);
}
.admin-nav-item:hover i { opacity: 1; }

.admin-nav-item.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35) 0%, rgba(139, 92, 246, 0.2) 100%);
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.2);
}
.admin-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3.5px;
  background: var(--brand-light);
  border-radius: 0 4px 4px 0;
}

.admin-main {
  margin-left: 270px;
  padding: 2rem 2.25rem;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

/* Stat Cards */
.stat-card {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  background: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  border-color: rgba(124, 58, 237, 0.25);
}

/* Table Cards */
.table-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.table > :not(caption) > * > * {
  padding: 0.95rem 1.1rem;
  font-size: 0.9rem;
}
.table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--muted);
  background: #f8fafc;
  border-bottom: 1.5px solid var(--line);
}

/* Action Icon Buttons */
.btn-action {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid var(--line);
  color: #475569;
  background: #fff;
  transition: all 0.2s;
  font-size: 0.9rem;
  text-decoration: none;
}
.btn-action:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-subtle);
  transform: translateY(-1px);
}
.btn-action-danger:hover {
  border-color: var(--danger);
  color: #fff;
  background: var(--danger);
}

.mobile-admin-toggle { display: none; }

/* Admin Minimalist Circular Pagination */
.admin-pagination .pagination {
  margin-bottom: 0;
  gap: 0.65rem;
  align-items: center;
  border: none;
}
.admin-pagination .page-item {
  border: none;
  background: transparent;
}
.admin-pagination .page-link {
  border: none !important;
  background: transparent !important;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  min-width: 36px;
  height: 36px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none !important;
}
.admin-pagination .page-link:hover {
  color: #5b46e8;
  background: rgba(91, 70, 232, 0.08) !important;
}
.admin-pagination .page-item.active .page-link {
  background: #5b46e8 !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 0 0 6px rgba(91, 70, 232, 0.22) !important;
  transform: scale(1.05);
}
.admin-pagination .page-link-arrow {
  font-size: 1.1rem;
  color: #1e293b;
  font-weight: 700;
}
.admin-pagination .page-item.disabled .page-link-arrow {
  color: #cbd5e1;
  opacity: 0.5;
}
.admin-pagination .page-link-dots {
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Invoice Wrapper */
.invoice-wrapper {
  padding: 8.5rem 0 5rem;
  background: var(--surface);
  min-height: 85vh;
}
@media (max-width: 767px) {
  .invoice-wrapper {
    padding-top: 7rem;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-brand { color: var(--brand); }
.text-gradient {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-brand { background: var(--brand); }
.border-brand { border-color: var(--brand); }
.rounded-xl { border-radius: var(--radius-xl); }
.gap-hover > * { transition: transform 0.2s; }
.gap-hover > *:hover { transform: scale(1.02); }

/* Divider with text */
.divider-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted-light);
  font-size: 0.8rem;
  font-weight: 600;
}
.divider-text::before, .divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Number highlight */
.stat-big {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .hero { padding: 8rem 0 5rem; }
}

@media (max-width: 991px) {
  .hero { padding-top: 7rem; }
  .hero-panel { margin-top: 2.5rem; transform: none !important; }
  .section { padding: 5rem 0; }
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
  .admin-sidebar.show { transform: none; }
  .admin-main { margin-left: 0; padding: 1rem; }
  .mobile-admin-toggle { display: inline-flex; }
  .problem-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .proof-bar-inner { gap: 1.5rem; justify-content: center; }
}

@media (max-width: 767px) {
  .section { padding: 4rem 0; }
  .cta-panel { padding: 2.5rem 1.75rem; }
  .hero-panel { padding: 4px; }
  .dashboard-preview { grid-template-columns: 60px 1fr; min-height: 280px; }
  .display-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .step-connector { display: none; }
}

@media (max-width: 576px) {
  .display-title { font-size: 2.2rem; }
  .hero { padding-top: 6.5rem; padding-bottom: 3.5rem; }
  .hero-orb { display: none; }
  .trust-badges { gap: 0.5rem; }
  .trust-badge { font-size: 0.75rem; padding: 0.4rem 0.7rem; }
  .proof-bar-inner { gap: 1rem; font-size: 0.8rem; }
  .cta-panel { border-radius: 24px; padding: 2rem 1.25rem; }
  .section { padding: 3.5rem 0; }
  .navbar-brand { font-size: 1.1rem; }
  footer { padding: 3.5rem 0 1.5rem; }
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.nav-overlay.show { opacity: 1; visibility: visible; }

/* Product detail helpers */
.hover-brand { transition: color 0.2s ease; }
.hover-brand:hover { color: var(--brand) !important; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* Privacy consent */
.cookie-consent { position: fixed; z-index: 1100; left: 1rem; right: 1rem; bottom: 1rem; max-width: 980px; margin: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 55px rgba(16,24,40,.2); padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-consent[hidden] { display: none; }
.cookie-consent a { color: var(--brand); }
@media (max-width: 767px) { .cookie-consent { align-items: stretch; flex-direction: column; } .cookie-consent .d-flex { flex-wrap: wrap; } .cookie-consent .btn { flex: 1; } }

/* Public bot configuration form */
.form-config-hero { padding-bottom: 2.5rem; }
.special-form-context { display:flex; align-items:center; gap:1rem; margin-top:1.25rem; padding:1rem 1.25rem; border:1px solid #c7d2fe; border-radius:16px; background:#eef2ff; }
.special-form-context > i { font-size:1.5rem; color:var(--brand); }
.config-stepper { display:grid; grid-template-columns:repeat(5,1fr); padding:0; margin:0 0 1.5rem; list-style:none; }
.config-stepper li { position:relative; text-align:center; color:#94a3b8; }
.config-stepper li:not(:last-child)::after { content:""; position:absolute; top:21px; left:58%; right:-42%; height:2px; background:#e2e8f0; }
.config-stepper li.done:not(:last-child)::after { background:var(--brand); }
.config-stepper span { position:relative; z-index:1; display:grid; place-items:center; width:44px; height:44px; margin:0 auto .45rem; border:2px solid #e2e8f0; border-radius:50%; background:#fff; }
.config-stepper li.active,.config-stepper li.done { color:#4338ca; }
.config-stepper li.active span,.config-stepper li.done span { border-color:var(--brand); background:var(--brand); color:#fff; }
.config-stepper small { font-weight:700; }
.config-form { padding:clamp(1.25rem,4vw,2.5rem); border:1px solid var(--line); border-radius:24px; background:#fff; box-shadow:0 20px 60px rgba(15,23,42,.08); }
.config-step { display:none; border:0; padding:0; margin:0; min-width:0; }
.config-step.active { display:block; }
.config-step legend { font-size:1.45rem; font-weight:800; margin-bottom:.4rem; }
.config-actions { display:flex; gap:.75rem; align-items:center; margin-top:2rem; padding-top:1.5rem; border-top:1px solid var(--line); }
.review-grid { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.review-grid > div,.receipt-box > div { display:flex; justify-content:space-between; gap:1rem; padding:.85rem 1rem; border-radius:12px; background:#f8fafc; }
.review-grid span,.receipt-box span { color:#64748b; font-size:.88rem; }
.review-grid strong,.receipt-box strong { text-align:right; }
.receipt-box { display:grid; gap:.65rem; }
.success-icon { display:grid; place-items:center; width:76px; height:76px; border-radius:50%; background:#dcfce7; color:#15803d; font-size:2.4rem; }
.min-vh-75 { min-height:75vh; }
@media (max-width:767.98px) { .config-stepper small{display:none}.config-stepper span{width:38px;height:38px}.config-stepper li:not(:last-child)::after{top:18px}.review-grid{grid-template-columns:1fr}.config-actions .btn{font-size:.95rem;padding:.75rem 1rem}.config-form{border-radius:18px}.receipt-box>div{display:block}.receipt-box strong{display:block;text-align:left;margin-top:.2rem} }
.guide-content figure.image {
  margin: 1.5rem auto;
  text-align: center;
}

.guide-content figure.image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: 1rem;
}

.guide-content figure.image figcaption {
  margin-top: .65rem;
  color: var(--bs-secondary-color);
  font-size: .875rem;
}

.guide-content figure.table {
  max-width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
}

.guide-content figure.table table {
  width: 100%;
}
