/* ── HERO SECTION ── */
.hero-section {
    width: 100%;
    height: fit;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    overflow-x: hidden;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #1565c0;
    line-height: 1.15;
}

.hero-subheadline {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-hero-primary {
    background: #1565c0;
    color: #fff;
    border: 2px solid #1565c0;
    border-radius: 50px;
    padding: 0.65rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition:
        background 0.2s,
        transform 0.1s;
}

.btn-hero-primary:hover {
    background: #0d47a1;
    border-color: #0d47a1;
    color: #fff;
    transform: translateY(-1px);
}

.btn-hero-secondary {
    background: transparent;
    color: #1565c0;
    border: 2px solid #1565c0;
    border-radius: 50px;
    padding: 0.65rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition:
        background 0.2s,
        color 0.2s,
        transform 0.1s;
}

.btn-hero-secondary:hover {
    background: #eff6ff;
    color: #0d47a1;
    transform: translateY(-1px);
}

/* Hero Illustration */
.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.exam-card {
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 20px 60px rgba(21, 101, 192, 0.18),
        0 4px 16px rgba(0, 0, 0, 0.08);
    width: 280px;
    padding: 28px 24px 24px;
    position: relative;
    transform: rotate(-2deg);
}

.exam-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.exam-card-logo {
    width: 32px;
    height: 32px;
    background: #1565c0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
}

.exam-card-title {
    height: 10px;
    background: #1e293b;
    border-radius: 4px;
    width: 120px;
}

.exam-line {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 10px;
}

.exam-line.short {
    width: 65%;
}

.exam-line.medium {
    width: 82%;
}

.exam-line.answer {
    background: #bbdefb;
    height: 10px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.exam-divider {
    border: none;
    border-top: 1px dashed #e2e8f0;
    margin: 14px 0;
}

.exam-score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.exam-score {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1565c0;
}

.exam-score-label {
    font-size: 0.7rem;
    color: #64748b;
}

.badge-check {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 44px;
    height: 44px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.45);
    border: 3px solid #fff;
}

[dir="rtl"] .badge-check {
    right: auto;
    left: -14px;
}

.badge-ai {
    position: absolute;
    bottom: -12px;
    left: -12px;
    background: #1565c0;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.4);
    border: 2px solid #fff;
    letter-spacing: 0.05em;
}

[dir="rtl"] .badge-ai {
    left: auto;
    right: -12px;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(25, 118, 210, 0.07);
}

.fc1 {
    width: 180px;
    height: 180px;
    top: -30px;
    right: -50px;
}

.fc2 {
    width: 100px;
    height: 100px;
    bottom: 10px;
    left: -30px;
    background: rgba(34, 197, 94, 0.06);
}

[dir="rtl"] .fc1 {
    right: auto;
    left: -50px;
}

[dir="rtl"] .fc2 {
    left: auto;
    right: -30px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}
