/* =============================================
   SIMTECH BENIN - Premium Dark Fintech Theme
   ============================================= */

/* --- Base & Reset --- */
body {
    background-color: #0F172A;
    color: #F8FAFC;
}

::selection {
    background: #F59E0B;
    color: #0F172A;
}

/* --- Gradient Text --- */
.simtech-gradient-text {
    background: linear-gradient(135deg, #F59E0B 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Hero Section --- */
.simtech-hero {
    position: relative;
    overflow: hidden;
}

.simtech-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.simtech-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* --- Float Animation for Hero Image --- */
@keyframes simtech-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.simtech-float-animation img {
    animation: simtech-float 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(245, 158, 11, 0.15));
    border-radius: 16px;
}

@media (prefers-reduced-motion: reduce) {
    .simtech-float-animation img {
        animation: none;
    }
}

/* --- Card Styles --- */
.simtech-card {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.simtech-card:hover {
    transform: translateY(-4px);
    border-color: var(--wp--preset--color--accent-1) !important;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.1);
}

.simtech-card-featured {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.08);
}

/* --- Product Images --- */
.simtech-product-img img {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 1;
    background: #1E293B;
}

/* --- Buttons --- */
.simtech-btn-primary .wp-block-button__link {
    background: #F59E0B;
    color: #0F172A;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.simtech-btn-primary .wp-block-button__link:hover {
    background: #D97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.simtech-btn-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid #F59E0B;
    color: #F59E0B;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.simtech-btn-outline .wp-block-button__link:hover {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

/* --- WooCommerce Overrides --- */
.wc-block-components-product-price,
.woocommerce .price {
    color: #F59E0B !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.wc-block-grid__product,
.woocommerce ul.products li.product {
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.wc-block-grid__product:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: #F59E0B;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-components-product-name {
    color: #F8FAFC !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.woocommerce ul.products li.product img,
.wc-block-grid__product-image img {
    border-radius: 12px;
    background: #0F172A;
}

/* Add to cart button */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.add_to_cart_button {
    background: #F59E0B !important;
    color: #0F172A !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem !important;
    padding: 0.7rem 1.5rem !important;
    border: none !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.add_to_cart_button:hover {
    background: #D97706 !important;
    color: #0F172A !important;
}

/* Single product page */
.woocommerce div.product .product_title {
    color: #F8FAFC;
    font-family: 'Space Grotesk', sans-serif;
}

.woocommerce div.product p.price {
    color: #F59E0B !important;
    font-size: 1.8rem;
    font-weight: 700;
}

.woocommerce .quantity .qty {
    background: #1E293B;
    color: #F8FAFC;
    border: 1px solid #334155;
    border-radius: 8px;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    color: #94A3B8;
    font-size: 0.85rem;
}

.woocommerce .woocommerce-breadcrumb a {
    color: #F59E0B;
}

/* --- Badge --- */
.simtech-badge {
    display: inline-block;
}

/* --- Navigation --- */
.wp-block-navigation a {
    color: #F8FAFC;
    transition: color 0.2s ease;
}

.wp-block-navigation a:hover {
    color: #F59E0B;
}

/* --- Footer Links --- */
.wp-block-list.is-style-no-bullets a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wp-block-list.is-style-no-bullets a:hover {
    color: #F59E0B;
}

/* --- Checkout & Cart Blocks Dark Mode --- */
.wc-block-checkout,
.wc-block-cart {
    --wc-block-components-border-color: #334155;
}

.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-combobox .components-combobox-control input {
    background: #1E293B !important;
    color: #F8FAFC !important;
    border-color: #334155 !important;
    border-radius: 8px !important;
}

.wc-block-components-text-input label {
    color: #94A3B8 !important;
}

.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button .wp-block-button__link {
    background: #F59E0B !important;
    color: #0F172A !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border-radius: 8px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wc-block-components-order-summary {
    background: #1E293B;
    border-radius: 12px;
    border-color: #334155;
}

/* --- Mini Cart --- */
.wc-block-mini-cart__button {
    color: #F59E0B;
}

/* --- Separator Dark --- */
.wp-block-separator {
    border-color: #334155;
    opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .simtech-hero .wp-block-columns {
        flex-direction: column-reverse;
    }

    .simtech-hero-image {
        text-align: center;
        margin-bottom: 2rem;
    }

    .simtech-hero-image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .simtech-features .wp-block-columns {
        flex-direction: column;
    }

    .simtech-feature-card {
        margin-bottom: 1rem;
    }

    .simtech-products .wp-block-columns {
        flex-direction: column;
    }

    .simtech-product-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .simtech-hero {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .simtech-trust .wp-block-columns {
        flex-direction: column;
    }
}
