

.crypto-hero,
.crypto-hero * {
    box-sizing: border-box;
}

.crypto-hero {
    --crypto-hero-accent: #139d75;
    --crypto-hero-accent-dark: #08765d;
    --crypto-hero-navy: #071a3a;
    --crypto-hero-muted: #4d5b7a;
    --crypto-hero-line: #dcece7;
    --crypto-hero-glow: rgba(214, 251, 244, 0.95);
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 92px 20px 28px;
    color: var(--crypto-hero-navy);
    background:
        radial-gradient(circle at 89% 54%, rgba(214, 251, 244, 0.86) 0, rgba(214, 251, 244, 0.58) 24%, rgba(255, 255, 255, 0) 46%),
        radial-gradient(circle at 0% 100%, rgba(198, 248, 242, 0.82) 0, rgba(198, 248, 242, 0.42) 26%, rgba(255, 255, 255, 0) 47%),
        linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #f4fffd 100%);
}

.crypto-hero__shape {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    opacity: 0.78;
}

.crypto-hero__shape--left {
    width: 620px;
    height: 620px;
    left: -330px;
    bottom: -390px;
    border: 1px solid rgba(20, 166, 126, 0.12);
    background: radial-gradient(circle, var(--crypto-hero-glow) 0, rgba(255, 255, 255, 0) 68%);
}

.crypto-hero__shape--right {
    width: 760px;
    height: 420px;
    right: -210px;
    top: 190px;
    transform: rotate(-9deg);
    background: linear-gradient(135deg, rgba(206, 249, 241, 0.9), rgba(255, 255, 255, 0));
}

.crypto-hero__container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.crypto-hero__main {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    align-items: center;
    gap: 42px;
}

.crypto-hero__content {
    max-width: 590px;
}

.crypto-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 28px;
    border: 1px solid rgba(19, 157, 117, 0.18);
    border-radius: 999px;
    background: rgba(229, 249, 243, 0.82);
    color: var(--crypto-hero-accent-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.crypto-hero__badge-icon,
.crypto-hero__badge-icon svg,
.crypto-hero__badge-icon i {
    width: 18px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    fill: currentColor;
}

.crypto-hero__title {
    margin: 0;
    color: var(--crypto-hero-navy);
    font-size: clamp(42px, 4.75vw, 66px);
    font-weight: 900;
    line-height: 1.13;
    letter-spacing: -0.045em;
}

.crypto-hero__title span {
    display: block;
}

.crypto-hero__title-highlight {
    color: var(--crypto-hero-accent-dark);
}

.crypto-hero__description {
    max-width: 575px;
    margin: 24px 0 0;
    color: var(--crypto-hero-muted);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.crypto-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.crypto-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 17px 24px;
    border: 1.5px solid transparent;
    border-radius: 9px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.crypto-hero__button:hover {
    transform: translateY(-2px);
}

.crypto-hero__button--primary {
    color: #ffffff;
    background: var(--crypto-hero-accent);
    border-color: var(--crypto-hero-accent);
    box-shadow: 0 16px 30px rgba(19, 157, 117, 0.22);
}

.crypto-hero__button--primary:hover {
    color: #ffffff;
    background: var(--crypto-hero-accent-dark);
    border-color: var(--crypto-hero-accent-dark);
}

.crypto-hero__button--secondary {
    color: var(--crypto-hero-accent-dark);
    background: rgba(255, 255, 255, 0.76);
    border-color: var(--crypto-hero-accent);
}

.crypto-hero__button--secondary:hover {
    color: var(--crypto-hero-accent-dark);
    background: #f1fbf7;
}

.crypto-hero__button-icon,
.crypto-hero__button-icon svg,
.crypto-hero__button-icon i {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    fill: currentColor;
}

.crypto-hero__visual {
    position: relative;
    min-height: 500px;
}

.crypto-hero__custom-image {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin-left: auto;
    filter: drop-shadow(0 30px 55px rgba(7, 26, 58, 0.16));
}

.crypto-hero__visual-wrap {
    position: relative;
    width: min(100%, 730px);
    min-height: 500px;
    margin-left: auto;
}

.crypto-hero__dots {
    position: absolute;
    left: -80px;
    top: 42px;
    width: 240px;
    height: 120px;
    opacity: 0.24;
    background-image: radial-gradient(circle, #98b7c4 1.7px, transparent 1.7px);
    background-size: 18px 18px;
}

.crypto-hero__tablet {
    position: absolute;
    left: 20px;
    top: 44px;
    width: 588px;
    min-height: 370px;
    padding: 24px;
    transform: rotate(2.3deg);
    border: 8px solid rgba(206, 221, 231, 0.85);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 28px 50px rgba(7, 26, 58, 0.12), inset 0 0 0 1px rgba(121, 189, 210, 0.24);
}

.crypto-hero__tablet::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    pointer-events: none;
}

.crypto-hero__tablet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.crypto-hero__visual-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--crypto-hero-navy);
    font-size: 16px;
    font-weight: 900;
}

.crypto-hero__brand-star {
    color: var(--crypto-hero-accent);
    font-size: 30px;
    line-height: 1;
}

.crypto-hero__round-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef4f7;
    color: #6d7d91;
    font-size: 22px;
}

.crypto-hero__dashboard-grid {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 22px;
}

.crypto-hero__sidebar {
    padding-top: 6px;
    border-right: 1px solid #edf2f4;
}

.crypto-hero__sidebar span {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 118px;
    margin-bottom: 13px;
    padding: 11px 12px;
    border-radius: 9px;
    color: #45516d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.crypto-hero__sidebar span.is-active {
    color: var(--crypto-hero-accent-dark);
    background: #e7f8f1;
}

.crypto-hero__dashboard-main {
    min-width: 0;
}

.crypto-hero__chart-card,
.crypto-hero__network-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid #dfeaf0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 48, 76, 0.04);
}

.crypto-hero__chart-card {
    min-height: 138px;
    padding: 18px 18px 16px;
}

.crypto-hero__mini-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 21px;
}

.crypto-hero__mini-head strong,
.crypto-hero__network-panel > strong {
    color: var(--crypto-hero-navy);
    font-size: 14px;
    font-weight: 900;
}

.crypto-hero__mini-head em {
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--crypto-hero-accent-dark);
    background: #dff8ee;
    font-size: 11px;
    font-weight: 900;
    font-style: normal;
}

.crypto-hero__small-label {
    display: block;
    margin-bottom: 8px;
    color: #60708b;
    font-size: 11px;
    font-weight: 700;
}

.crypto-hero__volume-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.crypto-hero__volume-row strong {
    color: var(--crypto-hero-navy);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.crypto-hero__volume-row span {
    color: var(--crypto-hero-accent);
    font-size: 12px;
    font-weight: 900;
}

.crypto-hero__chart-line {
    position: absolute;
    right: 14px;
    bottom: 22px;
    width: 132px;
    color: var(--crypto-hero-accent);
    opacity: 0.88;
}

.crypto-hero__network-panel {
    min-height: 132px;
    margin-top: 15px;
    padding: 18px;
}

.crypto-hero__network-row {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin-top: 11px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #fbfcfd;
    color: var(--crypto-hero-navy);
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(12, 48, 76, 0.05);
}

.crypto-hero__network-row em {
    margin-left: auto;
    color: var(--crypto-hero-accent);
    font-size: 11px;
    font-weight: 800;
    font-style: normal;
}

.crypto-hero__coin,
.crypto-hero__token {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    line-height: 1;
}

.crypto-hero__coin {
    width: 28px;
    height: 28px;
    font-size: 15px;
}

.crypto-hero__coin--red,
.crypto-hero__token--red {
    background: #ee2426;
}

.crypto-hero__coin--gold,
.crypto-hero__token--gold {
    background: #f3b30a;
}

.crypto-hero__rate-card {
    position: absolute;
    right: 5px;
    width: 330px;
    min-height: 118px;
    display: grid;
    grid-template-columns: 58px 1fr 36px;
    gap: 13px;
    align-items: start;
    padding: 24px 20px 18px;
    border: 1px solid rgba(220, 235, 238, 0.94);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 44px rgba(7, 26, 58, 0.12);
}

.crypto-hero__rate-card--one {
    top: 248px;
}

.crypto-hero__rate-card--two {
    top: 396px;
    right: 28px;
}

.crypto-hero__usdt {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 7px solid #d9f2e9;
    border-radius: 999px;
    color: #ffffff;
    background: var(--crypto-hero-accent);
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 12px 25px rgba(19, 157, 117, 0.2);
}

.crypto-hero__rate-card strong {
    display: block;
    color: var(--crypto-hero-navy);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.1;
}

.crypto-hero__rate-card b {
    display: block;
    margin-top: 8px;
    color: var(--crypto-hero-accent);
    font-size: 27px;
    font-weight: 900;
    line-height: 1;
}

.crypto-hero__rate-card b em {
    font-size: 16px;
    font-style: normal;
    letter-spacing: 0.04em;
}

.crypto-hero__rate-card small {
    display: block;
    margin-top: 12px;
    color: #5b6988;
    font-size: 12px;
    font-weight: 700;
}

.crypto-hero__token {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.crypto-hero__spark {
    position: absolute;
    right: 18px;
    bottom: 14px;
    width: 92px;
    color: var(--crypto-hero-accent);
    opacity: 0.75;
}

.crypto-hero__features {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-top: 48px;
    padding: 22px 26px;
    border: 1px solid rgba(226, 236, 238, 0.95);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 40px rgba(7, 26, 58, 0.06);
}

.crypto-hero__feature {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 17px;
    min-width: 0;
    padding: 0 14px;
}

.crypto-hero__feature-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--crypto-hero-accent);
    background: #e8f7f1;
    font-size: 25px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 20px rgba(19, 157, 117, 0.08);
}

.crypto-hero__feature-icon-svg,
.crypto-hero__feature-icon-svg svg,
.crypto-hero__feature-icon-svg i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    fill: currentColor;
}

.crypto-hero__feature-copy {
    min-width: 0;
}

.crypto-hero__feature-title {
    display: block;
    margin-bottom: 6px;
    color: var(--crypto-hero-navy);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}

.crypto-hero__feature-text {
    display: block;
    color: #506080;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42;
}

@media (max-width: 1200px) {
    .crypto-hero__main {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .crypto-hero__content {
        max-width: 760px;
    }

    .crypto-hero__visual {
        min-height: 560px;
    }

    .crypto-hero__visual-wrap {
        margin-right: auto;
        margin-left: auto;
    }

    .crypto-hero__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 10px;
    }
}

@media (max-width: 767px) {
    .crypto-hero {
        padding: 64px 16px 24px;
    }

    .crypto-hero__content {
        max-width: 100%;
    }

    .crypto-hero__badge {
        align-items: flex-start;
        margin-bottom: 22px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .crypto-hero__title {
        font-size: clamp(34px, 10.2vw, 48px);
        line-height: 1.14;
        letter-spacing: -0.035em;
    }

    .crypto-hero__description {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.6;
    }

    .crypto-hero__buttons {
        gap: 14px;
        margin-top: 26px;
    }

    .crypto-hero__button {
        width: 100%;
        min-height: 54px;
        padding: 16px 20px;
        font-size: 15px;
    }

    .crypto-hero__visual {
        min-height: 390px;
        transform: scale(0.73);
        transform-origin: top center;
        margin-bottom: -120px;
    }

    .crypto-hero__visual-wrap {
        width: 700px;
        min-height: 520px;
        left: 50%;
        transform: translateX(-50%);
    }

    .crypto-hero__custom-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .crypto-hero__features {
        grid-template-columns: 1fr;
        margin-top: 34px;
        padding: 22px;
        gap: 20px;
    }

    .crypto-hero__feature {
        padding: 0;
    }
}

@media (max-width: 430px) {
    .crypto-hero__visual {
        transform: scale(0.58);
        margin-bottom: -185px;
    }
}


/* Mobile responsive hard-fix: no cropped/scaled hero mockup, touch-drag visual instead. */
@media (max-width: 767px) {
    .crypto-hero {
        overflow: hidden !important;
        padding: 50px 0 22px !important;
    }

    .crypto-hero__container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .crypto-hero__main {
        display: block !important;
    }

    .crypto-hero__content {
        max-width: 100% !important;
        text-align: left !important;
    }

    .crypto-hero__badge {
        margin-bottom: 18px !important;
        font-size: 12px !important;
    }

    .crypto-hero__title {
        max-width: 100% !important;
        font-size: clamp(33px, 11vw, 44px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.035em !important;
    }

    .crypto-hero__description {
        max-width: 100% !important;
        font-size: 15px !important;
        line-height: 1.62 !important;
    }

    .crypto-hero__buttons {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .crypto-hero__button {
        width: 100% !important;
        min-height: 52px !important;
        padding: 14px 16px !important;
        white-space: normal !important;
    }

    .crypto-hero__visual {
        display: flex !important;
        min-height: auto !important;
        margin: 28px -16px 0 !important;
        padding: 0 16px 14px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        transform: none !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .crypto-hero__visual::-webkit-scrollbar {
        display: none !important;
    }

    .crypto-hero__visual-wrap {
        position: relative !important;
        flex: 0 0 630px !important;
        width: 630px !important;
        min-width: 630px !important;
        max-width: none !important;
        min-height: 505px !important;
        left: auto !important;
        right: auto !important;
        margin: 0 !important;
        transform: none !important;
        scroll-snap-align: start !important;
    }

    .crypto-hero__custom-image {
        flex: 0 0 94vw !important;
        width: 94vw !important;
        max-width: 94vw !important;
        margin: 0 auto !important;
        scroll-snap-align: start !important;
    }

    .crypto-hero__features {
        margin-top: 30px !important;
    }
}

@media (max-width: 430px) {
    .crypto-hero__visual {
        transform: none !important;
        margin-bottom: 0 !important;
    }

    .crypto-hero__visual-wrap {
        flex-basis: 600px !important;
        width: 600px !important;
        min-width: 600px !important;
        min-height: 488px !important;
    }
}


/* Editable uploaded SVG/PNG icons for the hero dashboard mockup */
.crypto-hero img.crypto-hero__editable-svg-icon {
    display: inline-block;
    flex: 0 0 auto;
    max-width: 100%;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.crypto-hero img.crypto-hero__brand-star.crypto-hero__editable-svg-icon {
    width: 30px;
    height: 30px;
}

.crypto-hero img.crypto-hero__round-icon.crypto-hero__editable-svg-icon {
    width: 38px;
    height: 38px;
}

.crypto-hero img.crypto-hero__coin.crypto-hero__editable-svg-icon {
    width: 28px;
    height: 28px;
}

.crypto-hero img.crypto-hero__usdt.crypto-hero__editable-svg-icon {
    width: 58px;
    height: 58px;
}

.crypto-hero img.crypto-hero__token.crypto-hero__editable-svg-icon {
    width: 36px;
    height: 36px;
}
