/* Landing Page */
.landing {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Hero */
.landing-hero {
    text-align: center;
    padding: 40px 0 60px;
}

.landing-hero-mascot {
    width: 286px;
    height: 286px;
    margin: 39px auto 29px;
    position: relative;
}

.landing-hero-mascot canvas {
    width: 100% !important;
    height: 100% !important;
}

.landing-hero-title {
    font-size: 48px;
    color: #fff;
    margin: 0 0 16px;
    font-weight: 700;
    line-height: 1.1;
}

.landing-hero-subtitle {
    font-size: 20px;
    color: #7ba8d9;
    margin: 0 0 8px;
    line-height: 1.5;
}

.landing-hero-stat {
    font-size: 15px;
    color: #daa520;
    margin: 0 0 32px;
}

.landing-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

a:visited.landing-btn-primary,
a.landing-btn-primary,
.landing-btn-primary {
    background: #5caeff;
    color: #0a142a;
}

.landing-btn-primary:hover {
    background: #7dc0ff;
    transform: translateY(-1px);
}

.landing-btn-secondary {
    background: transparent;
    color: #5caeff;
    border: 1px solid rgba(92, 174, 255, 0.3);
}

.landing-btn-secondary:hover {
    background: rgba(92, 174, 255, 0.1);
    border-color: #5caeff;
}

/* Section titles */
.landing-section-title {
    text-align: center;
    font-size: 28px;
    color: #5caeff;
    margin: 0 0 8px;
}

.landing-section-subtitle {
    text-align: center;
    color: #7ba8d9;
    font-size: 16px;
    margin: 0 0 32px;
}

/* Features */
.landing-features {
    padding: 60px 0;
}

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.landing-feature {
    background: rgba(92, 174, 255, 0.05);
    border: 1px solid rgba(92, 174, 255, 0.1);
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.2s;
}

.landing-feature:hover {
    background: rgba(92, 174, 255, 0.1);
    border-color: rgba(92, 174, 255, 0.25);
}

.landing-feature-icon {
    margin-bottom: 14px;
}

.landing-feature-icon svg {
    width: 36px;
    height: 36px;
}

.landing-feature h3 {
    font-size: 16px;
    color: #c5dcf5;
    margin: 0 0 8px;
}

.landing-feature p {
    font-size: 13px;
    color: #7ba8d9;
    line-height: 1.6;
    margin: 0;
}

/* Categories grid */
.landing-categories {
    padding: 60px 0;
}

.landing-categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 32px;
}

.landing-category-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(92, 174, 255, 0.06);
    border: 1px solid rgba(92, 174, 255, 0.12);
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.2s;
}

.landing-category-card:hover {
    background: rgba(92, 174, 255, 0.14);
    border-color: rgba(92, 174, 255, 0.3);
}

.landing-category-icon {
    width: 18px;
    height: 18px;
}

.landing-category-name {
    color: #c5dcf5;
    font-size: 14px;
    font-weight: 500;
}

.landing-category-count {
    color: #5a7da0;
    font-size: 12px;
}

/* How It Works */
.landing-how {
    padding: 60px 0;
}

.landing-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.landing-step {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 24px 16px;
    background: rgba(92, 174, 255, 0.05);
    border: 1px solid rgba(92, 174, 255, 0.1);
    border-radius: 12px;
}

.landing-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(92, 174, 255, 0.15);
    color: #5caeff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.landing-step h3 {
    font-size: 16px;
    color: #c5dcf5;
    margin: 0 0 8px;
}

.landing-step p {
    font-size: 14px;
    color: #7ba8d9;
    margin: 0;
    line-height: 1.5;
}

.landing-step-arrow {
    color: #5caeff;
    font-size: 24px;
    font-weight: 700;
}

/* Stats */
.landing-stats {
    padding: 60px 0;
}

.landing-stats-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.landing-stat {
    text-align: center;
    padding: 20px;
}

.landing-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #daa520;
}

.landing-stat-label {
    font-size: 14px;
    color: #7ba8d9;
    margin-top: 4px;
}

/* Final CTA */
.landing-final-cta {
    text-align: center;
    padding: 60px 0 80px;
}

.landing-final-cta h2 {
    font-size: 32px;
    color: #fff;
    margin: 0 0 12px;
}

.landing-final-cta p {
    color: #7ba8d9;
    font-size: 17px;
    margin: 0 0 28px;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-hero-title {
        font-size: 32px;
    }

    .landing-hero-mascot {
        width: 180px;
        height: 180px;
    }

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

    .landing-steps {
        flex-direction: column;
    }

    .landing-step-arrow {
        transform: rotate(90deg);
    }

    .landing-step {
        max-width: 100%;
    }

    .landing-stats-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .landing-hero {
        padding: 24px 0 30px;
    }

    .landing-hero-title {
        font-size: 28px;
    }

    .landing-hero-mascot {
        width: 150px;
        height: 150px;
    }

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