/* ==========================================================================
   AVYRRO — Component Styles & Rich SaaS UI Modules
   ========================================================================== */

/* 1. Announcement Bar */
.announcement-bar {
  background: #0B0F19;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 60;
  transition: all var(--transition-normal);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  text-align: center;
}

.announcement-tag {
  background: rgba(84, 82, 246, 0.2);
  color: #A5B4FC;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(84, 82, 246, 0.3);
}

.announcement-text {
  color: #E2E8F0;
}

.announcement-link {
  color: #818CF8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  transition: color var(--transition-fast);
}

.announcement-link:hover {
  color: #C7D2FE;
  text-decoration: underline;
}

/* 2. Sticky Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border-bottom-color: var(--border-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  transition: height var(--transition-normal);
}

.site-header.scrolled .nav-container {
  height: 62px;
}

/* Brand Logo Lockup */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
}

.brand-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.brand-submark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-submark-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 3px;
}

.brand-submark-text strong {
  color: var(--brand-600);
  font-weight: 700;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-600);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.nav-sign-in {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-sign-in:hover {
  color: var(--brand-600);
  background-color: var(--slate-100);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--white);
  gap: 5px;
  padding: 8px;
}

.mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--slate-800);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + var(--announcement-height));
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  background: var(--white);
  padding: 24px;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-20px);
  transition: transform var(--transition-normal);
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateY(0);
}

.mobile-drawer-link {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-800);
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: 60px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 52px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw + 1rem, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--slate-900);
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #5452F6 0%, #4338CA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.125rem, 1.2vw + 0.5rem, 1.3125rem);
  color: var(--slate-600);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 36px;
}

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

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--slate-500);
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta-badge .bytestream-pill {
  font-weight: 700;
  color: var(--slate-800);
  background: var(--slate-100);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.hero-meta-badge .bytestream-pill:hover {
  background: var(--brand-50);
  color: var(--brand-600);
  border-color: var(--brand-300);
  transform: translateY(-1px);
}

.bytestream-link {
  color: #A5B4FC;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.bytestream-link:hover {
  color: #FFFFFF;
}

.link-brand {
  color: var(--brand-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.link-brand:hover {
  color: var(--brand-800);
}


/* Hero Dashboard Showcase Mockup */
.hero-dashboard-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.8) 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.15), 0 18px 36px -18px rgba(84, 82, 246, 0.15);
}

.hero-dashboard-frame {
  background: #FFFFFF;
  border-radius: calc(var(--radius-xl) - 4px);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Dashboard Topbar */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--slate-900);
  color: var(--white);
  border-bottom: 1px solid var(--slate-800);
}

.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dash-window-dots {
  display: flex;
  gap: 6px;
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-dot.red { background-color: #EF4444; }
.dash-dot.yellow { background-color: #F59E0B; }
.dash-dot.green { background-color: #10B981; }

.dash-org-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(37, 211, 102, 0.15);
  color: #34D399;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.dash-balance-pill {
  font-size: 0.75rem;
  color: var(--slate-400);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.dash-balance-pill strong {
  color: var(--white);
}

/* Dashboard Body & KPI Metric Strip */
.dash-body {
  padding: 20px;
  background: #F8FAFC;
}

.dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.kpi-card {
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast);
}

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

.kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.kpi-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.kpi-delta {
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.kpi-delta.positive {
  color: #059669;
}

/* Dashboard Main Split Content */
.dash-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}

.dash-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.dash-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-100);
  background: #FFFFFF;
}

.dash-panel-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-panel-body {
  padding: 18px;
}

/* Campaign Tracker Component inside Dashboard */
.active-campaign-card {
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 16px;
}

.camp-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.camp-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--slate-900);
}

.camp-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(84, 82, 246, 0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}

.camp-progress-fill {
  height: 100%;
  width: 98.4%;
  background: var(--brand-gradient);
  border-radius: var(--radius-full);
}

.camp-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.camp-stat-box {
  background: var(--white);
  padding: 8px 6px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(84, 82, 246, 0.15);
}

.camp-stat-num {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--slate-900);
}

.camp-stat-label {
  font-size: 0.6875rem;
  color: var(--slate-500);
  text-transform: uppercase;
}

/* Live Inbox Preview Component */
.inbox-preview-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inbox-msg-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-100);
  background: var(--slate-50);
  transition: all var(--transition-fast);
}

.inbox-msg-item.active {
  background: #FFFFFF;
  border-color: var(--brand-200);
  box-shadow: 0 2px 8px rgba(84, 82, 246, 0.08);
}

.inbox-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.inbox-msg-content {
  flex: 1;
  min-width: 0;
}

.inbox-msg-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2px;
}

.inbox-user-name {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--slate-800);
}

.inbox-msg-time {
  font-size: 0.6875rem;
  color: var(--slate-400);
}

.inbox-snippet {
  font-size: 0.75rem;
  color: var(--slate-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   4. PRODUCT SHOWCASE TABS SECTION
   ========================================================================== */

.showcase-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-normal);
}

.showcase-tab-btn:hover {
  color: var(--slate-900);
  background: var(--slate-200);
}

.showcase-tab-btn.active {
  background: var(--brand-600);
  color: var(--white);
  border-color: var(--brand-600);
  box-shadow: 0 4px 14px rgba(84, 82, 246, 0.3);
}

.showcase-display-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.showcase-tab-pane {
  display: none;
  animation: fadeIn 300ms ease;
}

.showcase-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   5. TRUST & CREDIBILITY SECTION
   ========================================================================== */

.trust-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-pillar-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}

.trust-pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--brand-100);
}

.trust-pillar-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.trust-pillar-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ==========================================================================
   6. PROBLEM → SOLUTION SECTION
   ========================================================================== */

.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.problem-card {
  background: #FFF5F5;
  border: 1px solid #FED7D7;
  border-radius: var(--radius-xl);
  padding: 40px;
}

.solution-card {
  background: #F0F4FF;
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.ps-header {
  margin-bottom: 28px;
}

.ps-title {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.problem-card .ps-title { color: #9B1C1C; }
.solution-card .ps-title { color: #1E1B4B; }

.ps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ps-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ps-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-card .ps-icon {
  background: #FDE8E8;
  color: #E02424;
}

.solution-card .ps-icon {
  background: var(--brand-600);
  color: var(--white);
}

.ps-item-text {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.problem-card .ps-item-text { color: #771D1D; }
.solution-card .ps-item-text { color: #312E81; font-weight: 500; }

/* Visual Flow Pipeline in Solution */
.solution-pipeline-flow {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(84, 82, 246, 0.2);
}

.pipeline-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-700);
  margin-bottom: 14px;
}

.pipeline-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pipeline-node {
  background: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
  box-shadow: var(--shadow-xs);
}

.pipeline-arrow {
  color: var(--brand-400);
  font-weight: bold;
}

/* ==========================================================================
   7. CORE CAPABILITIES (6 Grid Blocks)
   ========================================================================== */

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.capability-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-400);
  box-shadow: var(--shadow-card-hover);
}

.cap-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--brand-100);
  transition: all var(--transition-normal);
}

.capability-card:hover .cap-icon-box {
  background: var(--brand-600);
  color: var(--white);
  transform: scale(1.05);
}

.cap-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.cap-desc {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.cap-tags-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cap-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-600);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   8. CAMPAIGNS SHOWCASE SECTION
   ========================================================================== */

.campaigns-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.campaign-steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.camp-step-item {
  display: flex;
  gap: 16px;
}

.camp-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--brand-200);
}

.camp-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.camp-step-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
}

/* Campaign Builder Mockup UI */
.campaign-builder-mockup {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.cb-top {
  background: var(--slate-900);
  padding: 14px 20px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cb-body {
  padding: 24px;
}

.cb-form-group {
  margin-bottom: 16px;
}

.cb-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  margin-bottom: 6px;
}

.cb-input-pill {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-800);
}

.cb-preview-bubble {
  background: #E7FFDB;
  border: 1px solid #C3E6CB;
  border-radius: 12px 12px 0 12px;
  padding: 16px;
  font-size: 0.875rem;
  color: #1E293B;
  line-height: 1.5;
  margin-top: 12px;
  box-shadow: var(--shadow-xs);
  position: relative;
}

.cb-var-pill {
  background: rgba(84, 82, 246, 0.15);
  color: var(--brand-700);
  padding: 1px 6px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.8125rem;
}

.cb-cta-preview-btn {
  display: block;
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid #C3E6CB;
  border-radius: var(--radius-xs);
  text-align: center;
  font-weight: 600;
  color: #059669;
  font-size: 0.8125rem;
}

/* ==========================================================================
   9. SHARED INBOX SECTION
   ========================================================================== */

.inbox-full-mockup {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr 260px;
  height: 540px;
}

.inbox-col-sidebar {
  border-right: 1px solid var(--slate-200);
  background: #FAFAFC;
  display: flex;
  flex-direction: column;
}

.inbox-sidebar-search {
  padding: 12px;
  border-bottom: 1px solid var(--slate-200);
}

.inbox-sidebar-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  font-size: 0.8125rem;
}

.inbox-threads-container {
  overflow-y: auto;
  flex: 1;
}

.inbox-thread-row {
  padding: 14px;
  border-bottom: 1px solid var(--slate-100);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.inbox-thread-row:hover {
  background: var(--slate-100);
}

.inbox-thread-row.active {
  background: #FFFFFF;
  border-left: 3px solid var(--brand-600);
}

.inbox-col-chat {
  display: flex;
  flex-direction: column;
  background: #ECE5DD;
  position: relative;
  background-image: radial-gradient(#D4CDC4 1px, transparent 1px);
  background-size: 16px 16px;
}

.inbox-chat-header {
  padding: 12px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inbox-chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.chat-bubble.inbound {
  background: var(--white);
  align-self: flex-start;
  border-top-left-radius: 2px;
  color: var(--slate-900);
}

.chat-bubble.outbound {
  background: #DCF8C6;
  align-self: flex-end;
  border-top-right-radius: 2px;
  color: var(--slate-900);
}

.chat-bubble-time {
  font-size: 0.65rem;
  color: var(--slate-400);
  text-align: right;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.inbox-chat-footer {
  padding: 12px;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  gap: 8px;
}

.inbox-chat-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  font-size: 0.875rem;
}

.inbox-col-details {
  border-left: 1px solid var(--slate-200);
  background: var(--white);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.customer-detail-box {
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 14px;
}

.customer-detail-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 4px;
}

.customer-detail-val {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-800);
}

/* ==========================================================================
   10. AUTOMATION WORKFLOW SECTION
   ========================================================================== */

.automation-workflow-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  margin-top: 40px;
}

.workflow-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.wf-node {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  padding: 16px 22px;
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  transition: all var(--transition-normal);
}

.wf-node:hover {
  border-color: var(--brand-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.wf-node-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.wf-node.trigger .wf-node-icon { background: #FEF3C7; color: #D97706; }
.wf-node.condition .wf-node-icon { background: #E0E7FF; color: var(--brand-600); }
.wf-node.action .wf-node-icon { background: #D1FAE5; color: #059669; }

.wf-node-content {
  flex: 1;
}

.wf-node-type {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
}

.wf-node-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
}

.wf-node-sub {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.wf-connector-line {
  width: 2px;
  height: 28px;
  background: var(--slate-300);
  position: relative;
}

.wf-connector-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--slate-400);
  border-radius: 50%;
}

/* Preset Switcher */
.automation-presets-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.preset-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  transition: all var(--transition-fast);
}

.preset-btn.active,
.preset-btn:hover {
  background: var(--brand-600);
  color: var(--white);
  border-color: var(--brand-600);
}

/* ==========================================================================
   11. AI ASSISTANCE SECTION
   ========================================================================== */

.ai-playground-card {
  background: linear-gradient(180deg, #111827 0%, #0B0F19 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.ai-playground-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
}

.ai-prompts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-prompt-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--slate-200);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  transition: all var(--transition-fast);
}

.ai-prompt-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-400);
  color: var(--white);
}

.ai-prompt-btn.active {
  background: rgba(84, 82, 246, 0.25);
  border-color: var(--brand-500);
  color: var(--white);
  box-shadow: 0 0 16px rgba(84, 82, 246, 0.3);
}

.ai-output-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #A5B4FC;
}

.ai-output-content {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #F1F5F9;
  min-height: 110px;
}

/* ==========================================================================
   12. HOW AVYRRO WORKS (Timeline)
   ========================================================================== */

.timeline-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.timeline-step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  position: relative;
  transition: all var(--transition-normal);
}

.timeline-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-400);
  box-shadow: var(--shadow-md);
}

.step-num-badge {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 14px;
  border: 1px solid var(--brand-100);
}

.step-card-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.step-card-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ==========================================================================
   13. SECURITY & RELIABILITY (Dark Theme)
   ========================================================================== */

.security-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.security-card {
  background: var(--bg-dark-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  padding: 30px;
  transition: all var(--transition-normal);
}

.security-card:hover {
  border-color: var(--brand-500);
  background: var(--bg-dark-card);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sec-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(84, 82, 246, 0.12);
  color: #818CF8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(84, 82, 246, 0.25);
}

.sec-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.sec-desc {
  font-size: 0.875rem;
  color: var(--slate-400);
  line-height: 1.6;
}

/* ==========================================================================
   14. USE CASES SECTION
   ========================================================================== */

.usecases-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.usecase-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-fast);
}

.usecase-tab-btn:hover {
  color: var(--slate-900);
  background: var(--slate-200);
}

.usecase-tab-btn.active {
  background: var(--brand-600);
  color: var(--white);
  border-color: var(--brand-600);
}

.usecase-pane-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.usecase-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.usecase-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--slate-700);
  font-weight: 500;
}

/* ==========================================================================
   15. FINAL CTA SECTION
   ========================================================================== */

.cta-banner-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #0B0F19 100%);
  border-radius: var(--radius-2xl);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
}

.cta-banner-title {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 18px;
}

.cta-banner-sub {
  font-size: clamp(1.0625rem, 1.2vw + 0.4rem, 1.25rem);
  color: var(--slate-300);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta-banner-brand-note {
  font-size: 0.8125rem;
  color: var(--slate-400);
  font-weight: 500;
}

.cta-banner-brand-note strong {
  color: #A5B4FC;
}

/* ==========================================================================
   16. CORPORATE FOOTER
   ========================================================================== */

.site-footer {
  background: #080C14;
  color: var(--slate-400);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 72px;
  padding-bottom: 40px;
  font-size: 0.875rem;
}

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

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-desc {
  color: var(--slate-400);
  line-height: 1.6;
  max-width: 320px;
}

.footer-relationship-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #C7D2FE;
  background: rgba(99, 102, 241, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.25);
  width: fit-content;
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--slate-400);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
}

.footer-copyright {
  color: var(--slate-500);
}

.footer-disclaimer {
  color: var(--slate-500);
  font-size: 0.75rem;
  max-width: 600px;
  line-height: 1.5;
}

/* ==========================================================================
   17. MODALS & INTERACTIVE OVERLAYS
   ========================================================================== */

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border-light);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(15px);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 24px;
}

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

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-300);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--slate-900);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--brand-600);
  outline: none;
  box-shadow: 0 0 0 3px rgba(84, 82, 246, 0.15);
}

.form-legal-note {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 14px;
  line-height: 1.45;
}

.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--slate-900);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-700);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 110;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   18. FLOATING WHATSAPP ACTION BUTTON
   ========================================================================== */

.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.floating-wa-btn:hover {
  background: #20BA5C;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #FFFFFF;
}

.floating-wa-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
  animation: pulseDot 2s infinite;
}

@media (max-width: 600px) {
  .floating-wa-btn {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.875rem;
  }
}

