/* ═══════════════════════════════════════════
       HOMEPAGE FEATURES TEASER
    ═══════════════════════════════════════════ */
.hp-features-section {
    background: linear-gradient(270deg, rgba(11, 205, 233, 1) 0%, rgba(114, 99, 223, 1) 100%);
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

/* Ambient glows */
.hp-features-section::before {
    content: '';
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(10, 110, 189, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.hp-features-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 200, 150, 0.05), transparent 65%);
    pointer-events: none;
}


/* ── Section Header ── */
.section-eyebrow {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-title span {
    -webkit-background-clip: text;
    background-clip: text;
}

.section-subtitle {
    font-size: 16px;
    color: #ffffff;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ── Layout: Mockup left + Cards right ── */
.hp-feat-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── Left: Animated Mockup ── */
.hp-mockup-col {
    flex: 1;
    min-width: 290px;
    max-width: 480px;
    position: relative;
}

/* Glow ring behind mockup */
.hp-mockup-col::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center, rgba(10, 110, 189, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hp-laptop {
    position: relative;
    z-index: 1;
}

.hp-laptop-shell {
    background: #14142a;
    border-radius: 18px 18px 6px 6px;
    padding: 14px 14px 10px;
    box-shadow:
        0 0 0 1.5px #22224a,
        0 30px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hp-laptop-camera {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #222240;
    margin: 0 auto 8px;
}

.hp-laptop-screen {
    background: #0d1117;
    border-radius: 8px;
    overflow: hidden;
    height: 280px;
    position: relative;
}

.hp-laptop-base {
    height: 11px;
    background: linear-gradient(180deg, #111128, #0a0a1a);
    border-radius: 0 0 4px 4px;
    margin: 0 -6px;
}

.hp-laptop-foot {
    height: 5px;
    background: #08081a;
    border-radius: 0 0 20px 20px;
    margin: 0 -22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.hp-laptop-glow {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 18px;
    background: radial-gradient(ellipse, rgba(10, 110, 189, 0.4), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
}

/* Sliding mock screens */
.hp-screen-slider {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-slide {
    width: 100%;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Shared mock atoms */
.m-header {
    padding: 9px 13px;
    border-bottom: 1px solid #21262d;
    background: #161b22;
    display: flex;
    align-items: center;
    gap: 9px;
}

.m-sidebar {
    width: 160px;
    flex-shrink: 0;
    background: #161b22;
    border-right: 1px solid #21262d;
    height: 100%;
}

.m-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.m-messages {
    flex: 1;
    padding: 9px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow: hidden;
}

.m-input-bar {
    padding: 7px 11px;
    border-top: 1px solid #21262d;
    display: flex;
    gap: 8px;
    align-items: center;
}

.m-input {
    flex: 1;
    background: #21262d;
    border-radius: 20px;
    padding: 5px 11px;
    font-size: 11px;
    color: #6e7681;
}

.m-send {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a6ebd, #00c896);
    display: flex;
    align-items: center;
    justify-content: center;
}

.av {
    width: var(--av, 24px);
    height: var(--av, 24px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--av, 24px) * 0.4);
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.av-b {
    background: linear-gradient(135deg, #0a6ebd, #00c896);
}

.av-p {
    background: linear-gradient(135deg, #7b2ff7, #f107a3);
}

.av-o {
    background: linear-gradient(135deg, #e85d04, #faa307);
}

.bubble {
    padding: 6px 10px;
    border-radius: 0 10px 10px 10px;
    display: inline-block;
    max-width: 190px;
}

.bubble-in {
    background: #21262d;
}

.bubble-out {
    background: linear-gradient(135deg, #0a6ebd, #0d8fd9);
    border-radius: 10px 0 10px 10px;
}

.bubble p {
    font-size: 11px;
    color: #e6edf3;
    margin: 0;
    line-height: 1.5;
}

.bubble-out p {
    color: #fff;
}

.bubble time {
    font-size: 9px;
    color: #6e7681;
    display: block;
    margin-top: 3px;
}

.bubble-out time {
    color: rgba(255, 255, 255, 0.5);
}

.msg-row {
    display: flex;
    gap: 7px;
    align-items: flex-end;
}

.msg-row.out {
    justify-content: flex-end;
}

/* Slide dot indicators */
.hp-slide-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.hp-dot {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hp-dot.active {
    background: linear-gradient(90deg, #0a6ebd, #00c896);
    width: 36px;
}

/* ── Right: Feature Highlight Cards ── */
.hp-cards-col {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-feat-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hp-feat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(10, 110, 189, 0.07), rgba(0, 200, 150, 0.04));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hp-feat-card:hover {
    border-color: rgba(10, 110, 189, 0.28);
    transform: translateX(4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hp-feat-card:hover::before {
    opacity: 1;
}

.hp-feat-card.active {
    border-color: rgba(10, 110, 189, 0.4);
    background: rgba(10, 110, 189, 0.06);
    transform: translateX(4px);
    box-shadow: 0 10px 32px rgba(10, 110, 189, 0.12);
}

.hp-feat-card.active::before {
    opacity: 1;
}

/* Active left accent bar */
.hp-feat-card.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    background: linear-gradient(180deg, #0a6ebd, #00c896);
    border-radius: 0 3px 3px 0;
}

.hp-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hp-feat-card:hover .hp-card-icon,
.hp-feat-card.active .hp-card-icon {
    transform: scale(1.08);
}

.hp-card-text {
    flex: 1;
}

.hp-card-text h4 {
    font-family: 'Syne', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #e6edf3;
    margin-bottom: 4px;
}

.hp-card-text p {
    font-size: 13px;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

.hp-card-arrow {
    color: #ffffff;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hp-feat-card:hover .hp-card-arrow,
.hp-feat-card.active .hp-card-arrow {
    color: #2152a1;
    transform: translateX(3px);
}

/* ── Stats row ── */
.hp-stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-top: 72px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.018);
    overflow: hidden;
}

.hp-stat {
    flex: 1;
    min-width: 160px;
    padding: 28px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.hp-stat:last-child {
    border-right: none;
}

.hp-stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1;
    color: #ffffff;
}

.hp-stat-label {
    font-size: 13px;
    color: #ffffff;
}

/* ── CTA ── */
.hp-cta-wrap {
    text-align: center;
    margin-top: 60px;
}

.btn-primary-seq {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2152a1;
    color: #fff;
    border-radius: 30px;
    padding: 13px 34px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 8px 28px rgba(10, 110, 189, 0.38);
}

.btn-primary-seq:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(10, 110, 189, 0.52);
}

.btn-ghost-seq {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: #aed6f1;
    border-radius: 30px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-left: 14px;
}

.btn-ghost-seq:hover {
    border-color: rgba(10, 110, 189, 0.4);
    color: #fff;
    background: rgba(10, 110, 189, 0.08);
}

/* how-section */

.how-section {
    padding: 50px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.fade-up .section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    color: #000000;
    margin-bottom: 16px;
    line-height: 1.15;
}

.fade-up .section-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .8rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    border: 2px solid #0ccce9;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 3.5rem;
}

.how-step {
    padding: 2rem 1.5rem;
    position: relative;
    text-align: center;
    border-right: 1px solid var(--border);
}

.how-step:last-child {
    border-right: none;
}

.step-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0ccce9;
    line-height: 1;
    margin-bottom: .8rem;
}

.how-step h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: .5rem;
}

.how-step p {
    color: var(--muted);
    font-size: .88rem;
}


/* Responsive */
@media (max-width: 900px) {
    .hp-feat-layout {
        flex-direction: column;
    }

    .hp-mockup-col,
    .hp-cards-col {
        max-width: 100%;
        min-width: unset;
        width: 100%;
    }

    .hp-laptop-screen {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .hp-stats-row {
        flex-direction: column;
    }

    .hp-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .hp-stat:last-child {
        border-bottom: none;
    }

    .btn-ghost-seq {
        margin-left: 0;
        margin-top: 12px;
    }

    .hp-cta-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .how-grid {
        display: block;
    }
}