/* ==========================================================================
   DRCLINIC & WHAPP - PREMIUM STYLESHEET
   Aesthetics: Modern SaaS, Glassmorphic Highlights, High-Contrast Typography,
   Dual-Theme Engine (Light Medical vs Dark Neon Cyber)
   ========================================================================== */

:root {
  /* Brand Palettes */
  --crm-blue: #0284c7;
  --crm-blue-dark: #0369a1;
  --crm-blue-light: #e0f2fe;
  --crm-accent: #0ea5e9;
  
  --whapp-neon: #00d26a;
  --whapp-neon-glow: rgba(0, 210, 106, 0.35);
  --whapp-dark: #0d1615;
  --whapp-surface: #132220;
  --whapp-border: #1d3632;
  --whapp-purple: #6c5dd3;
  --whapp-purple-glow: rgba(108, 93, 211, 0.4);

  /* Primary Surfaces */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-border: rgba(255, 255, 255, 0.08);

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;

  /* Accent & Gradients */
  --gradient-combo: linear-gradient(135deg, #0284c7 0%, #00d26a 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.15) 0%, rgba(0, 210, 106, 0.08) 50%, transparent 100%);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-neon: 0 0 25px rgba(0, 210, 106, 0.3);
}

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

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

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(0, 210, 106, 0.07) 0%, transparent 50%),
              var(--bg-primary);
  min-height: 100vh;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-card-border);
  transition: all 0.3s ease;
}

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

.brand-combo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon-crm {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.brand-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
}

.logo-icon-whapp {
  width: 36px;
  height: 36px;
  background: #00d26a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d1615;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(0, 210, 106, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title .highlight-blue {
  color: #38bdf8;
}

.brand-title .highlight-green {
  color: #00d26a;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  outline: none;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--gradient-combo);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 210, 106, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 106, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-admin {
  background: rgba(2, 132, 199, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.btn-admin:hover {
  background: rgba(2, 132, 199, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00d26a;
  box-shadow: 0 0 10px #00d26a;
  animation: pulseDot 2s infinite;
}

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

.hero-title {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 65%, #00d26a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px;
}

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

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 800px;
  margin: 0 auto;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-display);
}

.stat-label {
  font-size: 12px;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   INTERACTIVE DUAL SHOWCASE (DRCLINIC CRM vs WHAPP AUTOMATION)
   ========================================================================== */
.showcase-section {
  padding: 60px 0 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(2, 132, 199, 0.12);
  color: #38bdf8;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Showcase Mode Switcher */
.showcase-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  background: rgba(15, 23, 42, 0.8);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--bg-card-border);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.showcase-tab-btn.active-crm {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.showcase-tab-btn.active-whapp {
  background: #00d26a;
  color: #091310;
  box-shadow: 0 4px 18px rgba(0, 210, 106, 0.4);
}

.showcase-tab-btn.active-synergy {
  background: var(--gradient-combo);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.4);
}

/* Showcase Screen Frame */
.showcase-frame {
  background: #0f172a;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.frame-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #090e1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dots {
  display: flex;
  gap: 7px;
}

.browser-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.browser-url-pill {
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

.browser-status-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.status-crm {
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
}

.status-whapp {
  background: rgba(0, 210, 106, 0.15);
  color: #00d26a;
}

/* ==========================================================================
   VIEW 1: DRCLINIC CRM UI (EXACT REPLICA OF SCREENSHOT 1 - WHITE THEME)
   ========================================================================== */
.crm-white-view {
  background: #f8fafc;
  color: #1e293b;
  min-height: 680px;
  display: flex;
  flex-direction: column;
}

.crm-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.crm-brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0284c7;
}

.crm-brand-logo svg {
  color: #0284c7;
}

.crm-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 6px 18px;
  width: 380px;
  font-size: 13px;
  color: #64748b;
}

.crm-search-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
}

.crm-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.crm-btn-plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0284c7;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}

.crm-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ec4899;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.crm-body-layout {
  display: flex;
  flex: 1;
}

.crm-sidebar {
  width: 200px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  padding: 16px 8px;
}

.crm-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 3px;
}

.crm-menu-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.crm-menu-item.active {
  background: #0284c7;
  color: #ffffff;
  font-weight: 600;
}

.crm-menu-item.active svg {
  stroke: #ffffff;
}

.crm-content-area {
  flex: 1;
  padding: 20px 24px;
  background: #f8fafc;
  overflow-x: auto;
}

.crm-breadcrumb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.crm-breadcrumb {
  font-size: 12px;
  color: #0284c7;
  font-weight: 600;
}

.crm-breadcrumb span {
  color: #64748b;
}

.crm-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.crm-page-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.crm-btn-create {
  background: #0284c7;
  color: white;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.crm-btn-create:hover {
  background: #0369a1;
}

/* CRM Filter Bar */
.crm-filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.crm-filter-dropdowns {
  display: flex;
  gap: 12px;
}

.crm-select-pill {
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #334155;
  background: #ffffff;
  cursor: pointer;
}

.crm-view-toggles {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crm-icon-toggle {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
}

.crm-icon-toggle.active {
  background: #f1f5f9;
  color: #0284c7;
  border-color: #0284c7;
}

/* CRM Calendar View */
.crm-calendar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.crm-time-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.crm-time-tab {
  cursor: pointer;
  padding-bottom: 4px;
}

.crm-time-tab.active {
  color: #0f172a;
  font-weight: 700;
  border-bottom: 2px solid #0f172a;
}

.crm-week-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  background: #e2e8f0;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.crm-nav-arrow {
  cursor: pointer;
  font-size: 16px;
  color: #475569;
}

/* Calendar Grid */
.crm-grid-table {
  width: 100%;
  border-collapse: collapse;
}

.crm-grid-header th {
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #f1f5f9;
  text-align: center;
}

.crm-grid-header th.highlight-today {
  background: #f0fdf4;
  color: #166534;
}

.crm-grid-body td {
  border-bottom: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  padding: 10px 8px;
  font-size: 12px;
  height: 48px;
  vertical-align: top;
}

.crm-time-col {
  width: 60px;
  text-align: right;
  color: #94a3b8;
  font-size: 11px;
  background: #fafafa;
}

.crm-cell-event {
  background: #eff6ff;
  border-left: 3px solid #0284c7;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: #1e3a8a;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.crm-cell-event:hover {
  transform: scale(1.02);
}

.crm-today-col {
  background: rgba(240, 253, 244, 0.4);
}

.crm-footer-brand {
  padding: 12px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

/* ==========================================================================
   VIEW 2: WHAPP AUTOMATION UI (EXACT REPLICA OF SCREENSHOT 2 - DARK NEON)
   ========================================================================== */
.whapp-dark-view {
  background: #091311;
  color: #e2e8f0;
  min-height: 680px;
  display: flex;
  flex-direction: column;
}

.whapp-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #070e0d;
  border-bottom: 1px solid #142823;
}

.whapp-brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: #00d26a;
  letter-spacing: -0.02em;
}

.whapp-quick-find {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0d1a17;
  border: 1px solid #1c3630;
  border-radius: 8px;
  padding: 6px 16px;
  width: 320px;
  font-size: 13px;
  color: #64748b;
}

.whapp-quick-find input {
  background: transparent;
  border: none;
  outline: none;
  color: #f8fafc;
  font-size: 13px;
}

.whapp-top-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.waba-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 210, 106, 0.12);
  color: #00d26a;
  border: 1px solid rgba(0, 210, 106, 0.25);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.whapp-badge-pill {
  padding: 5px 10px;
  background: #0d1a17;
  border: 1px solid #1c3630;
  border-radius: 6px;
  font-size: 12px;
  color: #94a3b8;
  cursor: pointer;
}

.whapp-avatar-badge {
  width: 30px;
  height: 30px;
  background: #00d26a;
  color: #070e0d;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whapp-body-layout {
  display: flex;
  flex: 1;
}

/* Left Sidebar */
.whapp-sidebar {
  width: 210px;
  background: #070e0d;
  border-right: 1px solid #142823;
  padding: 16px 10px;
  font-size: 13px;
}

.whapp-sidebar-section-title {
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 10px 4px;
}

.whapp-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #94a3b8;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.whapp-nav-item:hover {
  background: #0e1e1a;
  color: #ffffff;
}

.whapp-nav-item.active {
  background: #00d26a;
  color: #070e0d;
  font-weight: 700;
}

/* Center Canvas */
.whapp-canvas-area {
  flex: 1;
  background: #0a1412;
  background-image: radial-gradient(rgba(0, 210, 106, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 20px;
  position: relative;
  overflow: auto;
}

.flow-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0e1d19;
  border: 1px solid #1b352e;
  border-radius: 10px;
  padding: 8px 16px;
  margin-bottom: 24px;
}

.flow-title-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.flow-badge {
  background: #152d26;
  color: #00d26a;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
}

.btn-publish {
  background: #152d26;
  color: #00d26a;
  border: 1px solid #00d26a;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Automation Card */
.activation-node-card {
  max-width: 520px;
  margin: 0 auto;
  background: #0e1b18;
  border: 1px solid #1d3831;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.node-header {
  background: #6c5dd3;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.node-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.node-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.node-body {
  padding: 20px;
}

.node-section-label {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.node-section-label span {
  color: #ef4444;
}

/* Activation Methods Grid */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.method-card {
  background: #07110f;
  border: 1px solid #162c26;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

.method-card:hover {
  border-color: #2e594d;
  color: #ffffff;
}

.method-card.active-partial {
  border: 2px solid #6c5dd3;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(108, 93, 211, 0.35);
  background: rgba(108, 93, 211, 0.08);
}

.method-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0d1e1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00d26a;
}

.method-card.active-partial .method-icon-circle {
  background: #6c5dd3;
  color: white;
}

/* Phrases Input Area */
.phrases-container {
  margin-top: 10px;
}

.phrases-helper {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 10px;
  font-style: italic;
}

.phrases-input-row {
  display: flex;
  gap: 10px;
}

.phrase-input {
  flex: 1;
  background: #07110f;
  border: 1px solid #162c26;
  border-radius: 8px;
  padding: 10px 14px;
  color: white;
  font-size: 13px;
  outline: none;
}

.phrase-input:focus {
  border-color: #6c5dd3;
}

.phrase-btn-add {
  background: #6c5dd3;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.15s;
}

.phrase-btn-add:hover {
  transform: scale(1.05);
}

.phrases-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.phrase-tag {
  background: rgba(108, 93, 211, 0.15);
  border: 1px solid rgba(108, 93, 211, 0.35);
  color: #a78bfa;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.phrase-tag-remove {
  cursor: pointer;
  font-size: 14px;
}

/* Right Toolkit */
.whapp-toolkit {
  width: 220px;
  background: #070e0d;
  border-left: 1px solid #142823;
  padding: 16px 12px;
}

.toolkit-header {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toolkit-search {
  background: #0d1a17;
  border: 1px solid #1c3630;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  color: white;
  width: 100%;
  margin-bottom: 14px;
  outline: none;
}

.toolkit-category-title {
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  margin: 10px 0 6px;
}

.toolkit-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.toolkit-item {
  background: #0c1815;
  border: 1px solid #183029;
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  cursor: grab;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.toolkit-item:hover {
  border-color: #00d26a;
  color: white;
  transform: translateY(-2px);
}

.toolkit-item svg {
  color: #00d26a;
}

/* ==========================================================================
   VIEW 3: CLINIC + WHATSAPP SYNERGY (THE COMBO EXPERIENCE)
   ========================================================================== */
.synergy-view {
  background: linear-gradient(180deg, #0f172a 0%, #060b13 100%);
  padding: 40px 30px;
}

.synergy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.synergy-step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: all 0.25s ease;
}

.synergy-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 106, 0.3);
  box-shadow: 0 10px 30px rgba(0, 210, 106, 0.1);
}

.synergy-step-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.synergy-step-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.synergy-step-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.synergy-mock-snippet {
  background: #080d14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
}

.mock-whatsapp-msg {
  background: #054740;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.mock-btn-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 4px;
}

/* ==========================================================================
   LIVE WHATSAPP CHAT SIMULATOR & ROI CALCULATOR SECTION
   ========================================================================== */
.interactive-section {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .interactive-grid {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp Phone Mockup */
.phone-mockup {
  max-width: 380px;
  margin: 0 auto;
  background: #000000;
  border-radius: 42px;
  border: 10px solid #1e293b;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.phone-screen {
  background: #0b141a;
  min-height: 540px;
  display: flex;
  flex-direction: column;
}

.phone-header {
  background: #1f2c34;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.phone-name {
  font-size: 13px;
  font-weight: 700;
  color: #e9edef;
}

.phone-verified-tick {
  color: #00d26a;
  font-size: 12px;
}

.phone-status {
  font-size: 11px;
  color: #00d26a;
}

.chat-history {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 12px 12px;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  position: relative;
}

.chat-bot {
  align-self: flex-start;
  background: #202c33;
  color: #e9edef;
  border-top-left-radius: 2px;
}

.chat-user {
  align-self: flex-end;
  background: #005c4b;
  color: #e9edef;
  border-top-right-radius: 2px;
}

.chat-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  margin-top: 4px;
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.chat-action-btn {
  background: #2a3942;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #00d26a;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chat-action-btn:hover {
  background: #005c4b;
  color: white;
}

.chat-input-bar {
  background: #1f2c34;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input {
  flex: 1;
  background: #2a3942;
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  color: white;
  outline: none;
}

.chat-btn-send {
  background: #00a884;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ROI Calculator Card */
.roi-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.roi-card-header {
  margin-bottom: 24px;
}

.roi-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.roi-slider-group {
  margin-bottom: 22px;
}

.roi-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.roi-slider-label span.value {
  color: #38bdf8;
  font-weight: 800;
}

.slider-input {
  width: 100%;
  accent-color: #00d26a;
  height: 6px;
  background: #1e293b;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.roi-results-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(0, 210, 106, 0.12) 100%);
  border: 1px solid rgba(0, 210, 106, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}

.roi-saved-amount {
  font-size: 38px;
  font-weight: 800;
  color: #00d26a;
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.roi-saved-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   PRICING & SUBSCRIPTIONS SECTION (RAZORPAY INTEGRATED)
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
  position: relative;
}

.billing-cycle-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.cycle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.cycle-label.active {
  color: #ffffff;
}

.toggle-track {
  width: 54px;
  height: 28px;
  background: #1e293b;
  border-radius: var(--radius-full);
  padding: 3px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  position: relative;
}

.toggle-indicator {
  width: 22px;
  height: 22px;
  background: #00d26a;
  border-radius: 50%;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.toggle-track.yearly .toggle-indicator {
  transform: translateX(26px);
}

.discount-pill {
  background: rgba(0, 210, 106, 0.15);
  color: #00d26a;
  border: 1px solid rgba(0, 210, 106, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}

/* Pricing Cards Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured-bundle {
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.12) 0%, rgba(0, 210, 106, 0.08) 100%), var(--bg-card);
  border: 2px solid #00d26a;
  box-shadow: 0 15px 40px rgba(0, 210, 106, 0.15);
  transform: scale(1.03);
}

.pricing-card.featured-bundle:hover {
  transform: scale(1.05) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #00d26a;
  color: #091310;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 210, 106, 0.4);
}

.plan-header {
  margin-bottom: 20px;
}

.plan-type-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-drclinic {
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
}

.icon-whapp {
  background: rgba(0, 210, 106, 0.15);
  color: #00d26a;
}

.icon-bundle {
  background: var(--gradient-combo);
  color: white;
}

.plan-name {
  font-size: 22px;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 40px;
}

.plan-pricing-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-currency {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.plan-price-num {
  font-size: 42px;
  font-weight: 800;
  font-family: var(--font-display);
  color: #ffffff;
}

.plan-period {
  font-size: 13px;
  color: var(--text-sub);
}

.plan-features-list {
  list-style: none;
  margin-bottom: 30px;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 12px;
  line-height: 1.4;
}

.feature-check {
  color: #00d26a;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-cta-btn {
  width: 100%;
}

.razorpay-guarantee-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 12px;
}

/* ==========================================================================
   CHECKOUT MODAL & RAZORPAY INTEGRATION
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.checkout-modal-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: white;
}

.modal-body {
  padding: 24px;
}

.order-summary-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-plan-name {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
}

.summary-cycle {
  font-size: 12px;
  color: var(--text-muted);
}

.summary-amount {
  font-size: 22px;
  font-weight: 800;
  color: #00d26a;
  font-family: var(--font-display);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input {
  width: 100%;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: white;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: #00d26a;
}

.checkout-pay-btn {
  width: 100%;
  margin-top: 14px;
}

.gateway-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-sub);
}

.rzp-badge-pill {
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

/* ==========================================================================
   SUCCESS & LICENSE ACTIVATION MODAL
   ========================================================================== */
.success-modal-content {
  text-align: center;
  padding: 32px 24px;
}

.success-icon-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 210, 106, 0.15);
  border: 2px solid #00d26a;
  color: #00d26a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.license-key-box {
  background: #070e17;
  border: 1px dashed #00d26a;
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 20px 0;
}

.license-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.license-code {
  font-family: monospace;
  font-size: 20px;
  font-weight: 800;
  color: #00d26a;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #05080e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #00d26a;
}

.footer-bottom-bar {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-sub);
}
