/* ==========================================================================
   home-v2.css — Alternative homepage design (index-v2.html)
   ========================================================================== */

/* ── Page Base ───────────────────────────────────── */
.hv2-page {
    background: #0e1628;
    color: #f2eefd;
    overflow-x: hidden;
}

/* ── Shared Section Tag ──────────────────────────── */
.hv2-tag {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #6d79ce;
    margin-bottom: 1rem;
    display: block;
}

/* ── Shared Buttons ──────────────────────────────── */
.hv2-btn {
    display: inline-block;
    padding: 15px 42px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
}

.hv2-btn-solid {
    background: linear-gradient(135deg, #2e235d, #12548c);
    color: #fff;
    box-shadow: 0 6px 24px rgba(114,127,222,0.35);
}

.hv2-btn-solid:hover {
    box-shadow: 0 10px 35px rgba(114,127,222,0.6);
    transform: translateY(-2px);
}

.hv2-btn-outline {
    border: 1px solid rgba(114,127,222,0.4);
    color: rgba(242,238,251,0.8);
    background: transparent;
}

.hv2-btn-outline:hover {
    border-color: #727fde;
    color: #fff;
    background: rgba(114,127,222,0.08);
}

/* ── Hero ────────────────────────────────────────── */
.hv2-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 130px 80px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.hv2-hero-label {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #727fde;
    margin-bottom: 2rem;
    display: block;
}

.hv2-hero-left h1 {
    font-size: clamp(2.5rem, 5.0vw, 5.0rem);
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 1.8rem;
}

.hv2-hero-left h1 em {
    font-style: italic;
    color: #727fde;
}

.hv2-hero-sub {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(232, 227, 239, 0.887);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hv2-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Hero Right — Decorative Word Stack ─────────── */
.hv2-hero-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
}

.hv2-word-stack {
    display: flex;
    flex-direction: column;
    text-align: right;
    user-select: none;
    gap: 4px;
}

.hv2-word-stack span {
    font-size: clamp(2.4rem, 4.2vw, 4.6rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1.1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(139, 148, 213, 0.5);
    transition: color 0.25s, -webkit-text-stroke-color 0.25s;
}

.hv2-word-stack span:nth-child(2) { -webkit-text-stroke-color: rgba(114,127,222,0.4); }
.hv2-word-stack span:nth-child(3) { -webkit-text-stroke-color: rgba(114,127,222,0.3); }
.hv2-word-stack span:nth-child(4) { -webkit-text-stroke-color: rgba(114,127,222,0.2); }
.hv2-word-stack span:nth-child(5) { -webkit-text-stroke-color: rgba(114,127,222,0.12); }

.hv2-word-stack span:hover {
    color: rgba(114,127,222,0.18);
    -webkit-text-stroke-color: #727fde;
}

/* ── Marquee Strip ───────────────────────────────── */
.hv2-marquee {
    background: #5a64af;
    overflow: hidden;
    padding: 13px 0;
    white-space: nowrap;
}

.hv2-marquee-track {
    display: inline-flex;
    gap: 36px;
    animation: hv2-scroll 28s linear infinite;
}

.hv2-marquee-track span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    flex-shrink: 0;
}

.hv2-marquee-track .hv2-sep {
    color: rgba(255,255,255,0.45);
}

@keyframes hv2-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Services — Numbered Rows ────────────────────── */
.hv2-services-outer {
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
}

.hv2-services-sticky {
    position: sticky;
    top: 100px;
}

.hv2-services-sticky h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.hv2-services-sticky .hv2-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
}

.hv2-service-rows {
    display: flex;
    flex-direction: column;
}

.hv2-service-row {
    display: grid;
    grid-template-columns: 44px 1fr 52px 24px;
    align-items: center;
    gap: 20px;
    padding: 24px 12px;
    border-bottom: 1px solid rgba(114,127,222,0.1);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.25s, padding-left 0.25s;
}

.hv2-service-row:first-child {
    border-top: 1px solid rgba(114,127,222,0.1);
}

.hv2-service-row:hover {
    background: rgba(114,127,222,0.06);
    padding-left: 20px;
}

.hv2-svc-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(114,127,222,0.45);
    transition: color 0.25s;
}

.hv2-service-row:hover .hv2-svc-num {
    color: #727fde;
}

.hv2-svc-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
    transition: color 0.25s;
}

.hv2-service-row:hover .hv2-svc-info h3 {
    color: #727fde;
}

.hv2-svc-info p {
    font-size: 1rem;
    color: rgba(247, 245, 250, 0.5);
    line-height: 1.55;
}

.hv2-svc-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    opacity: 0.65;
    transition: opacity 0.25s;
}

.hv2-service-row:hover .hv2-svc-icon {
    opacity: 1;
}

.hv2-svc-arrow {
    color: rgba(114,127,222,0.35);
    font-size: 0.85rem;
    transition: color 0.25s, transform 0.25s;
}

.hv2-service-row:hover .hv2-svc-arrow {
    color: #727fde;
    transform: translateX(4px);
}

/* ── ABCDE Framework — Horizontal Steps ─────────── */
.hv2-framework {
    background: #0b1120;
    padding: 100px 80px;
}

.hv2-framework-intro {
    max-width: 580px;
    margin: 0 auto 64px;
    text-align: center;
}

.hv2-framework-intro h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hv2-framework-sub {
    font-size: 1rem;
    color: rgba(247, 245, 250, 0.5);
    line-height: 1.8;
}

.hv2-steps-track {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hv2-step {
    flex: 1;
    text-align: center;
    padding: 0 16px;
}

.hv2-step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2e235d, #12548c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    margin: 0 auto 1.4rem;
    box-shadow: 0 0 0 5px rgba(114,127,222,0.12);
}

.hv2-step h3 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.hv2-step p {
    font-size: 1rem;
    color: rgba(247, 245, 250, 0.5);
    line-height: 1.7;
}

.hv2-step-line {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, rgba(114,127,222,0.35), rgba(114,127,222,0.1));
    margin-top: 31px;
    flex-shrink: 0;
}

/* ── Testimonials — Image-Reveal Cards ───────────── */
.hv2-testimonials {
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.hv2-testimonials-hdr {
    margin-bottom: 48px;
}

.hv2-testimonials-hdr h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #fff;
}

.hv2-quotes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 400px;
    gap: 20px;
}

/* ── Card base ── */
.hv2-quote {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

/* ── Background image ── */
.hv2-quote-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.72) saturate(0.85);
}

.hv2-quote:hover .hv2-quote-bg {
    transform: scale(1.05);
    filter: brightness(0.18) saturate(0.5);
}

/* ── Always-visible label strip at bottom ── */
.hv2-quote-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 28px 24px;
    background: linear-gradient(to top, rgba(14,22,40,0.92) 0%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: opacity 0.3s ease;
}

.hv2-quote:hover .hv2-quote-label {
    opacity: 0;
}

.hv2-quote-industry {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #727fde;
}

.hv2-quote-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffffe7;
}

/* ── Reveal panel — slides up on hover ── */
.hv2-quote-reveal {
    position: absolute;
    inset: 0;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    background: linear-gradient(150deg, rgba(46,35,93,0.97) 0%, rgba(18,84,140,0.97) 100%);
    transform: translateY(100%);
    transition: transform 0.44s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hv2-quote:hover .hv2-quote-reveal {
    transform: translateY(0);
}

.hv2-quote-featured .hv2-quote-reveal {
    background: linear-gradient(150deg, rgba(46,35,93,0.98) 0%, rgba(26,38,74,0.98) 100%);
}

.hv2-quote-mark {
    font-size: 4rem;
    font-family: Georgia, serif;
    line-height: 0.6;
    color: rgba(114,127,222,0.5);
    display: block;
    margin-bottom: 1.2rem;
}

.hv2-quote-reveal p {
    font-size: 0.9rem;
    line-height: 1.85;
    color: rgba(242,238,251,0.88);
}

.hv2-quote-featured .hv2-quote-reveal p {
    font-size: 0.96rem;
}

/* ── CTA Banner ──────────────────────────────────── */
.hv2-cta {
    padding: 120px 80px;
    text-align: center;
    background: linear-gradient(135deg, #0e1628 0%, #1a264a 50%, #0e1628 100%);
    border-top: 1px solid rgba(114,127,222,0.1);
}

.hv2-cta h2 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hv2-cta h2 em {
    font-style: italic;
    color: #fff;
}

.hv2-cta > p {
    font-size: 1rem;
    color: rgba(247, 245, 250, 0.5);
    max-width: 460px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* ── Footer Overrides ────────────────────────────── */
.hv2-page footer {
    background: #0e1628;
}

.hv2-page .copyrightText {
    background: #080e1a;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1100px) {
    .hv2-hero,
    .hv2-services-outer,
    .hv2-framework,
    .hv2-testimonials,
    .hv2-cta {
        padding-left: 48px;
        padding-right: 48px;
    }

    .hv2-services-outer {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hv2-services-sticky {
        position: static;
    }
}

@media (max-width: 860px) {
    .hv2-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hv2-hero-right {
        display: none;
    }

    .hv2-steps-track {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .hv2-step-line {
        width: 1px;
        height: 36px;
        margin-top: 0;
        background: linear-gradient(180deg, rgba(114,127,222,0.35), rgba(114,127,222,0.1));
    }

    .hv2-quotes-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 360px;
    }
}

@media (max-width: 560px) {
    .hv2-hero,
    .hv2-services-outer,
    .hv2-framework,
    .hv2-testimonials,
    .hv2-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hv2-hero-actions {
        flex-direction: column;
    }

    .hv2-btn {
        text-align: center;
    }

    .hv2-service-row {
        grid-template-columns: 36px 1fr 22px;
    }

    .hv2-svc-icon {
        display: none;
    }

    .hv2-quote-reveal {
        padding: 24px 22px;
    }
}
