/* ==========================================================================
   COLABRO - COMPONENTS STYLESHEET (Scaler.com Architecture)
   ========================================================================== */

/* ==========================================================================
   1. TRACKS & SERVICES EXPLORER (Scaler Program Selector)
   ========================================================================== */
.tracks-section {
  background-color: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
}

.tracks-nav-container {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.tracks-tabs {
  display: inline-flex;
  background-color: var(--neutral-200);
  padding: 6px;
  border-radius: var(--radius-xl);
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.track-tab-btn {
  background: transparent;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--neutral-600);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal);
}

.track-tab-btn:hover {
  color: var(--neutral-900);
}

.track-tab-btn.active {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.track-tab-btn .tab-badge-flagship {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* Track Card Container */
.track-card-wrapper {
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  transition: transform var(--transition-normal);
}

.track-card-content {
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.track-card-header {
  margin-bottom: var(--space-xl);
}

.track-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
}

.track-card-title {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  color: var(--neutral-900);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}

.track-card-desc {
  font-size: 1.0625rem;
  color: var(--neutral-600);
  line-height: 1.65;
  margin-bottom: var(--space-xl);
}

/* Feature checklist */
.track-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.track-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.track-feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.track-feature-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--neutral-800);
  margin-bottom: 2px;
}

.track-feature-text span {
  font-size: 0.8125rem;
  color: var(--neutral-500);
}

.track-card-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  border-top: 1px solid var(--neutral-200);
  padding-top: var(--space-xl);
}

.track-card-sidebar {
  background: var(--neutral-900);
  padding: var(--space-3xl);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--neutral-800);
}

.track-sidebar-title {
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.track-sidebar-highlight-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.track-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.875rem;
}

.track-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.track-spec-label {
  color: var(--dark-text-muted);
}

.track-spec-val {
  font-weight: 600;
  color: #ffffff;
}

.track-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 210, 255, 0.2);
}

/* ==========================================================================
   2. FLAGSHIP SPOTLIGHT: MOBILE BILLING APP + BLUETOOTH THERMAL PRINTER
   ========================================================================== */
.flagship-section {
  background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}

.flagship-badge {
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
}

.flagship-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.flagship-image-container {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-200);
}

.flagship-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.flagship-pill-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}

.flagship-overlay-stat {
  display: flex;
  flex-direction: column;
}

.flagship-overlay-stat strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--accent-cyan);
}

.flagship-overlay-stat span {
  font-size: 0.75rem;
  color: var(--neutral-400);
}

.flagship-points-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.flagship-point-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.flagship-point-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.flagship-point-content h4 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.flagship-point-content p {
  font-size: 0.9375rem;
  color: var(--neutral-600);
  line-height: 1.55;
}

/* Hardware Specs Cards */
.hardware-specs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.hardware-spec-box {
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hardware-spec-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.spec-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(0, 85, 255, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.hardware-spec-box h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.hardware-spec-box p {
  font-size: 0.875rem;
  color: var(--neutral-600);
  line-height: 1.5;
}

/* ==========================================================================
   3. INTERACTIVE THERMAL RECEIPT LIVE SIMULATOR
   ========================================================================== */
.simulator-section {
  background-color: #050E24;
  color: #ffffff;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.simulator-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 85, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.simulator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Mobile App Phone Shell */
.phone-mockup-frame {
  max-width: 420px;
  margin: 0 auto;
  background: #111827;
  border: 10px solid #1F2937;
  border-radius: 44px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 85, 255, 0.3);
  overflow: hidden;
  position: relative;
}

.phone-speaker {
  width: 80px;
  height: 5px;
  background-color: #374151;
  border-radius: var(--radius-full);
  margin: 12px auto 6px;
}

.phone-screen {
  background-color: #0F172A;
  padding: 16px;
  color: #ffffff;
  min-height: 540px;
  display: flex;
  flex-direction: column;
}

.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}

.phone-brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--accent-cyan);
}

.phone-bt-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.phone-input-group {
  margin-bottom: 12px;
}

.phone-input-label {
  font-size: 0.75rem;
  color: var(--dark-text-muted);
  display: block;
  margin-bottom: 4px;
}

.phone-input {
  width: 100%;
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: #ffffff;
  outline: none;
}

.phone-input:focus {
  border-color: var(--primary);
}

.phone-items-selector {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 220px;
  margin-bottom: 12px;
  padding-right: 4px;
}

.phone-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1E293B;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 0.8125rem;
}

.phone-item-qty-btn {
  background: #334155;
  border: none;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.phone-item-qty-btn:hover {
  background: var(--primary);
}

.phone-cart-summary {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
}

.phone-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--dark-text-muted);
}

.phone-summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #ffffff;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 6px;
  margin-top: 4px;
}

.phone-action-btn {
  background: linear-gradient(135deg, #0055FF 0%, #00C49F 100%);
  border: none;
  color: #ffffff;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 196, 159, 0.4);
  transition: transform var(--transition-fast);
}

.phone-action-btn:hover {
  transform: scale(1.02);
}

/* Virtual Thermal Receipt Printer Unit */
.printer-unit {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.printer-hardware-housing {
  width: 340px;
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  border: 2px solid #334155;
  border-radius: 20px 20px 10px 10px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 210, 255, 0.15);
  position: relative;
  z-index: 5;
}

.printer-slot-area {
  background: #020617;
  height: 14px;
  border-radius: 7px;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.9);
  margin-bottom: 12px;
  position: relative;
  overflow: visible;
}

.printer-led-lights {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}

.printer-led-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.led-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #334155;
}

.led-dot.power {
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.led-dot.bt {
  background-color: #00D2FF;
  box-shadow: 0 0 8px #00D2FF;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.printer-brand-stamp {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #64748B;
  text-transform: uppercase;
}

/* Printed Thermal Receipt Paper Paper Effect */
.receipt-paper-container {
  width: 280px;
  position: relative;
  margin-bottom: -10px;
  z-index: 4;
}

.receipt-paper {
  background-color: #FEFEFE;
  color: #111827;
  font-family: 'Courier New', Courier, monospace;
  padding: 24px 18px;
  border-radius: 4px 4px 0 0;
  box-shadow: var(--shadow-thermal);
  font-size: 0.75rem;
  line-height: 1.4;
  transform-origin: bottom center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

.receipt-paper.printed {
  max-height: 600px;
  opacity: 1;
  animation: feedPaper 0.8s ease-out forwards;
}

@keyframes feedPaper {
  0% {
    max-height: 0;
    transform: translateY(40px);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    max-height: 520px;
    transform: translateY(0);
    opacity: 1;
  }
}

.receipt-paper-serrated-edge {
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background-size: 10px 6px;
  background-repeat: repeat-x;
  background-image: radial-gradient(circle, transparent 4px, #FEFEFE 4px);
}

.receipt-header {
  text-align: center;
  border-bottom: 1px dashed #4B5563;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.receipt-store-title {
  font-weight: 900;
  font-size: 0.9375rem;
  text-transform: uppercase;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}

.receipt-divider {
  border-top: 1px dashed #4B5563;
  margin: 8px 0;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  font-size: 0.875rem;
  margin: 6px 0;
}

.receipt-barcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
}

.barcode-lines {
  height: 36px;
  width: 80%;
  background: repeating-linear-gradient(
    90deg,
    #000 0px,
    #000 2px,
    transparent 2px,
    transparent 4px,
    #000 4px,
    #000 7px,
    transparent 7px,
    transparent 9px
  );
}

/* ==========================================================================
   4. WHY COLABRO / BENTO ADVANTAGE GRID (Scaler "Why Scaler")
   ========================================================================== */
.advantage-section {
  background-color: var(--neutral-white);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.bento-card {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 85, 255, 0.3);
  background-color: #ffffff;
}

.bento-card.featured-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #030B1C 0%, #0A1633 100%);
  color: #ffffff;
  border-color: rgba(0, 85, 255, 0.25);
}

.bento-card.featured-wide:hover {
  border-color: var(--accent-cyan);
}

.bento-card.featured-wide h3 {
  color: #ffffff;
}

.bento-card.featured-wide p {
  color: var(--dark-text-secondary);
}

.bento-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.bento-card.featured-wide .bento-icon-wrap {
  background: rgba(0, 85, 255, 0.2);
  color: var(--accent-cyan);
}

.bento-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.bento-card p {
  font-size: 0.9375rem;
  color: var(--neutral-600);
  line-height: 1.6;
}

/* ==========================================================================
   5. INTERACTIVE PROJECT & ROI ESTIMATOR
   ========================================================================== */
.calculator-section {
  background: var(--neutral-100);
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
}

.calc-card {
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  overflow: hidden;
}

.calc-inputs-pane {
  padding: var(--space-3xl);
}

.calc-group {
  margin-bottom: var(--space-xl);
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 8px;
}

.calc-label-val {
  color: var(--primary);
}

.calc-service-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-radio-label {
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.service-radio-label input {
  accent-color: var(--primary);
}

.service-radio-label:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.service-radio-label.selected {
  border-color: var(--primary);
  background-color: var(--primary-light);
  color: var(--primary);
}

.calc-slider {
  width: 100%;
  accent-color: var(--primary);
  height: 6px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.calc-results-pane {
  background: linear-gradient(145deg, #030B1C 0%, #0A1633 100%);
  color: #ffffff;
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-results-header h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.calc-results-header p {
  color: var(--dark-text-muted);
  font-size: 0.8125rem;
}

.calc-metric-highlight {
  margin: var(--space-xl) 0;
}

.calc-metric-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.calc-metric-caption {
  font-size: 0.875rem;
  color: var(--dark-text-secondary);
}

.calc-summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  margin-bottom: var(--space-xl);
  font-size: 0.875rem;
}

.calc-summary-item {
  display: flex;
  justify-content: space-between;
  color: var(--dark-text-secondary);
}

.calc-summary-item strong {
  color: #ffffff;
}

/* ==========================================================================
   6. CASE STUDIES & CLIENT STORIES (Scaler Alumni Reviews)
   ========================================================================== */
.stories-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.story-filter-btn {
  background: #ffffff;
  border: 1px solid var(--neutral-300);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.story-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.story-filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.stories-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.story-card {
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

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

.story-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  align-self: flex-start;
}

.story-quote {
  font-size: 0.9375rem;
  color: var(--neutral-700);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.story-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--neutral-100);
  padding-top: var(--space-md);
}

.story-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
}

.story-author-details h4 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.story-author-details span {
  font-size: 0.75rem;
  color: var(--neutral-500);
}

/* ==========================================================================
   7. PEOPLE BEHIND COLABRO (Scaler Faculty / Leadership Grid)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.team-card {
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, #0055FF 0%, #00D2FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 85, 255, 0.3);
}

.team-card h3 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-bio {
  font-size: 0.8125rem;
  color: var(--neutral-600);
  line-height: 1.5;
  margin-bottom: 12px;
}

.team-past-badge {
  display: inline-block;
  background: var(--neutral-100);
  color: var(--neutral-700);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   8. FAQ ACCORDION WITH LIVE SEARCH
   ========================================================================== */
.faq-search-box {
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 14px 20px 14px 44px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  outline: none;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast);
}

.faq-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.15);
}

.faq-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-400);
}

.faq-accordion-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion-item {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-accordion-item.active {
  border-color: var(--primary);
}

.faq-header-btn {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--neutral-800);
  cursor: pointer;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-fast);
  color: var(--neutral-700);
}

.faq-accordion-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background-color: var(--primary-light);
  color: var(--primary);
}

.faq-body-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-accordion-item.active .faq-body-collapse {
  max-height: 350px;
}

.faq-body-content {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--neutral-600);
  line-height: 1.6;
}

/* ==========================================================================
   9. HIGH-CONVERTING CTA BOTTOM BANNER (Scaler Style)
   ========================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, #030B1C 0%, #0055FF 100%);
  color: #ffffff;
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner-content h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: var(--space-md);
}

.cta-banner-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ==========================================================================
   10. MODAL DIALOGS & TOAST SYSTEM
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 11, 28, 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

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

.modal-header {
  padding: var(--space-xl) var(--space-2xl) 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--neutral-900);
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--neutral-500);
  margin-top: 4px;
}

.modal-close-btn {
  background: var(--neutral-100);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--neutral-600);
  transition: background-color var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--neutral-200);
}

.modal-body {
  padding: var(--space-xl) var(--space-2xl) var(--space-2xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--neutral-900);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.12);
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #030B1C;
  color: #ffffff;
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-normal);
  pointer-events: auto;
  max-width: 380px;
}

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

.toast-icon {
  color: #10B981;
  font-size: 1.25rem;
}
