/* 
E-Commerce
*/
.demo-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 2rem 0 1rem;
}

.btn-back-demo,
.btn-cart-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-back-demo {
    background: #414A7C;
    color: #fff;
    box-shadow: 0 4px 12px rgba(65, 74, 124, 0.14);
}

.btn-back-demo:hover,
.btn-back-demo:focus {
    transform: translateY(-2px);
    background: #323a61;
    outline: none;
}

.btn-cart-demo {
    background: #DB9F6B;
    color: #fff;
    box-shadow: 0 4px 12px rgba(219, 159, 107, 0.24);
}

.btn-cart-demo:hover,
.btn-cart-demo:focus {
    transform: translateY(-2px);
    background: #b97a49;
    outline: none;
}

.demo-description {
    max-width: 80rem;
    margin: 0 auto 3rem;
    font-size: 1.7rem;
    line-height: 1.75;
    color: #4b5563;
    text-align: center;
}

.ecommerce-grid {
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
}

.product-card {
    background: #fff;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 0.6rem 2rem rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.2rem 2.8rem rgba(15, 23, 42, 0.14);
}

.product-card .sample-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-card .sample-text {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
}

.product-card h3 {
    font-size: 2rem;
    line-height: 1.25;
    color: #111827;
    margin: 0;
}

.product-card p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

.product-card .price {
    font-size: 1.7rem;
    font-weight: 700;
    color: #DB9F6B;
    margin-top: auto;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 1.6rem;
    border: none;
    border-radius: 999px;
    background: #414A7C;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(65, 74, 124, 0.16);
}

.btn-add-cart:hover,
.btn-add-cart:focus {
    background: #323a61;
    transform: translateY(-2px);
    outline: none;
}



/* 
Cart
*/
.cart-section {
    min-height: 80vh;
}

.cart-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.cart-notice {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.cart-notice .demo-description {
    margin: 0;
    color: #166534;
    font-weight: 500;
}

.cart-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 0.4rem 1.2rem rgba(15, 23, 42, 0.06);
    border: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 84px minmax(0, 1fr);
        grid-template-areas:
            "image info"
            "qty qty"
            "remove remove";
        gap: 1rem;
        padding: 1rem;
        align-items: start;
    }

    .cart-product-image {
        grid-area: image;
    }

    .cart-product-info {
        grid-area: info;
    }

    .cart-quantity {
        grid-area: qty;
    }

    .cart-remove {
        grid-area: remove;
        justify-self: end;
    }

    .quantity-controls {
        justify-content: space-evenly;
    }
}


.cart-product-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 0.8rem;
}

.cart-product-info h3 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    color: #111827;
}

.cart-product-info .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #DB9F6B;
    margin: 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.qty-btn {
    width: 2.8rem;
    height: 2.8rem;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #475569;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.qty-btn:hover:not(:disabled) {
    background: #f1f5f9;
    transform: scale(1.05);
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-input {
    width: 3rem;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 1.5rem;
    pointer-events: none;
}

.btn-remove {
    width: 3.2rem;
    height: 3.2rem;
    border: none;
    border-radius: 0.8rem;
    background: #fee2e2;
    color: #dc2626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-remove:hover {
    background: #fecaca;
    transform: scale(1.05);
}

.cart-summary {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    text-align: right;
}

.cart-total {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
}

.cart-total span:first-child {
    color: #6b7280;
    font-weight: 500;
}

.empty-cart {
    text-align: center;
    padding: 6rem 2rem;
}

.empty-cart-icon {
    margin: 0 auto 2rem;
    opacity: 0.6;
}

.empty-title {
    font-size: 2.4rem;
    color: #111827;
    margin-bottom: 1rem;
}

.empty-description {
    font-size: 1.6rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
}


/* 
Custom App
*/
.demo-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

/* .btn-back-demo {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    background: #414A7C;
    color: #fff;
    box-shadow: 0 0.4rem 1.2rem rgba(65, 74, 124, 0.2);
    transition: all 0.2s ease;
} */

/* .btn-back-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.8rem 2rem rgba(65, 74, 124, 0.3);
    background: #323a61;
} */

.featured-demo {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 90rem;
    margin: 0 auto;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

@media (min-width: 768px) {
    .featured-demo {
        grid-template-columns: 1fr 1fr;
    }
}

.demo-image-wrapper {
    position: relative;
    overflow: hidden;
}

.demo-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-demo:hover .demo-image {
    transform: scale(1.05);
}

.demo-details {
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f9fafb 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.demo-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #414A7C 0%, #DB9F6B 100%);
}

.demo-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.2rem;
    line-height: 1.25;
}

.demo-description {
    font-size: 1.6rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 2rem;
}

.demo-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.2rem;
    background: #414A7C;
    color: #fff;
    border-radius: 999px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: auto;
    box-shadow: 0 0.4rem 1.2rem rgba(65, 74, 124, 0.2);
    transition: all 0.2s ease;
    max-width: max-content;
}

.demo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.8rem 2rem rgba(65, 74, 124, 0.3);
    background: #323a61;
}

.cart-orb-1 {
    top: 10%;
    left: 5%;
}

.cart-orb-2 {
    bottom: 15%;
    right: 8%;
}


/* 
Mobile Responsive
*/
.demo-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

/* .btn-back-demo {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    background: #414A7C;
    color: #fff;
    box-shadow: 0 0.4rem 1.2rem rgba(65, 74, 124, 0.2);
    transition: all 0.2s ease;
}

.btn-back-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.8rem 2rem rgba(65, 74, 124, 0.3);
    background: #323a61;
} */

/* .features-section,
.preview-section {
    margin-bottom: 6rem;
} */

.section-subtitle {
    font-size: 2.4rem;
    font-weight: 700;
    color: #414A7C;
    text-align: center;
    margin-bottom: 2.5rem;
}

.features-list {
    max-width: 70rem;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    font-size: 1.7rem;
    line-height: 1.75;
    color: #4b5563;
}

.features-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 900;
    font-size: 1.4rem;
}

/* .preview-section {
    max-width: 80rem;
    margin: 0 auto;
} */


.preview-section {
    padding: 10rem 2rem 0rem;
}

.preview-heading {
    text-align: center;
    margin-bottom: 7rem;
}

.preview-heading p {
    margin-top: 1.5rem;
    font-size: 1.7rem;
    color: #64748b;
}

.responsive-preview-grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.device-preview {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.device-preview:hover {
    transform: translateY(-0.8rem);
}

.device-label {
    display: flex;
    align-items: center;
    gap: 1rem;

    margin-bottom: 1.6rem;

    color: #475569;
    font-size: 1.45rem;
    font-weight: 600;
}

.device-label svg {
    width: 2rem;
    height: 2rem;
}

/* =========================
   DESKTOP
========================= */

.desktop-frame {
    background: #1e293b;

    padding: 1rem;

    border-radius: 1.6rem;

    box-shadow:
        0 1rem 2rem rgba(15, 23, 42, 0.08),
        0 3rem 6rem rgba(15, 23, 42, 0.14);
}

.desktop-screen {
    overflow: hidden;
    border-radius: 1rem;
    background: white;
}

.desktop-screen img {
    width: 42rem;
    height: 26rem;
    object-fit: cover;
    display: block;
}

.desktop-stand {
    width: 20rem;
    height: 1.6rem;

    background: #334155;

    margin: 0 auto;

    border-radius: 0 0 1rem 1rem;
}

.desktop-base {
    width: 28rem;
    height: 0.8rem;

    background: #475569;

    margin: 0 auto;

    border-radius: 999rem;
}

/* =========================
   TABLET
========================= */

.tablet-frame {
    background: #1e293b;

    padding: 1.2rem;

    border-radius: 2.4rem;

    box-shadow:
        0 1rem 2rem rgba(15, 23, 42, 0.08),
        0 3rem 6rem rgba(15, 23, 42, 0.14);
}

.tablet-screen {
    overflow: hidden;
    border-radius: 1.6rem;
    background: white;
}

.tablet-screen img {
    width: 22rem;
    height: 29rem;
    object-fit: cover;
    display: block;
}

/* =========================
   MOBILE
========================= */

.mobile-frame {
    background: #1e293b;

    padding: 0.9rem;

    border-radius: 3rem;

    box-shadow:
        0 1rem 2rem rgba(15, 23, 42, 0.08),
        0 3rem 6rem rgba(15, 23, 42, 0.14);
}

.mobile-screen {
    overflow: hidden;
    border-radius: 2rem;
    background: white;
}

.mobile-screen img {
    width: 13rem;
    height: 24rem;
    object-fit: cover;
    display: block;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .responsive-preview-grid {
        align-items: center;
    }

    .desktop-screen img {
        width: 100%;
        max-width: 38rem;
        height: auto;
    }
}

@media (max-width: 768px) {

    .preview-section {
        padding: 8rem 2rem 0rem;
    }

    .responsive-preview-grid {
        gap: 5rem;
    }

    .desktop-screen img {
        max-width: 32rem;
    }

    .tablet-screen img {
        width: 19rem;
        height: 25rem;
    }

    .mobile-screen img {
        width: 11rem;
        height: 21rem;
    }
}

/*
CMS 
*/

.demo-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

/* .btn-back-demo {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    background: #414A7C;
    color: #fff;
    box-shadow: 0 0.4rem 1.2rem rgba(65, 74, 124, 0.2);
    transition: all 0.2s ease;
}

.btn-back-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.8rem 2rem rgba(65, 74, 124, 0.3);
    background: #323a61;
} */

.section-subtitle {
    font-size: 2.4rem;
    font-weight: 700;
    color: #414A7C;
    text-align: center;
    margin-bottom: 3rem;
}

.cms-workflow {
    max-width: 100rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.cms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 2.4rem;
}

/* FIXED: No overflow hidden on cards */
.cms-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    height: 100%;
    /* Remove overflow: hidden from here */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cms-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.6rem 3.6rem rgba(15, 23, 42, 0.14);
}

.cms-header {
    position: relative;
    margin-bottom: 1.8rem;
    /* FIXED: Ensure header allows overflow */
    overflow: visible;
}

.cms-image {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    border-radius: 1.2rem;
    transition: transform 0.3s ease;
    display: block;
}

.cms-card:hover .cms-image {
    transform: scale(1.03);
}

/* FIXED: Position LEFT like API (works perfectly) */
.step-number {
    position: absolute;
    left: -2.2rem;
    /* LEFT side - matches API */
    top: 2rem;
    /* Consistent vertical position */
    background: linear-gradient(135deg, #414A7C, #DB9F6B);
    color: #fff;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 0.6rem 1.6rem rgba(65, 74, 124, 0.3);
    z-index: 10;
    /* FIXED: Ensure above everything */
}

.cms-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
}

.cms-content p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
}

.cms-header {
    position: relative;
    overflow: visible;
}

.step-number {
    position: absolute;
    top: -1.2rem;
    left: -1.2rem;
    z-index: 20;
    background: linear-gradient(135deg, #414A7C, #DB9F6B);
    color: #fff;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 0.6rem 1.6rem rgba(65, 74, 124, 0.3);
}

.cms-card {
    position: relative;
    overflow: visible;
}

.cms-header {
    position: relative;
    overflow: visible;
    margin-top: 1rem;
}

.step-number {
    position: absolute;
    top: -1.6rem;
    left: 1.2rem;
    z-index: 50;
}

/* Modal (unchanged) */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: #fff;
    font-size: 3.2rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #DB9F6B;
}

.modal-image {
    max-width: 95%;
    max-height: 90vh;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 1.2rem;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.5);
}

.modal-caption {
    color: #ccc;
    font-size: 1.6rem;
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .cms-grid {
        grid-template-columns: 1fr;
    }

    .cms-image {
        height: 16rem;
    }

    .step-number {
        left: 1rem;
        /* FIXED: Adjust for mobile */
        top: -1.8rem;
    }
}

/* 
Data Dashboard 
*/
.demo-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

/* 
.btn-back-demo {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    background: #414A7C;
    color: #fff;
    box-shadow: 0 0.4rem 1.2rem rgba(65, 74, 124, 0.2);
    transition: all 0.2s ease;
}

.btn-back-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.8rem 2rem rgba(65, 74, 124, 0.3);
    background: #323a61;
} */

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    max-width: 100rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .dashboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(42rem, 1fr));
    }
}

.dashboard-card {
    background: #fff;
    border-radius: 1.6rem;
    padding: 2.4rem;
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, 0.08);
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dashboard-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 2rem;
    text-align: center;
}

.chart-container {
    flex: 1;
    min-height: 24rem;
    position: relative;
    margin-bottom: 1.8rem;
}

.dashboard-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-control {
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 999px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0.4rem 1.2rem rgba(65, 74, 124, 0.2);
}

.boost-btn {
    background: #10b981;
    color: #fff;
}

.boost-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 0.6rem 1.8rem rgba(16, 185, 129, 0.3);
}

.drop-btn {
    background: #ef4444;
    color: #fff;
}

.drop-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 0.6rem 1.8rem rgba(239, 68, 68, 0.3);
}

.refresh-btn {
    background: #3b82f6;
    color: #fff;
}

.refresh-btn:hover {
    background: #2563eb;
    transform: translateY(-2px)
        /*rotate(180deg)*/
    ;
    box-shadow: 0 0.6rem 1.8rem rgba(59, 130, 246, 0.3);
}

/*
API 
*/
.demo-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

/* .btn-back-demo {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    background: #414A7C;
    color: #fff;
    box-shadow: 0 0.4rem 1.2rem rgba(65, 74, 124, 0.2);
    transition: all 0.2s ease;
}

.btn-back-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.8rem 2rem rgba(65, 74, 124, 0.3);
    background: #323a61;
} */

.section-subtitle {
    font-size: 2.4rem;
    font-weight: 700;
    color: #414A7C;
    text-align: center;
    margin-bottom: 3rem;
}

.api-workflow {
    max-width: 90rem;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.api-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
    gap: 1.8rem;
}

.api-steps li {
    background: #fff;
    border-radius: 1.4rem;
    padding: 2rem 2rem 1.8rem 3rem;
    position: relative;
    box-shadow: 0 0.8rem 2.4rem rgba(15, 23, 42, 0.06);
    border-left: 4px solid #DB9F6B;
    transition: transform 0.2s ease;
}

.api-steps li:hover {
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    left: -2.2rem;
    top: 2rem;
    background: linear-gradient(135deg, #414A7C, #DB9F6B);
    color: #fff;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 0.6rem 1.6rem rgba(65, 74, 124, 0.3);
}

.api-steps strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.6rem;
}

.step-desc {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #4b5563;
}

.api-info {
    background: linear-gradient(135deg, #fdf4f3 0%, #fef7ee 100%);
    border: 1px solid #fee2e2;
    border-radius: 1.2rem;
    padding: 2.4rem;
    margin: 3rem auto;
    max-width: 80rem;
    text-align: center;
}

.info-title {
    font-size: 2rem;
    font-weight: 800;
    color: #414A7C;
    margin-bottom: 1.2rem;
}

.api-info p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1rem;
}

.api-demo-section {
    text-align: center;
    margin: 4rem 0;
}

.api-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.8rem;
    background: linear-gradient(135deg, #414A7C 0%, #3a406f 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0.8rem 2.4rem rgba(65, 74, 124, 0.3);
    transition: all 0.3s ease;
}

.api-demo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 1.2rem 3.6rem rgba(65, 74, 124, 0.4);
    background: linear-gradient(135deg, #DB9F6B 0%, #c98a5a 100%);
}

.btn-icon {
    width: 1.6rem;
    height: 1.6rem;
}

.api-result-card {
    display: none;
    background: #fff;
    margin: 2.4rem auto 0;
    padding: 2.4rem;
    border-radius: 1.6rem;
    box-shadow: 0 1.6rem 4rem rgba(15, 23, 42, 0.1);
    border: 1px solid #f1f5f9;
    max-width: 64rem;
    min-height: 12rem;
}

.api-loader {
    width: 3.6rem;
    height: 3.6rem;
    border: 4px solid #f1f5f9;
    border-top: 4px solid #DB9F6B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.api-result h4 {
    color: #414A7C;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.api-result pre {
    background: #f8fafc;
    padding: 1.6rem;
    border-radius: 1rem;
    font-size: 1.3rem;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.6rem;
}

.api-result h5 {
    color: #10b981;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}