/* ==========================================================================
   ShiftCare Global Stylesheet
   ========================================================================== */

/* ===== CSS Variables ===== */
:root {
  --primary: #1A3B6B;
  --primary-light: #2A5298;
  --primary-dark: #0F2440;
  --accent: #4ECDC4;
  --accent-light: #7EDDD6;
  --cta: #FF6B35;
  --cta-hover: #E85A25;
  --bg: #FAFBFC;
  --bg-alt: #F0F4F8;
  --text: #1A1A2E;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans TC', 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--cta);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
}
.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== Section Labels & Titles ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav a:hover,
.nav a.active { color: var(--primary); }
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.header-cta .btn { padding: 10px 24px; font-size: 14px; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

/* ===== Mobile Navigation ===== */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 24px 20px;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.active { color: var(--primary); font-weight: 600; }

/* ==========================================================================
   Pain Points Section
   ========================================================================== */
.pain-section {
  padding: 80px 0;
  background: var(--white);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pain-card {
  background: linear-gradient(135deg, #FFF7ED, #FFF1E6);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid #FED7AA;
  transition: transform 0.3s;
}
.pain-card:hover { transform: translateY(-4px); }
.pain-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--cta);
  box-shadow: var(--shadow);
}
.pain-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.pain-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Value Props Section
   ========================================================================== */
.value-section {
  padding: 100px 0;
  background: var(--bg);
}
.value-header {
  text-align: center;
  margin-bottom: 60px;
}
.value-header .section-desc { margin: 0 auto; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.value-card:hover::before { opacity: 1; }
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.value-card:nth-child(1) .value-icon { background: #EEF2FF; color: var(--primary); }
.value-card:nth-child(2) .value-icon { background: #D1FAE5; color: #059669; }
.value-card:nth-child(3) .value-icon { background: #FEF3C7; color: #D97706; }
.value-card:nth-child(4) .value-icon { background: #EDE9FE; color: #7C3AED; }
.value-number {
  font-size: 36px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  margin-bottom: 4px;
}
.value-card:nth-child(1) .value-number { color: var(--primary); }
.value-card:nth-child(2) .value-number { color: #059669; }
.value-card:nth-child(3) .value-number { color: #D97706; }
.value-card:nth-child(4) .value-number { color: #7C3AED; }
.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  padding: 100px 0;
  background: var(--white);
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-content { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.tag-blue { background: #EEF2FF; color: var(--primary); }
.tag-green { background: #D1FAE5; color: #059669; }
.tag-purple { background: #EDE9FE; color: #7C3AED; }
.tag-orange { background: #FEF3C7; color: #D97706; }
.feature-content h3 {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.feature-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.feature-list li i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.feature-visual {
  position: relative;
}
.feature-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}
.feature-mockup-content {
  padding: 24px;
  background: linear-gradient(135deg, #F8FAFC, #EEF2FF);
  min-height: 280px;
}

/* ==========================================================================
   Mockup Styles (Shared)
   ========================================================================== */

/* --- Browser Mockup Bar --- */
.mockup-bar {
  height: 36px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28CA41; }
.mockup-url {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  background: var(--white);
  padding: 4px 12px;
  border-radius: 6px;
  margin-left: 8px;
}
.mockup-content {
  padding: 20px;
  min-height: 340px;
  background: linear-gradient(135deg, #F8FAFC, #EEF2FF);
}

/* --- Schedule Grid --- */
.schedule-grid {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  gap: 3px;
  font-size: 11px;
}
.schedule-grid .day-header {
  text-align: center;
  color: var(--text-light);
  font-weight: 600;
  padding: 4px 0;
}
.schedule-grid .nurse-name {
  font-size: 11px;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
}
.schedule-grid .shift {
  text-align: center;
  padding: 4px 2px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 10px;
}
.shift-a { background: #DBEAFE; color: #1E40AF; }
.shift-e { background: #FEF3C7; color: #92400E; }
.shift-n { background: #EDE9FE; color: #5B21B6; }
.shift-off { background: #F3F4F6; color: #9CA3AF; }

/* --- Dashboard Mockup --- */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.dash-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
}
.dash-date {
  font-size: 12px;
  color: var(--text-light);
  background: var(--white);
  padding: 4px 12px;
  border-radius: 6px;
}
.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.dash-card {
  background: var(--white);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.dash-card-label {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
}
.dash-card-value {
  font-size: 22px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
}
.dash-card:nth-child(1) .dash-card-value { color: var(--primary); }
.dash-card:nth-child(2) .dash-card-value { color: var(--accent); }
.dash-card:nth-child(3) .dash-card-value { color: var(--cta); }
.dash-card-change {
  font-size: 11px;
  color: #10B981;
  margin-top: 4px;
}

.dash-schedule {
  background: var(--white);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.dash-schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.dash-schedule-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* --- Calendar Mockup --- */
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cal-title { font-size: 15px; font-weight: 700; color: var(--primary-dark); }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day-name {
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
  padding: 6px 0;
}
.cal-day {
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  background: var(--white);
  position: relative;
}
.cal-day.has-leave::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cta);
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
}
.cal-day.full {
  background: #FEE2E2;
  color: #DC2626;
}
.cal-day.today {
  background: var(--primary);
  color: var(--white);
}

/* --- Phone Mockup --- */
.phone-mockup {
  width: 260px;
  margin: 0 auto;
  background: #1A1A2E;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
}
.phone-screen {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
}
.phone-status-bar {
  background: var(--primary);
  padding: 12px 20px 8px;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 11px;
  font-weight: 600;
}
.phone-header {
  background: var(--primary);
  padding: 0 20px 16px;
  color: white;
}
.phone-header h4 { font-size: 18px; font-weight: 700; }
.phone-header p { font-size: 12px; opacity: 0.8; margin-top: 2px; }
.phone-body { padding: 16px; }
.phone-shift-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 8px;
}
.phone-shift-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.phone-shift-info { flex: 1; }
.phone-shift-date { font-size: 13px; font-weight: 600; color: var(--text); }
.phone-shift-time { font-size: 11px; color: var(--text-light); }

/* --- Dashboard Feature Mockup --- */
.dash-feature {
  padding: 20px;
  background: linear-gradient(135deg, #F8FAFC, #EEF2FF);
}
.dash-feature .mini-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.mini-card {
  background: var(--white);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.mini-card-label { font-size: 11px; color: var(--text-light); margin-bottom: 4px; }
.mini-card-value { font-size: 24px; font-weight: 800; font-family: 'Inter'; }
.mini-card-bar {
  height: 4px;
  border-radius: 2px;
  background: #E5E7EB;
  margin-top: 8px;
  overflow: hidden;
}
.mini-card-bar-fill {
  height: 100%;
  border-radius: 2px;
}
.mini-chart {
  background: var(--white);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.mini-chart-title { font-size: 12px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}
.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-height: 10px;
}

/* --- Hero Float Cards --- */
.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}
.hero-float-card.card-1 {
  top: 20px;
  right: -20px;
  color: #10B981;
}
.hero-float-card.card-2 {
  bottom: 60px;
  left: -30px;
  color: var(--primary);
  animation-delay: 1.5s;
}
.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-1 .float-icon { background: #D1FAE5; color: #10B981; }
.card-2 .float-icon { background: #DBEAFE; color: var(--primary); }

/* ==========================================================================
   Social Proof Section
   ========================================================================== */
.proof-section {
  padding: 80px 0;
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: var(--white);
}
.proof-header {
  text-align: center;
  margin-bottom: 60px;
}
.proof-header .section-label { color: var(--accent); }
.proof-header .section-title { color: var(--white); }
.proof-header .section-desc { color: rgba(255,255,255,0.7); margin: 0 auto; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proof-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.proof-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.proof-quote {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
  font-style: italic;
}
.proof-quote::before { content: '\201C'; font-size: 32px; color: var(--accent); line-height: 0; vertical-align: -8px; margin-right: 4px; }
.proof-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.proof-name { font-weight: 600; font-size: 15px; }
.proof-role { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ==========================================================================
   Differentiation Section
   ========================================================================== */
.diff-section {
  padding: 100px 0;
  background: var(--bg);
}
.diff-header {
  text-align: center;
  margin-bottom: 60px;
}
.diff-header .section-desc { margin: 0 auto; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.diff-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
  transition: all 0.3s;
}
.diff-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.diff-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.diff-card:nth-child(1) .diff-icon { background: #DBEAFE; color: var(--primary); }
.diff-card:nth-child(2) .diff-icon { background: #D1FAE5; color: #059669; }
.diff-card:nth-child(3) .diff-icon { background: #FEF3C7; color: #D97706; }
.diff-card:nth-child(4) .diff-icon { background: #EDE9FE; color: #7C3AED; }
.diff-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.diff-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding: 100px 0;
  background: var(--white);
}
.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(78, 205, 196, 0.1);
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.08);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-box p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.footer-bottom a { margin-left: 24px; }
.footer-bottom a:hover { color: var(--accent); }

/* ==========================================================================
   Legal Pages (Privacy, Terms)
   ========================================================================== */
.legal-hero {
  padding: 140px 0 60px;
  background: linear-gradient(160deg, #FAFBFC 0%, #EEF2F7 40%, #E8F0FE 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.legal-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 70%);
}
.legal-hero > * { position: relative; z-index: 1; }
.legal-hero h1 {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.legal-hero p {
  font-size: 15px;
  color: var(--text-secondary);
}

.legal-section {
  padding: 80px 0;
  background: var(--white);
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-intro {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-article {
  margin-bottom: 40px;
}
.legal-article:last-child { margin-bottom: 0; }
.legal-article h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-alt);
}
.legal-article p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-article ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.legal-article ul li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}
.legal-article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.legal-article ul li strong {
  color: var(--text);
  font-weight: 600;
}
.legal-article a {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s;
}
.legal-article a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 38px; }
  .hero-inner { gap: 40px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { gap: 40px; }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 120px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .hero-float-card { display: none; }
  .pain-grid { grid-template-columns: 1fr; max-width: 400px; margin: 48px auto 0; }
  .value-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .section-title { font-size: 28px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-content { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }
  .proof-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .diff-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 60px 30px; }
  .cta-box h2 { font-size: 28px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .legal-hero { padding: 120px 0 48px; }
  .legal-hero h1 { font-size: 32px; }
  .legal-section { padding: 48px 0; }
  .legal-article h2 { font-size: 19px; }
}

/* ===== Floating Chat Button ===== */
.floating-chat {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #06C755;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}
.floating-chat:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 24px rgba(6, 199, 85, 0.5);
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
  .dash-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .floating-chat { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .floating-chat svg { width: 24px; height: 24px; }
}
