/* HOW WE WORK PAGE - additions to existing style.css */
.hw-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(98, 108, 246, 0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 12% 75%,
            rgba(242, 186, 67, 0.07),
            transparent 27%
        ),
        var(--bg);
}
.hw-title {
    max-width: 850px;
    margin: 20px 0 25px;
    font-family: var(--display);
    font-size: clamp(58px, 6.8vw, 94px);
    line-height: 0.88;
    font-weight: 600;
    letter-spacing: -0.035em;
    color: var(--white);
}
.hw-title em {
    color: var(--gold2);
    font-style: italic;
}
.hw-copy {
    max-width: 650px;
    color: #aeb7d3;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 28px;
}
.hw-hero .btn-gold,
.hw-cta .btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 15px 22px;
    background: var(--gold);
    color: #11152b;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    transition: 0.3s;
}
.hw-hero .btn-gold:hover,
.hw-cta .btn-gold:hover {
    color: #11152b;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(242, 186, 67, 0.2);
}
.hw-visual {
    width: min(430px, 85vw);
    aspect-ratio: 1;
    position: relative;
    margin: auto;
}
.hw-path {
    position: absolute;
    inset: 12%;
    border: 1px dashed rgba(98, 108, 246, 0.5);
    border-radius: 50%;
    animation: spin 24s linear infinite;
}
.hw-path:after {
    content: "";
    position: absolute;
    inset: 22%;
    border: 1px solid rgba(242, 186, 67, 0.4);
    border-radius: 50%;
}
.hw-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #151e49, #0a1030);
    border: 1px solid rgba(242, 186, 67, 0.45);
    box-shadow: 0 0 75px rgba(98, 108, 246, 0.2);
    animation: corePulse 3s ease-in-out infinite;
}
.hw-core i {
    font-size: 31px;
    color: var(--gold2);
    margin-bottom: 8px;
}
.hw-core span {
    font-size: 9px;
    color: #c8cee3;
    letter-spacing: 0.12em;
}
.hw-core strong {
    font-size: 10px;
    color: var(--gold2);
    letter-spacing: 0.1em;
}
.hw-dot {
    position: absolute;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #11183b;
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: var(--gold2);
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.hw-dot.d1 {
    left: 12%;
    top: 18%;
}
.hw-dot.d2 {
    right: 13%;
    top: 13%;
}
.hw-dot.d3 {
    right: 4%;
    top: 48%;
}
.hw-dot.d4 {
    right: 14%;
    bottom: 13%;
}
.hw-dot.d5 {
    left: 14%;
    bottom: 12%;
}
.hw-dot.d6 {
    left: 4%;
    top: 48%;
}
.hw-heading {
    max-width: 800px;
    margin: auto;
}
.hw-timeline {
    position: relative;
    margin-top: 65px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.hw-line {
    position: absolute;
    left: 7%;
    right: 7%;
    top: 70px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #b6a45e,
        #b6a45e,
        transparent
    );
}
.hw-step {
    position: relative;
    z-index: 1;
    text-align: center;
}
.hw-num {
    margin-bottom: 10px;
    color: #aeb6c7;
    font-size: 10px;
    font-weight: 900;
}
.hw-step > i {
    width: 62px;
    height: 62px;
    margin: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(17, 21, 43, 0.1);
    color: #6470eb;
    font-size: 21px;
    box-shadow: 0 10px 25px rgba(17, 21, 43, 0.07);
}
.hw-step h3 {
    margin: 17px 0 7px;
    font-family: var(--display);
    font-size: 24px;
    color: #151a31;
}
.hw-step p {
    margin: 0;
    color: #707a8d;
    font-size: 11px;
    line-height: 1.6;
}
.hw-flow {
    display: grid;
    grid-template-columns: 1fr 35px 1fr 35px 1fr;
    align-items: center;
    gap: 8px;
}
.hw-flow-item {
    min-height: 180px;
    padding: 25px;
    background: #0e1534;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hw-flow-item span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
}
.hw-flow-item i {
    margin: 12px 0;
    color: var(--gold);
    font-size: 24px;
}
.hw-flow-item b {
    color: #fff;
    font-family: var(--display);
    font-size: 23px;
}
.hw-flow-item small {
    margin-top: 4px;
    color: #929cbc;
    font-size: 10px;
    line-height: 1.5;
}
.hw-arrow {
    text-align: center;
    color: var(--gold);
    font-size: 22px;
}
.hw-requirement {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 28px;
}
.hw-requirement > div {
    padding: 17px;
    background: #fff;
    border: 1px solid rgba(17, 21, 43, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}
.hw-requirement i {
    color: #6470eb;
    font-size: 20px;
}
.hw-requirement span {
    font-size: 11px;
    font-weight: 800;
    color: #151a31;
}
.hw-formula {
    padding: 34px 40px;
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: center;
    gap: 15px;
    background: #0e1534;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.hw-formula > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.hw-formula span {
    color: #aeb7d3;
    font-size: 12px;
}
.hw-formula strong {
    color: var(--gold2);
    font-family: var(--display);
    font-size: 24px;
}
.hw-formula > div > i {
    color: var(--gold);
    font-size: 19px;
}
.hw-formula > div:nth-child(2) {
    display: block;
    text-align: center;
}
.hw-cta {
    padding: 45px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: #fff;
    border: 1px solid rgba(17, 21, 43, 0.08);
    box-shadow: 0 25px 55px rgba(17, 21, 43, 0.08);
}
.hw-cta h2 {
    margin: 12px 0 7px;
    font-family: var(--display);
    font-size: clamp(35px, 4vw, 55px);
    line-height: 0.95;
    color: #151a31;
}
.hw-cta p {
    margin: 0;
    max-width: 700px;
    color: #707a8d;
    font-size: 13px;
    line-height: 1.7;
}
@media (max-width: 991px) {
    .hw-hero {
        min-height: auto;
        padding: 90px 0;
    }
    .hw-title {
        font-size: clamp(52px, 9vw, 76px);
    }
    .hw-visual {
        margin-top: 25px;
    }
    .hw-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 18px;
    }
    .hw-line {
        display: none;
    }
    .hw-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 767px) {
    .hw-title {
        font-size: clamp(45px, 12vw, 65px);
    }
    .hw-copy {
        font-size: 15px;
    }
    .hw-flow {
        grid-template-columns: 1fr;
    }
    .hw-arrow {
        transform: rotate(90deg);
    }
    .hw-requirement {
        grid-template-columns: 1fr;
    }
    .hw-formula {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .hw-formula > div:nth-child(2) {
        transform: rotate(90deg);
    }
}
@media (max-width: 575px) {
    .hw-title {
        font-size: 43px;
    }
    .hw-visual {
        width: 300px;
    }
    .hw-core {
        width: 115px;
        height: 115px;
    }
    .hw-dot {
        width: 42px;
        height: 42px;
    }
    .hw-timeline {
        grid-template-columns: 1fr;
    }
    .hw-step {
        display: grid;
        grid-template-columns: 40px 62px 1fr;
        grid-template-rows: auto auto;
        text-align: left;
        align-items: center;
        column-gap: 12px;
    }
    .hw-num {
        grid-row: 1 / span 2;
        margin: 0;
    }
    .hw-step > i {
        grid-row: 1 / span 2;
        margin: 0;
    }
    .hw-step h3 {
        margin: 0;
    }
    .hw-cta {
        padding: 32px 25px;
    }
}
