/* ========================
   HOMEPAGE STYLES
   ======================== */

/* VIDEO BACKGROUND */
.hp-video-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; z-index: 0; pointer-events: none; }
.hp-video-gradient { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent 40%, #0E0D0B 100%); z-index: 1; pointer-events: none; }

/* NAV */
.hp-nav { position: fixed; top: 0; left: 0; right: 0; height: 72px; display: flex; justify-content: space-between; align-items: center; padding: 0 48px; z-index: 100; background: rgba(14,13,11,0.0); transition: background 0.3s; }
.hp-nav.scrolled { background: rgba(14,13,11,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.hp-nav-logo { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: #FFFFFF; letter-spacing: 0.2em; text-decoration: none; }
.hp-nav-links { display: flex; gap: 36px; align-items: center; }
.hp-nav-link { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; font-weight: 500; transition: color 0.2s; }
.hp-nav-link:hover { color: rgba(255,255,255,0.9); }
.hp-nav-cta { background-color: #C8AA50; color: #0E0D0B; padding: 8px 22px; border-radius: 4px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; transition: background-color 0.2s; text-decoration: none; display: inline-block; letter-spacing: 0.01em; }
.hp-nav-cta:hover { background-color: #b09840; }
.hp-nav-back { display: none; }

/* HERO */
.hp-hero { position: relative; z-index: 2; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 120px 80px 80px; max-width: 1400px; margin: 0 auto; }
.hp-hero-content { display: flex; flex-direction: column; gap: 0; }
.hp-hero-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; color: #C8AA50; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 20px; }
.hp-hero-headline { font-family: 'Space Grotesk', sans-serif; font-size: 68px; font-weight: 700; color: #FFFFFF; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 24px; }
.hp-hero-sub { font-family: 'Inter', sans-serif; font-size: 17px; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 40px; max-width: 480px; }
.hp-hero-ctas { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hp-btn-gold { background-color: #C8AA50; color: #0E0D0B; padding: 14px 32px; border-radius: 4px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: background-color 0.2s; text-decoration: none; display: inline-block; }
.hp-btn-gold:hover { background-color: #b09840; }
.hp-btn-text { color: #C8AA50; font-size: 14px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; cursor: pointer; background: none; border: none; }
.hp-btn-text:hover { gap: 10px; }

/* HERO STAT CARDS */
.hp-hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 2; }
.hp-stat-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; padding: 24px 20px; transition: border-color 0.2s, background 0.2s; }
.hp-stat-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(200,170,80,0.2); }
.hp-stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: #C8AA50; margin-bottom: 6px; line-height: 1; }
.hp-stat-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.08em; }

/* PLATFORM SECTION */
.hp-platform { position: relative; z-index: 2; padding: 120px 80px; background: #0E0D0B; }
.hp-platform-inner { max-width: 1240px; margin: 0 auto; }
.hp-section-label { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: #C8AA50; margin-bottom: 16px; }
.hp-section-headline { font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 700; color: #FFFFFF; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.1; }
.hp-section-sub { font-family: 'Inter', sans-serif; font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 560px; margin-bottom: 48px; }

/* RISK TABLE */
.hp-table-wrap { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; overflow: hidden; }
.hp-table-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); }
.hp-table-header-left { display: flex; align-items: center; gap: 10px; }
.hp-table-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; flex-shrink: 0; }
.hp-table-title { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.8); letter-spacing: 0.05em; }
.hp-table-period { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.3); }
.hp-table-header-right { display: flex; align-items: center; gap: 12px; }
.hp-table-source { font-size: 11px; color: rgba(255,255,255,0.35); }
.hp-table-badge { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600; color: #C8AA50; background: rgba(200,170,80,0.1); border: 1px solid rgba(200,170,80,0.2); padding: 3px 8px; border-radius: 3px; }
.hp-risk-table { width: 100%; border-collapse: collapse; }
.hp-risk-table th { font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.35); padding: 10px 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(0,0,0,0.15); white-space: nowrap; }
.hp-risk-table th.col-score { color: #C8AA50; }
.hp-risk-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 12px; color: rgba(255,255,255,0.75); white-space: nowrap; }
.hp-risk-table tbody tr:last-child td { border-bottom: none; }
.hp-risk-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.hp-fund-name { color: #FFFFFF; font-weight: 500; }
.hp-score-cell { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; color: #C8AA50; }
.hp-rating-pill { display: inline-block; padding: 3px 10px; border-radius: 3px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.hp-rating-green { background: rgba(74,222,128,0.12); color: #4ADE80; border: 1px solid rgba(74,222,128,0.2); }
.hp-rating-amber { background: rgba(251,191,36,0.12); color: #FBBF24; border: 1px solid rgba(251,191,36,0.2); }
.hp-rating-red { background: rgba(248,113,113,0.12); color: #F87171; border: 1px solid rgba(248,113,113,0.2); }
.hp-flag { font-size: 10px; color: #FBBF24; opacity: 0.9; }
.hp-flag-red { color: #F87171; }
.hp-table-footer { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; }
.hp-table-footer a { font-size: 13px; font-weight: 500; color: #C8AA50; text-decoration: none; cursor: pointer; transition: opacity 0.2s; }
.hp-table-footer a:hover { opacity: 0.7; }

/* HOW IT WORKS */
.hp-how { position: relative; z-index: 2; padding: 120px 80px; background: #0E0D0B; }
.hp-how-inner { max-width: 1240px; margin: 0 auto; }
.hp-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-top: 60px; position: relative; }
.hp-steps::before { content: ''; position: absolute; top: 28px; left: calc(16.67% + 14px); right: calc(16.67% + 14px); height: 1px; background: linear-gradient(90deg, #C8AA50 0%, rgba(200,170,80,0.3) 100%); z-index: 0; }
.hp-step { padding: 0 40px; position: relative; z-index: 1; }
.hp-step:first-child { padding-left: 0; }
.hp-step:last-child { padding-right: 0; }
.hp-step-circle { width: 56px; height: 56px; border-radius: 50%; border: 1px solid #C8AA50; background: #0E0D0B; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.hp-step-number { font-family: 'JetBrains Mono', monospace; font-size: 16px; font-weight: 600; color: #C8AA50; }
.hp-step-title { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; color: #FFFFFF; margin-bottom: 12px; }
.hp-step-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 16px; }
.hp-step-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hp-step-tag { font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 3px; padding: 3px 8px; letter-spacing: 0.04em; }

/* CTA SECTION */
.hp-cta-section { position: relative; z-index: 2; padding: 140px 80px; background: #0E0D0B; text-align: center; overflow: hidden; }
.hp-cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 400px; background: radial-gradient(ellipse at center, rgba(200,170,80,0.08) 0%, transparent 70%); pointer-events: none; }
.hp-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.hp-cta-line { width: 40px; height: 1px; background: #C8AA50; margin: 0 auto 36px; }
.hp-cta-headline { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; color: #FFFFFF; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 20px; }
.hp-cta-sub { font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 36px; }
.hp-cta-fine { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 20px; letter-spacing: 0.03em; }

/* FOOTER */
.hp-footer { position: relative; z-index: 2; padding: 40px 80px; background: #0E0D0B; border-top: 1px solid rgba(255,255,255,0.06); }
.hp-footer-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.hp-footer-left { display: flex; flex-direction: column; gap: 4px; }
.hp-footer-logo { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: #FFFFFF; letter-spacing: 0.2em; }
.hp-footer-tagline { font-size: 11px; color: rgba(255,255,255,0.3); }
.hp-footer-right { display: flex; gap: 24px; align-items: center; font-size: 12px; color: rgba(255,255,255,0.3); }
.hp-footer-right a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.hp-footer-right a:hover { color: rgba(255,255,255,0.6); }

/* SCROLL REVEAL */
.hp-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.hp-reveal.visible { opacity: 1; transform: translateY(0); }
.hp-reveal-delay-1 { transition-delay: 0.1s; }
.hp-reveal-delay-2 { transition-delay: 0.2s; }
.hp-reveal-delay-3 { transition-delay: 0.3s; }
.hp-reveal-delay-4 { transition-delay: 0.4s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hp-hero { grid-template-columns: 1fr; padding: 120px 40px 60px; gap: 60px; min-height: auto; }
    .hp-hero-headline { font-size: 52px; }
    .hp-hero-cards { grid-template-columns: 1fr 1fr; }
    .hp-platform, .hp-how, .hp-cta-section, .hp-footer { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 768px) {
    .hp-nav { padding: 0 24px; }
    .hp-nav-links { gap: 20px; }
    .hp-nav-link { display: none; }
    .hp-hero { padding: 100px 24px 48px; }
    .hp-hero-headline { font-size: 40px; }
    .hp-hero-cards { grid-template-columns: 1fr 1fr; }
    .hp-steps { grid-template-columns: 1fr; gap: 40px; }
    .hp-steps::before { display: none; }
    .hp-step { padding: 0; }
    .hp-section-headline { font-size: 32px; }
    .hp-cta-headline { font-size: 36px; }
    .hp-platform, .hp-how, .hp-cta-section { padding-left: 24px; padding-right: 24px; }
    .hp-footer { padding-left: 24px; padding-right: 24px; }
    .hp-footer-inner { flex-direction: column; align-items: flex-start; }
    .hp-risk-table th:nth-child(n+4), .hp-risk-table td:nth-child(n+4) { display: none; }
}
