/* --- APPLE-THEMED HOME PAGE SPECIFIC STYLES --- */

/* Hero Section */
.hero-masthead {
  padding-top: 130px;
  padding-bottom: 80px;
  background-color: var(--white);
  text-align: center;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.07;
  color: var(--text-charcoal);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #86868B;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-pair {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

/* S2: Ticker Marquee */
.marquee-container {
  overflow: hidden;
  background-color: var(--soft-gray);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  padding: 18px 0;
  display: flex;
}

.marquee-content {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: #86868B;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-content span {
  color: var(--apple-blue);
}

/* S3: Problem Section Styles */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  width: 100%;
  max-width: 900px;
}

.problem-card {
  background-color: var(--soft-gray);
  border: 1px solid #D2D2D7;
  border-radius: 18px;
  padding: 40px 24px;
  text-align: center;
  transition: transform 0.2s ease;
}

.problem-card:hover {
  transform: scale(1.02);
}

.problem-card .num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--text-charcoal);
  line-height: 1;
  margin-bottom: 8px;
}

.problem-card.highlight-card {
  background-color: var(--white);
  border-color: var(--apple-blue);
}

.problem-card.highlight-card .num {
  color: var(--apple-blue);
}

.problem-card .label {
  font-size: 14px;
  font-weight: 500;
  color: #6E6E73;
}

/* S4: Transit Map styles */
.map-container {
  width: 100%;
  max-width: 900px;
  height: 480px;
  background-color: var(--soft-gray);
  border: var(--border-light);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}

.map-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  font-size: 13px;
  color: #6E6E73;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color {
  width: 16px;
  height: 6px;
  border-radius: 3px;
}

/* S5: Skill Gap styles */
.gap-display {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  width: 100%;
  max-width: 950px;
}

.gap-visual {
  background-color: var(--soft-gray);
  border: var(--border-light);
  border-radius: 20px;
  padding: 30px;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gap-alert-triangle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: #FF9500; /* iOS Warning Orange */
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.gap-alert-triangle::after {
  content: "!";
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: bold;
  color: var(--white);
}

/* S6: Explainable AI */
.x-ai-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  width: 100%;
  max-width: 950px;
}

.x-ai-explanation {
  background-color: var(--white);
  border: var(--border-light);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.x-ai-list {
  list-style: none;
  margin-top: 24px;
}

.x-ai-list li {
  margin-bottom: 16px;
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  color: var(--text-charcoal);
}

.x-ai-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--apple-blue);
  font-weight: bold;
  font-size: 16px;
}

/* S7: Blind Screening */
.blind-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 950px;
}

.blind-graphic {
  background-color: var(--soft-gray);
  border: var(--border-light);
  border-radius: 20px;
  padding: 40px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.censored-line {
  background-color: #E5E5EA;
  height: 20px;
  border-radius: 4px;
  margin: 8px 0;
  width: 70%;
}

.censored-line.short {
  width: 40%;
}

/* S8: ROI Calculator iOS layout */
.roi-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 950px;
  margin-top: 30px;
}

.roi-controls {
  background-color: var(--white);
  border: var(--border-light);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.slider-group {
  margin-bottom: 30px;
}

.slider-group:last-child {
  margin-bottom: 0;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  color: #6E6E73;
  margin-bottom: 8px;
}

.slider-label .value {
  color: var(--apple-blue);
  font-weight: 600;
}

/* iOS range slider mimic */
.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #E5E5EA;
  border-radius: 3px;
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  background: var(--white);
  border: 0.5px solid rgba(0,0,0,0.04);
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15), 0 3px 1px rgba(0,0,0,0.06);
  cursor: pointer;
}

.roi-results {
  background-color: var(--soft-gray);
  border: var(--border-light);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.roi-metric {
  border-bottom: 1px solid #E5E5EA;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.roi-metric:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.roi-metric-label {
  font-size: 12px;
  font-weight: 600;
  color: #86868B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.roi-metric-val {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-charcoal);
  line-height: 1;
}

.roi-metric-val.highlight-blue {
  color: var(--apple-blue);
}

/* S9: Work-Style Toggles (iOS Segmented Control) */
.style-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
}

.style-card {
  background-color: var(--soft-gray);
  border: var(--border-light);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.style-toggle-container {
  display: flex;
  margin-top: 20px;
  background-color: rgba(118, 118, 128, 0.12);
  border-radius: 8px;
  padding: 2px;
}

.style-toggle-btn {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-charcoal);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.style-toggle-btn.active {
  background-color: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 1px rgba(0,0,0,0.06);
}

/* S11: Integration Showcase */
.integration-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 900px;
}

.integration-badge {
  background-color: var(--white);
  border: var(--border-light);
  border-radius: 16px;
  padding: 24px 15px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-charcoal);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.integration-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* S12: Roadmap Preview */
.roadmap-preview-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
  width: 100%;
  max-width: 750px;
}

.roadmap-preview-line {
  background-color: var(--white);
  border: var(--border-light);
  border-radius: 12px;
  padding: 18px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.roadmap-preview-line::after {
  content: "➔";
  color: var(--link-blue);
  font-size: 12px;
}

.roadmap-preview-line:hover {
  background-color: var(--soft-gray);
}

/* S13: Founders speculative cards */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  width: 100%;
  max-width: 950px;
}

.founder-block {
  background-color: var(--soft-gray);
  border: var(--border-light);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founder-portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.portrait-canvas {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-name {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-charcoal);
  margin-bottom: 4px;
}

.founder-title {
  font-size: 14px;
  font-weight: 500;
  color: #86868B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Portrait minimal vector abstracts */
.portrait-canvas .shape-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--apple-blue);
  opacity: 0.85;
}

.portrait-canvas .shape-square {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background-color: var(--sky-blue);
}

.portrait-canvas .stripe {
  position: absolute;
  width: 120px;
  height: 8px;
  background-color: #FF9500;
  transform: rotate(-45deg);
}

/* S14: CTA Band */
.cta-band {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 90px 22px;
  text-align: center;
  width: 100%;
  border-bottom: none;
}

.cta-band-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band-sub {
  font-size: 20px;
  color: #A1A1A6;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button-pair {
  display: flex;
  justify-content: center;
  gap: 16px;
}
