/* Site Neighbor Design System (Forest Green Theme) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700;800&family=Caveat:wght@700&display=swap');

:root {
  --bg-color: #F8FAFC;         /* Slate 50 - clean, professional background */
  --card-bg: #FFFFFF;
  --text-main: #0F172A;        /* Slate 900 - high-contrast headers */
  --text-body: #334155;        /* Slate 700 - readable body text */
  --text-sub: #64748B;         /* Slate 500 - secondary labels */
  --border-color: #E2E8F0;     /* Slate 200 - clean card borders */
  
  --primary: #0F5A47;          /* Premium Spruce Green */
  --primary-hover: #0A3E31;
  --primary-light: #F0FDF4;    /* Mint Tint */
  
  --success: #0F5A47;
  --success-light: #F0FDF4;
  
  --warning: #F59E0B;
  --warning-light: #FFFBEB;
  --border-warning: #FDE68A;

  --info: #0284C7;
  --info-light: #F0F9FF;
  --border-info: #BAE6FD;
  
  --danger-crimson: #BE123C;   /* Crimson Red for warnings/unread badges */
  --danger-light: #FFF1F2;
  
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -4px rgba(15, 23, 42, 0.08);
}

/* Psychological Theme Morphing Overrides */
.theme-broken {
  --primary: #1E3A8A;          /* Slate/Steel Blue */
  --primary-hover: #172554;
  --primary-light: #EFF6FF;
  --bg-color: #F8FAFC;
}
.theme-new-site {
  --primary: #7C2D12;          /* Terracotta */
  --primary-hover: #431407;
  --primary-light: #FFF7ED;
  --bg-color: #FAF8F5;
}
.theme-update, .theme-feature {
  --primary: #0F5A47;          /* Premium Spruce Green */
  --primary-hover: #0A3E31;
  --primary-light: #F0FDF4;
  --bg-color: #F8FAFC;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-family: var(--font-header);
  font-weight: 700;
}

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

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header/Navigation */
header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-header);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.logo-tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.2px;
}

.trust-badges {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--text-sub);
  align-items: center;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.trust-badge svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: 
    linear-gradient(to right, rgba(248, 250, 252, 0.99) 20%, rgba(248, 250, 252, 0.97) 50%, rgba(248, 250, 252, 0.88) 85%),
    url('/graphics/team-hero-house.png') no-repeat right center / contain,
    radial-gradient(circle at 100% 0%, var(--primary-light) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 968px) {
  .hero {
    background: 
      linear-gradient(rgba(248, 250, 252, 0.975), rgba(248, 250, 252, 0.975)),
      url('/graphics/team-hero-house.png') no-repeat center center / cover;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.hero-title {
  font-size: 48px;
  line-height: 1.1;
  color: var(--text-main);
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 32px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 24px;
  max-width: 580px;
  line-height: 1.6;
}

@media (max-width: 968px) {
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Reassurance badge block */
.reassurance-badge {
  background-color: var(--warning-light);
  border: 1px solid var(--border-warning);
  border-radius: 8px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
  text-align: left;
  box-shadow: var(--shadow);
}

.reassurance-badge strong {
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 10px rgba(56, 106, 70, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(56, 106, 70, 0.35);
}

.btn-secondary {
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

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

/* Section Dividers */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 800;
}

.section-subtitle {
  text-align: center;
  color: var(--text-sub);
  margin-bottom: 48px;
  font-size: 16px;
}

/* Guided Form Questionnaire Wizard */
.form-section {
  background-color: transparent;
  padding: 40px 0 80px 0;
}

.form-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background-color: var(--card-bg);
  border: 1px solid #EFF2EF;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(15, 33, 21, 0.05), 0 2px 5px rgba(15, 33, 21, 0.02);
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  min-height: 520px;
}

@media (max-width: 768px) {
  .form-wrapper {
    grid-template-columns: 1fr;
  }
}

.form-sidebar {
  background-color: #FFFFFF;
  border-right: 1px solid #EFF2EF;
  padding: 40px 16px;
}

@media (max-width: 768px) {
  .form-sidebar {
    border-right: none;
    border-bottom: 1px solid #EFF2EF;
    padding: 24px 16px;
  }
}

.form-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding: 0;
  margin: 0;
}

.form-steps-list::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-left: 2px dashed #EFF2EF;
  z-index: 1;
}

@media (max-width: 768px) {
  .form-steps-list::before {
    display: none;
  }
  .form-steps-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 16px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  .form-steps-list::-webkit-scrollbar {
    height: 4px;
  }
  .form-steps-list::-webkit-scrollbar-track {
    background: transparent;
  }
  .form-steps-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
  }
  .form-step-item {
    white-space: nowrap !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 6px 12px !important;
  }
}

.form-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #5F7466;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  z-index: 2;
  padding: 10px 12px;
  border-radius: 30px;
  margin-left: -8px;
  margin-right: -8px;
}

.form-step-item.active {
  color: var(--primary);
  font-weight: 700;
  background-color: var(--primary-light);
}

.form-step-item.completed {
  color: var(--text-main);
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background-color: #EFF2EF;
  color: #5F7466;
  transition: var(--transition);
  flex-shrink: 0;
}

.form-step-item.active .step-dot {
  background-color: var(--primary);
  color: #FFFFFF;
}

.form-step-item.completed .step-dot {
  background-color: var(--primary-light);
  color: var(--primary);
}

.form-main-content {
  position: relative;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-main-content::before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 320px;
  height: 320px;
  background-image: var(--category-bg, none);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  transform: scale(1.4) rotate(-10deg);
}

#form-steps-container {
  position: relative;
  z-index: 2;
}

@media (max-width: 576px) {
  .form-main-content {
    padding: 24px;
  }
}

.step-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 6px;
}

.step-header h3 {
  font-size: 25px;
  font-weight: 800;
  margin: 0;
}

.step-header p {
  margin: 0;
}

.step-indicator-tag {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  white-space: nowrap;
}

.step-indicator-pill {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Wizard step panels container */
.form-step-panel {
  display: none;
  animation: fadeIn 0.3s ease-in-out forwards;
}

.form-step-panel.active {
  display: block;
}

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

/* Form Inputs */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  background-color: #FFFFFF;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(56, 106, 70, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Selection Cards Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 24px;
  align-items: start !important;
}

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

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

.category-card {
  background-color: #FFFFFF;
  border: 1px solid #EFF6F1;
  border-radius: 12px;
  padding: 28px 20px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.category-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 15px rgba(0,0,0,0.02);
}

.category-card.selected {
  border-color: var(--primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 1.5px var(--primary);
}

.care-plan-select-card.selected {
  border-color: var(--primary) !important;
  background-color: rgba(21, 90, 71, 0.04) !important;
  box-shadow: 0 0 0 1.5px var(--primary) !important;
}

.category-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background-color: transparent;
  color: #0F212D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition);
}

.category-card.selected .category-icon {
  color: var(--primary);
  background-color: transparent;
}

.category-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0F212D;
  margin: 0;
  line-height: 1.3;
}

/* Access credentials alert panel */
.info-alert {
  background-color: var(--primary-light);
  border: 1px solid rgba(56, 106, 70, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--primary-hover);
  line-height: 1.5;
}

/* Stepper footer controls navigation */
.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

/* Value Props Highlights Section (Middle Banner) */
.props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 968px) {
  .props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.prop-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prop-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
}

.prop-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.prop-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
}

/* Horizontal Roadmap (How it works stepper path) */
.roadmap-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 24px;
}

.roadmap-line-segment {
  position: absolute;
  top: 32px;
  height: 0;
  border-top: 2px dashed var(--border-color);
  z-index: 1;
}

.roadmap-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 18%;
  position: relative;
  z-index: 2;
}

.roadmap-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.roadmap-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 3;
}

.roadmap-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.3;
}

.roadmap-step p {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sub);
  line-height: 1.3;
  margin: 0;
}

@media (max-width: 768px) {
  .roadmap-row {
    flex-direction: column;
    gap: 36px;
    align-items: flex-start;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .roadmap-line-segment {
    display: none;
  }

  .roadmap-step {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 88px;
    padding-right: 12px;
    position: relative;
    min-height: 64px;
  }

  .roadmap-icon-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    margin-bottom: 0;
  }

  .roadmap-step h3 {
    margin-top: 8px;
    font-size: 16px;
  }

  .roadmap-step p {
    font-size: 13px;
  }
}

/* Dark Accent Call To Action Banner - Redesigned */
.cta-banner {
  background-color: #152a3f;
  color: #FFFFFF;
  border-radius: 20px;
  padding: 48px 60px;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.cta-icon {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  object-fit: contain;
}

.cta-text-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-title {
  font-family: var(--font-header);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 0;
}

.cta-subtitle {
  font-family: var(--font-header);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: #5da171; /* High contrast premium sage green */
  margin: 0;
}

.cta-divider {
  width: 1px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 260px;
}

.cta-cursive-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  position: relative;
}

.cta-cursive-text {
  font-family: 'Caveat', cursive;
  font-size: 25px;
  color: #FFFFFF;
  font-weight: 700;
  white-space: nowrap;
}

.cta-curved-arrow {
  color: #FFFFFF;
  opacity: 0.9;
  flex-shrink: 0;
}

.cta-btn {
  background-color: #5da171; /* matches green theme elements */
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
  text-align: center;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background-color: #4a825a;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-footer-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

@media (max-width: 992px) {
  .cta-banner {
    flex-direction: column;
    padding: 40px 32px;
    gap: 32px;
    text-align: center;
  }
  .cta-left {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .cta-divider {
    display: none;
  }
  .cta-right {
    width: 100%;
  }
  .cta-btn {
    width: 100%;
    max-width: 320px;
  }
}


/* FAQ Layout */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-family: var(--font-header);
  color: var(--text-main);
  user-select: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.5;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.3s;
  color: var(--primary);
}

.faq-item.open .faq-question::after {
  content: '−';
}

/* Footer styling */
footer {
  background-color: var(--text-main);
  color: #718478;
  padding: 60px 0;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid #162B37;
}

footer a {
  color: #9EC0AB;
}

footer a:hover {
  color: #FFFFFF;
}

footer .footer-logo {
  font-family: var(--font-header);
  font-size: 22px;
  color: #FFFFFF;
  font-weight: 800;
  margin-bottom: 12px;
}

@keyframes waveAnimation {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}
.wave-emoji:hover {
  animation: waveAnimation 0.5s ease-in-out infinite;
}

/* Interactive Hero Graphic Layout & Micro-animations */
.hero-graphic-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.hero-web-bg {
  position: absolute;
  width: 90%;
  height: auto;
  left: 5%;
  top: 10px;
  z-index: 1;
  box-shadow: 0 15px 35px rgba(15, 33, 21, 0.08), 0 5px 15px rgba(0, 0, 0, 0.02);
  border-radius: 12px;
}

/* Mockup Canvas Overlay */
/* Mockup Canvas Overlay */
.mockup-overlay {
  position: absolute;
  width: 90%;
  left: 5%;
  top: 10px;
  aspect-ratio: 373 / 319;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: 12px;
}

/* Header Mockup */
.mock-header {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 14%;
  background-color: #FFFFFF;
  border-bottom: 1px solid #CBD5E1;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 6px;
  z-index: 5;
  animation: drawHeader 24s ease-in-out infinite;
}

.mock-header-logo {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

.mock-header-links {
  display: flex;
  gap: 4px;
}

.mock-header-link {
  width: 12px;
  height: 3px;
  background-color: #CBD5E1;
  border-radius: 1px;
}

.mock-header-avatar {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #CBD5E1;
  margin-left: auto;
  flex-shrink: 0;
}

/* Sidebar Mockup */
.mock-sidebar {
  position: absolute;
  left: 0;
  top: 14%;
  width: 18%;
  height: 86%;
  background-color: #F1F5F9;
  border-right: 1px solid #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 4px;
  z-index: 4;
  animation: drawSidebar 24s ease-in-out infinite;
}

.mock-sidebar .mock-line {
  height: 4px;
  border-radius: 2px;
}

/* Mockup Layout Main Content Area */
.mock-main-full {
  position: absolute;
  left: 6%;
  width: 88%;
  top: 18%;
  height: 76%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-main-with-sidebar {
  position: absolute;
  left: 24%;
  width: 70%;
  top: 18%;
  height: 76%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Grid & Column helpers */
.mock-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.mock-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-col-12 { width: 100%; }
.mock-col-8 { width: 66%; }
.mock-col-6 { width: 50%; }
.mock-col-4 { width: 33.33%; }
.mock-col-3 { width: 25%; }

/* Image Card Mockup */
.mock-image-card {
  width: 100%;
  height: 100%;
  background-color: #D1EAE0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #97D8B9;
  animation: drawImageCard 24s ease-in-out infinite;
}

.mock-image-card svg {
  width: 45%;
  height: 45%;
  color: var(--primary);
  opacity: 0.85;
}

/* Mock Text Lines */
.mock-line {
  height: 6px;
  background-color: #CBD5E1;
  border-radius: 3px;
  width: 100%;
}

/* Contrast color variations */
.mock-line.dark { background-color: #475569; }
.mock-line.accent { background-color: var(--primary); }
.mock-line.gold { background-color: #F59E0B; }
.mock-line.mint { background-color: #A7F3D0; }
.mock-line.light { background-color: #E2E8F0; }

/* Mock List Cards */
.mock-cards-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  animation: drawMockCards 24s ease-in-out infinite;
}

.mock-card {
  height: 22px;
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 6px;
}

.mock-card-left {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  flex-shrink: 0;
}

.mock-card-right {
  width: 60%;
  height: 4px;
  background-color: #CBD5E1;
  border-radius: 2px;
}

/* Mock Form Controls */
.mock-form-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

.mock-input {
  height: 12px;
  background-color: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 3px;
  width: 100%;
}

.mock-checkbox-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.mock-checkbox {
  width: 6px;
  height: 6px;
  border: 1px solid #CBD5E1;
  border-radius: 1px;
  background-color: #FFFFFF;
  flex-shrink: 0;
}

/* Mock Button Shapes */
.mock-btn {
  height: 12px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  flex-shrink: 0;
}

.mock-btn.primary {
  background-color: var(--primary);
}

.mock-btn.secondary {
  border: 1px solid #CBD5E1;
  background-color: #FFFFFF;
}

/* Mock Analytical Charts */
.mock-chart-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  border-top-color: #A7F3D0;
  animation: drawImageCard 24s ease-in-out infinite;
}

.mock-chart-bar-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.mock-chart-bar {
  height: 4px;
  background-color: #E2E8F0;
  border-radius: 2px;
  width: 100%;
}

.mock-chart-bar.filled {
  background-color: var(--primary);
}

/* Animation Binding Helper Classes */
.anim-header { animation: drawHeader 24s ease-in-out infinite; }
.anim-sidebar { animation: drawSidebar 24s ease-in-out infinite; }
.anim-image { animation: drawImageCard 24s ease-in-out infinite; }
.anim-card { animation: drawMockCards 24s ease-in-out infinite; }
.anim-line-l1 { animation: drawTextLineLeft1 24s ease-in-out infinite; }
.anim-line-l2 { animation: drawTextLineLeft2 24s ease-in-out infinite; }
.anim-line-l3 { animation: drawTextLineLeft3 24s ease-in-out infinite; }
.anim-line-r1 { animation: drawTextLineRight1 24s ease-in-out infinite; }
.anim-line-r2 { animation: drawTextLineRight2 24s ease-in-out infinite; }
.anim-line-r3 { animation: drawTextLineRight3 24s ease-in-out infinite; }
.anim-line-r4 { animation: drawTextLineRight4 24s ease-in-out infinite; }

/* Celebration Check and Rays Animation */
.check-celebration-wrapper {
  position: absolute;
  width: 36px;
  height: 36px;
  left: calc(5% + 16px);
  bottom: 10px;
  top: auto;
  z-index: 8;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   Category-Specific Mockup Animations & Styles
   ========================================================================== */

/* Dynamic label visibility based on active category */
.status-badge .badge-label .label-text {
  display: none;
}
.hero-graphic-container.category-broken .status-badge .badge-label .label-text.text-broken,
.hero-graphic-container.category-update .status-badge .badge-label .label-text.text-update,
.hero-graphic-container.category-feature .status-badge .badge-label .label-text.text-feature,
.hero-graphic-container.category-new-site .status-badge .badge-label .label-text.text-new-site,
.hero-graphic-container.category-email .status-badge .badge-label .label-text.text-email {
  display: inline;
}

/* Floating Chat Overlay (Interactive client-Clara message exchange) */
.mock-chat-overlay {
  position: absolute;
  top: 18%;
  left: 8%;
  width: 84%;
  height: 80%;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  box-sizing: border-box;
}

/* Chat bubble base styles */
.chat-bubble {
  max-width: 82%;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Client bubble - aligns left, light theme with green accents */
.chat-bubble.client-bubble {
  align-self: flex-start;
  background-color: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.85);
  color: #334155;
  border-top-left-radius: 2px;
}

/* Clara bubble - aligns right, primary brand theme */
.chat-bubble.clara-bubble {
  align-self: flex-end;
  background-color: rgba(15, 90, 71, 0.95);
  border: 1px solid rgba(15, 90, 71, 0.2);
  color: #FFFFFF;
  border-top-right-radius: 2px;
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.clara-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
}

.clara-avatar svg {
  width: 14px;
  height: 14px;
}

.clara-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.clara-name {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* Chat text visibility scoping */
.chat-bubble .chat-text {
  display: block;
}

/* Chat bubble animations on 24s loop */
.animate-client-bubble {
  animation: showClientBubble 24s ease-in-out infinite;
}
.animate-clara-bubble {
  animation: showClaraBubble 24s ease-in-out infinite;
}

@keyframes showClientBubble {
  0% { opacity: 0; transform: translateY(12px) scale(0.96); }
  2%, 22% { opacity: 1; transform: translateY(0) scale(1); }
  25%, 100% { opacity: 0; transform: translateY(-12px) scale(0.96); }
}

@keyframes showClaraBubble {
  0%, 10% { opacity: 0; transform: translateY(12px) scale(0.96); }
  12%, 22% { opacity: 1; transform: translateY(0) scale(1); }
  25%, 100% { opacity: 0; transform: translateY(-12px) scale(0.96); }
}

/* --- Category 1: Something is Broken (Repair) --- */
.mock-broken-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.mock-error-card {
  width: 85%;
  background-color: rgba(254, 242, 242, 0.9);
  border: 1.5px solid #FCA5A5;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: drawBrokenCard 24s ease-in-out infinite;
  box-sizing: border-box;
}

.mock-error-card .error-header {
  display: flex;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  color: #EF4444;
  font-family: var(--font-header);
  letter-spacing: 0.2px;
}

.mock-error-card .error-line {
  background-color: #FCA5A5 !important;
  height: 4px;
}

.mock-fixed-card {
  width: 85%;
  background-color: rgba(236, 253, 245, 0.95);
  border: 1.5px solid #A7F3D0;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: drawFixedCard 24s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  box-sizing: border-box;
}

.mock-fixed-card .fixed-header {
  display: flex;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  color: #10B981;
  font-family: var(--font-header);
  letter-spacing: 0.2px;
}

.mock-fixed-card .fixed-line {
  background-color: #A7F3D0 !important;
  height: 4px;
}

@keyframes drawBrokenCard {
  0%, 24% { opacity: 0; transform: scale(0.9); }
  25%, 42% { opacity: 1; transform: scale(1); }
  45.8%, 100% { opacity: 0; transform: scale(0.9) translateY(-10px); }
}

@keyframes drawFixedCard {
  0%, 47% { opacity: 0; transform: translate(-50%, -40%) scale(0.85); }
  52%, 92% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  95.8%, 100% { opacity: 0; transform: translate(-50%, -60%) scale(0.85); }
}

/* --- Category 2: Website Updates --- */
.mock-updates-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 10px;
  position: relative;
  box-sizing: border-box;
}

.mock-old-content, .mock-new-content {
  width: 90%;
  border-radius: 8px;
  box-sizing: border-box;
}

.mock-hero-grey {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  opacity: 0.6;
}

.mock-image-grey {
  width: 30px;
  height: 30px;
  background-color: #E2E8F0;
  border-radius: 4px;
  flex-shrink: 0;
}

.mock-text-grey-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-grow: 1;
}

.mock-line-grey {
  height: 4px;
  background-color: #E2E8F0;
  border-radius: 2px;
}

.mock-old-content {
  animation: fadeOldContent 24s ease-in-out infinite;
}

.mock-new-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: drawNewContent 24s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.mock-hero-green {
  background-color: #FFFFFF;
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 6px 18px rgba(15, 90, 71, 0.1);
  position: relative;
}

.mock-image-color {
  width: 32px;
  height: 32px;
  background-color: #E6F4ED;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-text-color-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-grow: 1;
  position: relative;
}

.mock-line-color {
  height: 4px;
  border-radius: 2px;
}

.mock-line-color.primary {
  background-color: var(--primary);
}

.mock-line-color.second {
  background-color: #A7F3D0;
}

.mock-badge-new {
  position: absolute;
  right: 0;
  top: -12px;
  background-color: #EF4444;
  color: white;
  font-family: var(--font-header);
  font-size: 6px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 1.5px 4px;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(239, 68, 68, 0.2);
  animation: drawNewBadge 24s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes fadeOldContent {
  0%, 24% { opacity: 0; transform: scale(0.95); }
  25%, 42% { opacity: 0.6; transform: scale(1); }
  45.8%, 100% { opacity: 0; transform: scale(0.95); }
}

@keyframes drawNewContent {
  0%, 47% { opacity: 0; transform: translate(-50%, -40%) scale(0.9); }
  53%, 92% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  95.8%, 100% { opacity: 0; transform: translate(-50%, -60%) scale(0.9); }
}

@keyframes drawNewBadge {
  0%, 53% { opacity: 0; transform: scale(0); }
  58%, 92% { opacity: 1; transform: scale(1); }
  95.8%, 100% { opacity: 0; transform: scale(0); }
}

/* --- Category 3: Add a Funnel (Dashboard & Charts) --- */
.mock-funnel-dashboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.funnel-stats-row {
  display: flex;
  gap: 8px;
  width: 100%;
  height: 35%;
}

.funnel-stat-card {
  flex: 1;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  box-sizing: border-box;
}

.funnel-stat-title {
  font-size: 7px;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-header);
  letter-spacing: 0.2px;
}

.funnel-stat-val {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2px;
}

.funnel-chart-container {
  flex-grow: 1;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  box-sizing: border-box;
}

.funnel-bar {
  height: 12px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  box-sizing: border-box;
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
}

.funnel-bar span {
  font-size: 6.5px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.funnel-bar.bar-traffic {
  background: linear-gradient(90deg, #10B981, #34D399);
  width: 90%;
}

.funnel-bar.bar-leads {
  background: linear-gradient(90deg, #059669, #10B981);
  width: 60%;
}

.funnel-bar.bar-sales {
  background: linear-gradient(90deg, #047857, #059669);
  width: 30%;
}

/* Animations for Funnel */
.anim-funnel-val-1 {
  font-size: 0 !important;
  animation: funnelVal1 24s ease-out infinite;
}
.anim-funnel-val-1::after {
  content: "0";
  font-size: 11px;
}

.anim-funnel-val-2 {
  font-size: 0 !important;
  animation: funnelVal2 24s ease-out infinite;
}
.anim-funnel-val-2::after {
  content: "0.0%";
  font-size: 11px;
}

.anim-funnel-bar-1 { animation: funnelBar1 24s ease-out infinite; }
.anim-funnel-bar-2 { animation: funnelBar2 24s ease-out infinite; }
.anim-funnel-bar-3 { animation: funnelBar3 24s ease-out infinite; }

@keyframes funnelBar1 {
  0%, 48% { transform: scaleX(0); opacity: 0; }
  54%, 92% { transform: scaleX(1); opacity: 1; }
  95.8%, 100% { transform: scaleX(0); opacity: 0; }
}

@keyframes funnelBar2 {
  0%, 52% { transform: scaleX(0); opacity: 0; }
  58%, 92% { transform: scaleX(1); opacity: 1; }
  95.8%, 100% { transform: scaleX(0); opacity: 0; }
}

@keyframes funnelBar3 {
  0%, 56% { transform: scaleX(0); opacity: 0; }
  62%, 92% { transform: scaleX(1); opacity: 1; }
  95.8%, 100% { transform: scaleX(0); opacity: 0; }
}

@keyframes funnelVal1 {
  0%, 54% { opacity: 0; }
  55%, 61% { content: "240"; opacity: 1; }
  62%, 92% { content: "1,240"; opacity: 1; }
  95.8%, 100% { opacity: 0; }
}

@keyframes funnelVal2 {
  0%, 58% { opacity: 0; }
  59%, 68% { content: "1.2%"; opacity: 1; }
  69%, 92% { content: "4.8%"; opacity: 1; }
  95.8%, 100% { opacity: 0; }
}

/* --- Category 4: New Website (E-Commerce layout) --- */
.mock-hero-banner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), #0D4E3E);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.mock-hero-banner .mock-line {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.mock-hero-banner .mock-line.dark {
  background-color: #FFFFFF !important;
}

.mock-cards-container {
  display: flex;
  gap: 8px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.product-card {
  flex: 1;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}

.product-card .mock-card-left {
  width: 100%;
  height: 22px;
  background-color: #E2E8F0;
  border-radius: 4px;
  flex-shrink: 0;
}

.product-card.anim-prod-1 .mock-card-left { background-color: #FEE2E2; }
.product-card.anim-prod-2 .mock-card-left { background-color: #FEF3C7; }
.product-card.anim-prod-3 .mock-card-left { background-color: #E0F2FE; }

/* Animations */
.anim-hero-banner { animation: heroBannerPop 24s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.anim-prod-1 { animation: prodCard1 24s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.anim-prod-2 { animation: prodCard2 24s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.anim-prod-3 { animation: prodCard3 24s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }

@keyframes heroBannerPop {
  0%, 48% { transform: translateY(-10px) scale(0.9); opacity: 0; }
  54%, 92% { transform: translateY(0) scale(1); opacity: 1; }
  95.8%, 100% { transform: translateY(-10px) scale(0.9); opacity: 0; }
}

@keyframes prodCard1 {
  0%, 54% { transform: translateY(10px) scale(0.9); opacity: 0; }
  60%, 92% { transform: translateY(0) scale(1); opacity: 1; }
  95.8%, 100% { transform: translateY(10px) scale(0.9); opacity: 0; }
}

@keyframes prodCard2 {
  0%, 57% { transform: translateY(10px) scale(0.9); opacity: 0; }
  63%, 92% { transform: translateY(0) scale(1); opacity: 1; }
  95.8%, 100% { transform: translateY(10px) scale(0.9); opacity: 0; }
}

@keyframes prodCard3 {
  0%, 60% { transform: translateY(10px) scale(0.9); opacity: 0; }
  66%, 92% { transform: translateY(0) scale(1); opacity: 1; }
  95.8%, 100% { transform: translateY(10px) scale(0.9); opacity: 0; }
}

/* --- Category 5 additions: Inbox badge and DNS Record check enhancements --- */
.inbox-count-badge {
  background-color: #EF4444;
  color: white;
  font-size: 6px;
  font-weight: 800;
  border-radius: 50%;
  width: 9px;
  height: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.anim-inbox-badge {
  font-size: 0 !important;
  animation: inboxBadgePop 24s ease-out infinite;
}

.anim-inbox-badge::after {
  content: "0";
  font-size: 6px;
}

@keyframes inboxBadgePop {
  0%, 60% { content: "0"; transform: scale(0); opacity: 0; }
  63%, 67% { content: "1"; transform: scale(1.2); opacity: 1; }
  68% { content: "2"; transform: scale(1.3); opacity: 1; }
  69%, 92% { content: "2"; transform: scale(1); opacity: 1; }
  95.8%, 100% { content: "0"; transform: scale(0); opacity: 0; }
}

/* --- Celebration Card Modal Popup --- */
.mock-celebration-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  background-color: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #10B981;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  width: 75%;
  max-width: 240px;
  box-sizing: border-box;
  opacity: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.celebration-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0F5A47;
  font-size: 12px;
  font-family: var(--font-header);
}

.celebration-sparkle {
  font-size: 14px;
}

.celebration-message {
  font-size: 10.5px;
  color: #334155;
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

.anim-celebration-popup {
  animation: celebrationPopup 24s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes celebrationPopup {
  0%, 78% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  80% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
  81% { transform: translate(-50%, -50%) scale(0.96); opacity: 1; }
  82%, 93.8% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  94.8% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
  95.8%, 100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}

/* --- Category 5: Domain & Email --- */
.dns-domain-flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 8px;
  position: relative;
  box-sizing: border-box;
}

.dns-config-card {
  width: 80%;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

.dns-domain-name {
  font-family: var(--font-header);
  font-size: 8px;
  font-weight: 800;
  color: #1E293B;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 3px;
  letter-spacing: 0.2px;
}

.dns-status-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dns-status-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 7px;
  color: #64748B;
}

.dns-label {
  font-weight: bold;
  width: 20px;
}

.dns-val {
  font-family: monospace;
}

.dns-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #E2E8F0;
  flex-shrink: 0;
}

.anim-ns1 {
  animation: dnsCheckNS1 24s ease-in-out infinite;
}

.anim-ns2 {
  animation: dnsCheckNS2 24s ease-in-out infinite;
}

@keyframes dnsCheckNS1 {
  0%, 24% { background-color: #E2E8F0; }
  25%, 45.8% { background-color: #F59E0B; }
  50%, 92% { background-color: #10B981; }
  95.8%, 100% { background-color: #E2E8F0; }
}

@keyframes dnsCheckNS2 {
  0%, 24% { background-color: #E2E8F0; }
  25%, 47% { background-color: #F59E0B; }
  52%, 92% { background-color: #10B981; }
  95.8%, 100% { background-color: #E2E8F0; }
}

.dns-connection-line {
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #CBD5E1, var(--primary), #CBD5E1);
  background-size: 100% 200%;
  animation: dnsLinePulse 2s linear infinite;
  position: relative;
  border-radius: 2px;
}

.dns-progress-dot {
  position: absolute;
  left: -1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  animation: dnsFlowDot 24s ease-in-out infinite;
}

@keyframes dnsFlowDot {
  0%, 50% { top: 0; opacity: 0; }
  52% { opacity: 1; }
  58% { top: 100%; opacity: 1; }
  60%, 100% { top: 100%; opacity: 0; }
}

.inbox-preview-card {
  width: 80%;
  background-color: #FFFFFF;
  border: 1.5px solid var(--primary);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 6px 18px rgba(15, 90, 71, 0.1);
  box-sizing: border-box;
  animation: drawInboxCard 24s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.inbox-header {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-header);
  font-size: 8px;
  font-weight: 800;
  color: var(--primary);
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 3px;
  letter-spacing: 0.2px;
}

.inbox-emails {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inbox-row {
  display: flex;
  gap: 5px;
  align-items: center;
  background-color: #F8FAFC;
  padding: 3px 6px;
  border-radius: 4px;
  box-sizing: border-box;
}

.inbox-sender {
  height: 3px;
  background-color: var(--primary);
  border-radius: 1.5px;
  opacity: 0.6;
}

.inbox-subject {
  height: 3px;
  background-color: #CBD5E1;
  border-radius: 1.5px;
}

.anim-mail-1 {
  animation: drawMailRow1 24s ease-in-out infinite;
}

.anim-mail-2 {
  animation: drawMailRow2 24s ease-in-out infinite;
}

@keyframes drawInboxCard {
  0%, 56% { opacity: 0; transform: translateY(10px) scale(0.9); }
  62%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  95.8%, 100% { opacity: 0; transform: translateY(10px) scale(0.9); }
}

@keyframes drawMailRow1 {
  0%, 60% { opacity: 0; transform: translateX(-8px); }
  65%, 92% { opacity: 1; transform: translateX(0); }
  95.8%, 100% { opacity: 0; transform: translateX(-8px); }
}

@keyframes drawMailRow2 {
  0%, 63% { opacity: 0; transform: translateX(-8px); }
  68%, 92% { opacity: 1; transform: translateX(0); }
  95.8%, 100% { opacity: 0; transform: translateX(-8px); }
}

/* Discovery Card Floating Overlay */
.mock-discovery-card {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 80%;
  background-color: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(217, 119, 6, 0.3); /* warning yellow/amber border */
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.15), 0 8px 10px -6px rgba(217, 119, 6, 0.05);
  z-index: 50;
  box-sizing: border-box;
}

.anim-discovery-card {
  animation: drawDiscoveryCard 24s ease-in-out infinite;
}

.discovery-card-header {
  display: flex;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  color: #D97706; /* amber */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(217, 119, 6, 0.1);
  padding-bottom: 4px;
}

.discovery-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.discovery-bubble {
  max-width: 90%;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1.35;
  box-sizing: border-box;
}

.discovery-bubble.clara {
  align-self: flex-start;
  background-color: rgba(254, 243, 199, 0.7); /* amber tint */
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #92400e;
  border-top-left-radius: 2px;
}

.discovery-bubble.client {
  align-self: flex-end;
  background-color: rgba(240, 253, 244, 0.85); /* spruce tint / light green */
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #065f46;
  border-top-right-radius: 2px;
  /* Client bubble is revealed precisely at 35% (8.4s) via keyframes */
  animation: revealClientAnswer 24s ease-in-out infinite;
}

@keyframes drawDiscoveryCard {
  0%, 24% {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
    visibility: hidden;
  }
  25% {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
  }
  44% {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
  }
  45.8%, 100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    visibility: hidden;
  }
}

@keyframes revealClientAnswer {
  0%, 34.9% {
    opacity: 0;
    transform: translateY(5px);
    pointer-events: none;
    visibility: hidden;
  }
  35%, 44% {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  45.8%, 100% {
    opacity: 0;
    transform: translateY(-5px);
    pointer-events: none;
    visibility: hidden;
  }
}

/* Base Status Badge Styling */
.status-badge {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1), inset 0 0 6px rgba(255, 255, 255, 0.4);
  transform: scale(0);
  opacity: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

/* Override inner SVGs sizing */
.status-badge svg:not(.spinner-ring) {
  width: 18px !important;
  height: 18px !important;
}

/* Caution Status Badge (Yellow Alert) */
.status-badge.status-caution {
  background-color: rgba(255, 251, 235, 0.9); /* Amber-50 with 90% opacity */
  border: 1.5px solid rgba(217, 119, 6, 0.85); /* Amber-600 */
  animation: badgeCautionLoop 24s ease-in-out infinite;
}

/* Building Status Badge (Blue Clock with Spinner Ring) */
.status-badge.status-building {
  background-color: rgba(239, 246, 255, 0.9); /* Blue-50 with 90% opacity */
  border: 1.5px solid rgba(37, 99, 235, 0.85); /* Blue-600 */
  animation: badgeBuildingLoop 24s ease-in-out infinite;
}

.status-badge .spinner-ring {
  position: absolute;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  top: -2px;
  left: -2px;
  animation: spin 1.5s linear infinite;
  z-index: 11;
  pointer-events: none;
}

.status-badge.status-building .anim-clock-hands {
  z-index: 2;
}

.status-badge.status-building .anim-clock-hands .clock-arrow {
  transform-origin: 12px 12px;
  animation: clockSpin 3s linear infinite;
}

/* Done Status Badge (Green Check Mark) */
.status-badge.status-done {
  background-color: rgba(240, 253, 244, 0.9); /* Green-50 with 90% opacity */
  border: 1.5px solid rgba(16, 185, 129, 0.85); /* Green-600 */
  filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.25));
  animation: badgeDoneLoop 24s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.status-badge .badge-label {
  position: absolute;
  left: 44px; /* 36px circle + 8px space */
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-header);
  white-space: nowrap;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
  z-index: 12;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  background: transparent !important;
  border: none !important;
  box-sizing: border-box;
}

.status-badge .badge-label .stage-title {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-badge .badge-label .stage-title::after {
  content: ":";
  margin-left: 1px;
}

.status-badge .badge-label .label-text {
  font-size: 11px;
  font-weight: 600;
}

.status-badge.status-caution .badge-label {
  color: #D97706; /* amber-600 */
}

.status-badge.status-building .badge-label {
  color: #2563EB; /* blue-600 */
}

.status-badge.status-done .badge-label {
  color: #10B981; /* green-500 */
}

.check-ray {
  position: absolute;
  width: 4px;
  height: 16px;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  opacity: 0;
  z-index: 5;
  transform-origin: center bottom;
}

.check-ray.odd {
  background-color: var(--primary); /* Forest Green */
}

.check-ray.even {
  background-color: #F59E0B; /* Gold */
}

/* Position and rotate rays with clockwise sequential delays (scaled for 36px circle) */
.ray-1 { transform: translate(-50%, -50%) rotate(0deg) translateY(-29px); animation: rayPopLoop-1 24s ease-out infinite; }
.ray-2 { transform: translate(-50%, -50%) rotate(45deg) translateY(-29px); animation: rayPopLoop-2 24s ease-out infinite; }
.ray-3 { transform: translate(-50%, -50%) rotate(90deg) translateY(-29px); animation: rayPopLoop-3 24s ease-out infinite; }
.ray-4 { transform: translate(-50%, -50%) rotate(135deg) translateY(-29px); animation: rayPopLoop-4 24s ease-out infinite; }
.ray-5 { transform: translate(-50%, -50%) rotate(180deg) translateY(-29px); animation: rayPopLoop-5 24s ease-out infinite; }
.ray-6 { transform: translate(-50%, -50%) rotate(225deg) translateY(-29px); animation: rayPopLoop-6 24s ease-out infinite; }
.ray-7 { transform: translate(-50%, -50%) rotate(270deg) translateY(-29px); animation: rayPopLoop-7 24s ease-out infinite; }
.ray-8 { transform: translate(-50%, -50%) rotate(315deg) translateY(-29px); animation: rayPopLoop-8 24s ease-out infinite; }

.hero-plant {
  position: absolute;
  width: auto;
  right: 2%;
  bottom: -5%;
  z-index: 7; /* Stacks above the mockup overlay and check mark wrapper */
  filter: drop-shadow(0 18px 12px rgba(15, 33, 21, 0.12));
  animation: plantPopAndFloat 24s ease-in-out infinite;
}

/* Badge State Loops Keyframes (Spring animations with pop-in overshoot & undershoot) */
@keyframes badgeCautionLoop {
  0%, 24% { transform: scale(0); opacity: 0; }
  25.5% { transform: scale(1.15); opacity: 1; }
  26.5% { transform: scale(0.95); opacity: 1; }
  27.5%, 43.8% { transform: scale(1); opacity: 1; }
  44.8% { transform: scale(1.05); opacity: 1; }
  45.8%, 100% { transform: scale(0); opacity: 0; }
}

@keyframes badgeBuildingLoop {
  0%, 45.8% { transform: scale(0); opacity: 0; }
  47.3% { transform: scale(1.15); opacity: 1; }
  48.3% { transform: scale(0.95); opacity: 1; }
  49.3%, 73% { transform: scale(1); opacity: 1; }
  74% { transform: scale(1.05); opacity: 1; }
  75%, 100% { transform: scale(0); opacity: 0; }
}

@keyframes badgeDoneLoop {
  0%, 75% { transform: scale(0); opacity: 0; }
  76.5% { transform: scale(1.15); opacity: 1; }
  77.5% { transform: scale(0.95); opacity: 1; }
  78.5%, 93.8% { transform: scale(1); opacity: 1; }
  94.8% { transform: scale(1.05); opacity: 1; }
  95.8%, 100% { transform: scale(0); opacity: 0; }
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

@keyframes clockSpin {
  100% { transform: rotate(360deg); }
}

/* Header keyframe animation */
@keyframes drawHeader {
  0%, 45.8% { transform: translateY(-100%); opacity: 0; }
  48.8%, 92% { transform: translateY(0); opacity: 1; }
  95.8%, 100% { transform: translateY(-100%); opacity: 0; }
}

/* Build-out animations keyframes */
@keyframes drawSidebar {
  0%, 47.8% { transform: translateX(-100%); opacity: 0; }
  52.8%, 92% { transform: translateX(0); opacity: 1; }
  95.8%, 100% { transform: translateX(-100%); opacity: 0; }
}

@keyframes drawImageCard {
  0%, 52.8% { transform: scale(0.8); opacity: 0; }
  60.8%, 92% { transform: scale(1); opacity: 1; }
  95.8%, 100% { transform: scale(0.8); opacity: 0; }
}

@keyframes drawTextLineLeft1 {
  0%, 55.8% { width: 0; opacity: 0; }
  63.8%, 92% { width: 85%; opacity: 1; }
  95.8%, 100% { width: 0; opacity: 0; }
}
@keyframes drawTextLineLeft2 {
  0%, 58.8% { width: 0; opacity: 0; }
  66.8%, 92% { width: 60%; opacity: 1; }
  95.8%, 100% { width: 0; opacity: 0; }
}
@keyframes drawTextLineLeft3 {
  0%, 61.8% { width: 0; opacity: 0; }
  69.8%, 92% { width: 40%; opacity: 1; }
  95.8%, 100% { width: 0; opacity: 0; }
}

@keyframes drawTextLineRight1 {
  0%, 53.8% { width: 0; opacity: 0; }
  61.8%, 92% { width: 100%; opacity: 1; }
  95.8%, 100% { width: 0; opacity: 0; }
}
@keyframes drawTextLineRight2 {
  0%, 56.8% { width: 0; opacity: 0; }
  64.8%, 92% { width: 90%; opacity: 1; }
  95.8%, 100% { width: 0; opacity: 0; }
}
@keyframes drawTextLineRight3 {
  0%, 59.8% { width: 0; opacity: 0; }
  67.8%, 92% { width: 95%; opacity: 1; }
  95.8%, 100% { width: 0; opacity: 0; }
}
@keyframes drawTextLineRight4 {
  0%, 62.8% { width: 0; opacity: 0; }
  70.8%, 92% { width: 75%; opacity: 1; }
  95.8%, 100% { width: 0; opacity: 0; }
}

@keyframes drawMockCards {
  0%, 64.8% { transform: translateY(12px); opacity: 0; }
  74.8%, 92% { transform: translateY(0); opacity: 1; }
  95.8%, 100% { transform: translateY(12px); opacity: 0; }
}

/* Keyframes for each ray direction (zipping outward on done trigger - scaled for 36px circle) */
@keyframes rayPopLoop-1 {
  0%, 75% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) translateY(-29px) scaleY(0.2); }
  75.2% { opacity: 1; }
  77% { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) translateY(-38px) scaleY(1); }
  78.5% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) translateY(-42px) scaleY(0.2); }
  100% { opacity: 0; }
}
@keyframes rayPopLoop-2 {
  0%, 75% { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) translateY(-29px) scaleY(0.2); }
  75.2% { opacity: 1; }
  77% { opacity: 1; transform: translate(-50%, -50%) rotate(45deg) translateY(-38px) scaleY(1); }
  78.5% { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) translateY(-42px) scaleY(0.2); }
  100% { opacity: 0; }
}
@keyframes rayPopLoop-3 {
  0%, 75% { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) translateY(-29px) scaleY(0.2); }
  75.2% { opacity: 1; }
  77% { opacity: 1; transform: translate(-50%, -50%) rotate(90deg) translateY(-38px) scaleY(1); }
  78.5% { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) translateY(-42px) scaleY(0.2); }
  100% { opacity: 0; }
}
@keyframes rayPopLoop-4 {
  0%, 75% { opacity: 0; transform: translate(-50%, -50%) rotate(135deg) translateY(-29px) scaleY(0.2); }
  75.2% { opacity: 1; }
  77% { opacity: 1; transform: translate(-50%, -50%) rotate(135deg) translateY(-38px) scaleY(1); }
  78.5% { opacity: 0; transform: translate(-50%, -50%) rotate(135deg) translateY(-42px) scaleY(0.2); }
  100% { opacity: 0; }
}
@keyframes rayPopLoop-5 {
  0%, 75% { opacity: 0; transform: translate(-50%, -50%) rotate(180deg) translateY(-29px) scaleY(0.2); }
  75.2% { opacity: 1; }
  77% { opacity: 1; transform: translate(-50%, -50%) rotate(180deg) translateY(-38px) scaleY(1); }
  78.5% { opacity: 0; transform: translate(-50%, -50%) rotate(180deg) translateY(-42px) scaleY(0.2); }
  100% { opacity: 0; }
}
@keyframes rayPopLoop-6 {
  0%, 75% { opacity: 0; transform: translate(-50%, -50%) rotate(225deg) translateY(-29px) scaleY(0.2); }
  75.2% { opacity: 1; }
  77% { opacity: 1; transform: translate(-50%, -50%) rotate(225deg) translateY(-38px) scaleY(1); }
  78.5% { opacity: 0; transform: translate(-50%, -50%) rotate(225deg) translateY(-42px) scaleY(0.2); }
  100% { opacity: 0; }
}
@keyframes rayPopLoop-7 {
  0%, 75% { opacity: 0; transform: translate(-50%, -50%) rotate(270deg) translateY(-29px) scaleY(0.2); }
  75.2% { opacity: 1; }
  77% { opacity: 1; transform: translate(-50%, -50%) rotate(270deg) translateY(-38px) scaleY(1); }
  78.5% { opacity: 0; transform: translate(-50%, -50%) rotate(270deg) translateY(-42px) scaleY(0.2); }
  100% { opacity: 0; }
}
@keyframes rayPopLoop-8 {
  0%, 75% { opacity: 0; transform: translate(-50%, -50%) rotate(315deg) translateY(-29px) scaleY(0.2); }
  75.2% { opacity: 1; }
  77% { opacity: 1; transform: translate(-50%, -50%) rotate(315deg) translateY(-38px) scaleY(1); }
  78.5% { opacity: 0; transform: translate(-50%, -50%) rotate(315deg) translateY(-42px) scaleY(0.2); }
  100% { opacity: 0; }
}

/* Plant entrance pop-up and gentle float keyframe (slides in AFTER check mark is active) */
@keyframes plantPopAndFloat {
  0%, 80% { transform: translateY(40px) rotate(0deg); opacity: 0; }
  85% { transform: translateY(0) rotate(0deg); opacity: 1; }
  88% { transform: translateY(-4px) rotate(1deg); opacity: 1; }
  91% { transform: translateY(0) rotate(0deg); opacity: 1; }
  93% { transform: translateY(-4px) rotate(-1deg); opacity: 1; }
  95% { transform: translateY(0) rotate(0deg); opacity: 1; }
  97.5%, 100% { transform: translateY(40px) rotate(0deg); opacity: 0; }
}

/* Responsive Grid Utilities & Navigation Refinements */
.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Base text links: matching dropdown trigger font and horizontal padding for symmetrical layout */
.nav-links > a:not(.btn):not(.client-login-link) {
  display: inline-flex;
  align-items: center;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

/* Premium active underline hover animations for text links */
.nav-links > a:not(.btn):not(.client-login-link)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links > a:not(.btn):not(.client-login-link):hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}
@media (max-width: 768px) {
  .nav-links {
    gap: 12px 16px;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.top-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 968px) {
  .top-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .top-trust-bar {
    display: none !important;
  }
}

.hero-cta-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 968px) {
  .hero-cta-buttons {
    justify-content: center;
  }
}

.reassurance-container {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}
@media (max-width: 968px) {
  .reassurance-container {
    justify-content: center;
  }
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.form-trust-badges {
  margin-top: 40px;
  background-color: #fdf7f0;
  border: none;
  border-radius: 16px;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.form-trust-badge-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-right: 1px solid #EADFD7; /* Harmonious vertical separator line */
  padding-right: 28px;
  height: 100%;
}

.form-trust-badge-item:last-child {
  border-right: none;
  padding-right: 0;
}

.form-trust-badge-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-trust-badge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form-trust-badge-content h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0B1921;
  margin: 0 0 6px 0;
  font-family: var(--font-header);
}

.form-trust-badge-content p {
  font-size: 12px;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

@media (max-width: 968px) {
  .form-trust-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .form-trust-badge-item {
    border-right: 1px solid #EFF2EF;
    padding-right: 20px;
  }
  .form-trust-badge-item:nth-child(2n) {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  .form-trust-badges {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form-trust-badge-item {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 1px solid #EFF2EF;
    padding-bottom: 16px;
  }
  .form-trust-badge-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 600px;
  margin: 0 auto 40px auto;
  text-align: left;
  font-size: 13px;
}
@media (max-width: 576px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
}

/* Redesigned alternating process stepper for how-it-works.html */
.process-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 0;
}

.process-thread {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  border-left: 2px dashed #D3E0D6;
  transform: translateX(-50%);
  z-index: 1;
}

@media (max-width: 768px) {
  .process-container {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
    padding: 30px 16px;
  }
  .process-thread {
    left: 40px; /* Aligns with centered graphic dots on mobile */
    transform: none;
  }
}

.step-card-alternating {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 90px;
  position: relative;
  z-index: 2;
  text-align: left;
}

.step-card-alternating.reversed {
  grid-template-columns: 0.9fr 1.1fr;
}

@media (max-width: 768px) {
  .step-card-alternating, .step-card-alternating.reversed {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 60px;
    padding-left: 104px; /* indent so text lines up under mobile thread with a 24px gap */
    min-height: 104px; /* prevent absolute positioned icon overflow */
  }
}

.step-card-alternating:last-child {
  margin-bottom: 0;
}

.step-graphic-box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.step-card-alternating.reversed .step-graphic-box {
  grid-column: 2;
}

@media (max-width: 768px) {
  .step-graphic-box {
    justify-content: flex-start;
  }
  .step-card-alternating.reversed .step-graphic-box {
    grid-column: 1;
  }
}

.step-graphic-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: var(--transition);
  padding: 8px;
}

.step-card-alternating:hover .step-graphic-wrapper {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-graphic-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.step-content-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.step-card-alternating:hover .step-content-box {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .step-content-box {
    padding: 24px;
  }
}

.role-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 12px;
  width: fit-content;
  letter-spacing: 0.5px;
}
.role-badge.user {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(56, 106, 70, 0.15);
}
.role-badge.neighbor {
  background-color: #EFF2F5;
  color: #162B37;
  border: 1px solid rgba(22, 43, 55, 0.1);
}
.role-badge.joint {
  background-color: var(--warning-light);
  color: var(--warning);
  border: 1px solid rgba(180, 83, 9, 0.15);
}

.step-content-box h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.step-content-box p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  /* Set the graphics to line up with absolute positioning under mobile vertical connecting thread */
  .step-graphic-box {
    position: absolute;
    left: 0;
    top: 24px;
  }
  .step-graphic-wrapper {
    width: 80px;
    height: 80px;
  }
}

/* Mobile vertical dotted line in horizontal stepper on front page */
@media (max-width: 768px) {
  .roadmap-row::before {
    content: '';
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 32px;
    width: 0;
    border-left: 2px dashed var(--border-color);
    z-index: 1;
  }
}

/* Premium Mobile UI/UX Styling & Navigation Overhaul */
.hero {
  overflow: hidden;
}

#menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.menu-button span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 1px;
  transition: var(--transition);
  transform-origin: left center;
}

@media (max-width: 968px) {
  .menu-button {
    display: flex;
  }
  
  header .nav-container {
    position: relative;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-links a:not(.btn) {
    font-size: 15px;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid #EFF2EF;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
  }

  .nav-links a:not(.btn):hover {
    color: var(--primary);
  }

  .nav-links a::after {
    display: none !important;
  }

  .nav-links a.btn {
    margin-left: 0 !important;
    width: 100%;
    margin-top: 8px;
  }

  #menu-toggle:checked ~ .nav-links {
    display: flex;
    animation: menuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  #menu-toggle:checked ~ .menu-button span:nth-child(1) {
    transform: rotate(45deg) translate(2px, -2px);
    background-color: var(--primary);
  }
  #menu-toggle:checked ~ .menu-button span:nth-child(2) {
    opacity: 0;
  }
  #menu-toggle:checked ~ .menu-button span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 2px);
    background-color: var(--primary);
  }
  
  /* Font scale responsive overrides */
  .hero-title {
    font-size: 32px !important;
  }
  .hero-subtitle {
    font-size: 22px !important;
  }
  .section-title {
    font-size: 26px !important;
    line-height: 1.2;
  }
  .section {
    padding: 48px 0;
  }
}

@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Category cards horizontal rows layout on mobile */
@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .category-card {
    flex-direction: row !important;
    justify-content: flex-start !important;
    padding: 12px 16px !important;
    gap: 16px !important;
    text-align: left !important;
  }
  .category-icon {
    font-size: 20px !important;
    flex-shrink: 0 !important;
  }
  .category-card h4 {
    font-size: 14px !important;
    margin: 0 !important;
  }
  
  .hero-cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .hero-cta-buttons .btn {
    width: 100% !important;
    text-align: center !important;
  }
}

/* Mobile Wizard Modal & Trigger styling (SN-MVP-019) */

/* Show the trigger block by default on all viewports */
.mobile-wizard-trigger-section {
  display: block;
  background-color: var(--bg-color);
  padding: 60px 0 80px 0;
}

@media (max-width: 768px) {
  .mobile-wizard-trigger-section {
    padding: 40px 0 60px 0;
  }
}

/* Premium Hover Animation on the Wizard Trigger Card */
.wizard-trigger-card {
  min-height: auto !important;
  padding: 56px 40px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.wizard-trigger-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(15, 33, 21, 0.08), 0 2px 8px rgba(15, 33, 21, 0.03) !important;
}

@media (max-width: 768px) {
  .wizard-trigger-card {
    padding: 40px 20px !important;
    gap: 16px !important;
  }
}

/* Hide the static inline form section on all breakpoints by default */
.form-section {
  display: none; /* hidden until it gets the .open class */
}

/* Turn the form section into a fixed fullscreen modal when open */
.form-section.open {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important; /* Fallback to dynamic viewport height for mobile devices to prevent Safari toolbar overlap */
  background-color: #fffefb !important;
  z-index: 10000 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.form-section.open .container {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.form-section.open .form-wrapper {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  grid-template-rows: auto 1fr !important;
  margin: 0 !important;
  background-color: #fffefb !important;
}

/* Sidebar stepper visible and premium in modal */
.form-section.open .form-sidebar {
  display: block !important;
  background-color: #FFFFFF !important;
  border-right: 1px solid var(--border-color) !important;
  padding: 40px 32px !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

/* Make main content area scrollable */
.form-section.open .form-main-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  padding: 0 !important;
  background-color: #fffefb !important;
  height: 100% !important;
}

.form-section.open #form-steps-container {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  height: 100% !important;
}

.form-section.open .form-step-panel {
  flex: 1 !important;
  display: none !important;
  flex-direction: column !important;
  overflow: hidden !important;
  height: 100% !important;
  max-width: 1000px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.form-section.open .form-step-panel.active {
  display: flex !important;
}

/* Sticky Modal Header inside the modal */
.form-section.open .form-header-container {
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 18px 40px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
}

.form-section.open .form-header-container h2 {
  font-size: 21px !important;
  font-weight: 700 !important;
}

.form-section.open .form-header-container p {
  font-size: 13.5px !important;
  color: var(--text-sub) !important;
  margin: 4px 0 0 0 !important;
}

.form-section .step-header {
  display: none !important;
}

.form-section.open .step-fields-container {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 32px 40px 40px 40px !important;
  margin-top: 0 !important;
}

/* Sticky bottom navigation controls inside the modal */
.form-section.open .form-nav {
  position: static !important;
  width: 100% !important;
  background-color: #ffffff !important;
  border-top: 1px solid var(--border-color) !important;
  padding: 24px 40px !important;
  margin-top: auto !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.02) !important;
  z-index: 10100 !important;
}

/* Wizard Close Button styling */
.wizard-close-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: #EFF2EF;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.wizard-close-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  transform: rotate(90deg);
}

/* Visual Progress Bar */
.wizard-progress-bar-container {
  display: block !important;
  width: 100%;
  height: 4px;
  background-color: #EFF2EF;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10200;
}

.wizard-progress-bar {
  height: 100%;
  background-color: var(--primary);
  width: 14.3%; /* default starting step (1 of 7) */
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive mobile adjustments inside the modal takeover */
@media (max-width: 768px) {
  .form-section.open .form-wrapper {
    display: flex !important;
    flex-direction: column !important;
  }
  
  .form-section.open .form-sidebar {
    display: none !important;
  }
  
  .form-section.open .form-header-container {
    padding: 16px 20px !important;
  }
  
  .form-section.open .form-header-container h2 {
    font-size: 20px !important;
  }
  
  .form-section.open .form-header-container p {
    display: none !important; /* Hide subtitle to save space on mobile */
  }
  
  .form-section.open .step-header {
    padding: 20px 20px 0 20px !important;
    margin-bottom: 12px !important;
  }
  
  .form-section.open .step-fields-container {
    padding: 8px 20px 32px 20px !important;
  }
  
  .form-section.open .form-nav {
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom)) 20px !important;
    gap: 12px !important;
  }
  
  .form-section.open .form-nav button {
    flex: 1 !important;
    margin: 0 !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
  }
}

/* Services Grid & Reassurance Card layout rules (SN-MVP-022) */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-span-half {
  grid-column: span 1.5;
}

/* Reassurance Section Card */
.reassurance-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 60px 48px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.reassurance-title {
  font-family: var(--font-header);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

.reassurance-text {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 36px auto;
}

.reassurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.reassurance-span-2 {
  grid-column: span 2;
}

.reassurance-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-span-half {
    grid-column: span 1;
  }
  /* Stretch the odd 5th element to span the entire second row */
  .services-grid .prop-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-span-half {
    grid-column: span 1 !important;
  }
  .services-grid .prop-card:last-child {
    grid-column: span 1 !important;
  }
  
  .reassurance-card {
    padding: 40px 24px;
  }
  .reassurance-title {
    font-size: 26px;
  }
  .reassurance-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reassurance-span-2 {
    grid-column: span 1;
  }
}

/* Reviews Transition Section (SN-MVP-024) */
.reviews-transition {
  background-color: var(--bg-color); /* Matches the main cream tint #fdfdf9 */
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 80px 0 48px 0;
  overflow: hidden;
}

.reviews-transition .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.reviews-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  border: 1px solid rgba(56, 106, 70, 0.25);
  border-radius: 20px;
  padding: 6px 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.reviews-badge-stars {
  color: #F59E0B;
  font-size: 12px;
  letter-spacing: 1px;
}

.reviews-badge-text {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reviews-header-title {
  font-family: var(--font-header);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 16px;
  margin-bottom: 8px;
}

.reviews-header-subtitle {
  font-size: 15px;
  color: var(--text-sub);
  font-weight: 500;
}

.reviews-divider {
  width: 48px;
  height: 2.5px;
  background-color: var(--primary);
  margin: 16px auto 0 auto;
  border-radius: 1px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1100px;
}

.review-card {
  background-color: #FFFFFF; /* Pure white cards pop on cream bg */
  border: 1px solid rgba(211, 224, 214, 0.6);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  cursor: default;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  border-color: var(--primary);
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.review-card-stars {
  display: flex;
  gap: 3px;
  color: #F59E0B;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
  flex-grow: 1;
}

.review-inner-divider {
  border-top: 1px solid #EFF2EF;
  margin: 20px 0 16px 0;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author-details {
  display: flex;
  flex-direction: column;
}

.review-author-name {
  font-family: var(--font-header);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.review-author-business {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-sub);
  margin-top: 2px;
}

.review-author-location {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-sub);
  margin-top: 3px;
}

/* Reviews Bottom Trust Bar */
.reviews-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1100px;
  margin-top: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
}

.reviews-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviews-trust-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviews-trust-content {
  display: flex;
  flex-direction: column;
}

.reviews-trust-title {
  font-family: var(--font-header);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 2px;
}

.reviews-trust-desc {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 500;
  line-height: 1.2;
}

/* Responsive adjustments for reviews transition */
@media (max-width: 992px) {
  .reviews-header-title {
    font-size: 32px !important;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .reviews-grid .review-card:last-child {
    grid-column: span 2;
  }
  .reviews-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}

@media (max-width: 768px) {
  .reviews-transition {
    padding: 60px 0 36px 0;
  }
  .reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 16px;
    margin: 0 -8px;
  }
  .reviews-grid::-webkit-scrollbar {
    height: 4px;
  }
  .reviews-grid::-webkit-scrollbar-track {
    background: transparent;
  }
  .reviews-grid::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
  }
  .review-card {
    flex-shrink: 0;
    width: 300px;
    grid-column: span 1 !important;
    padding: 24px;
  }
  .reviews-trust-bar {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 36px;
  }
  .reviews-trust-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Reviews Coming Soon Placeholder Styles (SN-MVP-025) */
.reviews-placeholder-card {
  background-color: #FFFFFF;
  border: 1px dashed rgba(56, 106, 70, 0.3);
  border-radius: 16px;
  padding: 48px 32px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  transition: var(--transition);
}

.reviews-placeholder-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.reviews-placeholder-icon-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(56, 106, 70, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.reviews-placeholder-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 106, 70, 0.4);
  animation: pulseGlow 2.5s infinite ease-out;
  pointer-events: none;
}

.reviews-placeholder-star {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 11px;
  line-height: 1;
  background-color: #FFFFFF;
  border: 1px solid rgba(245, 158, 11, 0.30);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.reviews-placeholder-title {
  font-family: var(--font-header);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.reviews-placeholder-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 440px;
  margin: 0;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1.0);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* FAQ Accordion Mobile Truncation Fix */
.faq-item.open .faq-answer {
  max-height: 1000px !important;
}

/* Back to Site Dashboard Escape Hatch Link */
.back-to-site-link {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.back-to-site-link:hover {
  color: var(--primary);
}

/* Invoices Table Responsive Swipe Wrapper */
.table-responsive-wrapper {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  margin-top: 16px;
}

/* ==========================================================================
   PREMIUM ADMIN DASHBOARD REDESIGN SYSTEM (Light Sidebar & 3-Column Layout)
   ========================================================================== */

:root {
  --admin-sidebar-bg: #FFFFFF;
  --admin-sidebar-text: #64748B; /* slate-500 */
  --admin-sidebar-active: #386A46; /* forest green active */
  --admin-sidebar-active-bg: #EFF6F1; /* light green active bg */
  --admin-sidebar-hover-bg: #F8FAFC; /* slate-50 hover bg */
  --admin-card-bg: #FFFFFF;
  --admin-border-color: #E2E8F0;
  --admin-bg-light: #F8FAFC;
}

/* Coming Soon Badges */
.badge-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px dashed #FCDCB4; /* fine dashed border in warning amber */
  background-color: #FFFBEB; /* soft amber background */
  color: #D97706; /* amber-600 */
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1;
}

/* Admin Dashboard Main Grid Frame */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background-color: #F8FAFC;
}

@media (max-width: 1024px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

.admin-workspace-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  width: 100%;
}

@media (max-width: 1024px) {
  .admin-workspace-wrapper {
    height: 100vh !important;
    padding-top: 60px !important;
    box-sizing: border-box !important;
  }
}

/* Left Sidebar Frame */
.admin-sidebar-new {
  background-color: var(--admin-sidebar-bg);
  color: var(--admin-sidebar-text);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--admin-border-color);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

@media (max-width: 1024px) {
  .admin-sidebar-new {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: calc(100vh - 60px) !important;
    z-index: 999 !important;
    background-color: var(--admin-sidebar-bg) !important;
    border-right: none !important;
    border-top: 1px solid var(--admin-border-color) !important;
    padding: 20px !important;
    display: none !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(-10px);
    opacity: 0;
  }
  .admin-sidebar-new.mobile-open {
    display: flex !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
}

.admin-logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-left: 8px;
}

.admin-logo-img {
  height: 32px;
  border-radius: 6px;
}

.admin-logo-text {
  font-family: var(--font-header);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.admin-logo-subtext {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  margin-top: -2px;
  letter-spacing: 0.5px;
}

.admin-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--admin-sidebar-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  transition: var(--transition);
  cursor: pointer;
}

.admin-menu-item:hover {
  background-color: var(--admin-sidebar-hover-bg);
  color: var(--text-main);
}

.admin-menu-item.active {
  background-color: var(--admin-sidebar-active-bg);
  color: var(--admin-sidebar-active);
  font-weight: 600;
}

.admin-menu-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-menu-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: var(--transition);
}

.admin-menu-item.active .admin-menu-icon {
  color: var(--admin-sidebar-active);
}

/* Sidebar Count Badges */
.admin-menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #EFF6F1; /* Primary light green */
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  border-radius: 9999px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
}

.admin-menu-badge.red {
  background-color: #FEE2E2;
  color: #EF4444;
}

/* Bottom Sidebar Help card */
.admin-sidebar-help-card {
  background-color: #F8FAFC;
  border: 1px solid var(--admin-border-color);
  border-radius: 12px;
  padding: 16px;
  margin-top: 32px;
  text-align: center;
}

.admin-sidebar-help-title {
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.admin-sidebar-help-desc {
  color: var(--text-sub);
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Top Header Frame */
.admin-header-new {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--admin-border-color);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

@media (max-width: 1024px) {
  .admin-header-new {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    z-index: 1000 !important;
    border-bottom: 1px solid var(--admin-border-color) !important;
  }
}

.mobile-hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #64748B;
  display: none;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
}
.mobile-hamburger-btn:hover {
  background-color: var(--admin-sidebar-hover-bg);
}
@media (max-width: 1024px) {
  .mobile-hamburger-btn {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .admin-header-search-wrapper {
    display: none !important;
  }
  .view-section {
    padding: 16px 20px !important;
  }
}

.admin-header-search-wrapper {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.admin-header-search-input {
  width: 100%;
  padding: 8px 16px 8px 36px;
  border-radius: 8px;
  border: 1px solid var(--admin-border-color);
  background-color: #F8FAFC;
  font-size: 13px;
  transition: var(--transition);
  outline: none;
}

.admin-header-search-input:focus {
  border-color: var(--primary);
  background-color: #FFFFFF;
}

.admin-header-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  display: flex;
  align-items: center;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .admin-header-actions {
    justify-content: space-between;
  }
}

.admin-header-notification-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: #64748B;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 6px;
  border-radius: 50%;
}

.admin-header-notification-btn:hover {
  background-color: #F1F5F9;
  color: #1E293B;
}

.admin-header-notification-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  background-color: #EF4444;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  border-radius: 9999px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.admin-header-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--admin-border-color);
}

.admin-header-profile-info {
  display: flex;
  flex-direction: column;
}

.admin-header-profile-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.admin-header-profile-role {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 500;
}

/* 3-Column Workspace Grid System */
.admin-workspace-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  padding: 24px 32px;
  align-items: start;
}

@media (max-width: 1200px) {
  .admin-workspace-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.workspace-middle-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.workspace-right-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Stats Card Horizontal Layout - Matches Mockup Compact Sizing */
.admin-stats-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1400px) {
  .admin-stats-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .admin-stats-grid-new {
    grid-template-columns: 1fr;
  }
}

.admin-card-new {
  background-color: var(--admin-card-bg);
  border: 1px solid var(--admin-border-color);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.01), 0 1px 2px rgba(0,0,0,0.01);
  transition: var(--transition);
}

.admin-card-new:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

/* Compact Stats Card Inner Layout */
.admin-stat-card-compact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-stat-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.admin-stat-icon-circle.green { background-color: #EFF6F1; color: var(--primary); }
.admin-stat-icon-circle.blue { background-color: #EFF6FF; color: #3B82F6; }
.admin-stat-icon-circle.purple { background-color: #F5F3FF; color: #8B5CF6; }
.admin-stat-icon-circle.orange { background-color: #FFF5F5; color: #EF4444; }
.admin-stat-icon-circle.amber { background-color: #FFFBEB; color: #D97706; }

.admin-stat-details {
  display: flex;
  flex-direction: column;
}

.admin-stat-label-compact {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 2px;
}

.admin-stat-value-compact {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  font-family: var(--font-header);
}

.admin-stat-trend-compact {
  font-size: 11px;
  margin-top: 4px;
  font-weight: 600;
}

.admin-stat-trend-compact.up { color: #10B981; }

.admin-stat-trend-period-compact {
  color: #94A3B8;
  font-weight: 500;
}

/* Card Header Section */
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 12px;
}

.admin-card-title-main {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-card-link-action {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
}

.admin-card-link-action:hover {
  color: var(--primary-hover);
}

/* Requests card list row items */
.admin-requests-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-requests-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  transition: var(--transition);
}

.admin-requests-row:hover {
  background-color: #FFFFFF;
  border-color: var(--primary);
}

.admin-requests-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-requests-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.admin-requests-icon.green { background-color: #EFF6F1; color: var(--primary); }
.admin-requests-icon.orange { background-color: #FFFBEB; color: #D97706; }
.admin-requests-icon.purple { background-color: #F5F3FF; color: #8B5CF6; }
.admin-requests-icon.red { background-color: #FEE2E2; color: #EF4444; }

.admin-requests-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.admin-requests-count {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

/* Compact System Health status list row items */
.system-health-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}

.system-health-row-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* ========================================================================= */
/* SUBSCRIPTIONS VIEW STYLES */
/* ========================================================================= */

.subs-quick-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--admin-border-color);
  text-decoration: none;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.2s;
}
.subs-quick-action:hover {
  background: var(--admin-bg);
}
.subs-quick-action svg {
  width: 16px;
  height: 16px;
  color: var(--text-sub);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
}
.plan-badge-pro { background-color: #DBEAFE; color: #1D4ED8; }
.plan-badge-basic { background-color: #F1F5F9; color: #475569; }
.plan-badge-starter { background-color: #FEF3C7; color: #D97706; }
.plan-badge-custom { background-color: #F3E8FF; color: #7E22CE; }

.status-badge-active { background-color: #DCFCE7; color: #15803D; }
.status-badge-trial { background-color: #FFEDD5; color: #C2410C; }
.status-badge-past-due { background-color: #FEE2E2; color: #B91C1C; }
.status-badge-canceled { background-color: #F1F5F9; color: #64748B; }

.system-health-label-compact {
  font-weight: 600;
  color: var(--text-main);
}

.system-health-status-compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.system-health-status-compact.operational {
  color: #10B981;
}

.system-health-status-compact.offline {
  color: #EF4444;
}

/* Timeline Activity list log row items */
.timeline-list {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 20px;
  border-left: 2px dashed #E2E8F0;
  margin-left: 6px;
  gap: 16px;
}

.timeline-item-new {
  position: relative;
}

.timeline-item-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background-color: #CBD5E1;
  box-shadow: 0 0 0 1.5px #E2E8F0;
}

.timeline-item-dot.submission { background-color: #3B82F6; }
.timeline-item-dot.transition { background-color: #8B5CF6; }
.timeline-item-dot.payment { background-color: #10B981; }
.timeline-item-dot.system { background-color: #EF4444; }

.timeline-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timeline-item-text {
  font-size: 12.5px;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

.timeline-item-time {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 600;
}

/* Users selectable inspector splits */
.users-split-grid-new {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .users-split-grid-new {
    grid-template-columns: 1fr;
  }
}

.users-list-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 4px;
}

.users-list-sidebar::-webkit-scrollbar {
  width: 4px;
}
.users-list-sidebar::-webkit-scrollbar-thumb {
  background: var(--admin-border-color);
  border-radius: 2px;
}

.user-card-selectable {
  background-color: #FFFFFF;
  border: 1px solid var(--admin-border-color);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
}

.user-card-selectable:hover {
  border-color: var(--primary);
  background-color: var(--admin-bg-light);
}

.user-card-selectable.active {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.user-selectable-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.user-selectable-sub {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.2;
}

/* Left sidebar panel profile inspector styles */
.user-inspector-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.user-profile-avatar-large {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow);
  margin: 0 auto 10px auto;
}

.user-profile-center-block {
  text-align: center;
  margin-bottom: 12px;
}

.user-profile-name-large {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.user-profile-role-badge {
  display: inline-block;
  padding: 2px 8px;
  background-color: #EFF6FF;
  color: #3B82F6;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
}

.profile-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #F1F5F9;
  padding-top: 12px;
}

.profile-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-meta-label {
  font-size: 10px;
  color: var(--text-sub);
  font-weight: 700;
  text-transform: uppercase;
}

.profile-meta-value {
  font-size: 12.5px;
  color: var(--text-main);
  font-weight: 500;
  word-break: break-all;
}

.inspector-tab-bar {
  display: flex;
  gap: 6px;
  background-color: #F1F5F9;
  border: 1px solid var(--admin-border-color);
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 24px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.inspector-tab-bar::-webkit-scrollbar {
  display: none;
}

.inspector-tab {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  white-space: nowrap;
}

.inspector-tab:hover {
  color: var(--text-main);
  background-color: #E2E8F0;
}

.inspector-tab.active {
  color: var(--primary);
  background-color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.05);
}

.inspector-tab-content {
  display: none;
}

.inspector-tab-content.active {
  display: block;
}

/* Care Plan Box subscription */
.care-plan-card {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.care-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.care-plan-tag {
  background-color: rgba(16, 185, 129, 0.2);
  color: #34D399;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 9px;
  font-weight: 700;
}

.care-plan-price {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-header);
}

/* Responsive Table utilities */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--admin-border-color);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* =========================================================================
   COMMUNICATIONS & MESSAGES SYSTEM STYLING
   ========================================================================= */

.messages-layout-grid {
  display: grid;
  grid-template-columns: 330px 1fr 310px;
  gap: 20px;
  height: calc(100vh - 180px);
  min-height: 550px;
  align-items: stretch;
}

.messages-layout-single-pane {
  width: 100%;
  height: calc(100vh - 160px);
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .messages-layout-single-pane {
    height: calc(100vh - 140px);
  }
}

@media (max-width: 768px) {
  .messages-layout-single-pane {
    height: calc(100vh - 170px);
    min-height: 350px;
  }
}

@media (max-width: 1200px) {
  .messages-layout-grid {
    grid-template-columns: 290px 1fr;
  }
  .messages-layout-grid .messages-details-sidebar {
    display: none; /* Hide details panel on tablet */
  }
}

@media (max-width: 900px) {
  .messages-layout-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
}

/* Left Column: Conversations list */
.convo-list-container {
  background-color: #FFFFFF;
  border: 1px solid var(--admin-border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.convo-tab-bar {
  display: flex;
  border-bottom: 1px solid #F1F5F9;
  padding: 8px 12px 0 12px;
  gap: 4px;
}

.convo-tab {
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.convo-tab:hover {
  color: var(--primary);
}

.convo-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.convo-tab-badge {
  font-size: 10px;
  background-color: #EFF6F1;
  color: var(--primary);
  font-weight: 700;
  border-radius: 9999px;
  padding: 1px 6px;
}

.convo-search-wrapper {
  padding: 12px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.convo-search-box {
  position: relative;
  flex: 1;
}

.convo-search-input {
  width: 100%;
  padding: 6px 12px 6px 30px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  background-color: #F8FAFC;
  font-size: 12.5px;
  outline: none;
  transition: var(--transition);
}

.convo-search-input:focus {
  border-color: var(--primary);
  background-color: #FFFFFF;
}

.convo-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  display: flex;
  align-items: center;
}

.convo-filter-btn {
  background: none;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748B;
  transition: var(--transition);
}

.convo-filter-btn:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
}

.convo-items-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.convo-item {
  display: flex;
  align-items: center;
  padding: 14px 12px;
  border-bottom: 1px solid #F8FAFC;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  gap: 12px;
}

.convo-item:hover {
  background-color: #F8FAFC;
}

.convo-item.active {
  background-color: #EFF6F1;
  border-left: 3px solid var(--primary);
  padding-left: 9px;
}

.convo-item-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3B82F6;
  flex-shrink: 0;
}

.convo-item-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  color: #FFFFFF;
}

.convo-item-details {
  flex: 1;
  min-width: 0;
}

.convo-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.convo-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.convo-item-time {
  font-size: 10.5px;
  color: #94A3B8;
  font-weight: 600;
}

.convo-item-meta {
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 2px;
  font-weight: 500;
}

.convo-item-preview {
  font-size: 11.5px;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.convo-item-badge {
  font-size: 10px;
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.convo-footer {
  padding: 10px 12px;
  font-size: 11.5px;
  color: var(--text-sub);
  background-color: #F8FAFC;
  border-top: 1px solid #F1F5F9;
  text-align: center;
}

/* Center Column: Chat area */
.chat-window-container {
  background-color: #FFFFFF;
  border: 1px solid var(--admin-border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.chat-header {
  padding: 14px 20px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FFFFFF;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #FFFFFF;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-header-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-header-subtitle {
  font-size: 11.5px;
  color: var(--text-sub);
  margin-top: 1px;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-messages-stream {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background-color: #FAFBFB;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-date-separator {
  align-self: center;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  background-color: #F1F5F9;
  padding: 4px 10px;
  border-radius: 12px;
  margin: 10px 0;
  text-transform: uppercase;
}

.chat-bubble-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 75%;
}

.chat-bubble-wrapper.admin {
  align-self: flex-end;
}

.chat-bubble-wrapper.client {
  align-self: flex-start;
}

.chat-bubble-meta {
  font-size: 11px;
  color: #94A3B8;
  margin-bottom: 4px;
  padding: 0 4px;
  font-weight: 500;
}

.chat-bubble-wrapper.admin .chat-bubble-meta {
  text-align: right;
}

.chat-bubble {
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}

.chat-bubble-wrapper.client .chat-bubble {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: var(--text-body);
  border-top-left-radius: 2px;
}

.chat-bubble-wrapper.admin .chat-bubble {
  background-color: #EFF6F1; /* Site Neighbor green */
  border: 1px solid rgba(56, 106, 70, 0.1);
  color: var(--text-body);
  border-top-right-radius: 2px;
}

.chat-bubble-wrapper.agent {
  align-self: flex-start;
}
.chat-bubble-wrapper.agent .chat-bubble-meta {
  text-align: left;
}
.chat-bubble-wrapper.agent .chat-bubble {
  background-color: #F0FDF4; /* Light Mint Tint */
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--text-body);
  border-top-left-radius: 2px;
}

.chat-bubble-wrapper.system {
  align-self: center;
  max-width: 90%;
  margin: 8px 0;
}
.chat-bubble-wrapper.system .chat-bubble {
  background-color: #F8FAFC;
  border: 1px dashed #CBD5E1;
  color: #475569;
  font-size: 12px;
  font-style: italic;
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
  box-shadow: none;
}
.chat-bubble-wrapper.system .chat-bubble-meta {
  display: none;
}

/* Hover Emoji reaction popup trigger */
.chat-bubble-actions {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  gap: 4px;
}

.chat-bubble-wrapper.client:hover .chat-bubble-actions {
  display: flex;
  right: -32px;
}

.chat-bubble-action-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: #64748B;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.chat-bubble-action-btn:hover {
  background-color: #F8FAFC;
  transform: scale(1.1);
}

.chat-bubble-status {
  display: flex;
  justify-content: flex-end;
  font-size: 10px;
  color: var(--primary);
  margin-top: 4px;
  font-weight: bold;
}

/* Attachment Cards */
.chat-attachment-card {
  margin-top: 8px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background-color: #FFFFFF;
  overflow: hidden;
  max-width: 320px;
}

.chat-attachment-preview {
  height: 120px;
  background-color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #F1F5F9;
}

.chat-attachment-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-attachment-preview .file-placeholder {
  font-size: 32px;
  color: #94A3B8;
}

.chat-attachment-footer {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.chat-attachment-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-right: 12px;
}

.chat-attachment-name {
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-attachment-size {
  color: var(--text-sub);
  font-size: 10.5px;
  margin-top: 1px;
}

.chat-attachment-download {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748B;
  transition: var(--transition);
}

.chat-attachment-download:hover {
  background-color: #F8FAFC;
  color: var(--primary);
  border-color: var(--primary);
}

/* Chat Input Bar */
.chat-input-wrapper {
  padding: 16px 20px;
  border-top: 1px solid #F1F5F9;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.chat-textarea-box {
  width: 100%;
  min-height: 52px;
  max-height: 120px;
  padding: 0;
  border: none;
  font-size: 13px;
  color: var(--text-body);
  outline: none;
  resize: none;
  font-family: inherit;
}

.chat-input-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F8FAFC;
  padding-top: 10px;
}

.chat-input-toolbar-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-toolbar-btn {
  background: none;
  border: none;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748B;
  font-size: 16px;
  transition: var(--transition);
}

.chat-toolbar-btn:hover {
  background-color: #F1F5F9;
  color: var(--text-main);
}

/* Right Column: Details Pane */
.messages-details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  height: 100%;
  padding-right: 2px;
}

.messages-details-sidebar::-webkit-scrollbar {
  width: 3px;
}

.messages-details-sidebar::-webkit-scrollbar-thumb {
  background: #E2E8F0;
  border-radius: 2px;
}

.sidebar-card-new {
  background-color: #FFFFFF;
  border: 1px solid var(--admin-border-color);
  border-radius: 12px;
  padding: 16px;
}

.sidebar-card-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-card-title-link {
  font-size: 10.5px;
  color: var(--primary);
  text-transform: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

/* Sidebar Tag labels list */
.sidebar-labels-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sidebar-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background-color: #FFFBEB;
  color: #D97706; /* Orange labels */
  border: 1px solid rgba(217, 119, 6, 0.1);
}

.sidebar-tag-remove {
  background: none;
  border: none;
  font-size: 10px;
  cursor: pointer;
  color: #D97706;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Sidebar Notes list */
.sidebar-notes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-note-item {
  background-color: #F8FAFC;
  border: 1px solid var(--admin-border-color);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-note-body {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-body);
  margin: 0;
  font-style: italic;
}

.sidebar-note-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-sub);
  margin-top: 2px;
}

/* Template/Canned Response overlay dropdown */
.canned-response-dropdown {
  position: absolute;
  bottom: 60px;
  left: 20px;
  background: #FFFFFF;
  border: 1px solid var(--admin-border-color);
  border-radius: 8px;
  width: 260px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  display: none;
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
}

.canned-response-item {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-body);
  cursor: pointer;
  border-bottom: 1px solid #F8FAFC;
  transition: var(--transition);
  text-align: left;
}

.canned-response-item:hover {
  background-color: #F1F5F9;
  color: var(--primary);
}

.canned-response-item:last-child {
  border-bottom: none;
}

/* Client project status chat style overrides */
.client-chat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 500px;
  margin-top: 24px;
}

/* Premium Dynamic Form Custom Selection Buttons (Orion Style) */
.button-group-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.button-option-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border-color);
}

.button-option-card:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.button-option-card.selected {
  background-color: #EFF6F1;
  border-color: var(--primary);
  box-shadow: 0 0 0 1.5px var(--primary);
  color: var(--primary);
}

.button-option-card .check-icon {
  display: none;
  color: var(--primary);
  align-items: center;
}

.button-option-card.selected .check-icon {
  display: inline-flex;
}

/* Premium Multi-Select Checkbox Cards */
.checkbox-group-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.checkbox-option-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
  box-shadow: var(--shadow);
}

.checkbox-option-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.checkbox-option-card.selected {
  background-color: #EFF6F1;
  border-color: var(--primary);
  box-shadow: 0 0 0 1.5px var(--primary);
}

.checkbox-option-card input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}

/* Visual StepperDot Completed Checkmark */
.form-step-item.completed .step-dot {
  background-color: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-step-item.completed .step-dot::before {
  content: '✓';
  font-size: 14px;
  font-weight: 800;
}

/* Validation Shaking Animation & Highlight */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.validation-error {
  animation: shake 0.35s ease-in-out;
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.error-message {
  color: #DC2626;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Sub-wizard Path Animations */
.conditional-path-container {
  animation: fadeIn 0.35s ease-in-out forwards;
}

/* Repeating URL rows for example websites */
.url-inputs-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.url-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.remove-url-btn {
  background: none;
  border: none;
  color: #EF4444;
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: var(--transition);
}

.remove-url-btn:hover {
  background-color: #FEE2E2;
}

.add-url-btn {
  background: none;
  border: 1px dashed var(--primary);
  color: var(--primary);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  margin-top: 8px;
  align-self: flex-start;
}

.add-url-btn:hover {
  background-color: var(--primary-light);
}

/* Pulsating Unread Badge Animation */
@keyframes pulse-badge {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(190, 18, 60, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(190, 18, 60, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(190, 18, 60, 0); }
}

.unread-badge-pulse {
  background-color: var(--danger-crimson) !important;
  color: #FFFFFF !important;
  animation: pulse-badge 2s infinite;
}

/* Frosted Lock Overlay Screens */
.lock-overlay-container {
  position: relative;
}

.frosted-lock-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 50;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  pointer-events: all;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.lock-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 16px 24px;
  text-align: center;
  max-width: 320px;
}

/* Amber Lock Banner slide-down animation */
.lock-banner {
  grid-column: 1 / -1;
  background-color: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #92400E;
  font-size: 14.5px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.05);
  margin-bottom: 24px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.lock-banner-icon {
  background-color: #FEF3C7;
  color: #D97706;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lock-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.lock-banner-title {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 15px;
  color: #78350F;
}

.lock-banner-desc {
  color: #92400E;
  font-size: 13.5px;
  font-weight: 500;
}

.lock-banner-status-badge {
  background-color: #FEF3C7;
  color: #B45309;
  border: 1px solid #FCDCB4;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#client-chat-stream .chat-bubble-wrapper.client,
#messages-chat-stream .chat-bubble-wrapper.client {
  align-self: flex-end;
}
#client-chat-stream .chat-bubble-wrapper.client .chat-bubble-meta,
#messages-chat-stream .chat-bubble-wrapper.client .chat-bubble-meta {
  text-align: right;
}
#client-chat-stream .chat-bubble-wrapper.client .chat-bubble,
#messages-chat-stream .chat-bubble-wrapper.client .chat-bubble {
  background-color: #EFF6F1; /* Site Neighbor green */
  border: 1px solid rgba(56, 106, 70, 0.1);
  color: var(--text-body);
  border-top-right-radius: 2px;
  border-top-left-radius: 12px;
}
#client-chat-stream .chat-bubble-wrapper.client .chat-bubble-status,
#messages-chat-stream .chat-bubble-wrapper.client .chat-bubble-status {
  display: flex;
  justify-content: flex-end;
}

#client-chat-stream .chat-bubble-wrapper.admin,
#messages-chat-stream .chat-bubble-wrapper.admin {
  align-self: flex-start;
}
#client-chat-stream .chat-bubble-wrapper.admin .chat-bubble-meta,
#messages-chat-stream .chat-bubble-wrapper.admin .chat-bubble-meta {
  text-align: left;
}
#client-chat-stream .chat-bubble-wrapper.admin .chat-bubble,
#messages-chat-stream .chat-bubble-wrapper.admin .chat-bubble {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: var(--text-body);
  border-top-left-radius: 2px;
  border-top-right-radius: 12px;
}
#client-chat-stream .chat-bubble-wrapper.admin .chat-bubble-status,
#messages-chat-stream .chat-bubble-wrapper.admin .chat-bubble-status {
  display: none;
}
#client-chat-stream .chat-bubble-wrapper.admin:hover .chat-bubble-actions,
#messages-chat-stream .chat-bubble-wrapper.admin:hover .chat-bubble-actions {
  display: flex;
  right: -32px;
}

#client-chat-stream .chat-bubble-wrapper.agent,
#messages-chat-stream .chat-bubble-wrapper.agent {
  align-self: flex-start;
}
#client-chat-stream .chat-bubble-wrapper.agent .chat-bubble-meta,
#messages-chat-stream .chat-bubble-wrapper.agent .chat-bubble-meta {
  text-align: left;
}
#client-chat-stream .chat-bubble-wrapper.agent .chat-bubble,
#messages-chat-stream .chat-bubble-wrapper.agent .chat-bubble {
  background-color: #F0FDF4; /* Light Mint Tint */
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--text-body);
  border-top-left-radius: 2px;
  border-top-right-radius: 12px;
}

#client-chat-stream .chat-bubble-wrapper.system,
#messages-chat-stream .chat-bubble-wrapper.system {
  align-self: center;
}
#client-chat-stream .chat-bubble-wrapper.system .chat-bubble-meta,
#messages-chat-stream .chat-bubble-wrapper.system .chat-bubble-meta {
  display: none;
}
#client-chat-stream .chat-bubble-wrapper.system .chat-bubble,
#messages-chat-stream .chat-bubble-wrapper.system .chat-bubble {
  background-color: #F8FAFC;
  border: 1px dashed #CBD5E1;
  color: #475569;
  font-size: 12px;
  font-style: italic;
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
  box-shadow: none;
}
#client-chat-stream .chat-bubble-wrapper.system .chat-bubble-status,
#messages-chat-stream .chat-bubble-wrapper.system .chat-bubble-status {
  display: none;
}


/* --- INTAKE CELEBRATION & MOBILE UX OVERRIDES (Orion) --- */

/* Celebration & Confetti Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes scaleUp {
  0% { transform: scale(0.96); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall 2.5s ease-out infinite;
  animation-delay: var(--d);
}

@keyframes confettiFall {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) rotate(360deg);
    opacity: 0;
  }
}

/* Success Card Layout */
.success-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.success-card-item:hover {
  border-color: var(--primary) !important;
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .success-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Button Disabled States */
.btn:disabled {
  background-color: var(--border-color) !important;
  color: var(--text-sub) !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Mobile Responsiveness Hardening (iOS Safari zoom mitigation & layout spacing) */
@media (max-width: 768px) {
  /* Prevent iOS automatic zoom by declaring min-size of 16px */
  .form-control,
  select.form-control,
  textarea.form-control {
    font-size: 16px !important;
  }
  
  /* Airy but snug pad inside mobile wizard container */
  .form-section.open .form-main-content {
    padding: 0 !important;
  }
  
  /* Prevent option fields from overlapping the bottom fixed navigation button bar */
  .step-fields-container {
    margin-bottom: 0 !important;
  }
  
  /* Snug selection cards under 768px for tablet/mobile viewport safety */
  .category-card {
    padding: 16px 12px !important;
  }
  
  .category-card h4 {
    margin-top: 8px !important;
    font-size: 13.5px !important;
  }
  
  .category-icon {
    font-size: 24px !important;
  }

  /* Sticky bottom navigation controls with offset for chat support widget */
  .form-section.open .form-nav {
    padding: 12px 80px calc(12px + env(safe-area-inset-bottom)) 16px !important;
  }
  
  /* Shrink wave emoji img in sticky header to align with smaller text */
  .form-section.open .form-header-container h2 .wave-emoji img {
    width: 22px !important;
    height: 22px !important;
  }

  /* Make choice option buttons behave like clean rows on mobile for touch convenience */
  .button-group-options {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .button-option-card {
    display: flex !important;
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
  }

  /* Make checkboxes list vertically stacked on narrow screens */
  .checkbox-group-options {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  .checkbox-option-card {
    padding: 14px 16px !important;
    font-size: 15px !important;
  }
}

/* Subscriptions Dashboard Sub-Tab Buttons styling */
.subs-tab-btn {
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.subs-tab-btn:hover {
  color: var(--primary);
}

.subs-tab-btn.active {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
}

/* Single inline checkbox style (Orion Style) */
.checkbox-align-group {
  margin-top: 18px;
  margin-bottom: 18px;
}

.checkbox-label-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-main);
  user-select: none;
}

.checkbox-label-container input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-custom-label {
  display: inline-block;
  margin: 0;
  text-align: left;
}

/* Premium Badge Option Card Checkbox */
.checkbox-badge-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-color) !important;
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex !important;
  align-items: center;
  gap: 16px;
  user-select: none;
  box-shadow: var(--shadow);
  width: 100%;
  box-sizing: border-box;
  margin-top: 28px;
  margin-bottom: 28px;
}

.checkbox-badge-card:hover {
  border-color: var(--primary) !important;
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.checkbox-badge-card.selected {
  background-color: #EFF6F1;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 1.5px var(--primary);
}

.checkbox-badge-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.checkbox-badge-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}


/* Secure Input Wrapper */
.secure-input-wrapper {
  position: relative;
  width: 100%;
}

.secure-input-wrapper .form-control {
  padding-right: 44px;
}

/* Password Toggle Button */
.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  z-index: 2;
}

.password-toggle-btn:hover {
  color: var(--primary);
  background-color: #F1F5F9;
}

/* Security Trust Badge Card */
.security-badge-card {
  display: flex;
  gap: 16px;
  background-color: var(--primary-light); /* Mint Tint */
  border: 1.5px solid #BBF7D0; /* Light mint border */
  border-radius: 12px;
  padding: 16px;
  margin-top: 8px;
  margin-bottom: 24px;
  align-items: flex-start;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.security-badge-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-badge-content {
  flex: 1;
}

.security-badge-title {
  font-size: 15px;
  font-weight: 700;
  color: #14532D;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.security-badge-tag {
  font-size: 10.5px;
  font-weight: 800;
  background-color: #DCFCE7;
  color: #16A34A;
  padding: 2px 6px;
  border-radius: 20px;
  border: 1.5px solid #BBF7D0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.security-badge-desc {
  font-size: 13px;
  color: #166534;
  margin: 0;
  line-height: 1.5;
}

/* Playful Client Login Door Button */
/* Desktop Layout Frame */
@media (min-width: 969px) {
  .client-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--text-main);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }
  
  .client-login-link span {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin-left 0.35s ease;
    margin-left: 0;
  }
  
  .client-login-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
  }

  .client-login-link:hover span {
    max-width: 60px;
    opacity: 1;
    margin-left: 6px;
  }
}

/* Mobile responsive drawer styling */
@media (max-width: 968px) {
  .client-login-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid #EFF2EF;
    box-sizing: border-box;
    transition: all 0.3s ease;
  }
  
  .client-login-link:hover {
    color: var(--primary);
  }
}

/* Door Animation Container */
.door-icon-container {
  position: relative;
  width: 18px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 150px;
  flex-shrink: 0;
}

/* Fixed Door Frame */
.door-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 22px;
  border: 2px solid currentColor;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  box-sizing: border-box;
  z-index: 1;
}

/* Glow emitted from doorway on hover */
.door-glow {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 20px;
  background: radial-gradient(circle, #FDE047 30%, #EAB308 70%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

/* Swinging Door Panel */
.door-panel {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 20px;
  background-color: var(--primary);
  border-radius: 1px 1px 0 0;
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 2.5px;
  box-sizing: border-box;
  z-index: 2;
  box-shadow: 1px 0 2px rgba(0,0,0,0.1);
}

/* Tiny circular golden doorknob */
.door-knob {
  width: 3.5px;
  height: 3.5px;
  background-color: #FDE047;
  border-radius: 50%;
  box-shadow: 0 0 1px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

/* Hover swings the door open and displays gold glow */
.client-login-link:hover .door-panel {
  transform: rotateY(-65deg);
  background-color: var(--primary-hover);
}

.client-login-link:hover .door-glow {
  opacity: 1;
}

.client-login-link:hover .door-knob {
  transform: scale(1.1);
}

/* Positional override for chat widget button when wizard is active on mobile */
body.mobile-wizard-active #sn-chat-wrapper {
  bottom: 12px !important;
  right: 16px !important;
}

/* Premium Custom File Uploader */
.custom-file-upload-container {
  margin-top: 8px;
  margin-bottom: 8px;
  width: 100%;
}

.custom-file-upload-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background-color: var(--bg-color);
  border: 2px dashed var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
  width: 100%;
}

.custom-file-upload-card:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.upload-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.custom-file-upload-card:hover .upload-icon-wrapper {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.upload-text-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.upload-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.upload-subtitle {
  font-size: 11.5px;
  color: var(--text-sub);
}

/* ==========================================================================
   Legal Modal Overlay & Custom Hyperlink Styles (Orion Design System Layer)
   ========================================================================== */
.legal-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6); /* Slate 900 base transparent overlay */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.legal-modal-overlay.open {
  display: flex;
  opacity: 1;
}

.legal-modal-container {
  background: var(--card-bg);
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.legal-modal-overlay.open .legal-modal-container {
  transform: scale(1);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-color);
}

.legal-modal-header h3 {
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.legal-modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.legal-modal-close-btn:hover {
  background: var(--border-color);
  color: var(--text-main);
}

.legal-modal-body {
  flex: 1;
  position: relative;
  background: var(--card-bg);
}

.legal-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Link customization inside checkbox custom labels */
.checkbox-custom-label a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
  transition: var(--transition);
}

.checkbox-custom-label a:hover {
  color: var(--primary-hover);
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .legal-modal-overlay {
    padding: 12px;
  }
  .legal-modal-container {
    height: 85vh;
    border-radius: 16px;
  }
  .legal-modal-header {
    padding: 16px 20px;
  }
  .legal-modal-header h3 {
    font-size: 18px;
  }
}

/* ==========================================================================
   Intake Success Celebration & Background Confetti (Orion Style overrides)
   ========================================================================== */
#form-steps-container.success-scrollable {
  position: relative !important;
}

@media (max-width: 768px) {
  .form-section.open #form-steps-container.success-scrollable {
    overflow-y: auto !important;
    display: block !important;
  }
}

#success-confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bg-confetti-piece {
  position: absolute;
  top: -20px;
  border-radius: 3px;
  animation: fallAndSway linear infinite;
}

@keyframes fallAndSway {
  0% {
    transform: translateY(0) rotate(0deg) translateX(0);
  }
  25% {
    transform: translateY(25vh) rotate(90deg) translateX(15px);
  }
  50% {
    transform: translateY(50%) rotate(180deg) translateX(-15px);
  }
  75% {
    transform: translateY(75vh) rotate(270deg) translateX(10px);
  }
  100% {
    transform: translateY(calc(100% + 20px)) rotate(360deg) translateX(-10px);
  }
}

/* Confetti Badge Explosion Fountain Animations (Orion Style) */
.explosion-confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  top: -4px;
  left: -4px;
  animation: confettiExplode 4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  animation-delay: var(--d);
}

@keyframes confettiExplode {
  0% {
    transform: translate(0, 0) scale(0) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  15% {
    transform: translate(calc(var(--x) * 0.5), var(--y)) scale(1.2) rotate(90deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), calc(var(--y) + 400px)) scale(0.4) rotate(360deg);
    opacity: 0;
  }
}

/* Mobile full-bleed overrides for active Messages Tab */
@media (max-width: 768px) {
  body.messages-tab-active {
    padding-bottom: 0 !important;
  }
  body.messages-tab-active .container {
    padding: 0 !important;
  }
  body.messages-tab-active .workspace-container {
    padding: 0 !important;
    gap: 0 !important;
  }
  body.messages-tab-active #tab-messages {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.messages-tab-active .chat-window-container {
    border-radius: 0 !important;
    border: none !important;
  }
  body.messages-tab-active .messages-layout-single-pane {
    height: calc(100vh - 73px) !important;
    min-height: auto !important;
  }

  /* Projects view Messages sub-tab mobile overrides */
  body.project-messages-tab-active {
    padding-bottom: 0 !important;
    overflow: hidden !important;
  }
  body.project-messages-tab-active .project-header-row,
  body.project-messages-tab-active .project-sub-tabs-container,
  body.project-messages-tab-active #project-directive-status-banner,
  body.project-messages-tab-active #project-action-banners-container {
    display: none !important;
  }
  body.project-messages-tab-active .dashboard-side-col {
    display: none !important;
  }
  body.project-messages-tab-active .container {
    padding: 0 !important;
  }
  body.project-messages-tab-active .workspace-container {
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }
  body.project-messages-tab-active #tab-project-view {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
  }
  body.project-messages-tab-active .dashboard-grid-layout {
    margin: 0 !important;
    padding: 0 !important;
  }
  body.project-messages-tab-active .dashboard-main-col {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
  }
  body.project-messages-tab-active #project-sub-messages {
    margin: 0 !important;
    padding: 0 !important;
  }
  body.project-messages-tab-active .messages-layout {
    margin: 0 !important;
  }
  body.project-messages-tab-active .project-inline-chat-card {
    height: calc(100vh - 69px) !important;
    height: calc(100dvh - 69px) !important;
    max-height: calc(100vh - 69px) !important;
    max-height: calc(100dvh - 69px) !important;
    min-height: auto !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
  }
  body.project-messages-tab-active #chat-header-avatar {
    display: none !important;
  }
  body.project-messages-tab-active .chat-header-desktop-info {
    display: none !important;
  }
  body.project-messages-tab-active .chat-header-mobile-info {
    display: block !important;
  }
  body.project-messages-tab-active #inline-chat-back-btn {
    display: flex !important;
  }
}

/* ==========================================================================
   Custom Stripe Checkout Overlay (Orion Premium Payment Experience)
   ========================================================================== */
.sn-checkout-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.3s ease;
}

.sn-checkout-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.5);
  max-width: 820px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: checkoutSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkoutSlideUp {
  0% { transform: translateY(20px) scale(0.97); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.sn-checkout-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
}

.sn-checkout-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.sn-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.sn-checkout-summary {
  padding: 32px;
  background: #F8FAFC;
  border-right: 1px solid #E2E8F0;
  border-radius: 20px 0 0 20px;
}

.sn-checkout-form {
  padding: 32px;
}

.sn-checkout-pay-btn {
  width: 100%;
  margin-top: 20px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #0F5A47 0%, #0d4a3a 100%);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(15, 90, 71, 0.3);
}

.sn-checkout-pay-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 90, 71, 0.4);
}

.sn-checkout-pay-btn:disabled {
  background: #94A3B8 !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Checkout Spinner */
.checkout-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: checkoutSpin 0.6s linear infinite;
  flex-shrink: 0;
}

@keyframes checkoutSpin {
  to { transform: rotate(360deg); }
}

/* Success Checkmark Animation */
.checkout-success-checkmark {
  animation: checkmarkBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes checkmarkBounce {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* Saved Card Button Hover */
.checkout-saved-card-btn:hover {
  border-color: #0F5A47 !important;
  background: #F0FDF4 !important;
}

/* Mobile Responsive Checkout */
@media (max-width: 768px) {
  .sn-checkout-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .sn-checkout-card {
    border-radius: 20px 20px 0 0;
    max-height: 95vh;
    max-width: 100%;
  }

  .sn-checkout-grid {
    grid-template-columns: 1fr;
  }

  .sn-checkout-summary {
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
    border-radius: 20px 20px 0 0;
    padding: 24px;
  }

  .sn-checkout-form {
    padding: 24px;
  }

  .sn-checkout-overlay.checkout-success-active {
    align-items: center;
    padding: 16px;
  }

  .sn-checkout-overlay.checkout-success-active .sn-checkout-card {
    border-radius: 20px;
    max-width: 440px;
  }
}

/* =========================================================================
   ORION PREMIUM PROJECTS OVERVIEW & Cascade 5-STEP JOURNEY REDESIGN
   ========================================================================= */

/* Projects Cards Grid Dashboard */
.projects-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.project-overview-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.project-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  border-color: #CBD5E1;
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.project-card-title-area {
  min-width: 0;
  flex: 1;
}

.project-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-card-domain {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.project-card-domain:hover {
  color: var(--primary);
  text-decoration: underline;
}

.project-card-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-card-progress {
  margin: 16px 0;
}

.project-card-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.project-card-progress-track {
  height: 8px;
  background-color: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
}

.project-card-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #10B981 100%);
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* Journey Stepper Dot/Line indicator inside card */
.project-card-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 20px 0;
  padding: 0 6px;
}

.project-card-stepper::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 6px;
  right: 6px;
  height: 2px;
  background: #E2E8F0;
  z-index: 1;
}

.project-card-step-node {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #64748B;
  z-index: 2;
  position: relative;
}

.project-card-step-node.completed {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.project-card-step-node.active {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #1D4ED8;
}

.project-card-step-node.warning {
  background: #FFFBEB;
  border-color: #D97706;
  color: #B45309;
}

/* Card Next Step Info Box */
.project-card-next-step {
  background: #F8FAFC;
  border-radius: 8px;
  padding: 12px 16px;
  border-left: 4px solid #CBD5E1;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.project-card-next-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  background: #F1F5F9;
}

.project-card-next-step.warning {
  background: #FFFBEB;
  border-left-color: #D97706;
  color: #78350F;
}
.project-card-next-step.warning:hover {
  background: #FEF3C7;
}

.project-card-next-step.active {
  background: #F0FDF4;
  border-left-color: #16A34A;
  color: #14532D;
}
.project-card-next-step.active:hover {
  background: #DCFCE7;
}

.project-card-next-step.info {
  background: #EFF6FF;
  border-left-color: #3B82F6;
  color: #1E3A8A;
}
.project-card-next-step.info:hover {
  background: #DBEAFE;
}

.project-card-next-step svg {
  flex-shrink: 0;
}

/* Vertical 5-Step Cascade Journey Stack */
.project-steps-journey-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  margin-top: 16px;
  margin-bottom: 40px;
}

.project-steps-journey-stack::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 21px;
  width: 2px;
  background: #E2E8F0;
  z-index: 1;
}

.journey-step-item {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.journey-step-node {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #64748B;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.journey-step-node.completed {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.journey-step-node.active {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.journey-step-node.warning {
  background: #D97706;
  border-color: #D97706;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
}

.journey-step-node.locked {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #94A3B8;
  box-shadow: none;
}

.journey-step-card {
  flex-grow: 1;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.journey-step-card.completed {
  border-left: 4px solid var(--primary);
}

.journey-step-card.active {
  border-left: 4px solid #3B82F6;
}

.journey-step-card.warning {
  border-left: 4px solid #D97706;
  box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.08), 0 4px 6px -2px rgba(217, 119, 6, 0.03);
}

.journey-step-card.locked {
  opacity: 0.6;
  pointer-events: none;
  background-color: #F8FAFC;
}

.journey-step-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
  background: #ffffff;
}

.journey-step-header:hover {
  background-color: #F8FAFC;
}

.journey-step-card.locked .journey-step-header {
  cursor: not-allowed;
}

.journey-step-card.locked .journey-step-header:hover {
  background-color: transparent;
}

.journey-step-title-block {
  display: flex;
  flex-direction: column;
}

.journey-step-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.journey-step-status-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.journey-step-summary {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 3px;
  font-weight: 500;
}

.journey-step-chevron {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-sub);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey-step-card.expanded .journey-step-chevron {
  transform: rotate(180deg);
}

.journey-step-body {
  padding: 0 24px 24px 24px;
  border-top: 1px solid #F1F5F9;
  background: #ffffff;
  display: none;
}

.journey-step-card.expanded .journey-step-body {
  display: block;
}

@media (max-width: 576px) {
  .project-steps-journey-stack::before {
    left: 17px;
  }
  
  .journey-step-node {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  
  .journey-step-header {
    padding: 16px;
  }
  
  .journey-step-body {
    padding: 0 16px 16px 16px;
  }
}

/* Header Navigation Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  text-decoration: none;
  transition: var(--transition);
  gap: 4px;
  position: relative;
}
.nav-dropdown-trigger:hover {
  color: var(--primary);
}
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 22px;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-dropdown:hover .nav-dropdown-trigger::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.nav-dropdown-trigger svg {
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFFFFF;
  min-width: 170px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 0;
  z-index: 1000;
}
.nav-dropdown:hover .nav-dropdown-content {
  display: block;
  animation: navFadeIn 0.2s ease;
}
.nav-dropdown-content a {
  color: var(--text-body) !important;
  padding: 10px 20px !important;
  text-decoration: none;
  display: block;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: left;
  transition: var(--transition);
  margin: 0 !important;
}
.nav-dropdown-content a:hover {
  background-color: var(--primary-light);
  color: var(--primary) !important;
}

@keyframes navFadeIn {
  from { opacity: 0; transform: translate(-50%, 6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Mobile layout adjustments */
@media (max-width: 968px) {
  .nav-dropdown {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 0;
    border-bottom: 1px solid #EFF2EF;
  }
  .nav-dropdown-trigger {
    width: 100%;
    text-align: left;
    font-weight: 700;
    color: var(--text-sub) !important;
    pointer-events: none;
    padding: 12px 0 6px 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: none !important;
  }
  .nav-dropdown-trigger svg {
    display: none;
  }
  .nav-dropdown-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 10px 0;
  }
  .nav-dropdown-content a {
    text-align: left !important;
    padding: 8px 0 8px 16px !important;
    font-size: 14.5px !important;
    color: var(--text-body) !important;
    border-bottom: none !important;
    font-weight: 500 !important;
  }
  .nav-dropdown-content a:hover {
    background: transparent;
    color: var(--primary) !important;
  }
}

.nav-dropdown-trigger.active {
  color: var(--primary) !important;
  font-weight: 600;
}

/* --- PREMIUM COMMUNICATIONS TREE VIEW & RESPONSIVE SCREENS (Orion) --- */

/* Convo list tree elements */
.convo-tree-client-node {
  border-bottom: 1px solid #F1F5F9;
}
.convo-tree-client-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background-color: #F8FAFC;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}
.convo-tree-client-header:hover {
  background-color: #F1F5F9;
}
.convo-tree-client-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.convo-tree-client-chevron {
  color: #64748B;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.convo-tree-client-node.collapsed .convo-tree-client-chevron {
  transform: rotate(-90deg);
}
.convo-tree-client-name-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.convo-tree-client-meta-text {
  font-size: 11px;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.convo-tree-client-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.convo-tree-client-unread-badge {
  font-size: 10px;
  font-weight: 800;
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 10px;
  padding: 2px 6px;
  min-width: 14px;
  text-align: center;
  line-height: 1;
}

/* Nested child item styles */
.convo-tree-client-body {
  transition: max-height 0.2s ease-out;
  overflow: hidden;
}
.convo-tree-client-node.collapsed .convo-tree-client-body {
  max-height: 0 !important;
  display: none;
}
.convo-tree-child-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 32px;
  border-bottom: 1px dashed #F1F5F9;
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative;
}
.convo-tree-child-item:hover {
  background-color: #F8FAFC;
}
.convo-tree-child-item.active {
  background-color: #EFF6F1;
  border-left: 3px solid var(--primary);
  padding-left: 29px;
}
.convo-tree-child-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.convo-tree-child-preview {
  font-size: 11px;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Category section header banners */
.convo-section-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}
.convo-section-header.waiting {
  background-color: #FFFBEB;
  border-bottom-color: #FDE68A;
  color: #B45309;
}
.convo-section-header.responded {
  background-color: #F0FDFA;
  border-bottom-color: #CCFBF1;
  color: #0F766E;
}

/* View Mode Toggles */
.convo-view-mode-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background-color: #F1F5F9;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  user-select: none;
}
.convo-view-mode-btn {
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.convo-view-mode-btn.active {
  background-color: #FFFFFF;
  color: var(--text-main);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Responsive screen grids */
@media (max-width: 900px) {
  #view-messages {
    padding: 0 !important;
  }
  .messages-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    height: calc(100vh - 60px) !important;
    gap: 0 !important;
    min-height: auto !important;
  }

  /* Navigation button displays */
  .chat-header-back-btn {
    display: flex !important;
  }
  .chat-header-info-btn {
    display: flex !important;
  }
  .details-mobile-header {
    display: flex !important;
  }

  /* Screen 1 Active state */
  .messages-layout-grid.active-screen-1 .convo-list-container {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
  }
  .messages-layout-grid.active-screen-1 .chat-window-container,
  .messages-layout-grid.active-screen-1 #chat-window-placeholder,
  .messages-layout-grid.active-screen-1 .messages-details-sidebar {
    display: none !important;
  }

  /* Screen 2 Active state */
  .messages-layout-grid.active-screen-2 .chat-window-container {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
  }
  .messages-layout-grid.active-screen-2 .convo-list-container,
  .messages-layout-grid.active-screen-2 #chat-window-placeholder,
  .messages-layout-grid.active-screen-2 .messages-details-sidebar {
    display: none !important;
  }

  /* Screen 3 Active state */
  .messages-layout-grid.active-screen-3 .messages-details-sidebar {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
  }
  .messages-layout-grid.active-screen-3 .convo-list-container,
  .messages-layout-grid.active-screen-3 .chat-window-container,
  .messages-layout-grid.active-screen-3 #chat-window-placeholder {
    display: none !important;
  }
}

/* Supported Platforms Logo Strip */
.platform-strip {
  background-color: #F8F7F5;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.platform-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.platform-caption {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0;
}

.platform-logos-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.platform-logos-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: logo-marquee-scroll 35s linear infinite;
}

.platform-logos-track:hover {
  animation-play-state: paused;
}

@keyframes logo-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.3333%);
  }
}

.platform-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  flex-shrink: 0;
}

.platform-logo-item img {
  max-height: 52px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: all 0.25s ease;
}

.platform-logo-item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.08);
}

.platform-more-link {
  font-size: 13.5px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.support-modal-trigger {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.support-modal-trigger:hover {
  color: #2F5A3B;
}

@media (max-width: 768px) {
  .platform-logos-track {
    gap: 40px;
  }
  .platform-logo-item {
    height: 42px;
  }
  .platform-logo-item img {
    max-height: 34px;
    max-width: 130px;
  }
}

@media (max-width: 480px) {
  .platform-logos-track {
    gap: 28px;
  }
  .platform-logo-item {
    height: 36px;
  }
  .platform-logo-item img {
    max-height: 28px;
    max-width: 110px;
  }
}

/* Trust and Security Section styling */
.trust-security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.founder-card-home, .security-card-home {
  background-color: #F8F7F5;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.founder-card-home:hover, .security-card-home:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.founder-card-home {
  flex-direction: row;
  gap: 28px;
}

.founder-avatar-wrapper-home {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  z-index: 5;
  transition: z-index 0.4s ease;
}

.founder-avatar-wrapper-home:hover {
  z-index: 30;
}

.founder-avatar-home {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
}

.founder-avatar-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.founder-avatar-wrapper-home:hover .founder-avatar-home {
  transform: scale(3);
  border-color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.founder-bubble-home {
  position: absolute;
  top: -110px;
  left: 170px;
  transform: translate(-80px, 80px) scale(0.85);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  width: 165px;
  white-space: normal;
  line-height: 1.4;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
}

.founder-bubble-home::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 24px;
  border-width: 6px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.98) transparent transparent transparent;
}

.founder-bubble-home::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 23px;
  border-width: 7px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.08) transparent transparent transparent;
  margin-top: 1px;
  z-index: -1;
}

.founder-avatar-wrapper-home:hover .founder-bubble-home {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.founder-info-home {
  display: flex;
  flex-direction: column;
}

.trust-badge-home {
  align-self: flex-start;
  background-color: rgba(56, 106, 70, 0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.founder-info-home h3, .security-info-home h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 12px 0;
}

.founder-info-home p, .security-info-home p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0 0 20px 0;
}

.founder-signature-home {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  border-top: 1px dashed #E4DFD5;
  padding-top: 16px;
}

.signature-tagline {
  font-family: var(--font-header);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.signature-author {
  font-size: 12px;
  color: var(--text-sub);
}

.security-card-home {
  gap: 24px;
}

.security-icon-home {
  width: 64px;
  height: 64px;
  background-color: rgba(56, 106, 70, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-bullets-home {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.security-bullets-home li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bullet-icon-wrapper {
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.security-bullets-home strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.security-bullets-home p {
  font-size: 13px;
  color: var(--text-body);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 968px) {
  .trust-security-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 580px) {
  .founder-card-home {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .founder-avatar-home {
    width: 80px;
    height: 80px;
  }
  .founder-bubble-home {
    top: -90px;
    left: 130px;
    bottom: auto;
    transform: translate(-60px, 60px) scale(0.85);
    width: 145px;
  }
  .trust-badge-home {
    align-self: center;
  }
}

/* Ecosystem Support Modal Styling */
.support-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 41, 33, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.support-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.support-modal-content {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 90%;
  max-width: 860px;
  max-height: 85vh;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.support-modal.open .support-modal-content {
  transform: scale(1);
}

.support-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F0EDE6;
  border: 1px solid #E4DFD5;
  color: var(--text-body);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.support-modal-close:hover {
  background-color: #E4DFD5;
  transform: scale(1.05);
}

.support-modal-header {
  padding: 32px 32px 24px 32px;
  border-bottom: 1px solid #E4DFD5;
}

.support-modal-body {
  padding: 32px;
  overflow-y: auto;
  flex-grow: 1;
}

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

.support-cat-card {
  background-color: #F8F7F5;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
}

.support-cat-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.support-cat-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-cat-card li {
  font-size: 13.5px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 6px;
}

.support-cat-card li::before {
  content: "●";
  color: #8C8A82;
  font-size: 8px;
  margin-right: 4px;
}

.support-modal-footer {
  padding: 24px 32px;
  background-color: #F8F7F5;
  border-top: 1px solid #E4DFD5;
  text-align: center;
}

.support-modal-footer p {
  font-size: 13.5px;
  color: var(--text-body);
  margin: 0;
}

@media (max-width: 768px) {
  .support-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .support-cat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .support-modal-header, .support-modal-body, .support-modal-footer {
    padding: 20px;
  }
  .support-modal-close {
    top: 12px;
    right: 12px;
  }
}

/* Quality and Safety Commitment Section */
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.commitment-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFBF9 100%);
  border: 1px solid rgba(15, 90, 71, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.commitment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.commitment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(15, 90, 71, 0.06), 0 0 0 1px var(--primary);
  border-color: transparent;
}

.commitment-card:hover::before {
  opacity: 1;
}

.commitment-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--primary);
  flex-shrink: 0;
}

.commitment-icon-wrapper img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.commitment-card:hover .commitment-icon-wrapper img {
  transform: scale(1.08);
}

.commitment-title {
  font-size: 17px;
  font-weight: 750;
  color: var(--text-main);
  margin: 20px 0 10px 0;
  font-family: var(--font-header);
  letter-spacing: -0.2px;
}

.commitment-text {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 968px) {
  .commitment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Sticky Stepper Navigation for How It Works */
.stepper-sticky-container {
  position: sticky;
  top: 72px;
  background: rgba(253, 253, 249, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: background-color 0.3s ease;
}

.stepper-sticky-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.stepper-sticky-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.stepper-sticky-item:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.stepper-sticky-item.active {
  opacity: 1;
}

.stepper-sticky-item .stepper-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--text-sub);
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.stepper-sticky-item.active .stepper-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(56, 106, 70, 0.25);
}

.stepper-sticky-item .stepper-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.2px;
}

.stepper-sticky-line {
  flex-grow: 1;
  height: 2px;
  background: var(--border-color);
  margin: 0 16px;
  max-width: 60px;
  border-radius: 1px;
}

/* Hover Ring animations on graphic wrappers */
.step-graphic-wrapper {
  position: relative;
}

.step-graphic-wrapper::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #10B981);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step-card-alternating:hover .step-graphic-wrapper::before {
  opacity: 1;
}

/* Timeline Thread Pulsing Flow Animation */
@keyframes threadFlow {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 200%;
  }
}

@media (max-width: 768px) {
  .stepper-sticky-container {
    top: 73px; /* adjusted to match actual mobile header height */
  }
}

@media (max-width: 640px) {
  .stepper-sticky-container {
    padding: 12px 16px;
  }
  .stepper-sticky-track {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 20px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .stepper-sticky-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar for clean layout */
  }
  .stepper-sticky-line {
    display: none;
  }
  .stepper-sticky-item {
    flex-shrink: 0;
  }
}

/* Voice Dictation Textarea Wrapper */
.textarea-voice-wrapper {
  position: relative;
  width: 100%;
}

.textarea-voice-wrapper textarea {
  width: 100%;
  padding-right: 46px !important; /* Extra space to prevent text overlay with microphone */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.textarea-voice-wrapper textarea.voice-active {
  border-color: #10B981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

/* Microphone Button */
.voice-dictation-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.voice-dictation-btn:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.voice-dictation-btn.active {
  color: #FFFFFF;
  background: #10B981;
  border-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: voice-pulse 1.6s infinite;
}

@keyframes voice-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Care Plan Badge Zoom/Hover Animation */
.care-plan-badge {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) scale(1);
  width: 90px;
  height: 90px;
  object-fit: contain;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: zoom-in;
  transform-origin: center center;
}

.care-plan-badge:hover {
  transform: translateY(-50%) scale(2.2);
  z-index: 100;
}

/* ==========================================================================
   Trust & Security Badges, Video Modal Overlay, and Homepage Play Trigger
   ========================================================================== */

/* Video Modal Styles */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background-color: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.open .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.video-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.video-player-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #000000;
}

.video-player-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  display: block;
}

/* Founder Badges Styles */
.founder-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid #D2EBE0;
  padding-top: 24px;
}

.founder-badge-item {
  background: #FFFFFF;
  border: 1px solid #C2E7D5;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(15, 90, 71, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.founder-badge-item:hover {
  box-shadow: 0 12px 24px rgba(15, 90, 71, 0.12);
  border-color: var(--primary, #0f5a47);
  z-index: 10;
}

.founder-badge-icon-wrapper {
  position: relative;
  min-width: 40px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
}

.badge-icon-img.hover-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  height: 48px;
  width: auto;
  max-width: none;
  z-index: 20;
}

.badge-icon-img.default-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  height: 28px;
  width: auto;
}

.founder-badge-item:hover .badge-icon-img.default-icon {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
}

.founder-badge-item:hover .badge-icon-img.hover-large {
  opacity: 1;
  transform: translate(-50%, -50%) scale(2.2);
}

.founder-badge-icon-wrapper .flag-img {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  height: 24px;
  width: auto;
  border-radius: 3px;
  z-index: 20;
}

.founder-badge-item:hover .founder-badge-icon-wrapper .flag-img {
  transform: translate(-50%, -50%) scale(2.2);
}

.founder-badge-item svg {
  color: var(--primary, #0f5a47);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.founder-badge-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main, #0f172a);
  line-height: 1.25;
  text-align: left;
}

@media (max-width: 768px) {
  .founder-badges {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Homepage-specific Play Button Hover Overlay */
.play-overlay-home {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 90, 71, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  color: #FFFFFF;
}

.founder-avatar-wrapper-home:hover .play-overlay-home {
  opacity: 1;
}

.play-overlay-home svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.founder-avatar-wrapper-home:hover .play-overlay-home svg {
  transform: scale(1.2);
}

/* =========================================================================
   User Dashboard Help Section & Walkthrough Wizard Styles
   ========================================================================= */

#help-search-results-box {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item:hover {
  background-color: #F8FAFC;
}

.wizard-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr;
  gap: 28px;
  min-height: 380px;
}

.node-circle {
  transition: all 0.3s ease;
}

.wizard-mockup-panel {
  transition: all 0.3s ease;
  min-height: 250px;
  font-family: var(--font-body);
}

.wizard-indicator-node {
  transition: color 0.25s ease;
  white-space: nowrap;
}

.wizard-indicator-node.completed .node-circle {
  background: var(--primary) !important;
  color: #FFFFFF !important;
}

.wizard-indicator-node.completed {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .wizard-split-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  
  .wizard-mockup-panel {
    min-height: 200px;
  }
}

@media (max-width: 576px) {
  #help-tutorial-wizard-modal .custom-modal-card {
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }
  
  #help-tutorial-wizard-modal .custom-modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
  }
}

