@import url('skeleton.css');
@import url('site-header.css');

/* Badges removed site-wide (exceptions below) */
.badge,
.banner-badge,
.tier-pay-badge,
.premium-badge,
.pay-badge,
.badge-loc,
.badge-rewriting,
.badge-safety,
.badge-transcription,
.badge-default,
.badge-signature,
.badge-high-pay,
.badge-mid-pay,
#proj-badges,
#proj-badge,
#dyn-badge,
#modal-badge {
    display: none !important;
}

.hero-tab-pane .badge-pill,
.onboard-page #proj-badge,
.onboard-page .context-bar .badge,
.project-container .badge {
    display: inline-block !important;
}

.btn-login {
    background: transparent;
    color: #0ea5e9;
    border: 2px solid #0ea5e9;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
}
.btn-login:hover {
    background: rgba(14, 165, 233, 0.08);
}

/* Base Styles & CSS Variables */
:root {
    --primary-blue: #0077b6;
    --light-blue: #90e0ef;
    --dark-bg: #03045e;
    --darker-bg: #02033b;
    --text-dark: #333;
    --text-light: #f4f4f9;
    --bg-gray: #f4f7f6;
    
    /* Edge-to-edge with a safe 5% text buffer */
    --side-padding: 5%; 
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { color: var(--text-dark); line-height: 1.6; background-color: #ffffff; overflow-x: hidden; }
.bg-light { background-color: var(--bg-gray); }
a { text-decoration: none; color: inherit; }

/* Typography */
h1, h2, h3 { color: var(--dark-bg); margin-bottom: 1rem; line-height: 1.2; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
p { margin-bottom: 1rem; font-size: 1.15rem; color: #555; }

/* Let the section headers run wider if needed */
.section-header { text-align: center; max-width: 1000px; margin: 0 auto 4rem auto; }

/* --- Escrow / Security Notice Box (Global) --- */
.escrow-notice-box {
    background: #f4f4f5;
    border: none;
    border-radius: 8px;
    padding: 24px;
    box-shadow: none;
}
.escrow-notice-box > strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.escrow-notice-box > strong i {
    color: #ea580c;
    margin-right: 0.35rem;
}
.escrow-notice-box > p {
    color: #334155 !important;
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.6;
}
.escrow-notice-box > p strong {
    color: #1e293b;
}

/* Geographic eligibility form hints */
.geo-hint {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #64748b;
}
.geo-hint a {
    color: #0f172a;
    font-weight: 600;
}
.geo-attest-wrap {
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.geo-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569;
    cursor: pointer;
}
.geo-checkbox input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.escrow-notice-box .notice-body {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
.escrow-notice-box .notice-body p {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 0.625rem;
}
.escrow-notice-box .notice-body p:last-child {
    margin-bottom: 0;
}
.escrow-notice-box .alert-text strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}
.escrow-notice-box .alert-text p {
    color: #334155 !important;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 !important;
}
.escrow-notice-box:has(> i:first-child) {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.escrow-notice-box > i {
    color: #ea580c;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}
/* Terms page escrow box (shared with terms.css selectors) */
.terms-content .escrow-notice-box {
    margin: 8px 0 !important;
    padding: 10px 12px !important;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 3px solid #dc2626;
    border-radius: 0 10px 10px 0;
}
.terms-content .escrow-notice-box > p {
    font-size: 0.84rem !important;
    font-weight: 600;
    text-align: left;
    margin: 0 !important;
    line-height: 1.55 !important;
    color: #7f1d1d;
}

/* No decorative accent lines (vertical stripes, colored top bars, step connectors) */
.timeline-line,
.gs-track-line { display: none !important; }
.step-tips {
    border-left: none !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}
.step-tips li { color: #475569 !important; }
.escrow-notice-box,
.payment-guide-box,
.mandatory-notice,
.term-box,
.explanation-banner,
.info-banner,
.premium-banner,
.reqs-container,
.gs-callout {
    border-left: none !important;
}
.project-card,
.card-rewriting,
.card-safety,
.card-transcription {
    border-top: none !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}
.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-primary { background: var(--primary-blue); color: white; }
.btn-primary:hover { background: var(--dark-bg); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-discord { background: #5865F2; color: white; display: inline-flex; align-items: center; gap: 8px; }
.btn-discord:hover { background: #4752C4; transform: translateY(-2px); }

/* Navigation - Sticky site header on all pages */
nav,
.main-nav,
.main-nav.opaque-nav,
.top-navbar,
.app-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem;
    background: #090e17;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.logo-home-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    cursor: pointer;
}
.nav-links { display: flex; gap: 1.25rem; align-items: center; font-weight: 500; }
.nav-links a:not(.btn):not(.nav-opportunities) { color: #ffffff; font-size: 0.875rem; }
.nav-links a:not(.btn):not(.nav-opportunities):hover { color: #e0f2fe; }

/* Glass Opportunities nav pill — non-dark pages only */
.main-nav:not(.dark-header):not(.gs-nav):not(.opp-nav):not(.ent-nav) .nav-links a.nav-opportunities {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.28);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #0f172a !important;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.main-nav:not(.dark-header):not(.gs-nav):not(.opp-nav):not(.ent-nav) .nav-links a.nav-opportunities:hover {
    color: #0284c7 !important;
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(14, 165, 233, 0.42);
    transform: translateY(-2px);
}

.main-nav:not(.dark-header):not(.gs-nav):not(.opp-nav):not(.ent-nav) .nav-links a.nav-opportunities.active-link {
    color: #0284c7 !important;
    background: rgba(224, 242, 254, 0.78);
    border-color: rgba(14, 165, 233, 0.45);
}

.main-nav.dark-header .nav-links a.nav-opportunities,
.gs-nav .nav-links a.nav-opportunities,
.opp-nav .nav-links a.nav-opportunities,
.ent-nav .nav-links a.nav-opportunities {
    color: #f8fafc !important;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.main-nav.dark-header .nav-links a.nav-opportunities:hover,
.gs-nav .nav-links a.nav-opportunities:hover,
.opp-nav .nav-links a.nav-opportunities:hover,
.ent-nav .nav-links a.nav-opportunities:hover {
    color: var(--light-blue) !important;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(144, 224, 239, 0.45);
}

.main-nav.dark-header .nav-links a.nav-opportunities.active-link,
.gs-nav .nav-links a.nav-opportunities.active-link,
.opp-nav .nav-links a.nav-opportunities.active-link,
.ent-nav .nav-links a.nav-opportunities.active-link {
    color: var(--light-blue) !important;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(144, 224, 239, 0.55);
}

/* Layout Sections - Full Width Spacing */
section { 
    padding: 8rem var(--side-padding); 
    width: 100%;
}

/* Hero Section - Let it breathe */
/* Hero Section - Strict 50/50 Split */
.hero { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    min-height: 85vh; 
    background: linear-gradient(135deg, #e0fbfc 0%, #ffffff 100%); 
    gap: 4rem; 
}

.hero-content { 
    /* Forces exactly 50% width minus half the gap space */
    width: calc(50% - 2rem); 
}

.hero-image { 
    /* Forces exactly 50% width minus half the gap space */
    width: calc(50% - 2rem); 
    border-radius: 20px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
    object-fit: cover; 
}

.hero-buttons { 
    display: flex; 
    gap: 1rem; 
    margin-top: 2.5rem; 
}

/* AI Education Section - Fluid Grid */
.education-section { background: var(--dark-bg); color: white; }
.education-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; width: 100%; }
.ed-card { background: var(--darker-bg); padding: 3rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); }
.ed-icon { font-size: 3rem; color: var(--light-blue); margin-bottom: 1.5rem; }
.ed-card h3 { color: white; }
.ed-card p { color: #d0d0d0; font-size: 1rem; }

/* 4 Video Gallery - Fluid Grid */
.video-gallery { background: var(--bg-gray); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 3rem; width: 100%; }
.video-wrapper { text-align: center; width: 100%; }
.video-box { 
    width: 100%; height: 350px; background: #1a1a2e; border-radius: 12px; 
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 2px solid #ddd;
    transition: transform 0.3s;
}
.video-box:hover { transform: translateY(-5px); border-color: var(--primary-blue); }
.play-button { font-size: 4rem; color: var(--light-blue); cursor: pointer; transition: transform 0.3s; }
.play-button:hover { transform: scale(1.1); color: white; }

/* Philosophy Split Layout - Edge to Edge */
.philosophy-section { background: white; }
.split-layout { display: flex; align-items: center; gap: 5rem; width: 100%; }
.split-text { flex: 1; }
.split-image { flex: 1; display: flex; justify-content: center; }

/* Deep Dive Features - Edge to Edge */
.feature-row { display: flex; align-items: center; gap: 6rem; width: 100%; margin-bottom: 8rem; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h3 { font-size: 2rem; }
.feature-visual { flex: 1; display: flex; justify-content: center; align-items: center; }
.badge { display: inline-block; padding: 5px 15px; border-radius: 50px; font-weight: 800; font-size: 0.9rem; margin-bottom: 1.5rem; }
.badge-high-pay { background: #ffebee; color: #c62828; }
.badge-mid-pay { background: #e3f2fd; color: #1565c0; }

/* Vertical Timeline */
.timeline-section { background: white; }
.timeline { position: relative; width: 100%; margin: 0 auto; }
.timeline::after { display: none; }
.timeline-item { padding: 10px 5%; position: relative; background-color: inherit; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-dot { position: absolute; width: 40px; height: 40px; right: -20px; background-color: var(--dark-bg); color: white; border: 4px solid var(--light-blue); top: 15px; border-radius: 50%; z-index: 1; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 1.2rem; }
.timeline-item:nth-child(even) .timeline-dot { left: -20px; }
.timeline-content { padding: 3rem; background-color: var(--bg-gray); position: relative; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.timeline-content h3 { margin-bottom: 0.5rem; font-size: 1.5rem; }

/* Expanded FAQ Section */
.faq-section { background: var(--bg-gray); }
.faq-container { width: 100%; max-width: 1400px; margin: 0 auto; background: white; padding: 4rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.faq-item { border-bottom: 1px solid #ddd; padding: 1.5rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { font-size: 1.3rem; font-weight: 600; color: var(--dark-bg); cursor: pointer; list-style: none; position: relative; padding-right: 2rem; outline: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--primary-blue); }
.faq-item[open] summary::after { content: '−'; }
.faq-content { padding-top: 1.5rem; color: #444; font-size: 1.1rem; line-height: 1.8; }

/* Bottom CTA */
.bottom-cta { background: var(--primary-blue); color: white; text-align: center; padding: 10rem var(--side-padding); }
.bottom-cta h2, .bottom-cta p { color: white; }
.bottom-cta p { max-width: 800px; margin: 0 auto 2.5rem auto; font-size: 1.2rem; }

/* Footer */
footer { background: #0a0a1a; color: white; padding: 4rem var(--side-padding) 2rem; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 3rem; margin-bottom: 2rem; }
.footer-links a:hover { color: var(--primary-blue); }

/* --- Advanced Scroll Animation Classes --- */
.slide-up { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.slide-left { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.slide-right { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.in-view { opacity: 1; transform: translate(0); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.3s; }
.stagger-3 { transition-delay: 0.5s; }
