@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 40px 0 40px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.hero-orb--1 {
    width: 300px;
    height: 300px;
    left: -60px;
    top: -40px;
    background: radial-gradient(circle at 30% 30%, rgba(15, 118, 110, 0.4), rgba(15, 118, 110, 0));
    animation: orb-float-a 8s ease-in-out infinite;
}

.hero-orb--2 {
    width: 380px;
    height: 380px;
    right: -120px;
    top: -100px;
    background: radial-gradient(circle at 40% 40%, rgba(249, 115, 22, 0.36), rgba(249, 115, 22, 0));
    animation: orb-float-b 10s ease-in-out infinite;
}

.hero-orb--3 {
    width: 240px;
    height: 240px;
    right: 18%;
    bottom: -80px;
    background: radial-gradient(circle at 45% 45%, rgba(20, 184, 166, 0.26), rgba(20, 184, 166, 0));
    animation: orb-float-a 9s ease-in-out infinite reverse;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(56, 79, 112, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 79, 112, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.28;
    mask-image: radial-gradient(circle at center, black 20%, transparent 85%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 85%, var(--color-primary) 15%);
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 60px);
    line-height: 1.05;
    margin-bottom: 14px;
}

.hero-title-accent {
    background: linear-gradient(100deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 620px;
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-btn {
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
}

.hero-btn--lg {
    padding: 13px 26px;
}

.hero-visual {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
}

.hero-exam-clipart {
    width: min(100%, 330px);
    filter: drop-shadow(0 22px 40px rgba(17, 28, 51, 0.22));
}

.hero-ring {
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    border: 1px dashed color-mix(in srgb, var(--color-primary) 45%, transparent);
    animation: spin-ring 14s linear infinite;
}

.hero-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-card i {
    color: var(--color-primary);
}

.hero-card--1 {
    left: -8px;
    top: 64px;
    animation: bob-up 3.8s ease-in-out infinite;
}

.hero-card--2 {
    right: -6px;
    top: 160px;
    animation: bob-up 4.2s ease-in-out infinite;
}

.hero-card--3 {
    left: 44px;
    bottom: 70px;
    animation: bob-up 3.2s ease-in-out infinite;
}

.features-section,
.why-section,
.cta-section {
    position: relative;
    z-index: 2;
    padding: 70px 0;
}

.section-header {
    margin-bottom: 26px;
}

.section-tag {
    display: inline-block;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 80%, var(--color-accent) 20%);
    color: var(--text-primary);
    padding: 6px 11px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-main-title {
    margin-bottom: 8px;
    font-size: clamp(28px, 4vw, 42px);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 560px;
    margin-inline: auto;
}

.feature-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-2) 84%, transparent));
    padding: 22px;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    margin-bottom: 14px;
    background: linear-gradient(130deg, var(--bs-blue), var(--bs-purple));
}

.feature-card-title {
    margin-bottom: 8px;
    font-size: 18px;
}

.feature-card-text {
    margin: 0;
    color: var(--text-secondary);
}

.feature-card-num {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 26px;
    font-weight: 800;
    color: color-mix(in srgb, var(--text-primary) 14%, transparent);
}

.why-grid {
    margin-top: 8px;
}

.why-card {
    height: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    display: flex;
    gap: 12px;
}

.why-card-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-primary) 18%, var(--surface));
    display: grid;
    place-items: center;
    color: var(--color-primary);
}

.why-card-body h5 {
    margin-bottom: 6px;
}

.why-card-body p {
    margin: 0;
    color: var(--text-secondary);
}

.stats-bar {
    margin-top: 26px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.stats-item {
    padding: 20px 8px;
}

.stats-num {
    display: block;
    font-size: 30px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.stats-label {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.cta-section .container {
    border-radius: 22px;
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.16), transparent 40%),
        radial-gradient(circle at 10% 100%, rgba(15, 118, 110, 0.18), transparent 50%),
        var(--surface);
    box-shadow: var(--shadow-md);
    padding: 54px 24px;
}

.cta-title {
    margin-bottom: 10px;
    font-size: clamp(28px, 4vw, 46px);
}

.cta-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

@keyframes orb-float-a {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes orb-float-b {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(16px);
    }
}

@keyframes spin-ring {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bob-up {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0 70px;
    }

    .hero-title {
        font-size: clamp(30px, 7vw, 46px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        margin-top: 20px;
    }

    .features-section,
    .why-section,
    .cta-section {
        padding: 52px 0;
    }
}

@media (max-width: 575.98px) {
    .hero-badge {
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: clamp(28px, 10vw, 38px);
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .feature-card,
    .why-card,
    .stats-item {
        padding: 16px;
    }

    .cta-section .container {
        padding: 38px 16px;
        border-radius: 16px;
    }
}
