/* ==========================================================================
   ERINITE SOLUTIONS — EBAY MANAGEMENT PAGE STYLESHEET
   Harmonized with Amazon & Shopify Typography & Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* =========================================
   GLOBAL / RESET FOR EBAY PAGE
   ========================================= */

.ebay-page,
.ebay-hero,
.ebay-services,
.ebay-why-section,
.ebay-cta-section {
    box-sizing: border-box;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #07182D;
    -webkit-font-smoothing: antialiased;
}

.ebay-page *,
.ebay-hero *,
.ebay-services *,
.ebay-why-section *,
.ebay-cta-section * {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #F7FAFF;
    color: #07182D;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Multi-colored eBay Brand Letters */
.ebay-inline-brand {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-family: "Poppins", sans-serif;
}

.ebay-inline-brand .ebay-e { color: #E53238; }
.ebay-inline-brand .ebay-b { color: #2563EB; }
.ebay-inline-brand .ebay-a { color: #F5AF02; }
.ebay-inline-brand .ebay-y { color: #86B817; }

/* Reusable Eyebrow Badge & Accent Line */
.ebay-pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    background: #EBF3FE;
    border: 1px solid #D4E5FC;
    border-radius: 50px;
    margin-bottom: 16px;
}

.ebay-pill-badge span {
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #2563EB;
}

.ebay-hero-eyebrow {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2563EB;
    margin-bottom: 8px;
}

.ebay-hero-line {
    display: block;
    width: 44px;
    height: 3px;
    background: #2563EB;
    border-radius: 2px;
    margin-bottom: 20px;
}


/* =========================================
   SECTION 01: HERO SECTION
   ========================================= */

.ebay-hero {
    position: relative;
    width: 100%;
    background: #F7FAFF;
    color: #07182D;
    padding: 75px 40px 50px;
    overflow: hidden;
    isolation: isolate;
}

/* Subtle ambient radial gradient matching Amazon & Shopify */
.ebay-hero::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.09) 0%, rgba(37, 99, 235, 0.02) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.ebay-hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 46% 54%;
    align-items: center;
    gap: 40px;
}

/* Left Content */
.ebay-hero-content {
    max-width: 580px;
}

.ebay-hero h1 {
    margin: 0 0 16px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(38px, 3.8vw, 50px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #07182D;
}

.ebay-hero h1 span {
    color: #2563EB;
}

.ebay-hero-description {
    margin: 0 0 28px;
    font-family: "Inter", sans-serif;
    font-size: 16.5px;
    font-weight: 400;
    line-height: 1.68;
    color: #475B78;
    max-width: 500px;
}

.ebay-hero-action {
    margin-bottom: 34px;
}

.ebay-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 230px;
    min-height: 54px;
    padding: 0 30px;
    border-radius: 12px;
    background: #2563EB;
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ebay-btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.38);
    color: #FFFFFF;
}

.ebay-btn-arrow {
    display: inline-block;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.ebay-btn-primary:hover .ebay-btn-arrow {
    transform: translateX(4px);
}

/* 3 Trust Badges Row */
.ebay-hero-trust-row {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 18px;
}

.ebay-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ebay-trust-icon-box {
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.ebay-trust-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
    transition: transform 0.3s ease;
}

.ebay-hero-trust-item:hover .ebay-trust-icon-box img {
    transform: scale(1.08);
}

.ebay-trust-text {
    display: flex;
    flex-direction: column;
}

.ebay-trust-text strong {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #64748B;
    line-height: 1.25;
}

.ebay-trust-text span {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #07182D;
    line-height: 1.25;
}


/* =========================================
   LAYERED 3D HERO VISUAL
   ========================================= */

.ebay-hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.ebay-hero-layers {
    position: relative;
    width: 100%;
    max-width: 740px;
    height: 520px;
}

/* Floating eBay Wordmark Top Center */
.ebay-float-wordmark {
    position: absolute;
    top: -30px;
    left: 48%;
    transform: translateX(-50%);
    width: 130px;
    z-index: 4;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.06));
    animation: floatSlow 4s ease-in-out infinite alternate;
}

.ebay-float-wordmark img {
    width: 100%;
    height: auto;
    display: block;
}

/* 1. Desktop Dashboard */
.ebay-layer-dashboard {
    position: absolute;
    top: 15px;
    left: 20px;
    width: 86%;
    max-width: 640px;
    height: auto;
    z-index: 2;
    border-radius: 18px;
    filter: drop-shadow(0 20px 48px rgba(7, 24, 45, 0.10));
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
    user-select: none;
}

.ebay-layer-dashboard:hover {
    transform: translateY(-6px);
    filter: drop-shadow(0 28px 60px rgba(7, 24, 45, 0.18));
    z-index: 3;
}

/* 2. 3D Shopping Bag (Bottom Left Corner) */
.ebay-layer-bag {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 27%;
    max-width: 175px;
    height: auto;
    z-index: 5;
    filter: drop-shadow(0 18px 30px rgba(37, 99, 235, 0.25));
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
    user-select: none;
}

.ebay-layer-bag:hover {
    transform: translateY(-8px) scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 24px 38px rgba(37, 99, 235, 0.35));
    z-index: 6;
}

/* 3. Mobile Product Mockup (Bottom Right Corner) */
.ebay-layer-mobile {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30%;
    max-width: 215px;
    height: auto;
    z-index: 6;
    filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.25));
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
    user-select: none;
}

.ebay-layer-mobile:hover {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.35));
    z-index: 7;
}

@keyframes floatSlow {
    0% { transform: translate(-50%, 0); }
    100% { transform: translate(-50%, -7px); }
}


/* =========================================
   SECTION 02: WHAT WE DO / SOLUTIONS GRID
   ========================================= */

.ebay-services {
    position: relative;
    width: 100%;
    padding: 75px 40px 65px;
    background: #FFFFFF;
}

.ebay-services-container {
    max-width: 1360px;
    margin: 0 auto;
}

.ebay-services-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 46px;
}

.ebay-services-header h2 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #07182D;
}

.ebay-services-header h2 span {
    color: #2563EB;
}

.ebay-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* Horizontal 2-Column Split Card */
.ebay-service-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #EDF2F7;
    border-radius: 22px;
    padding: 26px 24px 28px;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 18px;
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ebay-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08);
}

/* Large, Prominent Card Icon Boxes */
.ebay-service-icon-wrap {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ebay-service-card:hover .ebay-service-icon-wrap {
    transform: scale(1.05);
}

.ebay-service-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Icon Box Color Themes */
.ebay-icon-blue { background: #EEF5FE; border: 1px solid #DCEAFC; }
.ebay-icon-green { background: #EDF8F0; border: 1px solid #DCF3E2; }
.ebay-icon-yellow { background: #FFF8EC; border: 1px solid #FEECCC; }
.ebay-icon-purple { background: #F7F0FD; border: 1px solid #EED8FB; }
.ebay-icon-orange { background: #FFF2EB; border: 1px solid #FEE0CF; }
.ebay-icon-cyan { background: #EAF8FB; border: 1px solid #D3F3F7; }

/* Right Text Info */
.ebay-service-info {
    display: flex;
    flex-direction: column;
    padding-right: 15px;
}

.ebay-service-info h3 {
    margin: 0 0 8px;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #07182D;
}

.ebay-service-info p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #475B78;
}

/* Bottom-Right Arrow Link */
.ebay-card-arrow {
    position: absolute;
    bottom: 18px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563EB;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.ebay-service-card:hover .ebay-card-arrow {
    transform: translateX(4px);
}


/* =========================================
   SECTION 03: WHY CHOOSE US
   ========================================= */

.ebay-why-section {
    position: relative;
    width: 100%;
    padding: 60px 40px 50px;
    background: #F8FAFC;
    overflow: hidden;
}

.ebay-why-container {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 53% 47%;
    align-items: center;
    gap: 36px;
}

/* Left Column */
.ebay-why-left {
    max-width: 660px;
}

.ebay-why-left h2 {
    margin: 0 0 14px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 2.9vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #07182D;
}

.ebay-why-description {
    margin: 0 0 28px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: #475B78;
    max-width: 530px;
}

/* 4 Feature Cards in a Single Horizontal Row */
.ebay-features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
}

.ebay-feature-box {
    background: #FFFFFF;
    border: 1px solid #EDF2F7;
    border-radius: 20px;
    padding: 22px 12px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ebay-feature-box:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.30);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08);
}

.ebay-feat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.ebay-feature-box:hover .ebay-feat-icon {
    transform: scale(1.08);
}

.ebay-feat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.22);
}

.ebay-feat-blue { background: #EEF5FE; border: 1px solid #DCEAFC; }
.ebay-feat-green { background: #EDF8F0; border: 1px solid #DCF3E2; }
.ebay-feat-yellow { background: #FFF8EC; border: 1px solid #FEECCC; }
.ebay-feat-purple { background: #F7F0FD; border: 1px solid #EED8FB; }

.ebay-feature-box h4 {
    margin: 0 0 6px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #07182D;
}

.ebay-feature-box p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.48;
    color: #64748B;
}

/* Right Scene */
.ebay-why-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ebay-why-visual-scene {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

.ebay-why-wordmark {
    position: absolute;
    top: -35px;
    right: 28%;
    width: 130px;
    z-index: 3;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.06));
    animation: floatSlow 4.5s ease-in-out infinite alternate;
}

.ebay-why-wordmark img {
    width: 100%;
    height: auto;
    display: block;
}

.ebay-scene-storefront {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(7, 24, 45, 0.06));
}

.ebay-scene-growth-card {
    position: absolute;
    right: -15px;
    bottom: -10px;
    width: 44%;
    max-width: 240px;
    height: auto;
    z-index: 4;
    filter: drop-shadow(0 14px 28px rgba(7, 24, 45, 0.10));
    transition: transform 0.3s ease;
}

.ebay-scene-growth-card:hover {
    transform: translateY(-4px) scale(1.03);
}


/* =========================================
   SECTION 04: CTA BANNER
   ========================================= */

.ebay-cta-section {
    position: relative;
    width: 100%;
    padding: 15px 40px 55px;
    background: #F8FAFC;
}

.ebay-cta-container {
    max-width: 1360px;
    margin: 0 auto;
}

.ebay-cta-card {
    position: relative;
    background: #07182D;
    border-radius: 20px;
    padding: 26px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #FFFFFF;
    box-shadow: 0 16px 40px rgba(7, 24, 45, 0.18);
    overflow: hidden;
}

.ebay-cta-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.20) 0%, transparent 70%);
    pointer-events: none;
}

.ebay-cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 780px;
}

.ebay-cta-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.30);
}

.ebay-cta-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ebay-cta-text h2 {
    margin: 0 0 4px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 600;
    color: #FFFFFF;
}

.ebay-cta-text p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.5;
    color: #94A3B8;
}

.ebay-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    padding: 13px 28px;
    border-radius: 10px;
    background: #2563EB;
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.30);
    transition: all 0.3s ease;
}

.ebay-cta-btn:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.40);
    color: #FFFFFF;
}

.ebay-cta-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.ebay-cta-btn:hover .ebay-cta-arrow {
    transform: translateX(4px);
}


/* =========================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================= */

@media (max-width: 1200px) {
    .ebay-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .ebay-hero-content {
        max-width: 720px;
        margin: 0 auto;
    }

    .ebay-hero-action {
        display: flex;
        justify-content: center;
    }

    .ebay-hero-trust-row {
        justify-content: center;
    }

    .ebay-hero-visual {
        justify-content: center;
    }

    .ebay-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ebay-why-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ebay-why-left {
        max-width: 720px;
        margin: 0 auto;
    }

    .ebay-features-row {
        text-align: center;
    }

    .ebay-why-visual-scene {
        margin: 0 auto;
    }
}

@media (max-width: 991px) {
    .ebay-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 28px;
        gap: 24px;
    }

    .ebay-cta-btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .ebay-hero {
        padding: 45px 20px 30px;
    }

    .ebay-hero h1 {
        font-size: 28px;
    }

    .ebay-hero-description {
        font-size: 14.5px;
    }

    .ebay-btn-primary {
        width: 100%;
    }

    .ebay-hero-trust-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ebay-hero-layers {
        height: 380px;
    }

    .ebay-layer-dashboard {
        width: 88%;
        left: 0;
    }

    .ebay-layer-bag {
        width: 30%;
        left: 20%;
    }

    .ebay-layer-mobile {
        width: 32%;
        right: 0;
    }

    .ebay-services {
        padding: 45px 20px 35px;
    }

    .ebay-services-grid {
        grid-template-columns: 1fr;
    }

    .ebay-why-section {
        padding: 45px 20px 35px;
    }

    .ebay-features-row {
        grid-template-columns: 1fr 1fr;
    }

    .ebay-scene-growth-card {
        width: 55%;
        right: 0;
        bottom: -10px;
    }

    .ebay-cta-section {
        padding: 20px 20px 50px;
    }

    .ebay-cta-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}
