@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

.hero-section {
    --hero-navy: #003B95;
    --hero-blue: #1d4ed8;
    --hero-sky: #3b82f6;
    --hero-teal: #0d9488;
    --hero-purple: #6366f1;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(59, 130, 246, 0.12), transparent 45%),
        radial-gradient(ellipse at 85% 15%, rgba(14, 165, 233, 0.1), transparent 40%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 55%, #ffffff 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(11, 42, 107, 0.06) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 1.25rem 0 1.25rem;
}

.hero-laptop-wrap {
    position: relative;
    z-index: 2;
    width: 115%;
    max-width: 615px;
    display: block;
}

.hero-laptop-img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.hero-feature-cards {
    position: absolute;
    right: 100px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.hero-feature-card {
    width: 83px;
    height: 87px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0.55rem 0.4rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
    line-height: 1.15;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.hero-feature-card i {
    font-size: 1.55rem;
    margin-bottom: 0.4rem;
    color: #fff;
}

.hero-feature-card strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
}

.hero-feature-card span {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: #fff;
}

.hero-feature-card:hover {
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.28);
    filter: brightness(1.08);
}

.hero-feature-card.akt {
    background: linear-gradient(145deg, #42a5f5 0%, #1565c0 100%);
    transform: translateX(10px);
}

.hero-feature-card.akt:hover {
    transform: translateX(10px) translateY(-6px) scale(1.05);
}

.hero-feature-card.osce {
    background: linear-gradient(145deg, #26a69a 0%, #00796b 100%);
    transform: translateX(38px);
}

.hero-feature-card.osce:hover {
    transform: translateX(38px) translateY(-6px) scale(1.05);
}

.hero-feature-card.mock {
    background: linear-gradient(145deg, #7e57c2 0%, #512da8 100%);
    transform: translateX(4px);
}

.hero-feature-card.mock:hover {
    transform: translateX(4px) translateY(-6px) scale(1.05);
}

.hero-feature-card.recorded {
    background: linear-gradient(145deg, #5c6bc0 0%, #283593 100%);
    transform: translateX(-22px);
}

.hero-feature-card.recorded:hover {
    transform: translateX(-22px) translateY(-6px) scale(1.05);
}

.hero-copy {
    max-width: 38rem;
}

.hero-title {
    color: #00266c;
    font-weight: 700;
    font-size: clamp(1.85rem, 4vw, 2.45rem);
    line-height: 1.08;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.hero-title--compact {
    font-size: clamp(1.35rem, 3.2vw, 1.95rem);
    line-height: 1.2;
    margin-bottom: 0.65rem;
}

.hero-title .line {
    display: block;
}

.hero-title .line-accent {
    color: #0044ac;
}

.hero-tagline {
    color: #00266c;
    font-weight: 500;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    margin-bottom: 0.9rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.45rem;
    max-width: 100%;
}

.hero-tagline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 3px;
    background: #00266c;
    border-radius: 2px;
}

.hero-desc {
    color: #00266c;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.75;
    max-width: 100%;
    margin-bottom: 0;
    opacity: 0.9;
}

.hero-desc p {
    margin: 0 0 0.65rem;
}

.hero-desc p:last-child {
    margin-bottom: 0;
}

.hero-desc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-desc-list li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.65rem;
}

.hero-desc-list li:last-child {
    margin-bottom: 0;
}

.hero-desc-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #0044ac;
    font-weight: 700;
    line-height: 1.75;
}

.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: none;
}

.hero-stat {
    flex: 1 1 30%;
    min-width: 90px;
    max-width: 120px;
    text-align: center;
    position: relative;
    padding: 0.45rem 0.45rem;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hero-stat:hover {
    transform: translateY(-5px);
    background: rgba(0, 68, 172, 0.06);
    box-shadow: 0 10px 20px rgba(0, 38, 108, 0.08);
}

.hero-stat:hover i {
    transform: scale(1.12);
}

.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 68, 172, 0.28) 20%,
        rgba(0, 68, 172, 0.28) 80%,
        transparent 100%
    );
}

.hero-stat i {
    display: block;
    font-size: 1.85rem;
    margin-bottom: 0.45rem;
    transition: transform 0.25s ease;
}

.hero-stat i.fas {
    color: #0044ac;
}

.hero-stat i.far {
    color: #00266c;
}

.hero-stat strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.1rem;
}

.hero-stat span {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.25;
}

.hero-stat:has(i.fas),
.hero-stat:has(i.fas) strong,
.hero-stat:has(i.fas) span {
    color: #0044ac;
}

.hero-stat:has(i.far),
.hero-stat:has(i.far) strong,
.hero-stat:has(i.far) span {
    color: #00266c;
}

/* Right visual stage */
.hero-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    overflow: visible;
    padding-right: 100px;
}

.hero-deco {
    position: absolute;
    inset: -8% -4% -4% -4%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-deco svg {
    position: absolute;
    display: block;
}

.hero-deco .deco-light {
    fill: none;
    stroke: rgba(0, 68, 172, 0.12);
    stroke-width: 2;
}

.hero-deco .deco-mid {
    fill: none;
    stroke: rgba(0, 68, 172, 0.2);
    stroke-width: 2.5;
}

.hero-deco .deco-fill-light {
    fill: rgba(0, 68, 172, 0.08);
    stroke: none;
}

.hero-deco .deco-fill-mid {
    fill: rgba(0, 68, 172, 0.16);
    stroke: none;
}

.deco-float {
    animation: decoFloat 6s ease-in-out infinite;
}

.deco-spin {
    animation: decoSpin 18s linear infinite;
}

.deco-pulse {
    animation: decoPulse 5s ease-in-out infinite;
}

.deco-drift {
    animation: decoDrift 7s ease-in-out infinite;
}

@keyframes decoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes decoDrift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, -8px); }
}

@keyframes decoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes decoPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 1199.98px) {
    .hero-stage {
        min-height: auto;
    }
}

@media (max-width: 991.98px) {
    .hero-inner {
        text-align: center;
        padding: 1.25rem 0.75rem 1.75rem;
    }

    .hero-copy {
        max-width: 34rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: clamp(1.65rem, 6.5vw, 2.2rem);
        margin-bottom: 0.65rem;
    }

    .hero-title--compact {
        font-size: clamp(1.25rem, 5.5vw, 1.75rem);
        line-height: 1.22;
    }

    .hero-tagline {
        font-size: clamp(0.95rem, 3.5vw, 1.15rem);
        margin-bottom: 0.75rem;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.92rem;
        line-height: 1.7;
        max-width: 34rem;
        padding: 0 0.35rem;
        text-align: left;
    }

    .hero-desc-list li {
        text-align: left;
    }

    .hero-stats-row {
        justify-content: center;
        gap: 1rem 0.85rem;
        margin-top: 1.35rem;
        row-gap: 1.25rem;
    }

    .hero-stat {
        flex: 1 1 calc(33.333% - 0.85rem);
        min-width: 96px;
        max-width: 130px;
        padding: 0.35rem 0.55rem;
    }

    .hero-stat:not(:last-child)::after {
        display: none;
    }

    .hero-stat i {
        font-size: 1.7rem;
        margin-bottom: 0.4rem;
    }

    .hero-stage {
        margin-top: 1.35rem;
        padding-right: 0;
        flex-wrap: wrap;
        min-height: auto;
    }

    .hero-laptop-wrap {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .hero-feature-cards {
        position: static;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.85rem;
        margin-top: 1.25rem;
        width: 100%;
        padding: 0 0.5rem;
    }

    .hero-feature-card {
        width: 92px;
        height: 96px;
        border-radius: 18px;
    }

    .hero-feature-card.akt,
    .hero-feature-card.osce,
    .hero-feature-card.mock,
    .hero-feature-card.recorded {
        transform: none;
    }

    .hero-feature-card.akt:hover,
    .hero-feature-card.osce:hover,
    .hero-feature-card.mock:hover,
    .hero-feature-card.recorded:hover {
        transform: translateY(-6px) scale(1.05);
    }

    .hero-deco {
        opacity: 0.55;
    }
}

@media (max-width: 575.98px) {
    .hero-inner {
        padding: 1rem 0.5rem 1.5rem;
    }

    .hero-title {
        font-size: clamp(1.45rem, 7.5vw, 1.95rem);
        line-height: 1.14;
    }

    .hero-title--compact {
        font-size: clamp(1.15rem, 6.5vw, 1.55rem);
    }

    .hero-desc {
        font-size: 0.88rem;
        padding: 0 0.25rem;
    }

    .hero-stats-row {
        gap: 1.1rem 0.65rem;
        row-gap: 1.35rem;
        margin-top: 1.2rem;
    }

    .hero-stat {
        flex: 1 1 calc(33.333% - 0.65rem);
        min-width: 88px;
        max-width: 115px;
        padding: 0.25rem 0.35rem;
    }

    .hero-stat i {
        font-size: 1.55rem;
    }

    .hero-stat strong {
        font-size: 0.76rem;
    }

    .hero-stat span {
        font-size: 0.64rem;
    }

    .hero-feature-cards {
        gap: 0.75rem;
        margin-top: 1.1rem;
        padding: 0 0.25rem;
    }

    .hero-feature-card {
        width: 78px;
        height: 84px;
        border-radius: 16px;
        padding: 0.4rem 0.25rem;
    }

    .hero-feature-card i {
        font-size: 1.25rem;
        margin-bottom: 0.3rem;
    }

    .hero-feature-card strong {
        font-size: 0.68rem;
    }

    .hero-feature-card span {
        font-size: 0.58rem;
    }
}

@media (min-width: 992px) {
    .hero-stat {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
    }
}
