.home-hero {
    text-align: center;
    padding: 80px 24px 72px;
}

.home-hero .eyebrow {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.home-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 20px;
    letter-spacing: -.02em;
}

.home-hero h1 em {
    color: var(--accent);
    font-style: normal;
}

.home-hero p {
    font-size: 18px;
    color: var(--ink-2); 
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff !important;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(99,102,241,.3);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99,102,241,.4);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 6px;
    font-weight: 500;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 64px 0;
}

.feature-card { 
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.feature-icon {
    height: 48px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}

.feature-card p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.6;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 28px; 
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
    text-align: center;
}

.section-sub {
    font-size: 16px;
    color: var(--ink-3);
    margin-bottom: 32px;
    text-align: center;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 64px;
}

.cat-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-decoration: none;
    transition: all .2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cat-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.cat-card-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    transition: background .2s;
  }
.cat-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    transition: stroke .2s;
}
.cat-card:hover .cat-card-icon {
    background: var(--accent);
}
.cat-card:hover .cat-card-icon svg {
    stroke: #fff;
}

.cat-card-more {
    border-style: dashed;
    border-color: var(--accent);
}
.cat-card-more .cat-card-icon {
    background: var(--accent);
}
.cat-card-more .cat-card-icon svg {
    stroke: #fff;
}
.cat-card-more .cat-card-name { color: var(--accent); }
.cat-card-more:hover .cat-card-icon { background: var(--accent-dark); }


.cat-card-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}
.cat-card-count {
    font-size: 12px;
    color: var(--ink-3);
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.latest-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: all .2s;
    display: flex;
    flex-direction: column;
}
.latest-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.latest-cover {
    height: 160px;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.latest-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-new-badge {
    position: absolute; top: 14px; right: 14px;
    background: #22c55e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.latest-cover-placeholder {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: rgba(255,255,255,.25);
}
.latest-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.latest-body h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 8px 0 6px;
    line-height: 1.3;
}
.latest-body p {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.5;
    flex: 1;
}
.latest-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 12px; color: var(--ink-3);
}
.latest-cta {
    font-weight: 600;
    color: var(--accent) !important;
}

.about-strip {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 20px;
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin: 64px 0;
    color: #fff;
}

@media (max-width: 640px) {
    .about-strip {
        grid-template-columns: 1fr;
        padding: 36px 24px;
    }
}

.about-strip h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.2;
}
.about-strip h2 em {
    color: #818cf8;
    font-style: normal;
}

.about-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-icon svg {
    width: 18px;
    height: 18px;
    stroke: #a5b4fc;
}

.about-strip p {
    font-size: 15px;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
    margin-bottom: 24px;
}
.about-strip a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #6366f1;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background .15s;
}
.about-strip a:hover {
    background: #4338ca;
}
.about-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about-points li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: rgba(255,255,255,.8);
}


.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }