/* Shared CSS for all Cure Sites */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --success: #16a34a;
    --warning: #ca8a04;
    --danger: #dc2626;
    --purple: #9333ea;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--dark);
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 48px; width: auto; }
.logo-text { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }

.nav { display: flex; align-items: center; gap: 16px; }
.nav a { text-decoration: none; color: var(--gray-600); font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--site-color, var(--primary)); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: var(--radius);
    font-weight: 600; font-size: 14px; text-decoration: none;
    transition: all 0.2s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--site-color, var(--primary)); color: var(--white); }
.btn-primary:hover { filter: brightness(0.9); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--gray-200); color: var(--gray-800); }
.btn-secondary:hover { background: var(--gray-300); }
.btn-outline { background: transparent; border: 2px solid var(--site-color, var(--primary)); color: var(--site-color, var(--primary)); }
.btn-outline:hover { background: var(--site-color, var(--primary)); color: var(--white); }

/* Reseller Badge */
.reseller-badge {
    background: linear-gradient(135deg, var(--success), #15803d);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--site-color, var(--primary)) 0%, var(--site-color-dark, var(--primary-dark)) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; }
.hero p { font-size: 20px; opacity: 0.9; max-width: 600px; margin: 0 auto 24px; }

/* Products Grid */
.products-section { padding: 60px 0; }
.products-section h2 { font-size: 32px; text-align: center; margin-bottom: 40px; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.product-image {
    width: 100%;
    height: 200px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; }

.product-info { padding: 20px; }
.product-info h3 { font-size: 18px; margin-bottom: 8px; }
.product-info p { color: var(--gray-600); font-size: 14px; margin-bottom: 12px; }

.product-price { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.regular-price { font-size: 14px; color: var(--gray-600); text-decoration: line-through; }
.current-price { font-size: 22px; font-weight: 700; color: var(--site-color, var(--primary)); }
.reseller-price { font-size: 22px; font-weight: 700; color: var(--success); }
.reseller-tag { background: var(--success); color: white; padding: 2px 8px; border-radius: 4px; font-size: 11px; }

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 48px 0 24px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h4 { font-size: 20px; margin-bottom: 12px; color: var(--site-color, var(--primary)); }
.footer-brand p { color: var(--gray-300); }
.site-footer h5 { margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--gray-300); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--gray-800); padding-top: 24px; text-align: center; color: var(--gray-600); }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .header-content { flex-direction: column; gap: 16px; }
    .nav { flex-wrap: wrap; justify-content: center; }
}
