:root {
    --primary-color: #4f46e5;
    /* Indigo */
    --secondary-color: #818cf8;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gradient: linear-gradient(135deg, #4f46e5 0%, #818cf8 100%);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    background-color: #f3f4f6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Utilities */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary-subtle {
    background-color: #e0e7ff !important;
    color: var(--primary-color) !important;
}

.shadow-hover {
    transition: all 0.3s ease;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.shadow-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.bg-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color);
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background: white;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle at 10% 20%, rgb(239, 246, 255) 0%, rgb(255, 255, 255) 90%);
    pointer-events: none;
}

.hero-section>.container {
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn-primary {
    background: var(--gradient);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-outline-dark:hover {
    background-color: var(--dark-color);
    color: white;
}

/* Features */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Product Card */
.card-product {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-img-top-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
    /* Aspect Ratio */
}

.card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-product:hover .card-img-top {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: white;
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Animations */
.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(79, 70, 229, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
        text-align: center;
    }
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

/* New Card Styles for Mobile Layout Redesign */
.card-product {
    border-radius: 20px;
    /* Softer rounded corners */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.card-img-top-wrapper {
    padding-top: 120%;
    /* Taller aspect ratio for mobile phone mockups */
    background-color: #f1f5f9;
    /* Light gray background for image area */
}

/* Discount Ribbon */
.card-ribbon {
    position: absolute;
    top: 20px;
    right: -28px;
    background: #ef4444;
    /* Red color */
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-ribbon-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    z-index: 5;
    border-top-right-radius: 20px;
}

/* Custom Gradient Button (formerly Teal) */
.btn-custom-teal {
    background: var(--gradient) !important;
    /* Use gradient */
    color: white;
    border: none;
    font-weight: 500;
    font-size: 0.8rem;
    /* Smaller font */
    padding: 5px 15px;
    /* Smaller padding */
    border-radius: 50px;
    width: 100%;
    transition: all 0.3s;
}

.btn-custom-teal:hover {
    filter: brightness(110%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3);
}

/* Custom Green Button (WhatsApp) */
.btn-custom-green {
    background-color: #198754;
    /* Bootstrap success color */
    color: white;
    border: none;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 50px;
    width: 100%;
    transition: all 0.3s;
}

.btn-custom-green:hover {
    background-color: #157347;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(25, 135, 84, 0.3);
}

/* WhatsApp Floating Button for Card (if needed, but design uses single button) */
.btn-card-wa {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
    position: absolute;
    bottom: 12px;
    right: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 5;
}

.btn-card-wa:hover {
    transform: scale(1.1);
    background-color: #22c55e;
    color: white;
}

/* Price Styling */
.price-tag {
    color: #ef4444;
    /* Red for strikethrough */
    text-decoration: line-through;
    font-size: 0.85rem;
    display: block;
}

.final-price {
    color: #334155;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
}

/* Card Body Density */
.card-body {
    padding: 1.25rem !important;
}

.card-title {
    font-size: 1rem;
    margin-bottom: 0.25rem !important;
    color: #0f766e;
    /* Matching teal text for title */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}