/* ==================== HERO SECTION ==================== */
.hero {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 24px;
    color: var(--text-dark);
}
.hero-left h1 .accent {
    color: var(--accent);
    position: relative;
}
.hero-left h1 .accent::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 6px;
    background: var(--primary);
    opacity: 0.3;
    border-radius: 3px;
}

.hero-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 35px;
    line-height: 1.9;
    max-width: 480px;
}
.hero-subtitle .highlight {
    background: var(--primary);
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9em;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-dark);
    color: #fff;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.hero-cta:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14,165,233,0.3);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 55px;
    padding-top: 35px;
    border-top: 1px solid var(--border);
}
.hero-stat { text-align: left; }
.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -1px;
}
.hero-stat .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.hero-right {
    background: var(--bg-dark);
    border: none;
    border-radius: var(--radius-xl);
    padding: 35px;
    position: relative;
}
.hero-right::before {
    content: '';
    position: absolute;
    top: -1px; left: 30px; right: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}
.hero-right .card-label {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.hero-right h3 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}
.hero-right p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
}
.hero-right ul {
    list-style: none;
    margin-top: 18px;
}
.hero-right ul li {
    padding: 10px 0;
    color: var(--text-light);
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color var(--transition);
}
.hero-right ul li:last-child { border-bottom: none; }
.hero-right ul li::before {
    content: '\2192 ';
    color: var(--primary);
    font-weight: 700;
}
.hero-right ul li a { color: inherit; }
.hero-right ul li a:hover { color: var(--primary-light); }

/* ==================== ECOSYSTEM BANNER ==================== */
.ecosystem-banner {
    padding: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}
.ecosystem-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 36px;
    background: linear-gradient(135deg, #0c0c1d 0%, #1a1040 50%, #0f1a3a 100%);
    border-radius: var(--radius-lg);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 24px 0;
}
.ecosystem-banner-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(14,165,233,0.15), 0 0 0 1px rgba(14,165,233,0.1);
}
.ecosystem-glow {
    position: absolute;
    top: -60%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.ecosystem-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui, var(--font));
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--primary);
    text-transform: uppercase;
    background: rgba(14,165,233,0.1);
    border: 1px solid rgba(14,165,233,0.2);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.ecosystem-banner-left h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}
.ecosystem-banner-left h2 span {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ecosystem-banner-left p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 500px;
}
.ecosystem-banner-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.ecosystem-mini-cards {
    display: flex;
    gap: 10px;
}
.eco-mini {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}
.ecosystem-banner-inner:hover .eco-mini:nth-child(1) {
    background: rgba(14,165,233,0.15);
    border-color: rgba(14,165,233,0.3);
    color: var(--primary-light);
}
.ecosystem-banner-inner:hover .eco-mini:nth-child(2) {
    background: rgba(139,92,246,0.15);
    border-color: rgba(139,92,246,0.3);
    color: #a78bfa;
    transition-delay: 0.05s;
}
.ecosystem-banner-inner:hover .eco-mini:nth-child(3) {
    background: rgba(16,185,129,0.15);
    border-color: rgba(16,185,129,0.3);
    color: #34d399;
    transition-delay: 0.1s;
}
.ecosystem-arrow {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.ecosystem-banner-inner:hover .ecosystem-arrow {
    background: var(--primary-light);
    transform: translateX(4px);
}

/* ==================== SECTION TITLE ==================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    position: relative;
}
.section-header h2::before {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.section-header a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition);
}
.section-header a:hover { color: var(--primary); }
.section-header .section-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ==================== EXPLORE TOPICS ==================== */
.explore-section {
    padding: 50px 0 12px;
}

.explore-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.explore-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--bg-dark);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.explore-header-text { flex: 1; }

.explore-header-text h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.explore-header-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 580px;
}

.explore-view-all {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-top: 6px;
    transition: all 0.2s ease;
}

.explore-view-all:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
    background: var(--bg-light);
}

/* Categories Grid — Vertical Cards */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 180px));
    gap: 16px;
    justify-content: center;
}

.explore-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px 22px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}

/* Top accent line */
.explore-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cat-color, var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.explore-card:hover::before {
    transform: scaleX(1);
}

.explore-card:hover {
    border-color: transparent;
    box-shadow: 0 12px 36px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    transform: translateY(-4px);
}

.explore-card-icon {
    width: 52px;
    height: 52px;
    background: color-mix(in srgb, var(--cat-color, var(--primary)) 8%, white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cat-color, var(--primary));
    margin-bottom: 16px;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

.explore-card:hover .explore-card-icon {
    background: var(--cat-color, var(--primary));
    color: #fff;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--cat-color, var(--primary)) 30%, transparent);
    transform: scale(1.08);
}

.explore-card-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    transition: color 0.2s ease;
    line-height: 1.35;
}

.explore-card:hover .explore-card-title {
    color: var(--cat-color, var(--primary));
}

.explore-card-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
    flex: 1;
}

.explore-card-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.explore-card-count {
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.explore-card-arrow {
    font-size: 0.82rem;
    color: var(--border);
    transition: all 0.3s ease;
    margin-left: 2px;
}

.explore-card:hover .explore-card-arrow {
    color: var(--cat-color, var(--primary));
    transform: translateX(3px);
}

.explore-card:hover .explore-card-count {
    color: var(--cat-color, var(--primary));
}


