/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Main Colors */
    --primary-color: #2b4b8c; /* Deep blue from the SlimBoost packaging */
    --secondary-color: #e63946; /* Red from the SlimBoost packaging */
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    
    /* Background Colors */
    --bg-light: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-primary-light: #e5ecf6;
    --bg-secondary-light: #fee2e5;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Borders */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: #203a6d;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #d52b39;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== SIMPLE HEADER ===== */
.navbar {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: white;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.buy-button {
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a67b5 100%);
    color: white;
    padding-top: 180px;
    padding-bottom: 80px;
    margin-top: 0;
}

.hero-content .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: white;
    position: relative;
    display: inline-block;
}

.hero-text h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
}

.hero-product {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.product-image {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transform: rotate(15deg);
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: rotate(15deg) scale(1);
    }
    50% {
        transform: rotate(15deg) scale(1.1);
    }
    100% {
        transform: rotate(15deg) scale(1);
    }
}

.shine-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 200%;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        background-position: 200% 200%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        background-position: -200% -200%;
        opacity: 0;
    }
}

/* ===== PRODUCT SECTION ===== */
.product-section {
    background-color: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-xs);
}

.section-header h2:after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0.5rem auto 0;
    border-radius: var(--border-radius-sm);
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.product-showcase {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.product-image-large {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    background-color: rgba(43, 75, 140, 0.05);
    overflow: hidden;
}

.product-img-large {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: transform var(--transition-normal);
}

.product-img-large:hover {
    transform: scale(1.05);
}

.product-description {
    flex: 1;
}

.product-description h3 {
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
}

.product-description .tagline {
    color: var(--secondary-color);
    font-weight: 600;
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.product-features {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.product-features i {
    color: var(--secondary-color);
    margin-right: var(--spacing-xs);
}

.product-cta {
    margin-top: var(--spacing-md);
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    background-color: var(--bg-primary-light);
    padding: var(--spacing-xl) 0;
}

.reviews-slider {
    position: relative;
    overflow: hidden;
    margin-top: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
}

.reviews-track {
    display: flex;
    transition: transform var(--transition-normal);
}

.review-slide {
    min-width: 100%;
    padding: 0 var(--spacing-sm);
}

.review-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    overflow: hidden;
    height: 350px;
}

.review-image {
    flex: 0 0 40%;
    background-color: var(--bg-alt);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
}

.review-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.review-content {
    flex: 1;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

.review-author {
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    margin-bottom: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-md);
}

.prev-btn, .next-btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.slider-dots {
    display: flex;
    margin: 0 var(--spacing-md);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin: 0 5px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-content .container {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .product-showcase {
        flex-direction: column;
    }
    
    .product-image-large {
        margin-bottom: var(--spacing-lg);
    }
    
    .review-card {
        flex-direction: column;
        height: auto;
    }
    
    .review-image {
        height: 200px;
    }
}