/* ============================================
   O1DMatch Angel Round — page-specific additions
   Layered on top of styles.css (v3 design system)
   ============================================ */

/* Logo tag */
.logo-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid var(--border-visible);
  border-radius: var(--radius-full);
  vertical-align: middle;
}

/* Section eyebrow extra */
.card-eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* Callout block */
.callout {
  background: var(--gradient-card);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-top: 48px;
}

.callout h3 {
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.callout p {
  color: var(--gray-300);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.callout .check-list { margin-top: 20px; }

.cta-row {
  margin-top: 28px;
  text-align: center;
}

.job-match-callout {
  margin-top: 56px;
  border-color: rgba(168, 85, 247, 0.3);
}

.job-match-callout .section-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
}

/* Footnote */
.footnote {
  text-align: center;
  margin-top: 48px;
  color: var(--gray-400);
  font-size: 14px;
  font-style: italic;
}

.footnote a { color: var(--primary); }

/* Funds grid */
.funds-grid {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.fund-row {
  display: grid;
  grid-template-columns: 1.4fr 0.4fr 2fr;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}

.fund-row:last-child { border-bottom: none; }

.fund-role {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.fund-amount {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: right;
}

.fund-note {
  color: var(--gray-400);
  font-size: 14px;
  line-height: 1.6;
}

.highlight-row {
  background: rgba(99, 102, 241, 0.06);
  border-left: 3px solid var(--primary);
}

.total-row {
  background: var(--dark-light);
  border-top: 2px solid var(--primary);
}

.total-row .fund-amount { font-size: 28px; }

/* Timeline */
.timeline {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}

.timeline-month {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-top: 32px;
}

.timeline-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.timeline-card h4 {
  font-size: 20px;
  margin-bottom: 16px;
}

/* Video grid */
.video-grid { gap: 24px; }

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.video-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  color: inherit;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--dark-light);
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
}

.video-thumb-try {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
}

.try-emoji {
  font-size: 72px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.3));
}

.try-card {
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.try-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.promo {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--white);
  background: rgba(10, 10, 15, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.video-thumb-more .video-play {
  opacity: 1;
  position: static;
  background: transparent;
}

.video-card:hover .video-play {
  opacity: 1;
  background: rgba(10, 10, 15, 0.55);
}

.video-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-body h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--white);
}

.video-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-300);
  margin-bottom: 16px;
  flex: 1;
}

.video-body code {
  background: var(--dark-light);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Tool grid (demoted AI section) */
.tool-grid .card { padding: 24px; }
.tool-card h4 { font-size: 18px; margin-bottom: 8px; }
.tool-card p { font-size: 14px; line-height: 1.6; }

/* Leader card */
.leader-card { padding: 28px 32px; }
.leader-card h3, .leader-card h4 {
  margin-bottom: 4px;
  background: none;
  -webkit-text-fill-color: var(--white);
  color: var(--white);
}
.leader-card .card-eyebrow { margin-bottom: 16px; }

/* Risk card */
.risk-card h4 {
  margin-bottom: 16px;
  color: var(--warning);
}
.risk-card p { margin-bottom: 12px; font-size: 14px; }

/* Terms grid */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto 64px;
}

.terms-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.terms-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.terms-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.terms-note {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.5;
}

/* Calculator */
.calc-card {
  background: var(--gradient-card);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  max-width: 720px;
  margin: 0 auto;
}

.calc-card h3 { margin-bottom: 8px; }
.calc-sub { color: var(--gray-400); font-size: 14px; margin-bottom: 28px; }

.calc-card input[type="range"] {
  width: 100%;
  margin: 16px 0 28px;
  accent-color: var(--primary);
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--gray-300);
  font-size: 15px;
}

.calc-row:last-of-type { border-bottom: none; }

.calc-figure {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.calc-disclaimer {
  margin-top: 20px;
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
  font-style: italic;
}

/* Form */
.ask-form {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ask-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ask-form input[type="text"],
.ask-form input[type="email"],
.ask-form select,
.ask-form textarea {
  background: var(--dark-light);
  border: 1px solid var(--border-visible);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.2s ease;
}

.ask-form input:focus,
.ask-form select:focus,
.ask-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.ask-form textarea { resize: vertical; min-height: 96px; }

.ask-form .btn { align-self: flex-start; margin-top: 8px; }

.form-disclaimer {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
}

.direct-card {
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px dashed var(--border-visible);
  border-radius: var(--radius-lg);
  text-align: center;
}

.direct-card h4 { margin-bottom: 8px; font-size: 18px; }
.direct-card p { color: var(--gray-300); }
.direct-card a { font-weight: 600; }

/* Footer */
.footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-copy {
  color: var(--gray-400);
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 14px;
}

.footer-links a { color: var(--gray-300); }
.footer-links a:hover { color: var(--primary); }

.footer-disclaimer {
  max-width: 720px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Visually hidden (a11y) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  h1, .hero h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .fund-row { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .fund-amount { text-align: left; }
  .timeline-row { grid-template-columns: 1fr; gap: 12px; }
  .timeline-month { padding-top: 0; }
  .terms-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .calc-card, .ask-form { padding: 28px 24px; }
}
