/* ============================================================
   Federal Escrow Investment — Home Page Styles
   ============================================================ */

body {
    background-color: var(--color-surface);
}

/* Public Navigation */
.public-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.public-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.public-nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.public-nav-logo i {
    color: var(--color-accent);
}

.public-nav-links {
    display: flex;
    gap: var(--space-xl);
}

.public-nav-links a {
    color: var(--color-text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.public-nav-links a:hover {
    color: var(--color-primary);
}

.public-nav-actions {
    display: flex;
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
}

.hero-ctas .btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
}

.hero-ctas i {
    margin-left: 8px;
}

/* Mockup Window */
.mockup-window {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mockup-header {
    background: #F8FAFC;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    gap: 8px;
}

.mockup-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.mockup-body {
    padding: var(--space-xl);
    background: #FAFAFA;
}

.mockup-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.m-stat {
    background: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-stat span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.m-stat strong {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.m-stat.success strong {
    color: var(--color-success);
}

.mockup-chart {
    height: 200px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.mockup-chart svg {
    width: 100%;
    height: 100%;
}

/* Features Section */
.features-section {
    background: white;
    padding: 100px var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.features-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.features-header h2 {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.features-header p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.feature-card {
    padding: var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.f-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.feature-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Footer */
.public-footer {
    background: var(--color-primary);
    padding: 60px var(--space-xl);
    color: white;
}

.public-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand i {
    color: var(--color-accent);
}

.footer-copy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-sm);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 60px var(--space-xl);
        gap: 40px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .public-nav-links {
        display: none;
    }
}

/* Stats Bar */
.stats-bar {
    background: var(--color-primary);
    color: white;
    padding: 60px var(--space-xl);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-accent);
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Steps Section */
.steps-section {
    padding: 100px var(--space-xl);
    background: #FAFAFA;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.steps-content h2 {
    font-size: 2.25rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.steps-sub {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.step-num {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-text h4 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.step-text p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--color-accent);
    padding: 100px var(--space-xl);
    text-align: center;
    color: white;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-container p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 80px;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-col strong {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: white;
}

.link-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.link-col a:hover {
    color: white;
}

.hero-trust {
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Updates */
@media (max-width: 900px) {
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-links {
        display: none;
    }
}
@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* Hero Badge */
.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}


h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
