/* ==========================================================================
   TRIGGERCONVO MODERN DESIGN SYSTEM
   Cutting-edge, high-contrast, responsive styles for TriggerConvo Marketing Platform
   ========================================================================== */

:root {
  /* Brand Primary & Accents (Emerald WhatsApp theme) */
  --primary: #103e32;
  --primary-hover: #092d24;
  --primary-light: #f0f5ee;
  --primary-glow: rgba(163, 139, 79, 0.22);
  --brand-gold: #a38b4f;
  
  /* App Surfaces & Neutrals */
  --dark-bg: #090D16;
  --dark-surface: #0F172A;
  --dark-card: #1E293B;
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-muted: #94A3B8;
  
  --light-bg: #FAFAFA;
  --light-surface: #FFFFFF;
  --light-border: #E4E4E7; /* Zinc 200 / Border token */
  --light-border: #E2E8F0; /* Slate 200 */
  --text-main: #1E293B; /* Slate 800: Soft, premium dark charcoal */
  --text-muted: #64748B; /* Slate 500: Balanced secondary text */

  /* Platform Status Pill Colors (Strict match with lib/crm.ts) */
  /* 1. Conversation Status: Open (Sky), Pending (Amber), Resolved (Emerald) */
  --status-open-bg: rgba(14, 165, 233, 0.1);
  --status-open-text: #0369A1;
  --status-open-border: rgba(14, 165, 233, 0.25);

  --status-pending-bg: rgba(245, 158, 11, 0.1);
  --status-pending-text: #B45309;
  --status-pending-border: rgba(245, 158, 11, 0.25);

  --status-resolved-bg: rgba(16, 185, 129, 0.1);
  --status-resolved-text: #047857;
  --status-resolved-border: rgba(16, 185, 129, 0.25);

  /* 2. Pipeline Lead Stages: Won (Emerald), Qualified (Indigo), Lost (Rose) */
  --stage-won-bg: rgba(16, 185, 129, 0.15);
  --stage-won-text: #047857;
  --stage-won-border: rgba(16, 185, 129, 0.35);

  --stage-qualified-bg: rgba(99, 102, 241, 0.1);
  --stage-qualified-text: #4338CA;
  --stage-qualified-border: rgba(99, 102, 241, 0.25);

  --stage-lost-bg: rgba(244, 63, 94, 0.1);
  --stage-lost-text: #BE123C;
  --stage-lost-border: rgba(244, 63, 94, 0.25);

  /* 3. Consent Status: Opted In (Teal), Opted Out (Red), Pending (Purple), Unknown (Zinc) */
  --consent-optedin-bg: rgba(20, 184, 166, 0.15);
  --consent-optedin-text: #0F766E;
  --consent-optedin-border: rgba(20, 184, 166, 0.3);

  --consent-optedout-bg: rgba(225, 29, 72, 0.12);
  --consent-optedout-text: #BE123C;
  --consent-optedout-border: rgba(225, 29, 72, 0.25);

  --consent-pending-bg: rgba(168, 85, 247, 0.15);
  --consent-pending-text: #7E22CE;
  --consent-pending-border: rgba(168, 85, 247, 0.3);

  --consent-unknown-bg: rgba(113, 113, 122, 0.1);
  --consent-unknown-text: #52525B;
  --consent-unknown-border: rgba(113, 113, 122, 0.25);

  /* Platform Font & Radiuses */
  --font-sans: 'Instrument Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-lg: 0.625rem; /* 10px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-sm: 0.375rem; /* 6px */
  --radius-pill: 9999px;

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 8px 24px -4px var(--primary-glow);
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

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

/* Container */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

.navbar .btn-primary {
  box-shadow: 0 4px 14px -2px rgba(16, 62, 50, 0.25);
  font-weight: 600;
  padding: 0.55rem 1.25rem;
}

.navbar .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -2px rgba(16, 62, 50, 0.35);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-link img {
  height: 37px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(5, 150, 105, 0.1);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: #FFFFFF;
  border-color: var(--light-border);
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: #A1A1AA;
  background-color: #F4F4F5;
}

.btn-ghost {
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text-main);
  background-color: rgba(0, 0, 0, 0.04);
}

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

/* ==========================================================================
   PLATFORM CRM PILL BADGES (Identical to app lib/crm.ts & status-badge.tsx)
   ========================================================================== */
.crm-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.crm-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* 1. Conversation Status Pills */
.crm-pill-open {
  background: var(--status-open-bg);
  color: var(--status-open-text);
  border: 1px solid var(--status-open-border);
}

.crm-pill-pending {
  background: var(--status-pending-bg);
  color: var(--status-pending-text);
  border: 1px solid var(--status-pending-border);
}

.crm-pill-resolved {
  background: var(--status-resolved-bg);
  color: var(--status-resolved-text);
  border: 1px solid var(--status-resolved-border);
}

/* 2. Pipeline Lead Stages */
.crm-pill-won {
  background: var(--stage-won-bg);
  color: var(--stage-won-text);
  border: 1px solid var(--stage-won-border);
  font-weight: 700;
}

.crm-pill-qualified {
  background: var(--stage-qualified-bg);
  color: var(--stage-qualified-text);
  border: 1px solid var(--stage-qualified-border);
}

.crm-pill-lost {
  background: var(--stage-lost-bg);
  color: var(--stage-lost-text);
  border: 1px solid var(--stage-lost-border);
}

/* 3. Consent Status Badges */
.crm-pill-optedin {
  background: var(--consent-optedin-bg);
  color: var(--consent-optedin-text);
  border: 1px solid var(--consent-optedin-border);
}

.crm-pill-optedout {
  background: var(--consent-optedout-bg);
  color: var(--consent-optedout-text);
  border: 1px solid var(--consent-optedout-border);
}

.crm-pill-consent-pending {
  background: var(--consent-pending-bg);
  color: var(--consent-pending-text);
  border: 1px solid var(--consent-pending-border);
}

.crm-pill-consent-unknown {
  background: var(--consent-unknown-bg);
  color: var(--consent-unknown-text);
  border: 1px dashed var(--consent-unknown-border);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% -10%, rgba(16, 62, 50, 0.05) 0%, rgba(248, 250, 252, 0.5) 60%, #FFFFFF 100%);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #103E32;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 4px 16px -2px rgba(16, 62, 50, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.badge-pill:hover {
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 6px 22px -2px rgba(16, 62, 50, 0.15), 0 0 0 3px rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}

.badge-divider {
  color: #CBD5E1;
  font-weight: 300;
  margin: 0 3px;
}

.badge-status-text {
  color: #065F46;
  font-weight: 700;
}

.badge-meta-text {
  color: #103E32;
  font-weight: 600;
}

.badge-subtext {
  color: #64748B;
  font-weight: 600;
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: #0F172A;
}

.hero-title .gradient-text {
  background: linear-gradient(115deg, #103e32 20%, #8d7948 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-mockup-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.2);
  transition: var(--transition);
  cursor: zoom-in;
}

.hero-mockup-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.hero-mockup-wrapper .zoom-hint,
.showcase-media .zoom-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
  opacity: 0.9;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-mockup-wrapper:hover .zoom-hint,
.showcase-media:hover .zoom-hint {
  background: var(--primary);
  opacity: 1;
}

/* Feature Spotlight Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3.5rem 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 35px -10px rgba(16, 62, 50, 0.12), 0 8px 12px -4px rgba(0, 0, 0, 0.04);
}

.status-indicator-dot {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  margin-right: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}

.status-indicator-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.5);
  animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  z-index: 0;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.95;
  }
  70% {
    transform: scale(2.5);
    opacity: 0;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(16, 62, 50, 0.06);
  border: 1px solid rgba(16, 62, 50, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-icon-box {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(16, 62, 50, 0.25);
}

.feature-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  transition: stroke 0.25s ease;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(16, 62, 50, 0.08);
  color: var(--primary);
  flex-shrink: 0;
  vertical-align: middle;
}

.pillar-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 4.5rem auto 3rem;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Split Visual Showcase (42% copy / 58% large visual) */
.showcase-row {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  align-items: center;
  gap: 3.5rem;
  margin: 5rem 0;
}

.showcase-row.reverse {
  direction: rtl;
}

.showcase-row.reverse > * {
  direction: ltr;
}

.showcase-content h3 {
  font-size: 2.25rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 1.15rem;
}

.showcase-content p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.showcase-checklist {
  list-style: none;
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.showcase-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
}

.showcase-checklist li strong {
  color: var(--text-main);
  font-weight: 700;
}

.showcase-checklist li .check-icon {
  color: var(--primary);
  font-weight: 800;
  background: var(--primary-light);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 3px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.showcase-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
  border: 1px solid var(--light-border);
  background: var(--dark-surface);
  transition: var(--transition);
  cursor: zoom-in;
}

.showcase-media:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22);
}

.showcase-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
  animation: fadeIn 0.2s ease-out;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-box {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 95vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
  color: #E2E8F0;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.85rem;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -42px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close-btn:hover {
  background: var(--primary);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Feature Sticky Sub-Navigation */
.subnav-sticky {
  position: sticky;
  top: 72px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light-border);
  padding: 0.75rem 0;
  margin-bottom: 2.5rem;
}

.subnav-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  list-style: none;
}

.subnav-pill {
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.subnav-pill svg {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  stroke: currentColor;
  stroke-width: 2.2;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.subnav-pill:hover {
  background: #FFFFFF;
  color: var(--primary);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(16, 62, 50, 0.12);
}

.subnav-pill.active {
  background: linear-gradient(135deg, #103E32 0%, #164E40 100%);
  color: #FFFFFF !important;
  border-color: #103E32;
  box-shadow: 0 4px 14px -1px rgba(16, 62, 50, 0.35), 0 0 0 2px rgba(16, 185, 129, 0.35);
  font-weight: 700;
  transform: translateY(-1px);
}

.subnav-pill.active svg {
  color: #34D399 !important;
  stroke: #34D399 !important;
}

.subnav-pill.active::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  margin-left: 2px;
}

/* Product Showcase Tour Carousel & Floating Navigation Arrows */
.tour-slider-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.tour-carousel-arrow {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.16);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.tour-carousel-arrow:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 24px -4px rgba(16, 62, 50, 0.35);
}

.tour-carousel-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.tour-arrow-prev {
  left: -22px;
}

.tour-arrow-next {
  right: -22px;
}

@media (max-width: 960px) {
  .tour-arrow-prev {
    left: 10px;
  }
  .tour-arrow-next {
    right: 10px;
  }
}
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
  }
}

/* Feature Summary Pill Badge in Modules */
.module-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 1.5rem 0 3.5rem;
  padding-top: 1.75rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 10px 30px -5px var(--primary-glow);
  transform: scale(1.03);
}

.pricing-card.featured .popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 40px;
}

.pricing-price {
  margin: 1.75rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-price .amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
}

.pricing-price .cycle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0 2.5rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.pricing-features li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, #090D16 0%, #0F172A 50%, #131D31 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4.5rem 3rem;
  text-align: center;
  color: #FFFFFF;
  margin: 5rem auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(5, 150, 105, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 2.75rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.15rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: #94A3B8;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-banner p strong {
  color: #F8FAFC;
}

.cta-banner .btn-banner-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-banner-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.cta-banner .btn-primary {
  position: relative;
  z-index: 1;
}

footer {
  background: #0B1120;
  color: #94A3B8;
  padding: 5rem 0 2.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.15fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #F8FAFC;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.925rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.footer-links a:hover {
  color: #34D399;
  transform: translateX(3px);
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.925rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34D399;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  margin-top: 0.5rem;
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.footer-legal-bar {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  padding: 1.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  font-size: 0.875rem;
  color: #E2E8F0;
  line-height: 1.7;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  text-align: center;
}

.footer-legal-bar .footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.6rem;
  color: #CBD5E1;
  text-align: center;
}

.footer-legal-bar .footer-legal-row.address-row {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  justify-content: center;
  text-align: center;
}

.footer-legal-bar .footer-legal-row span {
  text-align: center;
}

.footer-legal-bar strong {
  color: #FFFFFF;
  font-weight: 700;
}

.footer-legal-bar .legal-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #34D399;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  letter-spacing: 0.04em;
  font-size: 0.825rem;
}

.footer-legal-bar a {
  color: #38BDF8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: var(--transition);
}

.footer-legal-bar a:hover {
  color: #7DD3FC;
  text-decoration: underline;
}

.footer-legal-bar .footer-legal-sep {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0.35rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #64748B;
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: #E2E8F0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 3rem auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .showcase-row, .showcase-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--light-border);
    box-shadow: var(--shadow-xl);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-actions {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-legal-bar {
    text-align: center;
    padding: 1.15rem 1rem;
    font-size: 0.825rem;
  }
  .footer-legal-bar .footer-legal-row {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* FAQ Accordion Styling */
.faq-section {
  padding: 5rem 0;
  max-width: 860px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.faq-item {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-question span.q-icon {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(16, 62, 50, 0.06);
  flex-shrink: 0;
}

.faq-question span.q-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
}

.faq-answer {
  color: #475569;
  font-size: 0.975rem;
  line-height: 1.7;
  padding-left: 1.85rem;
}

/* About Us Section */
.about-section {
  padding: 5rem 0;
  background: #F8FAFC;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2.5rem;
}

.about-text p {
  color: #475569;
  font-size: 1.025rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-pillar-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 1.6rem;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 24px -6px rgba(16, 62, 50, 0.1);
}

.about-pillar-card h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-pillar-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .about-pillars {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BILLING SWITCHER & ANNUAL DISCOUNT
   ========================================================================== */
.pricing-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.billing-switch {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid var(--light-border);
}

.billing-btn {
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.billing-btn.active {
  background: #FFFFFF;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.save-pill {
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.annual-savings-callout {
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
  min-height: 20px;
  margin-top: 0.35rem;
  transition: var(--transition);
}

/* ==========================================================================
   IMPROVED ARCHITECTURE GUIDE: MODULES VS. PLAN FEATURES
   ========================================================================== */
.arch-blueprint-wrapper {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.arch-layer-card {
  background: #FFFFFF;
  border: 1px solid var(--light-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}

.arch-layer-card.layer-modules {
  border-top: 4px solid var(--primary);
}

.arch-layer-card.layer-features {
  border-top: 4px solid #6366F1;
}

.arch-layer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.arch-layer-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.arch-layer-tag.tag-modules {
  background: rgba(16, 62, 50, 0.08);
  color: var(--primary);
  border: 1px solid rgba(16, 62, 50, 0.2);
}

.arch-layer-tag.tag-features {
  background: rgba(99, 102, 241, 0.08);
  color: #4F46E5;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.arch-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.arch-module-chip {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: var(--transition);
}

.arch-module-chip:hover {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 6px 16px -2px rgba(16, 62, 50, 0.08);
  transform: translateY(-2px);
}

.arch-module-chip h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.arch-module-chip p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.arch-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.arch-tier-column {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.75rem;
  position: relative;
  transition: var(--transition);
}

.arch-tier-column.featured {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 8px 24px -4px rgba(16, 62, 50, 0.12);
}

.arch-tier-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.arch-tier-badge.starter { background: #E2E8F0; color: #334155; }
.arch-tier-badge.growth { background: rgba(16, 62, 50, 0.12); color: var(--primary); }
.arch-tier-badge.business { background: rgba(99, 102, 241, 0.12); color: #4338CA; }

.arch-tier-dials {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.arch-tier-dials li {
  font-size: 0.875rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #E2E8F0;
}

.arch-tier-dials li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.arch-tier-dials li span.label {
  color: var(--text-muted);
}

.arch-tier-dials li strong.val {
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   IMPROVED 64 PLATFORM CAPABILITIES DIRECTORY
   ========================================================================== */
.cap-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cap-card {
  background: #FFFFFF;
  border: 1px solid var(--light-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.cap-card:hover {
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

.cap-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--light-border);
}

.cap-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 62, 50, 0.06);
  border: 1px solid rgba(16, 62, 50, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.cap-card:hover .cap-card-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.cap-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

.cap-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-main);
}

.cap-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cap-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #F8FAFC;
}

.cap-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cap-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cap-tiers-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
}

.tier-pill {
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.tier-pill.all {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.tier-pill.s {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}

.tier-pill.g {
  background: rgba(16, 62, 50, 0.08);
  color: var(--primary);
  border: 1px solid rgba(16, 62, 50, 0.2);
}

.tier-pill.b {
  background: rgba(99, 102, 241, 0.08);
  color: #4338CA;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   INTERACTIVE TOOLTIPS & TYPOGRAPHIC FLOURISHES
   ========================================================================== */
.gradient-text-emerald {
  background: linear-gradient(135deg, #103E32 0%, #059669 60%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.stat-tooltip-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
  margin-left: 5px;
  color: var(--text-muted);
  vertical-align: middle;
  transition: color 0.2s ease;
}

.stat-tooltip-trigger:hover, .stat-tooltip-trigger:focus {
  color: var(--primary);
}

.stat-tooltip-box {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 260px;
  background: #0F172A;
  color: #F8FAFC;
  text-align: center;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.775rem;
  font-weight: 400;
  line-height: 1.45;
  z-index: 1000;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.stat-tooltip-box::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #0F172A transparent transparent transparent;
}

.stat-tooltip-trigger:hover .stat-tooltip-box,
.stat-tooltip-trigger:focus .stat-tooltip-box {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pricing-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(16, 62, 50, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
}
/* ==========================================================================
   UPGRADE 1: DARK SECTION (Enterprise Architecture) & CURVE DIVIDERS
   ========================================================================== */
.dark-section {
  background: #0B1120;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.dark-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.dark-feature-card {
  background: rgba(30, 41, 59, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.dark-feature-card:hover {
  transform: translateY(-6px);
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.22);
}

.dark-feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.dark-feature-card:hover .dark-feature-icon-box {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -2px rgba(16, 185, 129, 0.4);
}

.dark-feature-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
}

.curve-divider-top {
  line-height: 0;
  width: 100%;
  overflow: hidden;
  background: #FFFFFF;
}

.curve-divider-bottom {
  line-height: 0;
  width: 100%;
  overflow: hidden;
  background: #F8FAFC;
}

.curve-divider-top svg, .curve-divider-bottom svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* ==========================================================================
   UPGRADE 2: PRICING SECTION POLISH (BEST VALUE GROWTH CARD SHOWSTOPPER)
   ========================================================================== */

/* Modern Base Pricing Card */
.pricing-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(16, 62, 50, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
}

/* Tier Header Row */
.tier-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.tier-header-row h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0 !important;
}

.value-chip {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Featured Growth Plan - Premium Glowing Showcase */
.pricing-card.featured {
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.07) 0%, rgba(255, 255, 255, 1) 50%), #FFFFFF;
  border: 2px solid #10B981;
  border-radius: 20px;
  box-shadow: 
    0 0 0 4px rgba(16, 185, 129, 0.16),
    0 25px 55px -12px rgba(16, 62, 50, 0.25),
    0 0 35px -5px rgba(16, 185, 129, 0.22);
  transform: scale(1.02);
  position: relative;
  z-index: 3;
}

/* Shimmering Animated Top Accent Gradient Beam */
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 6px;
  background: linear-gradient(90deg, #059669 0%, #10B981 30%, #34D399 50%, #F59E0B 75%, #059669 100%);
  background-size: 200% 100%;
  animation: shimmerGradient 4s linear infinite;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  z-index: 3;
}

@keyframes shimmerGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Ambient Backlight Halo Glow */
.pricing-card.featured::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 15%, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.03) 60%, transparent 80%);
  z-index: -1;
  pointer-events: none;
  filter: blur(8px);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-3px);
  box-shadow: 
    0 0 0 5px rgba(16, 185, 129, 0.28),
    0 35px 70px -15px rgba(16, 62, 50, 0.35),
    0 0 45px -5px rgba(16, 185, 129, 0.35);
}

/* Floating "Most Popular • Best Value" Badge */
.pricing-card.featured .popular-tag {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #064E3B 0%, #059669 55%, #10B981 100%);
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.42rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 
    0 4px 18px rgba(16, 62, 50, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  z-index: 10;
  animation: badgeGlowPulse 3s ease-in-out infinite;
}

@keyframes badgeGlowPulse {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(16, 62, 50, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 0 0 0 rgba(16, 185, 129, 0.45);
  }
  50% {
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 0 0 5px rgba(16, 185, 129, 0.2);
  }
}

.popular-tag .pulse-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  display: inline-block;
  animation: dotPulse 1.8s infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.popular-tag svg {
  color: #FDE047;
  filter: drop-shadow(0 0 4px rgba(250, 204, 21, 0.65));
}

/* Feature Checklist Alignment & Uniform Circle Badges */
.pricing-features {
  list-style: none;
  margin: 1.75rem 0 2.5rem;
  flex-grow: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: #1E293B;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0;
}

.pricing-features li::before {
  content: "";
  display: inline-flex;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  background-color: #ECFDF5;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* Growth Card Checkmarks - Solid Emerald Circles with White Ticks */
.pricing-card.featured .pricing-features li::before {
  background-color: #059669;
  border-color: #059669;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.28);
}

/* Feature Badges in Checklist */
.pricing-features li .feature-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-left: auto;
  white-space: nowrap;
}

.pricing-features li .feature-badge.highlight {
  background: rgba(245, 158, 11, 0.12);
  color: #B45309;
  border-color: rgba(245, 158, 11, 0.3);
}

.pricing-features li .feature-badge.new {
  background: rgba(99, 102, 241, 0.12);
  color: #4F46E5;
  border-color: rgba(99, 102, 241, 0.25);
}

/* Growth Card CTA Button Pop */
.pricing-card.featured .btn-primary {
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #10B981 100%);
  box-shadow: 0 6px 20px -2px rgba(16, 185, 129, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  padding: 0.95rem 1.75rem;
  transition: all 0.25s ease;
}

.pricing-card.featured .btn-primary:hover {
  background: linear-gradient(135deg, #065F46 0%, #047857 50%, #059669 100%);
  box-shadow: 0 10px 28px -2px rgba(16, 185, 129, 0.6);
  transform: translateY(-2px);
}

/* Mobile & Tablet Stacking */
@media (max-width: 992px) {
  .pricing-card.featured {
    transform: none;
    margin: 1.5rem 0;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
}

/* ==========================================================================
   UPGRADE 3: FAQ ACCORDION & CATEGORY FILTERING
   ========================================================================== */
.faq-category-pills {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.faq-cat-pill {
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.faq-cat-pill:hover, .faq-cat-pill.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(16, 185, 129, 0.4);
}

.faq-accordion-item {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.faq-accordion-item:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 6px 16px -2px rgba(16, 62, 50, 0.07);
}

.faq-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  transition: color 0.2s ease;
}

.faq-accordion-btn:hover {
  color: var(--primary);
}

.faq-btn-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.faq-btn-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.faq-category-tag {
  font-size: 0.725rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  background: rgba(16, 62, 50, 0.06);
  color: var(--primary);
  border: 1px solid rgba(16, 62, 50, 0.12);
}

.faq-chevron {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.faq-accordion-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-accordion-item.open .faq-accordion-body {
  max-height: 400px;
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.35rem 3.65rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .faq-answer-inner {
    padding-left: 1.5rem;
  }
  .faq-btn-right .faq-category-tag {
    display: none;
  }
}

/* ==========================================================================
   UPGRADE 4: INTERACTIVE ELEMENTS & SLIDING ARROW CTA
   ========================================================================== */
.btn-slide-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-slide-icon .btn-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-slide-icon:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================

   UPGRADE 5: INTERACTIVE TOUR TABS, FEATURE PILLAR CARDS & GROWTH BADGING

   ========================================================================== */



/* Product Showcase Tour Tabs Container */

.tour-tabs-container {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 0.55rem;

  flex-wrap: wrap;

  margin: 0 auto 2.25rem;

  padding: 0.45rem;

  background: rgba(241, 245, 249, 0.7);

  border: 1px solid rgba(226, 232, 240, 0.95);

  border-radius: 9999px;

  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);

  max-width: fit-content;

}



@media (max-width: 900px) {

  .tour-tabs-container {

    border-radius: 16px;

  }

}



/* Feature Grid Cards - Core Platform Pillars (Everything Your Business Needs) */

.pillar-card {

  position: relative;

  overflow: hidden;

  background: #FFFFFF;

  border: 1px solid #E2E8F0;

  border-radius: 16px;

  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.03);

  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);

}



.pillar-card::before {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 3px;

  background: linear-gradient(90deg, #103E32 0%, #10B981 50%, #8D7948 100%);

  opacity: 0;

  transition: opacity 0.35s ease;

}



.pillar-card:hover {

  transform: translateY(-8px);

  border-color: rgba(16, 185, 129, 0.45);

  box-shadow: 0 20px 35px -8px rgba(16, 62, 50, 0.14), 0 10px 15px -3px rgba(15, 23, 42, 0.04);

}



.pillar-card:hover::before {

  opacity: 1;

}



.pillar-card .feature-icon-box {

  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);

}



.pillar-card:hover .feature-icon-box {

  background: linear-gradient(135deg, #103E32 0%, #059669 100%);

  color: #FFFFFF;

  transform: translateY(-3px) scale(1.05);

  box-shadow: 0 10px 20px -3px rgba(16, 62, 50, 0.28);

}



.pillar-card .pillar-link {

  color: var(--primary);

  font-weight: 700;

  font-size: 0.925rem;

  display: inline-flex;

  align-items: center;

  gap: 0.35rem;

  margin-top: auto;

  transition: all 0.25s ease;

}



.pillar-card .pillar-link .arrow-slide {

  display: inline-block;

  transition: transform 0.25s ease;

}



.pillar-card:hover .pillar-link {

  color: #059669;

}



.pillar-card:hover .pillar-link .arrow-slide {

  transform: translateX(5px);

}



/* Footer & Reference Growth Plan Highlight */

.footer-highlight-plan {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.footer-highlight-plan:hover {
  color: #34D399 !important;
  transform: translateX(2px);
}

.footer-plan-tag {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
  line-height: 1.1;
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   Contact Page Layout & Icon Constraints
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-info-card {
  background: var(--light-surface, #FFFFFF);
  border: 1px solid var(--light-border, #E2E8F0);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.contact-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.12);
  color: var(--primary, #25D366);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.contact-icon svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block !important;
  stroke: currentColor;
}

/* Form inputs for Demo and Contact forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 0.45rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0F172A;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

textarea.form-input {
  resize: vertical;
  min-height: 90px;
}







/* ==========================================================================
   STAGING & REVIEWER ACCESS MODAL
   ========================================================================== */
.staging-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.staging-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.staging-modal-card {
  background: #FFFFFF;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
  color: #1E293B;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.staging-modal-overlay.active .staging-modal-card {
  transform: translateY(0) scale(1);
}

.staging-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #F1F5F9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.2s ease;
}

.staging-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.staging-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.12);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}


/* ==========================================================================
   64-FEATURE BREAKDOWN CARD & INTERACTIVE MODAL
   ========================================================================== */
.feature-breakdown-card {
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 3.25rem 3rem;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  margin-top: 4.5rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.feature-breakdown-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.feature-areas-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.area-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.area-pill:hover {
  border-color: #10B981;
  background: #F0FDF4;
  color: #065F46;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
}

/* Feature Modal Overlay */
.feature-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.feature-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.feature-modal-card {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 1140px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.45);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(226, 232, 240, 0.95);
  overflow: hidden;
}

.feature-modal-overlay.active .feature-modal-card {
  transform: translateY(0) scale(1);
}

.feature-modal-header {
  padding: 1.75rem 2.25rem 1.25rem;
  border-bottom: 1px solid #E2E8F0;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  position: relative;
  flex-shrink: 0;
}

.feature-modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.feature-modal-close {
  background: #F1F5F9;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: #64748B;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.feature-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.feature-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 380px;
}

.feature-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
  color: #0F172A;
}

.feature-search-input:focus {
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.feature-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  pointer-events: none;
}

.feature-tabs-bar {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 2px;
  max-width: 100%;
}

.feature-tab-btn {
  padding: 0.45rem 0.95rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.feature-tab-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.feature-tab-btn.active {
  background: #103e32;
  color: #FFFFFF;
  border-color: #103e32;
}

.feature-modal-body {
  padding: 1.75rem 2.25rem;
  overflow-y: auto;
  flex: 1;
  background: #FAFAFA;
}

.feature-modal-footer {
  padding: 1.25rem 2.25rem;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .feature-breakdown-card {
    padding: 2rem 1.5rem;
  }
  .feature-modal-header,
  .feature-modal-body,
  .feature-modal-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
