/* US Landing Page Styles */

.us-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #dc2626 100%);
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.us-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="20" fill="rgba(255,255,255,0.03)"/></svg>') 0 0/60px 60px;
  pointer-events: none;
}
.us-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}
.us-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.us-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}
.trending-chips {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  align-items: center; position: relative; z-index: 1;
}
.chip-label { font-size: 13px; opacity: 0.7; font-weight: 600; }
.trend-chip {
  background: rgba(255,255,255,0.15); backdrop-filter: blur(6px);
  color: #fff; padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25); transition: all 0.2s;
}
.trend-chip:hover { background: rgba(255,255,255,0.28); color: #fff; }

/* Why Now Section */
.why-now-section {
  background: #f8faff; padding: 64px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.why-now-heading {
  font-size: 1.9rem; font-weight: 800; text-align: center;
  color: var(--text); margin-bottom: 36px; letter-spacing: -0.02em;
}
.why-now-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.why-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; box-shadow: var(--shadow-sm); transition: all 0.3s;
  display: flex; flex-direction: column; gap: 8px;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.why-icon { font-size: 2.2rem; }
.why-card h4 { font-size: 1rem; font-weight: 800; color: var(--text); margin: 0; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0; flex: 1; }
.why-stat {
  font-size: 12px; color: var(--blue-dark); font-weight: 600;
  background: #eff6ff; padding: 6px 10px; border-radius: 6px;
}

/* Healthcare Professional Callout */
.pro-callout-section {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  padding: 40px 0;
}
.pro-callout {
  display: flex; gap: 28px; align-items: flex-start;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; padding: 32px;
}
.pro-callout-icon { font-size: 3rem; flex-shrink: 0; }
.pro-callout-text h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.pro-callout-text p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.65; margin-bottom: 16px; }
.pro-cta-link {
  display: inline-block; background: #fbbf24; color: #1e3a5f;
  padding: 8px 20px; border-radius: 8px; font-weight: 700;
  font-size: 14px; text-decoration: none; transition: all 0.2s;
}
.pro-cta-link:hover { background: #fcd34d; transform: translateY(-1px); }

.us-section { padding: 48px 0; }

.section-number {
  font-size: 13px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--blue); margin-bottom: 4px;
}
.section-title {
  font-size: 1.5rem; font-weight: 800; color: var(--text);
  margin-bottom: 24px; letter-spacing: -0.01em;
}

/* US City Picker */
.us-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.us-city-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px; border: 2px solid var(--border); border-radius: 14px;
  background: #fff; cursor: pointer; transition: all 0.2s;
}
.us-city-card:hover { border-color: var(--blue-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.us-city-card.active { border-color: var(--blue); background: rgba(37, 99, 235, 0.05); box-shadow: 0 4px 12px rgba(37,99,235,0.15); }
.us-city-flag { font-size: 28px; }
.us-city-name { font-weight: 800; font-size: 1.05rem; color: var(--text); }
.us-city-tag { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* Comparison Results */
.comparison-title {
  font-size: 1.6rem; font-weight: 800; margin-bottom: 24px;
  color: var(--text); letter-spacing: -0.02em;
}
.comparison-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 24px;
}
.comparison-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.comp-header {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  padding: 20px 24px; color: #fff;
}
.comp-vs { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.comp-city-us, .comp-city-ca { font-weight: 700; font-size: 1rem; }
.comp-arrow { font-size: 1.2rem; opacity: 0.7; }
.comp-rows { padding: 0; }
.comp-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  padding: 12px 24px; border-bottom: 1px solid var(--border);
  font-size: 14px; align-items: center;
}
.comp-row:last-child { border-bottom: none; }
.comp-label { font-weight: 600; color: var(--text); }
.comp-us { color: var(--text-muted); text-align: center; }
.comp-ca { color: var(--text-muted); text-align: center; }
.comp-diff { font-weight: 700; text-align: right; }
.comp-diff.save { color: var(--green); }
.comp-diff.more { color: var(--red); }
.highlight-row { background: #f0fdf4; }
.total-row { background: var(--gray-bg); }
.comp-footer { padding: 20px 24px; }
.comp-salary { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.comp-healthcare-banner {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  padding: 14px 18px; border-radius: 10px;
  font-size: 14px; color: #065f46; margin-bottom: 16px;
}
.comp-healthcare-note { display: block; font-size: 12px; opacity: 0.7; margin-top: 4px; }
.comp-cta {
  display: inline-block; background: var(--blue-grad); color: #fff;
  padding: 10px 24px; border-radius: 8px; font-weight: 700;
  font-size: 14px; text-decoration: none; transition: all 0.2s;
}
.comp-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); color: #fff; }

/* Big 5 Cards */
.big5-heading {
  font-size: 1.8rem; font-weight: 800; text-align: center;
  color: var(--text); margin-bottom: 8px; letter-spacing: -0.02em;
}
.big5-sub { text-align: center; color: var(--text-muted); margin-bottom: 32px; font-size: 1rem; }
.big5-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.big5-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; box-shadow: var(--shadow-sm); transition: all 0.3s;
}
.big5-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.big5-icon { font-size: 2.5rem; margin-bottom: 16px; }
.big5-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; color: var(--text); }
.big5-us, .big5-ca {
  font-size: 14px; line-height: 1.6; padding: 12px; border-radius: 8px; margin-bottom: 8px;
}
.big5-us { background: #fef2f2; color: #991b1b; border-left: 3px solid #dc2626; }
.big5-ca { background: #f0fdf4; color: #166534; border-left: 3px solid #22c55e; }

/* Pathway Cards */
.pathway-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.pathway-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; position: relative; box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.pathway-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.pathway-icon { font-size: 2rem; margin-bottom: 12px; }
.pathway-card h4 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.pathway-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.pathway-tag {
  position: absolute; top: 16px; right: 16px;
  background: #eff6ff; color: var(--blue-dark);
  padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em;
}

/* US Banner (shown on index.html for US visitors) */
.us-banner {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #fff; padding: 14px 20px; text-align: center;
  font-size: 14px; font-weight: 600;
  display: none; /* shown by JS */
  animation: slideDown 0.4s ease-out;
}
.us-banner a { color: #fbbf24; text-decoration: underline; font-weight: 700; }
.us-banner a:hover { color: #fcd34d; }
.us-banner-close {
  background: none; border: none; color: rgba(255,255,255,0.6);
  font-size: 18px; cursor: pointer; margin-left: 16px; vertical-align: middle;
}

@media (max-width: 600px) {
  .us-hero { padding: 50px 0 40px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comp-row { grid-template-columns: 1fr 1fr; gap: 4px; }
  .comp-row .comp-label { grid-column: 1 / -1; }
  .big5-grid, .pathway-grid { grid-template-columns: 1fr; }
}
