/* ==================== MARKETING PAGES SHARED STYLES ==================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { 
  overflow-x: hidden; 
  width: 100%; 
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

:root {
  /* Primary Healthcare Colors */
  --primary: #1e40af;
  --primary-hover: #1e3a8a;
  --primary-light: rgba(30, 64, 175, 0.08);
  --primary-bg: rgba(30, 64, 175, 0.05);
  --primary-rgb: 30, 64, 175;
  
  --secondary: #0891b2;
  --accent: #059669;
  
  /* Semantic Colors */
  --success: #059669;
  --success-light: #10b981;
  --success-bg: rgba(5, 150, 105, 0.1);
  
  --info: #0284c7;
  --info-light: #0ea5e9;
  --info-bg: rgba(2, 132, 199, 0.1);
  
  --warning: #d97706;
  --warning-light: #f59e0b;
  --warning-bg: rgba(217, 119, 6, 0.1);
  
  --danger: #dc2626;
  --danger-light: #ef4444;
  
  /* Neutral Palette */
  --bg: #f8fafc;
  --bg-subtle: #f1f5f9;
  --surface: #ffffff;
  
  --text: #0f172a;
  --text-strong: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-strong: #cbd5e1;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-lg: 1rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;
  --space-3xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==================== NAVIGATION ==================== */
.marketing-nav {
  background: var(--surface);
  padding: var(--space-md) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  min-width: 180px; /* Prevent layout shift */
}

.nav-brand:hover { opacity: 0.9; }

.nav-logo {
  height: 36px;
  width: 36px; /* Fixed width to prevent shift */
  border-radius: var(--radius-md);
  object-fit: contain;
}

.nav-title {
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.nav-subtitle {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.9;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.375rem 0.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-light);
}

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  border: 1px solid transparent;
  text-decoration: none;
  padding: 0 var(--space-md);
  height: 36px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.nav-login-btn:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  box-shadow: 0 4px 8px rgba(30, 64, 175, 0.3);
  transform: translateY(-1px);
}

/* Appointment CTA Button */
.nav-appt-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  text-decoration: none;
  padding: 0 var(--space-md);
  height: 36px;
  border-radius: var(--radius-md);
  margin-left: var(--space-sm);
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
  cursor: pointer;
  border: 1px solid transparent;
}

.nav-appt-btn:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 4px 8px rgba(5, 150, 105, 0.3);
  transform: translateY(-1px);
}

/* ==================== APPOINTMENT MODAL ==================== */
.appt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.appt-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.appt-modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 400px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s ease;
  overflow: hidden;
}

.appt-modal-overlay.active .appt-modal {
  transform: scale(1) translateY(0);
}

.appt-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.appt-modal-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.appt-modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--bg-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.appt-modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.appt-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  background: white;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.appt-option:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.appt-option-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.appt-option.new-appt .appt-option-icon {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

.appt-option.manage-appt .appt-option-icon {
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.4);
}

.appt-option-icon svg {
  stroke: white !important;
  color: white !important;
  width: 26px;
  height: 26px;
}

.appt-option-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.25rem 0;
}

.appt-option-content p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==================== COUNTRY SELECTOR ==================== */
.country-selector {
  position: relative;
  margin-right: var(--space-sm);
}

.country-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 36px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.country-btn:hover {
  background: var(--surface);
  border-color: var(--border-strong);
}

.country-flag { font-size: 1.25rem; line-height: 1; }
.country-btn > .country-name { display: none; } /* Hide name in button, show only flag */
.country-arrow { color: var(--text-muted); transition: transform 0.2s ease; width: 14px; height: 14px; }
.country-btn[aria-expanded="true"] .country-arrow { transform: rotate(180deg); }

.country-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  overflow: hidden;
}

.country-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.country-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
}

.country-option:last-child { border-bottom: none; }
.country-option:hover { background: var(--bg-subtle); }
.country-option .country-name { color: var(--text-strong); font-weight: 500; flex: 1; }
.country-option .country-currency { font-size: 0.8125rem; color: var(--text-muted); }
.country-option.selected { background: var(--primary-light); border-left: 3px solid var(--primary); }
.country-option.selected .country-name { color: var(--primary); font-weight: 600; }

/* Mobile Country Selector - Compact */
.mobile-country-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.mobile-country-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-country-select {
  flex: 1;
  padding: 0.625rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.mobile-country-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==================== APPOINTMENTS DROPDOWN ==================== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.375rem 0.5rem;
  border-radius: var(--radius-md);
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

.nav-dropdown-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-dropdown-btn svg {
  width: 16px;
  height: 16px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
}

.nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover { background: var(--primary-light); color: var(--primary); }

/* Mobile Menu Toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text);
}

.nav-mobile-toggle svg { width: 24px; height: 24px; }

/* Mobile Menu */
.nav-mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.nav-mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile-menu-content {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  background: white;
  padding: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.nav-mobile-menu.active .nav-mobile-menu-content {
  transform: translateY(0);
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-radius: 10px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.nav-mobile-link svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-mobile-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-mobile-link:hover svg {
  color: var(--primary);
}

.nav-mobile-link.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  border-left-color: var(--primary);
}

.nav-mobile-link.active svg {
  color: var(--primary);
}

.nav-mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 0.75rem 0;
}

.nav-mobile-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
}

.nav-mobile-cta-row {
  display: flex;
  gap: 0.75rem;
}

.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0.875rem 1rem;
  text-align: center;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  font-size: 0.9375rem;
}

/* ==================== PAGE HEADER (Compact Hero Style) ==================== */
.page-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0891b2 100%);
  padding: var(--space-lg) var(--space-xl);
  width: 100%;
}

.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  min-height: 60px;
}

.page-header-text {
  flex: 1;
  min-width: 0;
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.page-header p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0.25rem 0 0 0;
}

.page-header-cta {
  flex-shrink: 0;
  width: 140px;
  display: flex;
  justify-content: flex-end;
}

.page-header-cta .btn-primary {
  background: #ffffff;
  color: var(--primary);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  text-align: center;
}

.page-header-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

/* ==================== CONTENT CONTAINER ==================== */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
}

/* ==================== SECTION STYLES ==================== */
.section {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== CARDS ==================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: var(--space-lg);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==================== PRICING CARDS ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 2px solid var(--border);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(to bottom, rgba(30, 64, 175, 0.02) 0%, var(--surface) 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
}

.pricing-card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 0.875rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.pricing-btn:hover,
.pricing-btn.primary {
  background: var(--primary);
  color: white;
}

.pricing-btn.primary:hover {
  background: var(--primary-hover);
}

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem;
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== CONTACT FORM ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
}

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info-card a,
.contact-info-card p {
  color: var(--text-secondary);
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: var(--space-xl);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-section p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}

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

.cta-btn.white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-btn.outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* ==================== FOOTER ==================== */
.marketing-footer {
  background: var(--text-strong);
  color: white;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-light);
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  padding: 0.375rem 0;
  transition: var(--transition);
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-bottom a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 1.5rem;
}

.footer-bottom a:hover {
  color: white;
}

/* ==================== CONTACT PAGE ==================== */

/* Side-by-side layout */
.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Left sidebar - Contact Info */
.contact-info-sidebar {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.contact-info-sidebar h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item:hover {
  color: var(--primary);
}

.contact-info-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 0.125rem;
}

.contact-info-item p {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  margin: 0;
}

.contact-info-item small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Right side - Form */
.contact-form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* Legacy contact cards (keep for backwards compatibility) */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--primary);
  font-weight: 500;
  font-size: 1.1rem;
}

.contact-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.5rem;
}

/* Contact Form */
.contact-form {
  max-width: 100%;
}

.contact-form-section .contact-form {
  max-width: 100%;
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--surface);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

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

.form-submit {
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.form-submit:hover {
  background: var(--primary-hover);
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.quick-action-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.quick-action-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.quick-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.quick-action-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.quick-action-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .nav-links { gap: 0.25rem; }
  .nav-link { font-size: 0.75rem; padding: 0.375rem 0.5rem; }
}

@media (max-width: 768px) {
  .marketing-nav { padding: 0.625rem 1rem; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-logo { height: 32px; width: 32px; }
  .nav-title { font-size: 1.125rem; }
  .nav-subtitle { font-size: 0.6875rem; }
  
  .page-header { padding: var(--space-lg) var(--space-lg); }
  .page-header-inner { 
    flex-direction: column; 
    text-align: center; 
  }
  .page-header h1 { font-size: 1.5rem; }
  .page-header p { font-size: 0.875rem; max-width: none; }
  .page-header-cta { justify-content: center; margin-top: var(--space-sm); }
  
  .card-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-sidebar { margin-bottom: 1rem; }
  .quick-actions { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    text-align: left;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-bottom a { margin-left: 0; margin: 0 0.75rem; }
}

@media (max-width: 480px) {
  .marketing-nav { padding: 0.625rem 0.75rem; }
  .nav-logo { height: 28px; width: 28px; }
  .nav-title { font-size: 1rem; }
  .nav-subtitle { font-size: 0.6rem; }
  
  .page-header { padding: var(--space-md) var(--space-md); }
  .page-header h1 { font-size: 1.25rem; }
}
