/* ===================================
   LANDING PAGE STYLES
   Premium Black-First UI
   =================================== */

/* Navigation */
/* Navigation styles moved to global.css */

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

/* Subtle gradient orb */
.hero-background::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 60%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -20px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    opacity: 0;
    animation: heroFadeIn 0.8s ease-out 0.2s forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-eyebrow span {
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    margin-bottom: var(--spacing-md);
    line-height: 1.08;
    color: var(--text-primary);
}

.hero-title .accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-subtle);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 450;
}

/* Features Section */
.features {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.section-header {
    max-width: 560px;
    margin-bottom: var(--spacing-3xl);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
    position: relative;
}

.feature-card:hover {
    border-color: var(--border-default);
    background: var(--bg-elevated);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
    border: 1px solid var(--border-accent);
}

.feature-card h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.0625rem;
    font-weight: 550;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.steps-column {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--border-subtle);
}

.steps-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-subtle);
}

.steps-header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    font-size: 1rem;
    border: 1px solid var(--border-accent);
}

.steps-header h3 {
    font-size: 1.125rem;
    font-weight: 550;
    color: var(--text-primary);
}

.step {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
}

.step:not(:last-child) {
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--spacing-sm);
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--bg-hover);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
}

.step-content h4 {
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
    font-weight: 550;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* CTA Box */
.cta-box {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, var(--accent-glow), transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    max-width: 560px;
}

.cta-content h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.cta-box .btn {
    position: relative;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.footer-column h4 {
    margin-bottom: var(--spacing-md);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Mobile nav moved to global.css */

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-xl);
    }

    .cta-content {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .feature-card {
        padding: var(--spacing-md);
    }

    .steps-column {
        padding: var(--spacing-md);
    }
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}