/* Hero «Модуль шифрования» — Figma: 227:2152 (desktop), 268:2136 (laptop), 271:3424 (tablet), 271:4656 (mobile) */

.crypto-module__hero {
    position: relative;
    min-height: 810px;
    background: var(--color-deep-sea);
    border-radius: 100px 100px 0 0;
    padding: 200px 48px 100px;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

.crypto-module__decor {
    position: absolute;
    top: -260px;
    right: -664px;
    left: auto;
    transform: none;
    width: auto;
    max-width: none;
    height: auto;
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.crypto-module__title {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-weight: var(--fw-extrabold);
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--color-white);
    margin: 0 0 36px;
    max-width: 1008px;
}

.crypto-module__subtitle {
    position: relative;
    z-index: 2;
    font-family: var(--font-body);
    font-size: 21px;
    font-weight: var(--fw-semibold);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 0;
    max-width: 654px;
}

@media (min-width: 1440px) {
    .crypto-module__hero {
        padding: 240px 48px 100px;
    }

    .crypto-module__title {
        font-size: 90px;
        margin-bottom: 56px;
    }
}

/* Преимущества модуля шифрования — Figma: 227:2172, 268:2140, 271:3428, 271:4661 */

.crypto-adv {
    background: var(--color-deep-sea);
    padding: var(--section-padding-y) var(--section-padding-x);
    display: flex;
    flex-direction: column;
    gap: 60px;
    box-sizing: border-box;
}

.crypto-adv__heading {
    font-family: var(--font-heading);
    font-weight: var(--fw-extrabold);
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    color: var(--color-white);
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
    letter-spacing: -0.01em;
    text-align: left;
}

.crypto-adv__grid {
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.crypto-adv__card {
    border-radius: var(--radius-card);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.crypto-adv__card--light {
    background: var(--color-bg-card);
}

.crypto-adv__card--dark {
    background: var(--color-bg-mint);
}

.crypto-adv__icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-bottom: 24px;
}

.crypto-adv__card-title {
    font-family: var(--font-heading);
    font-weight: var(--fw-extrabold);
    font-size: 32px;
    line-height: 1.188;
    color: var(--color-text-primary);
    margin: 0 0 16px;
}

.crypto-adv__card-text {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--fw-medium);
    line-height: 1.21;
    color: var(--color-text-primary);
    margin: 0;
}

/* Скорость работы — Figma: 227:2316 (desktop), 271:2662 (laptop), 271:3458 (tablet), 271:4691 (mobile) */

.crypto-speed {
    background: var(--color-deep-sea);
    padding: var(--section-padding-y) var(--section-padding-x);
    display: flex;
    flex-direction: column;
    gap: 60px;
    box-sizing: border-box;
}

.crypto-speed__heading {
    font-family: var(--font-heading);
    font-weight: var(--fw-extrabold);
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    color: var(--color-white);
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
    letter-spacing: -0.01em;
    text-align: left;
}

.crypto-speed__content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 60px;
}

.crypto-speed__table-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.crypto-speed__table {
    width: 100%;
    min-width: 564px;
    table-layout: fixed;
    border-collapse: collapse;
}

.crypto-speed__table thead th {
    width: calc(100% / 3);
    padding: 0;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: var(--fw-medium);
    line-height: 1.3;
    text-align: right;
    vertical-align: bottom;
    color: var(--color-bg-mint);
    border: none;
}

.crypto-speed__table tbody td {
    padding: 12px 0;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
    text-align: right;
    vertical-align: middle;
    color: var(--color-white);
    border: none;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
}

.crypto-speed__table tbody tr:first-child td {
    padding-top: 32px;
}

.crypto-speed__note {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: var(--fw-medium);
    line-height: 1.3;
    color: var(--color-bg-mint);
    margin: 0;
}

.crypto-speed__metric {
    flex-shrink: 0;
    box-sizing: border-box;
    width: 275px;
    min-height: 450px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16.5px;
    align-self: stretch;
    justify-content: flex-start;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, #fafafa 0%, rgba(250, 250, 250, 0) 99%);
}

.crypto-speed__metric-value {
    font-family: var(--font-heading);
    font-weight: var(--fw-extrabold);
    font-size: 63px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--color-dark-green-alt);
}

.crypto-speed__metric-label {
    font-family: var(--font-body);
    font-weight: var(--fw-bold);
    font-size: 21px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--color-dark-green-alt);
}

@media (min-width: 1440px) {
    .crypto-speed__table-wrap {
        gap: 40px;
    }

    .crypto-speed__table tbody td {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .crypto-speed__table tbody tr:first-child td {
        padding-top: 40px;
    }
}
