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

:root {
    --green: #0ea5e9;
    --green-dark: #0284c7;
    --green-light: #e0f2fe;
    --dark: #0b1929;
    --dark-soft: #132f4c;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --gold: #f59e0b;
    --gold-light: #fef3c7;
    --accent: #0ea5e9;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --transition: 0.2s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { line-height: 1.2; }
h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.section-sub { color: var(--gray-500); font-size: 1.1rem; margin-bottom: 2.5rem; }

/* ===== REFERRAL BAR (floating sidebar on desktop, bottom bar on mobile) ===== */
.referral-bar {
    position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 1000;
    background: linear-gradient(180deg, #0b1929, #132f4c);
    color: var(--white);
    font-size: 0.85rem;
    padding: 20px 16px;
    border-radius: 12px;
    border: 1px solid rgba(14,165,233,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    width: auto; max-width: 180px;
}
.referral-bar-inner {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    text-align: center;
}
.copy-btn-small {
    background: #F43F5E; color: white; border: none;
    padding: 8px 18px; border-radius: 6px; font-weight: 600;
    cursor: pointer; font-size: 0.8rem; transition: var(--transition);
    width: 100%;
}
.copy-btn-small:hover { background: #e11d48; }

@media (max-width: 1280px) {
    .referral-bar { right: 8px; max-width: 160px; padding: 16px 12px; font-size: 0.8rem; }
}

@media (max-width: 768px) {
    .referral-bar {
        position: fixed; bottom: 0; left: 0; right: 0; top: auto; transform: none;
        border-radius: 0; max-width: none; padding: 10px 16px;
        border-top: 1px solid rgba(14,165,233,0.3); border-bottom: none;
    }
    .referral-bar-inner { flex-direction: row; justify-content: center; gap: 12px; }
    .copy-btn-small { width: auto; }
}

/* ===== NAV ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    background: rgba(11,25,41,0.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0;
}
.nav-inner {
    max-width: 1120px; margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--white); }
.logo-icon { font-size: 1.5rem; }
.logo-text { font-weight: 700; font-size: 1.1rem; }
.logo-dot { color: var(--green); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
    background: var(--green) !important; color: white !important;
    padding: 8px 18px !important; border-radius: 8px;
    font-weight: 600 !important; transition: var(--transition);
}
.nav-cta:hover { background: var(--green-dark) !important; text-decoration: none !important; }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: white; }
.mobile-menu { display: none; flex-direction: column; padding: 0 24px 16px; gap: 12px; }
.mobile-menu a { color: rgba(255,255,255,0.8); font-weight: 500; padding: 8px 0; }
.mobile-menu { background: var(--dark); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-menu.open { display: flex; }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,20,40,0.65), rgba(0,20,40,0.8));
    z-index: -1;
}
.hero-content { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
    display: inline-block; background: rgba(14,165,233,0.25); color: #7dd3fc;
    font-size: 0.85rem; font-weight: 700; padding: 8px 20px;
    border-radius: 20px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px;
    border: 1px solid rgba(14,165,233,0.5);
}
.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; }
.highlight { color: var(--green); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green); color: white; border: none;
    padding: 14px 28px; border-radius: var(--radius-sm); font-size: 1rem;
    font-weight: 700; cursor: pointer; transition: var(--transition);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-secondary {
    display: inline-flex; align-items: center;
    background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3);
    padding: 12px 28px; border-radius: var(--radius-sm); font-size: 1rem;
    font-weight: 600; text-decoration: none; transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); text-decoration: none; }

.hero-stats { display: flex; justify-content: center; gap: 48px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.75rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }

@media (max-width: 640px) {
    .hero h1 { font-size: 2rem; }
    .hero { padding: 100px 20px 60px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 1.3rem; }
}

/* ===== TIERS ===== */
.tiers { padding: 80px 0; background: var(--white); }
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }

.tier-card {
    background: var(--gray-50); border: 2px solid var(--gray-300);
    border-radius: var(--radius); padding: 32px 24px; text-align: center;
    transition: var(--transition);
}
.tier-card:hover { border-color: var(--green); }
.tier-highlight { background: var(--green-light); border-color: var(--green); }
.tier-amount { font-size: 2.5rem; font-weight: 800; color: var(--green); }
.tier-config { font-size: 0.9rem; color: var(--gray-700); margin-top: 8px; font-weight: 500; }

.tier-note {
    background: var(--gold-light); border-radius: var(--radius-sm);
    padding: 16px 20px; font-size: 0.9rem; color: var(--gray-700);
    margin-bottom: 48px;
}

@media (max-width: 640px) {
    .tiers-grid { grid-template-columns: 1fr; }
}

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
    flex-shrink: 0; width: 40px; height: 40px;
    background: var(--green); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.step-content p { color: var(--gray-700); font-size: 0.95rem; }

/* ===== REVIEWS / PRODUCTS ===== */
.reviews { padding: 80px 0; background: var(--gray-50); }

.filter-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-tab {
    background: var(--white); border: 1px solid var(--gray-300);
    padding: 8px 18px; border-radius: 20px; font-size: 0.85rem;
    font-weight: 500; cursor: pointer; transition: var(--transition);
    color: var(--gray-700);
}
.filter-tab:hover { border-color: var(--green); color: var(--green); }
.filter-tab.active { background: var(--green); color: white; border-color: var(--green); }

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

body { background: var(--white) !important; }

.product-card {
    background: var(--white) !important; border-radius: var(--radius);
    border: 1px solid var(--gray-300) !important; overflow: hidden;
    transition: var(--transition); position: relative;
    text-decoration: none !important; color: inherit; display: flex !important;
    flex-direction: column !important; min-width: 0;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; }

.product-badge {
    position: absolute; top: 12px; right: 12px;
    padding: 4px 12px; border-radius: 6px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px;
    z-index: 1;
}
.badge-reviewed { background: var(--green); color: white; }
.badge-coming { background: var(--gold-light); color: #92400e; }

.product-image {
    background: var(--gray-100) !important; height: 180px;
    display: flex !important; align-items: center; justify-content: center;
    overflow: hidden; width: 100% !important; flex-shrink: 0;
}
.product-image img {
    width: 100%; height: 100%; object-fit: cover;
}
.product-placeholder { font-size: 3.5rem; }

.product-info { padding: 20px; flex: 1; }
.product-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.product-price { font-size: 1.25rem; font-weight: 800; color: var(--green); margin-bottom: 12px; }

.product-scores { display: flex; gap: 16px; margin-bottom: 12px; }
.score { flex: 1; }
.score-label { display: block; font-size: 0.7rem; text-transform: uppercase; color: var(--gray-500); letter-spacing: 0.3px; font-weight: 600; }
.score-stars { color: var(--gold); font-size: 0.85rem; }
.score-num { font-size: 0.8rem; font-weight: 700; color: var(--gray-700); margin-left: 4px; }
.joe-score .score-num { color: var(--green); }

.product-verdict { font-size: 0.85rem; color: var(--gray-500); line-height: 1.4; }

.coming-soon { opacity: 0.75; }
.coming-soon:hover { opacity: 1; }

/* ===== VOTE ===== */
.vote-section {
    background: var(--white); border: 2px solid var(--gray-300);
    border-radius: var(--radius); padding: 40px; text-align: center;
}
.vote-section h3 { font-size: 1.5rem; margin-bottom: 8px; }
.vote-section > p { color: var(--gray-500); margin-bottom: 24px; }
.vote-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.vote-btn {
    background: var(--gray-50); border: 2px solid var(--gray-300);
    padding: 12px 20px; border-radius: var(--radius-sm);
    font-size: 0.9rem; font-weight: 600; cursor: pointer;
    transition: var(--transition); display: flex; align-items: center; gap: 8px;
}
.vote-btn:hover { border-color: var(--green); background: var(--green-light); }
.vote-btn.voted { border-color: var(--green); background: var(--green-light); }
.vote-count { background: var(--gray-300); padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; }
.vote-btn.voted .vote-count { background: var(--green); color: white; }

/* ===== FAQ ===== */
.faq { padding: 80px 0; background: var(--white); }
.faq-grid { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
    overflow: hidden; transition: var(--transition);
}
.faq-item[open] { border-color: var(--green); }
.faq-item summary {
    padding: 18px 24px; font-weight: 600; cursor: pointer;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
    font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--gray-500); font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 18px; color: var(--gray-700); font-size: 0.9rem; }

/* ===== ABOUT ===== */
.about { padding: 80px 0; background: var(--gray-50); }
.about-card {
    background: var(--white); border: 1px solid var(--gray-300);
    border-radius: var(--radius); padding: 48px; max-width: 720px; margin: 0 auto;
    text-align: center;
}
.about-card h2 { margin-bottom: 16px; }
.about-card p { color: var(--gray-700); margin-bottom: 16px; font-size: 0.95rem; }
.about-cta { margin-top: 24px; }

/* ===== FOOTER ===== */
.footer {
    background: #060f1a; color: var(--gray-300);
    padding: 40px 0;
}
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.footer-brand { font-weight: 700; font-size: 1.1rem; color: white; }
.footer-disclaimer { font-size: 0.75rem; color: var(--gray-500); margin-top: 8px; font-weight: 400; max-width: 400px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--gray-300); font-size: 0.9rem; }
.footer-links a:hover { color: var(--green); }

/* ===== TOAST ===== */
.toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: var(--dark); color: white; padding: 14px 28px;
    border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem;
    opacity: 0; transition: all 0.3s ease; z-index: 9999;
    box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ===== UTILITIES ===== */
.hidden { display: none !important; }

/* ===== CONFIGURE SECTION ===== */
.configure { padding: 80px 0; background: var(--white); }
.configure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.configure-card {
    display: block; background: var(--gray-50); border: 2px solid var(--gray-300);
    border-radius: var(--radius); padding: 32px 24px; text-align: center;
    text-decoration: none; color: inherit; transition: var(--transition);
}
.configure-card:hover { border-color: var(--green); box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; }
.configure-card h3 { font-size: 1.5rem; font-weight: 800; color: var(--green); margin-bottom: 8px; }
.configure-card p { color: var(--gray-700); font-size: 0.95rem; }
@media (max-width: 640px) { .configure-grid { grid-template-columns: 1fr; } }

/* ===== COMMUNITY SCORE & LEAVE REVIEW ===== */
.community-score .score-label { color: var(--gray-500); }
.community-score .score-stars { color: var(--gray-500); }
.leave-review-link {
    display: inline-block; margin-top: 8px;
    font-size: 0.8rem; font-weight: 600; color: var(--green);
    transition: var(--transition);
}
.product-card:hover .leave-review-link { text-decoration: underline; }

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 120px 24px 48px;
    background: linear-gradient(135deg, #0b1929 0%, #132f4c 100%);
    color: var(--white); text-align: center;
}
.page-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 8px; }
.page-header .section-sub { color: rgba(255,255,255,0.6); }

/* ===== GEAR REVIEW CTA ===== */
.gear-review-cta { padding: 0; background: var(--white); }
.gear-review-cta-inner {
    max-width: 1120px; margin: 0 auto; padding: 32px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; border-bottom: 1px solid var(--gray-300);
}
.gear-review-cta-text h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.gear-review-cta-text p { color: var(--gray-500); font-size: 0.95rem; }
@media (max-width: 640px) {
    .gear-review-cta-inner { flex-direction: column; text-align: center; }
}

/* ===== SECTION CTA ===== */
.section-cta { text-align: center; margin-top: 16px; }

/* ===== SAVING FOR ===== */
.saving-for { padding: 80px 0; background: var(--white); }
.saving-for-card {
    display: flex; gap: 40px; align-items: center;
    background: linear-gradient(135deg, #0b1929 0%, #132f4c 100%);
    border-radius: var(--radius); overflow: hidden;
    color: var(--white);
}
.saving-for-image {
    flex: 0 0 400px; height: 360px; overflow: hidden;
}
.saving-for-image img { width: 100%; height: 100%; object-fit: cover; }
.saving-for-info { padding: 40px 40px 40px 0; flex: 1; }
.saving-for-label {
    display: inline-block; background: rgba(14,165,233,0.25); color: #7dd3fc;
    font-size: 0.75rem; font-weight: 700; padding: 4px 14px;
    border-radius: 12px; text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 12px; border: 1px solid rgba(14,165,233,0.4);
}
.saving-for-info h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; }
.saving-for-price { font-size: 1.5rem; font-weight: 800; color: var(--green); margin-bottom: 16px; }
.saving-for-desc { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.6; margin-bottom: 24px; }
.saving-for-progress { margin-bottom: 16px; }
.progress-bar {
    width: 100%; height: 8px; background: rgba(255,255,255,0.15);
    border-radius: 4px; overflow: hidden; margin-bottom: 8px;
}
.progress-fill {
    height: 100%; background: linear-gradient(90deg, var(--green), #38bdf8);
    border-radius: 4px; transition: width 1s ease;
}
.progress-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.3px; }
.saving-for-help { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
@media (max-width: 768px) {
    .saving-for-card { flex-direction: column; }
    .saving-for-image { flex: none; width: 100%; height: 240px; }
    .saving-for-info { padding: 32px; }
}

/* ===== REDESIGNED FOOTER ===== */
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col {}
.footer-brand-col {}
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-tagline { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; max-width: 300px; }
.footer-heading {
    font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-list a { color: var(--gray-300); font-size: 0.9rem; transition: var(--transition); }
.footer-list a:hover { color: var(--green); text-decoration: none; }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.social-link {
    color: var(--gray-500); transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.05);
}
.social-link:hover { color: var(--green); background: rgba(14,165,233,0.15); }
.footer-bottom {
    padding-top: 24px; text-align: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--gray-500); line-height: 1.6; }
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== JSON-LD & SEO (rendered in HTML) ===== */
