/* ==========================================================================
   Yugan Solutions — /get-started/ landing page.

   Loaded alongside showcase.css, which this page reuses wholesale: the project
   cards (.pf-*), the section heading block (.sw-head), the stat strip
   (.sw-stats), the testimonial cards (.cl-quote*) and the logo plate treatment
   all come from there. Only what is genuinely new to this page lives here.

   Naming: .ld-*
   ========================================================================== */


/* ==========================================================================
   1. Hero
   ========================================================================== */

.ld-hero {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ld-hero {
        grid-template-columns: 1.04fr 0.96fr;
        gap: 3.5rem;
    }
}

/* Availability pill. The pulsing dot is the one piece of motion above the
   fold, which is what makes it read as a live status rather than a graphic. */
.ld-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: rgba(124, 58, 237, 0.14);
    padding: 0.45rem 1rem 0.45rem 0.8rem;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C9BBFF;
}

.ld-badge__dot {
    position: relative;
    display: inline-flex;
    height: 0.5rem;
    width: 0.5rem;
    flex: 0 0 auto;
}

.ld-badge__dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #34D399;
    opacity: 0.75;
    animation: ldPing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ld-badge__dot::after {
    content: '';
    position: relative;
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 999px;
    background: #34D399;
}

@keyframes ldPing {
    0%        { transform: scale(0.8); opacity: 0.9; }
    75%, 100% { transform: scale(2.2); opacity: 0; }
}

.ld-title {
    margin-top: 1.5rem;
    font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.75rem);
    font-weight: 700;
    line-height: 1.05;
    color: #FFFFFF;
    text-wrap: balance;
}

.ld-lead {
    margin-top: 1.35rem;
    max-width: 34rem;
    font-size: 1.0625rem;
    line-height: 1.72;
    color: #D1D5DB;
}

@media (min-width: 640px) {
    .ld-lead {
        font-size: 1.125rem;
    }
}

.ld-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

/* Four short guarantees under the CTAs. A list rather than a paragraph
   because at this point in the page the reader is scanning, not reading. */
.ld-proof {
    margin-top: 2.25rem;
    display: grid;
    gap: 0.7rem 1.5rem;
    border-top: 1px solid rgba(124, 58, 237, 0.22);
    padding-top: 1.6rem;
}

@media (min-width: 640px) {
    .ld-proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ld-proof li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #C2C9D4;
}

.ld-proof i {
    margin-top: 0.2rem;
    flex: 0 0 auto;
    font-size: 0.75rem;
    color: #A855F7;
}


/* ==========================================================================
   2. Hero panel — "what happens next"
   ========================================================================== */

.ld-panel {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(168, 85, 247, 0.26);
    background: linear-gradient(155deg, rgba(38, 32, 68, 0.9), rgba(13, 11, 26, 0.94));
    box-shadow: 0 34px 90px rgba(3, 2, 14, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 1.85rem 1.5rem 1.75rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@media (min-width: 640px) {
    .ld-panel {
        padding: 2.25rem 2rem 2rem;
    }
}

.ld-panel__eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C084FC;
}

.ld-panel__title {
    margin-top: 0.7rem;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
    color: #FFFFFF;
}

.ld-panel__foot {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    border-top: 1px solid rgba(124, 58, 237, 0.24);
    padding-top: 1.35rem;
    font-size: 0.8125rem;
    color: #C2C9D4;
}

.ld-steps {
    margin-top: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

/* Number in a ring, copy beside it, a hairline running from one ring down to
   the next so the three read as a sequence rather than three notes. */
.ld-step {
    position: relative;
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 1rem;
}

.ld-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    bottom: -1.35rem;
    left: 1.125rem;
    width: 1px;
    background: linear-gradient(to bottom, rgba(168, 85, 247, 0.55), rgba(168, 85, 247, 0.08));
}

.ld-step__num {
    display: flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(168, 85, 247, 0.4);
    background: rgba(124, 58, 237, 0.2);
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: #DDD3FF;
}

.ld-step__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #FFFFFF;
}

.ld-step__desc {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #C2C9D4;
}


/* ==========================================================================
   3. Client logo strip
   ========================================================================== */

.ld-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.ld-logo {
    position: relative;
    display: flex;
    height: 3.75rem;
    width: 8.5rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.75rem;
    padding: 0.7rem 0.9rem;
    background: linear-gradient(180deg, #FFFFFF, #EFEAFB);
    box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.16), 0 8px 20px rgba(3, 2, 14, 0.4);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

@media (min-width: 640px) {
    .ld-logo {
        height: 4.25rem;
        width: 9.5rem;
    }
}

.ld-logo:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.45), 0 16px 32px rgba(88, 28, 196, 0.4);
}

.ld-logo img {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 1px rgba(20, 14, 45, 0.5));
}

/* Same rule as the clients wall: a mark drawn in white for a dark background
   has to be flipped or it is not there at all. Tagged by logo-plate.js. */
.ld-logo img.is-light-mark {
    filter: invert(1);
}


/* ==========================================================================
   4. Services
   ========================================================================== */

.ld-services {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
    .ld-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ld-services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.ld-service {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    border-radius: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.22);
    background: linear-gradient(160deg, rgba(35, 30, 61, 0.68), rgba(13, 11, 26, 0.88));
    padding: 1.6rem 1.5rem 1.5rem;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s ease, box-shadow 0.45s ease;
}

.ld-service:hover {
    transform: translateY(-7px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 30px 66px rgba(88, 28, 196, 0.3);
}

/* Corner bloom, revealed on hover — the same visual language as the card ring
   on the portfolio, kept lighter because there are more of these on screen. */
.ld-service::before {
    content: '';
    position: absolute;
    top: -6rem;
    right: -6rem;
    z-index: -1;
    height: 12rem;
    width: 12rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.ld-service:hover::before {
    opacity: 1;
}

.ld-service__icon {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    border: 1px solid rgba(168, 85, 247, 0.32);
    background: rgba(124, 58, 237, 0.18);
    color: #C4B5FD;
    font-size: 1.125rem;
    transition: color 0.35s ease, background 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ld-service:hover .ld-service__icon {
    color: #FBBF24;
    background: rgba(124, 58, 237, 0.32);
    transform: scale(1.06) rotate(-4deg);
}

.ld-service__title {
    margin-top: 1.15rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #FFFFFF;
}

.ld-service__desc {
    margin-top: 0.55rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #C2C9D4;
}

.ld-service__link {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #C084FC;
    transition: color 0.3s ease;
}

.ld-service__link:hover {
    color: #F3E8FF;
}

.ld-service__link i {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ld-service__link:hover i {
    transform: translateX(5px);
}

/* Pushes the link to the bottom edge so a short and a long card still line
   their footers up. */
.ld-service__spacer {
    flex: 1;
}


/* ==========================================================================
   5. Why us
   ========================================================================== */

.ld-reasons {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
    .ld-reasons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ld-reasons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.ld-reason {
    position: relative;
    border-radius: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
    background: rgba(124, 58, 237, 0.06);
    padding: 1.5rem 1.4rem 1.5rem 1.6rem;
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ld-reason:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.45);
    background: rgba(124, 58, 237, 0.11);
}

/* Accent bar on the leading edge that grows to full height on hover. */
.ld-reason::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    left: 0;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(to bottom, #A855F7, #F59E0B);
    transform: scaleY(0.35);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ld-reason:hover::before {
    transform: scaleY(1);
}

.ld-reason__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ld-reason__icon {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
    background: rgba(124, 58, 237, 0.18);
    color: #C4B5FD;
    font-size: 0.8125rem;
}

.ld-reason__title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #FFFFFF;
}

.ld-reason__desc {
    margin-top: 0.8rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #C2C9D4;
}


/* ==========================================================================
   6. Process
   ========================================================================== */

.ld-process {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
    .ld-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .ld-process {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.ld-phase {
    position: relative;
    padding-top: 2.75rem;
}

/* The rail linking one phase to the next. Drawn per item rather than as one
   element behind the row, so it wraps correctly when the grid does — and it is
   dropped on the last item of each row by the rules underneath. */
.ld-phase::before {
    content: '';
    position: absolute;
    top: 1.1rem;
    left: 2.75rem;
    right: -1.5rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.5), rgba(168, 85, 247, 0.06));
}

.ld-phase:last-child::before {
    display: none;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .ld-phase:nth-child(2n)::before {
        display: none;
    }
}

@media (max-width: 639px) {
    .ld-phase::before {
        display: none;
    }
}

.ld-phase__num {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(168, 85, 247, 0.4);
    background: linear-gradient(150deg, rgba(56, 39, 105, 0.95), rgba(13, 11, 26, 0.95));
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: #DDD3FF;
    transition: border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.ld-phase:hover .ld-phase__num {
    border-color: rgba(245, 158, 11, 0.6);
    color: #FBBF24;
    box-shadow: 0 0 0 5px rgba(168, 85, 247, 0.12);
}

.ld-phase__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #FFFFFF;
}

.ld-phase__desc {
    margin-top: 0.6rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #C2C9D4;
}


/* ==========================================================================
   7. Engagement models
   ========================================================================== */

.ld-engage {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .ld-engage {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.ld-engage-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.24);
    background: linear-gradient(160deg, rgba(35, 30, 61, 0.7), rgba(13, 11, 26, 0.9));
    padding: 1.75rem 1.5rem;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.42s ease;
}

.ld-engage-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 28px 62px rgba(88, 28, 196, 0.3);
}

.ld-engage-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #7C3AED, #A855F7, #F59E0B);
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ld-engage-card:hover::after {
    width: 100%;
}

.ld-engage-card__icon {
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    border: 1px solid rgba(168, 85, 247, 0.32);
    background: rgba(124, 58, 237, 0.18);
    color: #C4B5FD;
    font-size: 1rem;
}

.ld-engage-card__title {
    margin-top: 1.15rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #FFFFFF;
}

.ld-engage-card__desc {
    margin-top: 0.55rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #C2C9D4;
}


/* ==========================================================================
   8. Contact
   ========================================================================== */

/* The page's anchor target. Offsetting here rather than padding the section
   keeps the fixed header from covering the form heading on a #start jump. */
.ld-anchor {
    scroll-margin-top: 6rem;
}

.ld-contact {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .ld-contact {
        grid-template-columns: 0.92fr 1.08fr;
        gap: 2.5rem;
    }
}

.ld-form-panel {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(168, 85, 247, 0.26);
    background: linear-gradient(155deg, rgba(38, 32, 68, 0.9), rgba(13, 11, 26, 0.94));
    box-shadow: 0 34px 90px rgba(3, 2, 14, 0.5);
    padding: 1.75rem 1.4rem 1.85rem;
}

@media (min-width: 640px) {
    .ld-form-panel {
        padding: 2.25rem 2rem 2.35rem;
    }
}

.ld-field-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #D1D5DB;
}

/* Direct contact routes beside the form, for the readers who would rather not
   fill anything in. */
.ld-routes {
    display: grid;
    gap: 0.85rem;
}

.ld-route {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(124, 58, 237, 0.22);
    background: rgba(124, 58, 237, 0.07);
    padding: 0.95rem 1.1rem;
    transition: border-color 0.32s ease, background 0.32s ease, transform 0.32s ease;
}

.ld-route:hover {
    transform: translateX(3px);
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(124, 58, 237, 0.14);
}

.ld-route__icon {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
    background: rgba(124, 58, 237, 0.18);
    color: #C4B5FD;
    font-size: 0.875rem;
}

.ld-route__label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #A9B1BF;
}

.ld-route__value {
    margin-top: 0.15rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #FFFFFF;
    word-break: break-word;
}


/* ==========================================================================
   9. Motion and touch fallbacks
   ========================================================================== */

@media (hover: none), (pointer: coarse) {
    .ld-service:hover,
    .ld-reason:hover,
    .ld-engage-card:hover,
    .ld-logo:hover,
    .ld-route:hover {
        transform: none;
    }

    .ld-service:hover .ld-service__icon {
        transform: none;
    }

    /* Nothing reveals the accent bar on a touch screen, so it is simply
       always at full height. */
    .ld-reason::before {
        transform: scaleY(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ld-badge__dot::before {
        animation: none;
        opacity: 0;
    }

    .ld-service,
    .ld-reason,
    .ld-engage-card,
    .ld-logo,
    .ld-route,
    .ld-service__icon,
    .ld-reason::before,
    .ld-engage-card::after {
        transition: none;
    }

    .ld-service:hover,
    .ld-reason:hover,
    .ld-engage-card:hover,
    .ld-logo:hover,
    .ld-route:hover {
        transform: none;
    }
}
