/* ============================================
   KareShift — Aged Care Landing Page Styles
   Extends base styles.css with aged-care-specific
   ============================================ */

/* ── Hero Badge ── */
.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.aged-care-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

/* ── Hero Mockup ── */
.hero-mockup {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mockup-header {
  background: var(--dark);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.mockup-dots span:first-child { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:last-child { background: #10b981; }

.mockup-title {
  color: #94a3b8;
  font-size: 0.813rem;
  font-weight: 500;
}

.mockup-body {
  padding: 16px;
}

.mockup-task {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
}

.mockup-task-done {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.mockup-task-pending {
  background: var(--bg-alt);
}

.mockup-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.mockup-pending {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.mockup-task strong {
  font-size: 0.875rem;
  color: var(--dark);
}

.mockup-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mockup-progress {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  margin-top: 16px;
  overflow: hidden;
}

.mockup-progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width 1s ease;
}

.mockup-progress-text {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
}

/* ── Pain Points ── */
.pain-points {
  padding: 80px 0;
  background: var(--bg-alt);
}

.pain-card {
  border-left: 3px solid #f59e0b;
}

/* ── Feature Blocks ── */
.feature-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.feature-block:last-of-type {
  border-bottom: none;
}

.feature-block-reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.feature-block-reverse .feature-block-content {
  order: 2;
}

.feature-block-reverse .feature-block-visual {
  order: 1;
}

.feature-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.feature-block h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-block p {
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.938rem;
  color: var(--text);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.feature-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-stat {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--dark);
  margin: 48px 0 32px;
}

/* ── Compliance Section ── */
.compliance-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}

.compliance-section .section-title {
  color: #fff;
}

.compliance-section .section-sub {
  color: #94a3b8;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.compliance-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  padding: 24px;
}

.compliance-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.compliance-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.compliance-item p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ── Pricing Grid ── */
.pricing-grid {
  max-width: 800px;
  margin: 0 auto;
}

/* ── Billing Toggle ── */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0;
}

.toggle-label {
  font-size: 0.938rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--ease);
}

.toggle-label-active {
  color: var(--dark);
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--border);
  border-radius: 13px;
  border: none;
  cursor: pointer;
  transition: background var(--ease);
  padding: 9px 0;
  box-sizing: content-box;
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch.active .toggle-knob {
  transform: translateX(22px);
}

.save-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 0.688rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

.pricing-highlighted {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
  transform: scale(1.02);
  transition: all 0.3s ease;
}

/* ── Pricing Calculator ── */
.pricing-calculator {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-top: 40px;
}

.pricing-calculator h3 {
  text-align: center;
  margin-bottom: 24px;
  color: var(--dark);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.calc-example {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  text-align: center;
}

.calc-beds {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.calc-price {
  display: block;
  font-size: 0.813rem;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 4px;
}

.calc-per-bed {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calc-note {
  text-align: center;
  font-size: 0.813rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ── CTA Sub ── */
.cta-sub {
  margin-top: 16px;
  font-size: 0.938rem;
  color: var(--text-muted);
}

.cta-sub a {
  color: var(--primary);
  font-weight: 500;
}

.cta-sub a:hover {
  text-decoration: underline;
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }

  .feature-block-reverse .feature-block-content {
    order: 1;
  }

  .feature-block-reverse .feature-block-visual {
    order: 2;
  }

  .compliance-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calculator-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .feature-block h3 {
    font-size: 1.25rem;
  }
}

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

  .hero-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
  }

  .mockup-task {
    padding: 8px;
    gap: 8px;
  }

  .mockup-task strong {
    font-size: 0.813rem;
  }

  .compliance-item {
    padding: 16px;
  }

  .feature-stat {
    padding: 14px;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .pricing-calculator {
    padding: 20px;
  }
}
