@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --primary: #0B3D91;
    --secondary: #E5533B;
    --bg-color: #ffffff;
    --text-color: #171717;
    --anthracite: #2c2c2c;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fixed CTA Bar */
.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary);
    color: #ffffff;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-banner a {
    color: #ffffff;
    text-decoration: underline;
    margin-left: 10px;
    transition: var(--transition);
}

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

/* Header & Navigation */
header {
    margin-top: 50px;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 48px;
    z-index: 999;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Typography */
h1, h2, h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; border-left: 4px solid var(--secondary); padding-left: 15px; }

/* Bento Grid Layout */
.bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-item {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.item-large { grid-column: span 2; grid-row: span 2; background: #f0f4f8; }
.item-tall { grid-row: span 2; }
.item-wide { grid-column: span 2; }

/* Product Cards & Glassmorphism */
.product-card {
    background: var(--glass-bg);
    border: 1px solid rgba(11, 61, 145, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
}

/* Buttons & CTAs */
.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--secondary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 10px 0;
}

.cta-button:hover {
    background-color: #d1442e;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(229, 83, 59, 0.3);
}

.cta-button.secondary {
    background-color: var(--primary);
}

.cta-button.secondary:hover {
    background-color: #082d6b;
}

/* Affiliation Link Highlight */
.affiliate-link {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.affiliate-link:hover {
    border-bottom: 2px solid var(--secondary);
}

/* Reviews & Testimonials */
.review-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #eef2f7;
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Blog Section */
.blog-preview {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
}

.blog-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: var(--anthracite);
    color: #ffffff;
    padding: 60px 5% 30px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bento-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bento-container {
        grid-template-columns: 1fr;
    }
    .item-large, .item-wide, .item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    h1 { font-size: 1.8rem; }
    header { flex-direction: column; gap: 15px; }
}

/* Utility */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-accent {
    color: var(--secondary);
}