*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    /* Dark Theme (Default) */
    --bg-dark: #020b18;
    --glass-bg: rgba(2, 11, 24, 0.7);

    --text-primary: #ffffff;
    --text-gold: #d4af37;
    --footer-text: #cfd6e0;

    /* FIXED: missing variables */
    --accent-gold: #d4af37;
    --text-white: #ffffff;
    --border-muted: #b8860b;
    --text-btn: #fff;
}

[data-theme="light"] {
    /* Light Theme */
    --bg-dark: #f0f4f8;
    --glass-bg: rgba(255, 255, 255, 0.7);

    --text-primary: #002d5b;
    --text-gold: #b8860b;
    --footer-text: #002d5b;

    /* keep consistent */
    --accent-gold: #b8860b;
    --text-white: #002d5b;
    --border-muted: #b8860b;
    --text-btn: #fff;
}

/* =========================
   PRODUCTS SECTION
========================= */
.products-section {
    padding: 140px 20px 80px; /* top padding for fixed navbar */
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-subtitle {
    max-width: 700px;
    margin: 15px auto 50px;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
}

.download-wrapper {
    text-align: center;
    margin: 20px 0 40px;
}

.download-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    background: #f5c542;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.download-btn:hover {
    background: #e0b233;
    transform: translateY(-2px);
}

.gold { color: var(--text-gold); }

/* Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Card */
.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* Image */
.product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* Content */
.product-content {
    padding: 25px 22px 30px;
    text-align: left;
}

.product-content h3 {
    font-size: 1.25rem;
    color: var(--text-gold);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button */
.product-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    background: var(--text-gold);
    color: #020b18;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
}

.product-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212,175,55,0.45);
}

/* Hover Effect */
.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--text-gold);
}
.product-disclaimer {
    margin-top: 4rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3); /* Subtle gold line */
    text-align: center;
}

.product-disclaimer p {
    font-size: 0.95rem;
    color: var(--text-primary); /* Light grayish text to not distract too much */
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.product-disclaimer strong {
    color: var(--accent-gold); /* Uses your existing gold variable */
    text-transform: uppercase;
    letter-spacing: 1px;
}