/* ==========================================================================
   jdmvin.com — index-style.css
   Landing page (index.php) specific styles.
   Extracted 2026-05-28 from mock_v1.html inline <style> block.
   
   Some base rules (:root, body, header, nav, footer) overlap with
   page-style.css (intentional; later-loaded wins via cascade order).
   ========================================================================== */

  :root {
    --bg: #fafafa;
    --surface: #ffffff;
    --navy: #0a2540;
    --navy-soft: #1b3554;
    --blue: #1a73e8;
    --blue-hover: #1557b0;
    --gold: #bfa055;
    --text: #0a2540;
    --text-secondary: #5f6368;
    --text-tertiary: #8b9099;
    --border: #e6e8eb;
    --border-strong: #c8ccd1;
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.12);
  }

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

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }

  /* HEADER */
  header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
  }
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--navy);
    text-decoration: none;
  }
  .logo span { color: var(--blue); }
  nav ul { display: flex; gap: 32px; list-style: none; align-items: center; }
  nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
  }
  nav a:hover { color: var(--navy); }
  .lang-toggle {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--surface);
    cursor: pointer;
    transition: all 0.15s;
  }
  .lang-toggle:hover { border-color: var(--border-strong); }

  /* HERO */
  .hero {
    max-width: 1080px;
    margin: 0 auto;
    padding: 96px 32px 64px;
    text-align: center;
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(26, 115, 232, 0.08);
    color: var(--blue);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  .eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
  }
  h1 {
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: 20px;
  }
  .hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.5;
  }

  /* SEARCH BOX */
  .search-wrap {
    max-width: 720px;
    margin: 0 auto 24px;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: box-shadow 0.2s, border-color 0.2s;
  }
  .search-wrap:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12), var(--shadow-lg);
  }
  .search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    font-family: inherit;
    padding: 16px 20px;
    background: transparent;
    color: var(--text);
    font-variant-numeric: tabular-nums;
  }
  .search-input::placeholder { color: var(--text-tertiary); }
  .search-btn {
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .search-btn:hover { background: var(--navy-soft); }
  .search-btn:active { transform: scale(0.98); }
  .search-btn svg { width: 18px; height: 18px; }
  .search-hint {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 56px;
  }
  .search-hint kbd {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
    font-family: inherit;
  }

  /* SOURCE BADGE */
  .source-badge {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
  }
  .source-badge::before,
  .source-badge::after {
    content: '';
    position: absolute;
    top: -1px;
    width: 80px;
    height: 1px;
    background: var(--gold);
  }
  .source-badge::before { left: 50%; transform: translateX(-50%); top: -1px; }
  .source-badge::after { left: 50%; transform: translateX(-50%); bottom: -1px; top: auto; }
  .source-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 14px;
  }
  .source-name {
    font-size: 17px;
    line-height: 1.5;
    color: var(--navy);
    font-weight: 500;
    letter-spacing: -0.005em;
  }
  .source-name strong { font-weight: 700; }
  .source-disclaimer {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
  }
  .source-disclaimer a {
    color: var(--text-tertiary);
    text-decoration: underline;
    text-decoration-color: var(--border-strong);
    text-underline-offset: 3px;
  }

  /* STATS DASHBOARD */
  .stats-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 64px 32px;
    margin-top: 64px;
  }
  .stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }
  .stat {
    background: var(--surface);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .stat-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .stat-value .unit {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 2px;
  }
  .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
  }
  .stat-meta {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  /* HOW IT WORKS */
  .how {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 32px;
  }
  .section-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
  }
  .section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy);
    text-align: center;
    margin-bottom: 16px;
  }
  .section-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 64px;
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  }
  .step:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
  .step-num {
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 16px;
  }
  .step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(26, 115, 232, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--blue);
  }
  .step-icon svg { width: 24px; height: 24px; }
  .step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
  }
  .step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* TRUST PILLARS */
  .trust {
    background: var(--navy);
    color: white;
    padding: 96px 32px;
  }
  .trust-inner {
    max-width: 1200px;
    margin: 0 auto;
  }
  .trust .section-eyebrow { color: var(--gold); }
  .trust .section-title { color: white; }
  .trust .section-sub { color: rgba(255, 255, 255, 0.7); }
  .pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .pillar {
    padding: 32px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .pillar-stat {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: white;
    line-height: 1;
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
  }
  .pillar-stat .unit {
    font-size: 24px;
    font-weight: 600;
    color: var(--gold);
    margin-left: 4px;
  }
  .pillar h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
  }
  .pillar p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
  }

  /* RECALL ARCHIVE — reuse .how / .steps / .step styles, with link wrapper */
  .archive-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
  }
  a.step {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
  }
  a.step:hover {
    text-decoration: none;
    border-color: var(--blue);
  }
  a.step .archive-arrow {
    margin-top: 16px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
  }
  a.step:hover .archive-arrow {
    text-decoration: underline;
  }
  .archive-source-strong {
    color: var(--navy);
    font-weight: 600;
  }

  /* FAQ */
  .faq-section {
    max-width: 760px;
    margin: 0 auto;
    padding: 96px 32px;
  }
  .faq-list { margin-top: 48px; }
  details {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
  }
  details:first-child { border-top: 1px solid var(--border); }
  summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
  }
  summary::-webkit-details-marker { display: none; }
  summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: transform 0.2s;
    line-height: 1;
  }
  details[open] summary::after { content: '−'; }
  .faq-answer {
    padding-top: 16px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
  }
  .faq-answer code {
    background: rgba(26, 115, 232, 0.08);
    color: var(--blue);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'SF Mono', Monaco, monospace;
  }

  /* FOOTER */
  footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 64px 32px 40px;
  }
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }
  .footer-brand .logo { font-size: 18px; margin-bottom: 16px; display: block; }
  .footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 320px;
  }
  .footer-col h4 {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
  }
  .footer-col a:hover { color: var(--blue); }
  .footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
  }
  .footer-legal {
    font-size: 12px;
    color: var(--text-tertiary);
    max-width: 720px;
    line-height: 1.6;
  }
  .footer-copy {
    font-size: 13px;
    color: var(--text-tertiary);
    white-space: nowrap;
  }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    nav ul { gap: 20px; }
  }
  @media (max-width: 600px) {
    .header-inner { padding: 14px 20px; }
    nav ul li:not(:last-child) { display: none; }
    .hero { padding: 56px 20px 40px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-value { font-size: 34px; }
    .pillar-stat { font-size: 42px; }
    .search-wrap { flex-direction: column; padding: 16px; }
    .search-btn { width: 100%; justify-content: center; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; }
  }
