:root {
    /* Colors: Electric Indigo */
    --cz-primary: #6366f1;
    --cz-primary-rgb: 99, 102, 241;
    --cz-link-color: #6366f1;
    --cz-link-hover-color: #4f46e5;

    /* Backgrounds */
    --cz-body-bg: #f8fafc;
    --cz-secondary-bg: #ffffff;

    /* Typography */
    --cz-font-sans-serif: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --cz-body-font-family: var(--cz-font-sans-serif);
}

[data-bs-theme="dark"] {
    --cz-body-bg: #0f172a;
    --cz-secondary-bg: #1e293b;
    --cz-border-color: #334155;
}

body {
    background-color: var(--cz-body-bg);
}

/* Utilities */
.text-primary {
    color: var(--cz-primary) !important;
}

.bg-primary {
    background-color: var(--cz-primary) !important;
}

.btn-primary {
    background-color: var(--cz-primary);
    border-color: var(--cz-primary);
}

.btn-primary:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

/* Soft Backgrounds */
/* Soft Backgrounds */
.bg-primary-soft {
    background: rgba(99, 102, 241, 0.1) !important;
    color: #6366f1 !important;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.bg-success-soft {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.bg-danger-soft {
    background: rgba(244, 63, 94, 0.1) !important;
    color: #f43f5e !important;
}

.bg-info-soft {
    background: rgba(6, 182, 212, 0.1) !important;
    color: #06b6d4 !important;
}

/* Glassmorphism utility */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-bs-theme="dark"] .glass-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Product Card V2 */
.product-card-v2 {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--cz-secondary-bg);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

[data-bs-theme="dark"] .product-card-v2 {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card-v2:hover {
    background: var(--cz-secondary-bg);
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Diffuse Shadow on Hover */
.product-card-v2:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at center, var(--cz-primary-rgb) 0%, transparent 70%);
    opacity: 0.1;
}

.product-img-wrapper {
    transition: transform 0.5s ease;
}

.product-card-v2:hover .product-img-wrapper {
    transform: scale(1.05);
}

/* Hover Reveal Button */
.hover-reveal-btn {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    border-radius: 0 0 16px 16px;
}

.product-card-v2:hover .hover-reveal-btn {
    transform: translateY(0);
}

/* Bento Grid Hero */
.bento-card {
    background: var(--cz-secondary-bg);
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

[data-bs-theme="dark"] .bento-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-card:hover {
    transform: translateY(-4px);
}

.bento-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--cz-heading-color) 0%, var(--cz-body-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--cz-primary);
    font-size: 1.25rem;
}

/* Floating Navbar */
.navbar-floating-container {
    position: sticky;
    top: 20px;
    z-index: 1040;
    margin-bottom: 20px;
    margin-top: 10px;
}

.navbar-floating {
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

[data-bs-theme="dark"] .navbar-floating {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Dimension Utilities */
.width-60 {
    width: 60px;
}

.height-60 {
    height: 60px;
}

.rounded-start-pill {
    border-top-left-radius: 50rem !important;
    border-bottom-left-radius: 50rem !important;
}

.rounded-end-pill {
    border-top-right-radius: 50rem !important;
    border-bottom-right-radius: 50rem !important;
}

/* Merged Input Group Focus Fix */
.input-group:focus-within {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    border-radius: 50rem;
    transition: box-shadow 0.2s ease-in-out;
}

.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
    border-color: var(--cz-primary) !important;
    box-shadow: none !important;
}