/* ==========================================================================
   PREMIUM RIKKEI EDTECH HERO BANNER (MAX-WIDTH 1480PX & RESPONSIVE)
   ========================================================================== */

.edtech-hero-section {
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.edtech-hero-section *,
.edtech-hero-section *::before,
.edtech-hero-section *::after {
    box-sizing: border-box;
}

/* ================= BANNER FULL WIDTH ================= */
.edtech-hero-card {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #071530 0%, #0a1f47 50%, #061229 100%);
    padding: 60px 40px;
    overflow: hidden;
}

/* Lưới Cyber Grid nền chìm */
.edtech-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

/* Vệt sáng Ambient Glow */
.edtech-glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    z-index: 1;
}

.orb-primary {
    top: -60px;
    right: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
}

.orb-secondary {
    bottom: -120px;
    left: 5%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 70%);
}

/* ================= KHUNG CHỨA 2 CỘT MAX-WIDTH 1480PX ================= */
.edtech-content-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* ================= CỘT TRÁI: THÔNG TIN VÀ NÚT BẤM ================= */
.edtech-info-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 660px;
    width: 100%;
}

/* Tag Pill */
.edtech-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 58, 138, 0.45);
    border: 1px solid rgba(96, 165, 250, 0.45);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #93c5fd;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
}

.tag-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Tiêu đề */
.edtech-main-title {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 18px 0;
    letter-spacing: -0.5px;
}

.edtech-highlight-text {
    background: linear-gradient(90deg, #60a5fa 0%, #38bdf8 50%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Đoạn mô tả */
.edtech-lead-desc {
    font-size: 15.5px;
    font-weight: 400;
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0 0 32px 0;
}

/* Nút bấm CTA */
.edtech-action-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.edtech-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 
        0 6px 20px rgba(220, 38, 38, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.edtech-primary-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
    box-shadow: 
        0 10px 28px rgba(220, 38, 38, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-arrow-icon {
    transition: transform 0.25s ease;
}

.edtech-primary-btn:hover .btn-arrow-icon {
    transform: translateX(4px);
}

/* Hàng đặc điểm nổi bật */
.edtech-features-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 500;
    color: #94a3b8;
}

/* ================= CỘT PHẢI: NETWORK CANVAS ================= */
.edtech-diagram-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    height: 440px;
}

.edtech-network-canvas {
    position: absolute;
    top: 0;
    left: 50%;
    width: 540px;
    height: 440px;
    transform: translateX(-50%) scale(var(--canvas-scale, 1));
    transform-origin: top center;
    flex-shrink: 0;
    margin: 0;
}

/* SVG Line Layer */
.edtech-svg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.beam-base {
    stroke: rgba(59, 130, 246, 0.28);
    stroke-width: 1.5;
}

.beam-active {
    stroke: #38bdf8;
    stroke-width: 2.2;
    stroke-dasharray: 8, 12;
    animation: beamLaserFlow 8s linear infinite;
    opacity: 0.9;
}

@keyframes beamLaserFlow {
    from { stroke-dashoffset: 200; }
    to { stroke-dashoffset: 0; }
}

/* ================= TÂM RE (CENTRAL REACTOR HUB) ================= */
.edtech-core-hub {
    position: absolute;
    top: 220px;
    left: 270px;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-center-disc {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f87171 0%, #dc2626 60%, #991b1b 100%);
    border: 3.5px solid #ffffff;
    box-shadow: 
        0 0 35px rgba(239, 68, 68, 0.85),
        inset 0 -3px 8px rgba(0, 0, 0, 0.4),
        0 6px 16px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hub-logo {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hub-ripple {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(239, 68, 68, 0.55);
    pointer-events: none;
    z-index: 1;
}

.ripple-1 {
    inset: -12px;
    animation: rippleExpand 3s cubic-bezier(0.1, 0.8, 0.2, 1) infinite;
}

.ripple-2 {
    inset: -24px;
    animation: rippleExpand 3s cubic-bezier(0.1, 0.8, 0.2, 1) infinite 1.2s;
}

@keyframes rippleExpand {
    0% { transform: scale(0.85); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* ================= 5 THẺ TECH NODES ================= */
.edtech-tech-card {
    position: absolute;
    background: rgba(13, 37, 85, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(96, 165, 250, 0.35);
    border-radius: 16px;
    padding: 11px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    box-shadow: 
        0 8px 24px rgba(2, 6, 23, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    min-width: 146px;
}

.edtech-tech-card:hover {
    transform: translate(-50%, -50%) translateY(-4px) scale(1.04);
    background: rgba(22, 58, 131, 0.95);
    border-color: #60a5fa;
    box-shadow: 
        0 14px 32px rgba(3, 105, 161, 0.4),
        0 0 25px rgba(56, 189, 248, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Icon Box */
.card-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.edtech-tech-card:hover .card-icon-box {
    transform: scale(1.1);
}

.icon-exam {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.icon-connect {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-job {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.icon-ai {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.icon-ioc {
    background: rgba(236, 72, 153, 0.2);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

/* Card Text */
.card-details {
    display: flex;
    flex-direction: column;
}

.card-prefix {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

.card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* ================= TỌA ĐỘ 5 KHỐI ================= */
.node-pos-exam {
    top: 90px;
    left: 90px;
    transform: translate(-50%, -50%);
}

.node-pos-connect {
    top: 70px;
    left: 270px;
    transform: translate(-50%, -50%);
}

.node-pos-job {
    top: 90px;
    left: 450px;
    transform: translate(-50%, -50%);
}

.node-pos-ai {
    top: 350px;
    left: 130px;
    transform: translate(-50%, -50%);
}

.node-pos-ioc {
    top: 350px;
    left: 410px;
    transform: translate(-50%, -50%);
}

/* ================= RESPONSIVE ================= */

/* Màn hình dưới 1300px: Giảm khoảng cách nhẹ */
@media (max-width: 1300px) {
    .edtech-content-grid {
        gap: 40px;
    }

    .edtech-main-title {
        font-size: 34px;
    }
}

/* Màn hình Tablet (Dưới 1080px): Xếp chồng 2 cột, căn giữa đẹp mắt */
@media (max-width: 1080px) {
    .edtech-hero-card {
        padding: 50px 24px;
    }

    .edtech-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        justify-content: center;
    }

    .edtech-info-col {
        max-width: 720px;
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }

    .edtech-lead-desc {
        text-align: center;
    }

    .edtech-features-row {
        justify-content: center;
    }
}

/* Màn hình Mobile (Dưới 650px): Co giãn canvas sơ đồ vừa khít màn hình và luôn căn giữa tuyệt đối */
@media (max-width: 650px) {
    .edtech-hero-card {
        padding: 35px 16px;
    }

    .edtech-main-title {
        font-size: 26px;
    }

    .edtech-lead-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .edtech-features-row {
        gap: 14px;
    }

    .edtech-diagram-col {
        --canvas-scale: 0.8;
        height: calc(440px * 0.8);
        overflow: visible;
    }
}

/* Màn hình Mobile chuẩn (Dưới 500px) */
@media (max-width: 500px) {
    .edtech-diagram-col {
        --canvas-scale: 0.68;
        height: calc(440px * 0.68);
    }
}

/* Màn hình Mobile nhỏ (Dưới 400px - ví dụ iPhone, Android chuẩn) */
@media (max-width: 400px) {
    .edtech-diagram-col {
        --canvas-scale: 0.58;
        height: calc(440px * 0.58);
    }

    .edtech-main-title {
        font-size: 23px;
    }

    .edtech-primary-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Màn hình Mobile siêu nhỏ (Dưới 340px) */
@media (max-width: 340px) {
    .edtech-diagram-col {
        --canvas-scale: 0.50;
        height: calc(440px * 0.50);
    }
}
