/* =========================================================
   DEALOPP — HIGH-FREQUENCY TRADING INTEGRATION
   Scoped under .hft-page
========================================================= */

.hft-page {
    --navy: #071D59;
    --navy-2: #0B2E7A;
    --cyan: #13C7E5;
    --text: #536382;
    --line: #D8ECF3;
    --white: #FFFFFF;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 100px;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    color: var(--navy);
    background:
        radial-gradient(
            ellipse at 80% 2%,
            rgba(19,199,229,.13) 0%,
            rgba(19,199,229,.055) 28%,
            rgba(19,199,229,0) 56%
        ),
        linear-gradient(
            180deg,
            #F8FDFE 0%,
            #FFFFFF 58%,
            #FFFFFF 100%
        );
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.hft-page * {
    box-sizing: border-box;
}

.hft-page .background-wave {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    width: 950px;
    height: 420px;
    right: -120px;
    top: 10px;
    border-radius: 50%;
    border-top: 1px solid rgba(255,255,255,.95);
    border-bottom: 1px solid rgba(19,199,229,.08);
    transform: rotate(-12deg);
}

.hft-page .background-wave::after {
    content: "";
    position: absolute;
    width: 850px;
    height: 330px;
    left: 70px;
    top: 85px;
    border-radius: 50%;
    border-top: 1px solid rgba(255,255,255,.9);
    border-bottom: 1px solid rgba(19,199,229,.07);
}

.hft-page .hft-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 70px;
    padding-right: 70px;
}

.hft-page .hero {
    min-height: 555px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(19,199,229,.20);
    padding: 0;
    background: transparent;
}

.hft-page .hero-content {
    width: 100%;
    max-width: 650px;
    padding: 76px 0 68px;
}

.hft-page .eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.hft-page .eyebrow::after {
    content: "";
    display: block;
    width: 62px;
    height: 1px;
    background: var(--cyan);
}

.hft-page .hero h1 {
    margin: 0 0 23px;
    color: var(--navy);
    font-size: clamp(48px, 4.6vw, 70px);
    line-height: .98;
    letter-spacing: -2.8px;
    font-weight: 750;
}

.hft-page .hero h1 span {
    display: block;
    margin-top: 5px;
    color: var(--cyan);
}

.hft-page .hero-description {
    max-width: 610px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.48;
}

.hft-page .hero-description p {
    margin-bottom: 15px;
}

.hft-page .primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 22px;
    min-width: 225px;
    padding: 15px 26px;
    border-radius: 28px;
    background: linear-gradient(100deg, #13C7E5, #05BDE0);
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 8px 22px rgba(19,199,229,.15);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hft-page .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 28px rgba(19,199,229,.24);
    color: #FFFFFF !important;
}

.hft-page .primary-button svg,
.hft-page .representative-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hft-page .benefits {
    padding: 48px 0 24px;
}

.hft-page .benefits-intro {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: 100px;
    align-items: center;
    margin-bottom: 36px;
}

.hft-page .section-label {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 7px;
    color: #0785CC;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.hft-page .section-label::after {
    content: "";
    display: block;
    width: 55px;
    height: 1px;
    background: var(--cyan);
}

.hft-page .benefits-title {
    color: var(--navy);
    font-size: clamp(36px,3.2vw,51px);
    line-height: .98;
    letter-spacing: -2px;
    font-weight: 750;
    margin: 0;
}

.hft-page .benefits-title span {
    display: block;
    color: var(--cyan);
}

.hft-page .benefits-copy {
    max-width: 620px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.5;
}

.hft-page .benefit-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}

.hft-page .benefit-card {
    min-height: 120px;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 21px 28px;
    border: 1px solid rgba(19,199,229,.22);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(245,252,254,.82));
}

.hft-page .benefit-icon {
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(19,199,229,.22);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #FFFFFF, #EDF9FC);
    box-shadow: 0 8px 20px rgba(7,29,89,.055);
}

.hft-page .benefit-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hft-page .benefit-text h3 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}

.hft-page .benefit-text p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.38;
    margin: 0;
}

.hft-page .representative-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 36px;
    padding: 23px 28px 23px 70px;
    min-height: 100px;
    border: 1px solid rgba(19,199,229,.22);
    border-radius: 13px;
    background:
        radial-gradient(ellipse at 78% 140%, rgba(19,199,229,.12), transparent 45%),
        linear-gradient(100deg, #FAFEFF 0%, #F6FCFE 50%, #EAF9FD 100%);
}

.hft-page .representative-banner::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 50%;
    width: 7px;
    height: 65px;
    transform: translateY(-50%);
    border-radius: 10px;
    background: var(--cyan);
}

.hft-page .representative-banner::after {
    content: "";
    position: absolute;
    pointer-events: none;
    width: 620px;
    height: 150px;
    right: 120px;
    bottom: -110px;
    border-radius: 50%;
    border-top: 1px solid rgba(255,255,255,.95);
    transform: rotate(-5deg);
}

.hft-page .representative-copy {
    position: relative;
    z-index: 2;
}

.hft-page .representative-copy h3 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 750;
}

.hft-page .representative-copy p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.45;
    margin: 0;
}

.hft-page .representative-button {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    min-width: 235px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 15px 25px;
    border-radius: 26px;
    background: linear-gradient(100deg, #13C7E5, #08BFE1);
    color: var(--navy) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(19,199,229,.15);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hft-page .representative-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(19,199,229,.23);
    color: var(--navy) !important;
}

/* Tablet */
@media (max-width: 1050px) {
    .hft-page .hft-container {
        padding-left: 40px;
        padding-right: 40px;
    }
    .hft-page .hero {
        min-height: 520px;
    }
    .hft-page .benefits-intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hft-page .benefit-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .hft-page .hft-container {
        padding-left: 22px;
        padding-right: 22px;
    }
    .hft-page .background-wave {
        width: 520px;
        height: 260px;
        right: -280px;
        top: 40px;
        opacity: .55;
    }
    .hft-page .hero {
        min-height: auto;
    }
    .hft-page .hero-content {
        padding: 60px 0 55px;
    }
    .hft-page .eyebrow {
        margin-bottom: 20px;
        font-size: 11px;
    }
    .hft-page .eyebrow::after {
        width: 42px;
    }
    .hft-page .hero h1 {
        font-size: 43px;
        letter-spacing: -1.8px;
    }
    .hft-page .hero-description {
        font-size: 16px;
    }
    .hft-page .benefits-title {
        font-size: 38px;
    }
    .hft-page .benefits-copy {
        font-size: 16px;
    }
    .hft-page .benefit-grid {
        gap: 14px;
    }
    .hft-page .benefit-card {
        padding: 20px;
        gap: 18px;
    }
    .hft-page .benefit-icon {
        width: 58px;
        height: 58px;
    }
    .hft-page .representative-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 25px 22px 25px 49px;
    }
    .hft-page .representative-banner::before {
        left: 20px;
        height: 70%;
    }
    .hft-page .representative-button {
        width: 100%;
        min-width: 0;
    }
}
