/* ═══════════════════════════════════════════════════════════════
   ALGORISER — SHARED DESIGN SYSTEM
   Premium responsive foundation for all pages
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  /* Backgrounds */
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --bg-dark: #0a0a0a;
  --bg-dark-card: #141414;
  --bg-dark-elevated: #1a1a1a;

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-inverse: #f8fafc;
  --text-inverse-muted: #94a3b8;
  --text-main: var(--text-primary);
  --text-dim: var(--text-secondary);

  /* Accent — Emerald */
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-light: #d1fae5;
  --accent-lighter: #ecfdf5;
  --accent-border: #a7f3d0;
  --accent-glow: rgba(16, 185, 129, 0.25);
  --accent-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);

  /* Semantic Colors */
  --blue: #3b82f6;
  --blue-bg: #eff6ff;
  --blue-border: #bfdbfe;
  --purple: #8b5cf6;
  --purple-bg: #f5f3ff;
  --red: #ef4444;
  --red-bg: #fef2f2;
  --red-border: #fecaca;
  --amber: #f59e0b;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --whatsapp: #25D366;
  --trustpilot: #00b67a;

  /* Borders */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-strong: #cbd5e1;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);

  /* Typography */
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w: 1180px;
  --max-w-narrow: 760px;
  --max-w-content: 880px;
  --nav-height: 64px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) ease;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  outline: none;
}

input, textarea, select {
  font-family: var(--font);
  outline: none;
}

::selection {
  background: var(--accent-light);
  color: var(--text-primary);
}

/* ─── LAYOUT UTILITIES ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-content {
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ─── SECTION SPACING ─── */
.section {
  padding: 3.5rem 0;
}

.section-lg {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
  .section-lg { padding: 7rem 0; }
}

/* ─── TYPOGRAPHY ─── */
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section-sub {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
  font-weight: 500;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header .section-sub {
  margin: 0.6rem auto 0;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — Glassmorphic Sticky Nav
   ═══════════════════════════════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--duration-normal) ease;
}

.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  object-fit: cover;
  display: block;
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Nav Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) ease;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-muted);
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* Nav CTA */
.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
    box-shadow: 0 2px 8px var(--accent-glow);
  }
  .nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--accent-shadow);
  }
}

/* Hamburger Menu */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: all var(--duration-fast) ease;
}

.nav-hamburger:hover {
  background: var(--bg-muted);
  border-color: var(--border-strong);
}

@media (min-width: 768px) {
  .nav-hamburger { display: none; }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-2xl);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.2rem;
}

.mobile-menu-links {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) ease;
}

.mobile-menu-links a:hover {
  background: var(--bg-muted);
  color: var(--text-primary);
}

.mobile-menu-links a i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
}

.mobile-menu-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
}

.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: background var(--duration-fast) ease;
}

.mobile-menu-cta:hover {
  background: var(--accent-hover);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-md {
  padding: 0.75rem 1.5rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--accent-shadow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-page);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-muted);
  border-color: var(--border-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
  background: var(--bg-muted);
  color: var(--text-primary);
}

.btn-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.btn-dark:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Full width on mobile */
.btn-block-mobile {
  width: 100%;
}
@media (min-width: 768px) {
  .btn-block-mobile { width: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-flat {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card-dark {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--text-inverse);
}

.card-accent {
  background: var(--accent-lighter);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   BADGES & TAGS
   ═══════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.badge-accent {
  background: var(--accent-lighter);
  color: var(--accent-hover);
  border: 1px solid var(--accent-border);
}

.badge-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.badge-blue {
  background: var(--blue-bg);
  color: var(--blue);
}

.badge-amber {
  background: var(--amber-bg);
  color: #b45309;
  border: 1px solid var(--amber-border);
}

.badge-red {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid var(--red-border);
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: var(--max-w-content);
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration-normal) ease;
}

.faq-item.active {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 1px var(--accent-border), var(--shadow-sm);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  transition: color var(--duration-fast) ease;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q i {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
}

.faq-item.active .faq-q i {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out),
              padding var(--duration-slow) var(--ease-out);
}

.faq-item.active .faq-a {
  max-height: 500px;
}

.faq-a-inner {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — Premium Dark Footer
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-inverse-muted);
  padding: 4rem 0 0;
  margin-top: 4rem;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
}

.footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-inverse-muted);
  margin-top: 0.75rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand-logo .nav-brand-icon {
  width: 32px;
  height: 32px;
  font-size: 0.58rem;
}

.footer-brand-logo span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-inverse);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-inverse);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-inverse-muted);
  transition: color var(--duration-fast) ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-inverse-muted);
}

.footer-disclaimer {
  font-size: 0.7rem;
  color: #475569;
  line-height: 1.6;
  max-width: 700px;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════
   DECORATIVE ELEMENTS
   ═══════════════════════════════════════════════════════════════ */

/* Gradient mesh background */
.gradient-mesh {
  position: relative;
  overflow: hidden;
}

.gradient-mesh::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
  z-index: 0;
}

.gradient-mesh::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  pointer-events: none;
  z-index: 0;
}

/* Subtle dot grid pattern */
.bg-dots {
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Glow ring */
.glow-ring {
  position: relative;
}

.glow-ring::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--blue), var(--accent));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.glow-ring:hover::after {
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   TRUSTPILOT REVIEWS SHARED STYLES
   ═══════════════════════════════════════════════════════════════ */
.tp-reviews-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 2rem 0 1.5rem;
  flex-wrap: wrap;
}

.tp-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--trustpilot);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
}

.tp-header-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tp-header-text strong {
  color: var(--text-primary);
}

.tp-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .tp-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .tp-reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.tp-review-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-xs);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.tp-review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.tp-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.tp-stars {
  display: flex;
  gap: 2px;
}

.tp-star {
  width: 22px;
  height: 22px;
  background: var(--trustpilot);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.tp-star i {
  color: #fff;
  font-size: 0.65rem;
}

.tp-star-empty {
  background: #dcdce6;
}

.tp-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--trustpilot);
  background: var(--accent-lighter);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.tp-review-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.tp-review-body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tp-review-footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

.tp-reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: #fff;
  flex-shrink: 0;
}

.tp-reviewer-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-primary);
}

.tp-reviewer-date {
  font-size: 0.7rem;
  color: var(--text-subtle);
}

/* ═══════════════════════════════════════════════════════════════
   STATS RIBBON
   ═══════════════════════════════════════════════════════════════ */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .stats-ribbon {
    grid-template-columns: repeat(4, 1fr);
    padding: 2rem 2.5rem;
  }
}

.stat-box {
  text-align: center;
}

.stat-box .stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-box .stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* ═══════════════════════════════════════════════════════════════
   PLAN CARDS
   ═══════════════════════════════════════════════════════════════ */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-inverse { color: var(--text-inverse); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }
.gap-xl { gap: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

.grid { display: grid; }

.hidden { display: none !important; }

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   SHARED JAVASCRIPT-DRIVEN CLASSES
   ═══════════════════════════════════════════════════════════════ */

/* Scroll-progress bar at top of nav */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  z-index: 10001;
  width: 0%;
  transition: width 50ms linear;
}
