/* ========================================================================= */
/* 1. WEBSITE SCREENSHOT DUAL-ROW MARQUEE (SHOWCASE)                        */
/* ========================================================================= */

.website-showcase-section {
    position: relative;
    overflow: hidden;
}

.website-showcase-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 6px 0;
}

.website-showcase-row {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;
    margin-bottom: 14px;
}

.website-showcase-row:last-child {
    margin-bottom: 0;
}

/* Gradient edge fades for seamless infinite scrolling appearance */
.website-showcase-marquee::before,
.website-showcase-marquee::after {
    position: absolute;
    z-index: 10;
    top: 0;
    bottom: 0;
    width: 60px;
    content: '';
    pointer-events: none;
}

.website-showcase-marquee::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 15%, rgba(255, 255, 255, 0));
}

.website-showcase-marquee::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 15%, rgba(255, 255, 255, 0));
}

@media (min-width: 768px) {
    .website-showcase-marquee::before,
    .website-showcase-marquee::after {
        width: 120px;
    }
}

.website-showcase-track {
    display: flex;
    width: max-content;
    gap: 14px;
    will-change: transform;
}

@media (min-width: 640px) {
    .website-showcase-track {
        gap: 16px;
    }
}

/* Animation: Top Row moves to the RIGHT */
.website-showcase-track--right {
    animation: websiteMarqueeRight 38s linear infinite;
}

/* Animation: Bottom Row moves to the LEFT */
.website-showcase-track--left {
    animation: websiteMarqueeLeft 38s linear infinite;
}

@keyframes websiteMarqueeRight {
    from { transform: translateX(calc(-50% - 7px)); }
    to { transform: translateX(0); }
}

@keyframes websiteMarqueeLeft {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 7px)); }
}

.website-showcase-group {
    display: flex;
    flex: none;
    gap: 14px;
}

@media (min-width: 640px) {
    .website-showcase-group {
        gap: 16px;
    }
}

/* Compact Modern macOS Browser Mockup Card */
.website-mockup-card {
    width: 250px;
    flex: 0 0 250px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

@media (min-width: 640px) {
    .website-mockup-card {
        width: 320px;
        flex: 0 0 320px;
        border-radius: 18px;
    }
}

@media (min-width: 1024px) {
    .website-mockup-card {
        width: clamp(370px, 26vw, 420px);
        flex: 0 0 clamp(370px, 26vw, 420px);
        border-radius: 20px;
    }
}

.website-mockup-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 28px -6px rgba(3, 48, 110, 0.12), 0 8px 10px -4px rgba(15, 23, 42, 0.04);
    border-color: rgba(59, 130, 246, 0.4);
}

/* Browser Top Header Bar (Compact Light Modern Style) */
.browser-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.browser-dots {
    display: flex;
    align-items: center;
    gap: 4.5px;
}

.browser-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 9999px;
}

.browser-dot--red { background-color: #ef4444; }
.browser-dot--yellow { background-color: #f59e0b; }
.browser-dot--green { background-color: #10b981; }

.browser-url-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 9.5px;
    font-weight: 700;
    color: #0f172a;
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-url-pill svg {
    color: #16a34a !important;
}

.browser-category-badge {
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 1.5px 7px;
    border-radius: 9999px;
    background: #dbeafe;
    color: #03306e;
    border: 1px solid #bfdbfe;
}

/* Browser Window Content Body */
.browser-body {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

.browser-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.browser-body img.browser-screenshot--contain {
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}

.website-mockup-card:hover .browser-body img {
    transform: scale(1.04);
}

.website-mockup-card:hover .browser-body img.browser-screenshot--contain {
    transform: none;
}

/* Card Caption Footer (Compact) */
.browser-caption {
    padding: 6px 10px;
    background: #ffffff;
    border-top: 1px solid #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.browser-caption-title {
    font-size: 10px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================================================= */
/* 2. CLIENT LOGO STRIP (SLEEK INTEGRATED HORIZONTAL ROW)                    */
/* ========================================================================= */

.client-trust-container {
    width: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

.client-trust-strip {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    border-top: 1px solid rgba(226, 232, 240, 0.75);
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
    padding: 18px 0;
    margin-top: 20px;
    background: transparent;
    overflow: hidden;
}

.client-trust-label {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #334155;
    padding-left: clamp(16px, 4vw, 48px);
    padding-right: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.client-trust-divider {
    flex-shrink: 0;
    width: 1px;
    height: 36px;
    background: #cbd5e1;
    margin-right: 18px;
}

.client-trust-marquee-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.client-trust-track {
    display: flex;
    width: max-content;
    animation: clientLogoMarqueeRight 30s linear infinite;
    will-change: transform;
}

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

.client-trust-strip:hover .client-trust-track {
    animation-play-state: paused;
}

.client-trust-group,
.client-trust-group--duplicate {
    display: flex;
    flex: none;
    align-items: center;
}

.client-logo-clean-item {
    display: flex;
    width: 126px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 66px;
    border-right: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.client-logo-clean-item img {
    height: 54px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.25s ease;
}

.client-logo-clean-item:hover img {
    transform: scale(1.08);
}

@media (min-width: 640px) {
    .client-trust-container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .client-logo-clean-item {
        width: 138px;
        height: 70px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .client-logo-clean-item img {
        height: 58px;
        max-width: 160px;
    }
}

@media (min-width: 1024px) {
    .client-trust-container {
        padding-right: 32px;
        padding-left: 32px;
    }

    .client-logo-clean-item {
        width: 150px;
        height: 74px;
        padding-right: 28px;
        padding-left: 28px;
    }

    .client-logo-clean-item img {
        height: 62px;
        max-width: 174px;
    }
}

.client-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================================================= */
/* 3. STITCHED THREAD PROCESS TIMELINE (Cara Pemesanan)                      */
/* ========================================================================= */

.process-stitch-container {
    position: relative;
}

.process-card-stitch {
    position: relative;
    background: #ffffff;
    border-radius: 1rem;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: box-shadow, border-color;
}

.process-card-stitch:hover {
    box-shadow: 0 16px 30px -10px rgba(3, 48, 110, 0.12), 0 4px 10px -4px rgba(3, 48, 110, 0.06);
    border-color: #3b82f6;
}

/* Number Node on Straight Line */
.process-eyelet-node {
    background: #03306e !important;
    color: #ffffff !important;
    border: 3px solid #03306e !important;
    box-shadow: 0 4px 12px rgba(3, 48, 110, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-eyelet-node:hover {
    transform: translate(-50%, -50%) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(3, 48, 110, 0.45);
}

@media (prefers-reduced-motion: reduce) {
    .process-card-stitch,
    .process-eyelet-node {
        transition: none;
        transform: none !important;
    }
}

.process-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.process-card {
    flex: 0 1 100%;
}

@media (min-width: 768px) {
    .process-card {
        flex-basis: calc(50% - 10px);
    }
}

@media (min-width: 1024px) {
    .process-card {
        flex-basis: calc(25% - 15px);
    }
}

/* Meeting proof card overlay */
.meeting-proof {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

.meeting-proof img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.meeting-proof:hover img {
    transform: scale(1.04);
}

.meeting-proof__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.45) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    color: #ffffff;
}

.meeting-proof__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(3, 48, 110, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 0.75rem;
    backdrop-blur: 8px;
}

.meeting-proof__badge i {
    width: 0.875rem;
    height: 0.875rem;
}

.meeting-proof__overlay h3 {
    font-family: var(--font-heading, inherit);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.meeting-proof__overlay p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #cbd5e1;
}

/* ========================================================================= */
/* 4. REDUCED MOTION PREFERENCE ACCESSIBILITY                                */
/* ========================================================================= */

@media (prefers-reduced-motion: reduce) {
    .website-showcase-track--right,
    .website-showcase-track--left,
    .client-trust-track {
        animation: none;
        will-change: auto;
    }

    .website-showcase-row {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .website-showcase-group--duplicate,
    .client-trust-group--duplicate,
    .website-showcase-marquee::before,
    .website-showcase-marquee::after,
    .client-logo-marquee::before,
    .client-logo-marquee::after {
        display: none;
    }
}
