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

:root {
    --primary: #0B6E4F;
    --primary-dark: #084C37;
    --primary-light: #E8F5E9;
    --accent: #FF6B35;
    --accent-hover: #E85A25;
    --dark: #0A1F1A;
    --text: #1A2E28;
    --text-light: #5A6F69;
    --gray-bg: #F5F8F7;
    --gray-border: #E0E8E5;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select { font-family: inherit; }
img { max-width: 100%; height: auto; }

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: all 0.3s ease; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #E85A25); color: var(--white); box-shadow: 0 2px 8px rgba(255,107,53,0.2); }
.btn-primary:hover { background: linear-gradient(135deg, #E85A25, #D04E1A); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-header { background: var(--accent); color: var(--white); padding: 10px 24px; font-size: 14px; }
.btn-header:hover { background: var(--accent-hover); }
.btn-full { width: 100%; justify-content: center; padding: 16px 28px; font-size: 16px; }
.btn-cta { background: var(--white); color: var(--primary); padding: 16px 40px; font-size: 17px; font-weight: 700; border-radius: var(--radius-md); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
.btn-sm { background: var(--accent); color: var(--white); padding: 8px 20px; font-size: 13px; border-radius: var(--radius-sm); font-weight: 600; }
.btn-sm:hover { background: var(--accent-hover); }
.btn-offer { background: var(--accent); color: var(--white); padding: 12px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; width: 100%; justify-content: center; }
.btn-offer:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ========== HEADER ========== */
.header { position: fixed; top: 0; left: 0; right: 0; height: 72px; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-border); z-index: 1000; }
.header.scrolled { box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; height: 100%; gap: 32px; }
.logo { display: flex; align-items: center; gap: 4px; font-size: 24px; font-weight: 800; flex-shrink: 0; }
.logo-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 32px; }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text { color: var(--primary); }
.footer .logo-icon svg .v-stroke { stroke: #81C784; }
.footer .logo-icon svg .v-fill { fill: #81C784; }

/* Navigation — Desktop only */
.nav { display: flex; align-items: center; margin-left: auto; margin-right: 16px; }
.nav-group { display: flex; align-items: center; gap: 8px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-light); border-radius: var(--radius-sm); transition: all 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }
.nav-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 8px; z-index: 100; margin-top: 4px; border: 1px solid var(--gray-border); }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 16px; font-size: 14px; color: var(--text); border-radius: var(--radius-sm); transition: all 0.15s; }
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }

/* Hamburger — hidden on desktop */
.hamburger { display: none; padding: 10px; margin-left: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hamburger svg { display: block; }

/* Mobile Menu — separate element, hidden on desktop */
.mobile-menu { display: none; }
.menu-overlay { display: none; }

/* ========== BREADCRUMB ========== */
.breadcrumb { padding: 88px 0 0; font-size: 13px; color: var(--text-light); }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-border); }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .current { color: var(--text-light); }

/* ========== HERO ========== */
.hero { padding: 120px 0 80px; background: linear-gradient(160deg, #E8F5E9 0%, #F1F8E9 25%, #FFFDE7 60%, #FFF8E1 100%); position: relative; overflow: hidden; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.hero-grid { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content h1 { font-size: 44px; font-weight: 800; line-height: 1.15; color: var(--dark); margin-bottom: 20px; letter-spacing: -0.5px; }
.text-accent { color: var(--primary); }
.text-accent-bold { color: var(--accent); font-weight: 700; }
.hero-subtitle { font-size: 17px; color: var(--text-light); margin-bottom: 28px; line-height: 1.7; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid rgba(11,110,79,0.1); }
.hero-stats { display: flex; gap: 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; border: 1px solid var(--gray-border); }
.stat { display: flex; flex-direction: column; align-items: center; padding: 20px 28px; flex: 1; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 1px; background: var(--gray-border); }
.stat-number { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--text-light); font-weight: 500; text-align: center; }

/* Page Hero (inner pages) */
.page-hero { padding: 104px 0 56px; background: linear-gradient(160deg, #E8F5E9 0%, #F1F8E9 40%, #FFFDE7 80%, #FFF8E1 100%); position: relative; overflow: hidden; }

.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to bottom, transparent, var(--white)); pointer-events: none; }
.page-hero-sm { padding: 24px 0 48px; background: linear-gradient(160deg, #E8F5E9 0%, #F1F8E9 60%, #FFFDE7 100%); position: relative; overflow: hidden; }
.page-hero-sm::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(to bottom, transparent, var(--white)); pointer-events: none; }
.breadcrumb + .page-hero { padding-top: 32px; }
.breadcrumb + .page-hero-sm { padding-top: 24px; }
.page-hero h1 { font-size: 36px; font-weight: 800; line-height: 1.2; color: var(--dark); margin-bottom: 16px; letter-spacing: -0.3px; position: relative; z-index: 1; }
.page-hero-desc { font-size: 17px; color: var(--text-light); line-height: 1.7; max-width: 750px; }
.update-badge { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--primary), #2E7D32); color: var(--white); padding: 5px 16px; border-radius: 100px; font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.page-hero-stats { display: flex; gap: 24px; margin-top: 20px; }
.mini-stat { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-light); }
.mini-stat strong { color: var(--primary); font-size: 18px; }

/* ========== CALCULATOR CARD ========== */
.calculator-card { background: var(--white); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-xl); border: 1px solid rgba(11,110,79,0.08); position: relative; overflow: hidden; }
.calculator-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.calc-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--dark); padding-bottom: 16px; border-bottom: 2px solid var(--gray-bg); }
.calc-promo { background: linear-gradient(135deg, var(--accent), #E85A25); color: var(--white); text-align: center; padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.calc-summary-total { background: var(--white); border-radius: var(--radius-sm); padding: 10px 12px !important; margin: 4px -8px; font-size: 16px !important; font-weight: 700; }
.calc-field { margin-bottom: 24px; }
.calc-label { display: flex; justify-content: space-between; margin-bottom: 10px; }
.calc-label span:first-child { font-size: 14px; font-weight: 500; color: var(--text-light); }
.calc-value { font-size: 16px; font-weight: 700; color: var(--primary); }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: var(--gray-border); outline: none; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); cursor: pointer; border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(11,110,79,0.3); transition: transform 0.2s; }
.slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); cursor: pointer; border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(11,110,79,0.3); }
.calc-range { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--text-light); }
.calc-summary { background: var(--gray-bg); border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 20px; }
.calc-summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.calc-summary-row span:first-child { color: var(--text-light); }
.calc-note { text-align: center; font-size: 12px; color: var(--text-light); margin-top: 12px; }

/* ========== TRUST BAR ========== */
.trust-bar { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 22px 0; position: relative; overflow: hidden; }
.trust-bar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.trust-items { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; position: relative; z-index: 1; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.95); font-size: 14px; font-weight: 500; }

/* ========== SECTIONS ========== */
.section { padding: 80px 0; }
.section-gray { background: var(--gray-bg); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 34px; font-weight: 800; color: var(--dark); margin-bottom: 12px; letter-spacing: -0.3px; }
.section-header h2::after { content: ''; display: block; width: 48px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; margin: 16px auto 0; }
.section-header p { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-badge { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 4px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.section-cta { text-align: center; margin-top: 32px; }

/* ========== OFFER CARDS (Shared across all pages) ========== */
.offers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 28px; }
.offer-card-v2 { background: var(--white); border: 2px solid var(--gray-border); border-radius: var(--radius-xl); overflow: hidden; transition: all 0.3s; position: relative; display: flex; flex-direction: column; }
.offer-card-v2:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.offer-card-v2.is-recommended { border-color: var(--primary); box-shadow: 0 4px 20px rgba(11,110,79,0.12); }
.offer-card-v2.is-recommended::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.oc-rec-badge { position: absolute; top: 12px; right: 12px; background: linear-gradient(135deg, var(--primary), #2E7D32); color: var(--white); padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; z-index: 1; }
.oc-top { display: flex; align-items: center; gap: 14px; padding: 20px 20px 0; }
.oc-logo { width: 160px; height: 52px; border-radius: var(--radius-sm); object-fit: contain; border: 1px solid var(--gray-border); padding: 4px 8px; background: var(--white); flex-shrink: 0; }
.oc-info { flex: 1; min-width: 0; }
.oc-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.oc-usp { font-size: 13px; font-weight: 600; color: var(--accent); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 16px 0 0; border-top: 1px solid var(--gray-border); }
.oc-stat { padding: 12px 16px; border-bottom: 1px solid var(--gray-border); border-right: 1px solid var(--gray-border); display: flex; flex-direction: column; gap: 2px; }
.oc-stat:nth-child(2n) { border-right: none; }
.oc-stat:nth-last-child(-n+2) { border-bottom: none; }
.oc-stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-light); font-weight: 600; }
.oc-stat-value { font-size: 14px; font-weight: 700; color: var(--dark); }
.oc-stat-value.is-highlight { color: var(--primary); font-size: 15px; }
.oc-stat-value.is-accent { color: var(--accent); }
.oc-bottom { padding: 16px 20px; margin-top: auto; display: flex; align-items: center; gap: 12px; }
.oc-age { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.oc-bottom .btn { flex: 1; justify-content: center; padding: 12px 20px; font-size: 14px; }
.stars { color: #FFAB00; letter-spacing: 1px; }

/* Legacy table support */
.product-table-wrapper { overflow-x: auto; margin-bottom: 24px; }
.table-footer { text-align: center; }
.table-disclaimer { font-size: 12px; color: var(--text-light); margin-top: 12px; }

/* Offer inline in articles (enhanced) */
.offer-inline-card { display: flex; align-items: center; gap: 16px; background: var(--white); border: 2px solid var(--gray-border); border-radius: var(--radius-lg); padding: 16px 20px; margin: 20px 0; transition: all 0.3s; }
.offer-inline-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.offer-inline-card.is-top { background: linear-gradient(135deg, #F1FFF6, #E8F5E9); border-color: var(--primary); }
.offer-inline-logo { width: 150px; height: 50px; border-radius: var(--radius-sm); object-fit: contain; border: 1px solid var(--gray-border); padding: 4px 8px; background: var(--white); flex-shrink: 0; }
.offer-inline-info { flex: 1; min-width: 0; }
.offer-inline-info strong { display: block; font-size: 15px; color: var(--dark); margin-bottom: 2px; }
.offer-inline-info span { font-size: 13px; color: var(--text-light); }
.offer-inline-card .btn { flex-shrink: 0; }

/* ========== STEPS ========== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { text-align: center; padding: 40px 28px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); position: relative; transition: transform 0.3s, box-shadow 0.3s; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-number { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; background: linear-gradient(135deg, var(--accent), #E85A25); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; box-shadow: 0 4px 12px rgba(255,107,53,0.3); }
.step-icon { color: var(--primary); margin-bottom: 20px; }
.step-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.step-card p { font-size: 15px; color: var(--text-light); line-height: 1.6; }

/* ========== CATEGORIES GRID ========== */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.category-card { display: flex; flex-direction: column; padding: 32px 24px; background: var(--white); border: 2px solid var(--gray-border); border-radius: var(--radius-lg); transition: all 0.3s; position: relative; overflow: hidden; }
.category-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.category-card:hover::after { transform: scaleX(1); }
.category-icon { width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cat-icon-1 { background: #E8F5E9; color: #2E7D32; }
.cat-icon-2 { background: #E3F2FD; color: #1565C0; }
.cat-icon-3 { background: #FFF3E0; color: #E65100; }
.cat-icon-4 { background: #F3E5F5; color: #7B1FA2; }
.category-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.category-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.category-link { font-size: 14px; font-weight: 600; color: var(--primary); }

/* ========== BENEFITS ========== */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card { padding: 32px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon { width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.benefit-icon-1 { background: #E8F5E9; color: #2E7D32; }
.benefit-icon-2 { background: #E3F2FD; color: #1565C0; }
.benefit-icon-3 { background: #F3E5F5; color: #7B1FA2; }
.benefit-icon-4 { background: #FFF3E0; color: #E65100; }
.benefit-icon-5 { background: #E0F2F1; color: #00695C; }
.benefit-icon-6 { background: #FCE4EC; color: #C62828; }
.benefit-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.benefit-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ========== TESTIMONIALS ========== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.testimonial-stars { color: #FFAB00; font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 14px; color: var(--dark); }
.testimonial-author span { font-size: 12px; color: var(--text-light); }

/* ========== ARTICLES GRID ========== */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { display: flex; flex-direction: column; padding: 28px; background: var(--white); border: 2px solid var(--gray-border); border-radius: var(--radius-lg); transition: all 0.3s; position: relative; overflow: hidden; }
.article-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: var(--primary); transition: height 0.3s; border-radius: 0 0 2px 0; }
.article-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card:hover::before { height: 100%; }
.article-tag { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; margin-bottom: 12px; width: fit-content; }
.tag-warning { background: #FFF3E0; color: #E65100; }
.tag-tool { background: #E3F2FD; color: #1565C0; }
.article-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.article-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.article-meta { font-size: 12px; color: var(--text-light); }

/* ========== PRODUCT DETAIL CARDS (Comparison page) ========== */
.product-detail-card { background: var(--white); border: 2px solid var(--gray-border); border-radius: var(--radius-xl); padding: 0; margin-bottom: 28px; transition: all 0.3s; position: relative; overflow: hidden; }
.product-detail-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.recommended-card { border-color: var(--primary); box-shadow: 0 4px 20px rgba(11,110,79,0.12); }
.recommended-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), #2E7D32); }
.pdc-badge { position: absolute; top: 16px; right: 20px; background: linear-gradient(135deg, var(--primary), #2E7D32); color: var(--white); padding: 5px 16px; border-radius: 100px; font-size: 12px; font-weight: 700; z-index: 1; }
.pdc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0; padding: 24px 28px 20px; border-bottom: 1px solid var(--gray-border); }
.pdc-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.pdc-logo { width: 170px; height: 56px; border-radius: var(--radius-sm); object-fit: contain; border: 1px solid var(--gray-border); padding: 4px 10px; background: var(--white); }
.pdc-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pdc-rating { font-size: 14px; color: var(--text-light); }
.pdc-rating .stars { margin-right: 4px; }
.pdc-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; margin-bottom: 0; background: var(--gray-bg); }
.pdc-detail { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; text-align: center; border-right: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); }
.pdc-detail:nth-child(3n) { border-right: none; }
.pdc-detail:nth-last-child(-n+3) { border-bottom: none; }
.pdc-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.pdc-value { font-size: 15px; font-weight: 700; color: var(--dark); }
.pdc-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.pdc-pros, .pdc-cons { padding: 20px 24px; }
.pdc-pros { background: #F6FFF8; border-right: 1px solid var(--gray-border); }
.pdc-cons { background: #FFFAF6; }
.pdc-pros h4 { color: #2E7D32; font-size: 14px; margin-bottom: 8px; }
.pdc-cons h4 { color: #C62828; font-size: 14px; margin-bottom: 8px; }
.pdc-pros ul, .pdc-cons ul { list-style: none; }
.pdc-pros li, .pdc-cons li { font-size: 14px; color: var(--text-light); padding: 3px 0 3px 20px; position: relative; }
.pdc-pros li::before { content: '✓'; position: absolute; left: 0; color: #2E7D32; font-weight: 700; }
.pdc-cons li::before { content: '✗'; position: absolute; left: 0; color: #C62828; font-weight: 700; }

/* ========== FILTER BAR ========== */
.filter-section { padding: 24px 0; background: var(--white); border-bottom: 1px solid var(--gray-border); position: sticky; top: 72px; z-index: 50; }
.filter-bar { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group label { font-size: 13px; font-weight: 600; color: var(--text-light); white-space: nowrap; }
.filter-group select { padding: 8px 12px; border: 2px solid var(--gray-border); border-radius: var(--radius-sm); font-size: 13px; background: var(--white); color: var(--text); }

/* ========== CONTENT BLOCK (Enhanced Blog/Article) ========== */
.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 { font-size: 26px; font-weight: 800; color: var(--dark); margin: 48px 0 16px; padding-bottom: 14px; border-bottom: none; position: relative; letter-spacing: -0.2px; }
.content-block h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; }
.content-block h2:first-child { margin-top: 0; }
.content-block h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin: 32px 0 12px; padding-left: 16px; border-left: 4px solid var(--primary); background: linear-gradient(90deg, var(--primary-light), transparent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding-top: 8px; padding-bottom: 8px; }
.content-block p { font-size: 16px; color: var(--text); line-height: 1.85; margin-bottom: 18px; }
.content-block ul, .content-block ol { margin: 16px 0 24px 0; padding-left: 0; list-style: none; }
.content-block ul li, .content-block ol li { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 12px; padding: 10px 16px 10px 44px; position: relative; background: var(--gray-bg); border-radius: var(--radius-sm); }
.content-block ul li::before { content: ''; position: absolute; left: 16px; top: 16px; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.content-block ol { counter-reset: step-counter; }
.content-block ol li { counter-increment: step-counter; }
.content-block ol li::before { content: counter(step-counter); position: absolute; left: 12px; top: 8px; width: 24px; height: 24px; background: var(--primary); color: var(--white); border-radius: 50%; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.content-block a { color: var(--primary); text-decoration: none; font-weight: 500; border-bottom: 2px solid var(--primary-light); transition: all 0.2s; }
.content-block a:hover { border-bottom-color: var(--primary); }
.content-block a.btn { color: var(--white); border-bottom: none; }
.content-block a.btn:hover { color: var(--white); }
.content-block .btn { color: var(--white); border-bottom: none; }
.content-block .offer-inline-card a.btn { color: var(--white); }

/* Info Boxes / Callouts */
.content-disclaimer { background: linear-gradient(135deg, #FFF8E1, #FFFDE7); border-left: 4px solid #FFB300; padding: 20px 24px; border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: 14px; color: var(--text); margin-top: 32px; box-shadow: var(--shadow-sm); }
.info-box { padding: 20px 24px; border-radius: var(--radius-md); margin: 24px 0; font-size: 15px; line-height: 1.7; box-shadow: var(--shadow-sm); }
.info-box-tip { background: linear-gradient(135deg, #E8F5E9, #F1F8E9); border-left: 4px solid var(--primary); }
.info-box-warning { background: linear-gradient(135deg, #FFF3E0, #FFF8E1); border-left: 4px solid #FF9800; }
.info-box-info { background: linear-gradient(135deg, #E3F2FD, #E8EAF6); border-left: 4px solid #1565C0; }
.info-box-danger { background: linear-gradient(135deg, #FFEBEE, #FCE4EC); border-left: 4px solid #C62828; }
.info-box strong { display: block; margin-bottom: 6px; }

/* Highlight / Answer Box */
.answer-box { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); padding: 24px 28px; border-radius: var(--radius-lg); margin: 24px 0; box-shadow: var(--shadow-md); }
.answer-box strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; margin-bottom: 8px; }
.answer-box p { color: rgba(255,255,255,0.95); font-size: 17px; line-height: 1.7; margin: 0; }

/* Quick Stats Row */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 28px 0; }
.stat-box { background: var(--white); border: 2px solid var(--gray-border); border-radius: var(--radius-md); padding: 20px; text-align: center; transition: all 0.3s; }
.stat-box:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.stat-box .stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stat-box .stat-desc { font-size: 13px; color: var(--text-light); }

/* Comparison Mini Table (in articles) */
.content-block table { width: 100%; border-collapse: collapse; margin: 24px 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.content-block table caption { text-align: left; font-size: 14px; font-weight: 700; color: var(--dark); padding: 12px 16px; background: var(--primary-light); }
.content-block table th { background: var(--gray-bg); padding: 14px 16px; text-align: left; font-size: 13px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.3px; border-bottom: 2px solid var(--gray-border); }
.content-block table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--gray-border); vertical-align: middle; }
.content-block table tbody tr:nth-child(even) { background: #FAFCFB; }
.content-block table tbody tr:hover { background: var(--primary-light); }
.content-block table tbody tr:last-child td { border-bottom: none; }

/* Article Layout (blog) */
.article-hero { padding: 28px 0 36px; background: linear-gradient(160deg, #E8F5E9 0%, #F1F8E9 50%, #FFFDE7 100%); position: relative; }
.article-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(to bottom, transparent, var(--white)); pointer-events: none; }
.article-hero .container { max-width: 800px; position: relative; z-index: 1; }
.article-hero .article-tag { margin-bottom: 16px; }
.article-hero h1 { font-size: 34px; font-weight: 800; line-height: 1.2; color: var(--dark); margin-bottom: 20px; letter-spacing: -0.3px; }
.article-author-bar { display: flex; align-items: center; gap: 16px; padding: 16px 0; flex-wrap: wrap; }
.article-author-bar .author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.article-author-info { display: flex; flex-direction: column; }
.article-author-info strong { font-size: 14px; color: var(--dark); }
.article-author-info span { font-size: 12px; color: var(--text-light); }
.article-reading-time { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-light); background: var(--white); padding: 6px 14px; border-radius: 100px; box-shadow: var(--shadow-sm); }

/* Table of Contents */
.toc-box { background: var(--white); border: 2px solid var(--gray-border); border-radius: var(--radius-lg); padding: 24px 28px; margin: 0 0 40px; }
.toc-box h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.toc-box ol { counter-reset: toc; list-style: none; padding: 0; margin: 0; }
.toc-box ol li { counter-increment: toc; margin-bottom: 0; padding: 0; background: none; }
.toc-box ol li::before { display: none; }
.toc-box ol li a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 14px; color: var(--text); border-radius: var(--radius-sm); transition: all 0.2s; text-decoration: none; border-bottom: none; font-weight: 500; }
.toc-box ol li a:hover { background: var(--primary-light); color: var(--primary); }
.toc-box ol li a::before { content: counter(toc); width: 24px; height: 24px; background: var(--gray-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--text-light); flex-shrink: 0; }

/* Offer CTA Card (in articles) */
.offer-inline-card { display: flex; align-items: center; gap: 20px; background: linear-gradient(135deg, #F1FFF6, #E8F5E9); border: 2px solid var(--primary); border-radius: var(--radius-lg); padding: 20px 24px; margin: 28px 0; }
.offer-inline-logo { width: 150px; height: 50px; border-radius: var(--radius-sm); object-fit: contain; border: 1px solid var(--gray-border); padding: 4px 8px; background: var(--white); flex-shrink: 0; }
.offer-inline-info { flex: 1; }
.offer-inline-info strong { display: block; font-size: 16px; color: var(--dark); margin-bottom: 2px; }
.offer-inline-info span { font-size: 13px; color: var(--text-light); }
.offer-inline-card .btn { flex-shrink: 0; }

/* Reading Progress Bar */
.reading-progress { position: fixed; top: 72px; left: 0; width: 0%; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); z-index: 999; transition: width 0.1s; }

/* Tag styles enhanced */
.article-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; width: fit-content; }
.article-tag:not(.tag-warning):not(.tag-tool):not(.tag-compare) { background: var(--primary-light); color: var(--primary); }
.tag-warning { background: #FFF3E0; color: #E65100; }
.tag-tool { background: #E3F2FD; color: #1565C0; }
.tag-compare { background: #F3E5F5; color: #7B1FA2; }

/* Share buttons */
.share-bar { display: flex; align-items: center; gap: 12px; padding: 20px 0; margin-top: 40px; border-top: 2px solid var(--gray-border); }
.share-bar span { font-size: 14px; font-weight: 600; color: var(--text-light); }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.share-btn-fb { background: #1877F2; color: #fff; }
.share-btn-zalo { background: #0068FF; color: #fff; }
.share-btn-copy { background: var(--gray-bg); color: var(--text-light); border: 2px solid var(--gray-border); }
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ========== FAQ ========== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; background: var(--white); border: 2px solid var(--gray-border); border-radius: var(--radius-md); overflow: hidden; transition: all 0.3s; }
.faq-item:hover { border-color: var(--primary-light); }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 24px; font-size: 16px; font-weight: 600; color: var(--dark); text-align: left; transition: color 0.2s; }
.faq-question:hover { color: var(--primary); }
.faq-question svg { flex-shrink: 0; transition: transform 0.3s; color: var(--text-light); }
.faq-item.active .faq-question { color: var(--primary); }
.faq-item.active .faq-question svg { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { font-size: 15px; color: var(--text-light); line-height: 1.7; padding: 0 24px 20px; }
.faq-answer a { color: var(--primary); text-decoration: underline; }

/* ========== CTA SECTION ========== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, #0A5940 40%, var(--primary-dark) 100%); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }

.cta-section h2 { font-size: 34px; font-weight: 800; color: var(--white); margin-bottom: 12px; position: relative; z-index: 1; letter-spacing: -0.3px; }
.cta-section h2::after { display: none; }
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 32px; position: relative; z-index: 1; }
.cta-section .btn { position: relative; z-index: 1; }

/* ========== TOOL PAGE ========== */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tool-input-panel { background: var(--white); border: 2px solid var(--gray-border); border-radius: var(--radius-xl); padding: 32px; position: relative; overflow: hidden; }
.tool-input-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.tool-input-panel h2 { font-size: 20px; font-weight: 700; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--gray-bg); }
.tool-result-panel { position: sticky; top: 112px; }
.tool-result-panel h2 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.tool-field { margin-bottom: 20px; }
.tool-field label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.tool-input { width: 100%; padding: 12px 16px; border: 2px solid var(--gray-border); border-radius: var(--radius-sm); font-size: 16px; color: var(--text); transition: border-color 0.2s; }
.tool-input:focus { outline: none; border-color: var(--primary); }
.tool-select { padding: 12px 16px; border: 2px solid var(--gray-border); border-radius: var(--radius-sm); font-size: 14px; background: var(--white); min-width: 120px; }
.tool-row { display: flex; gap: 12px; }
.tool-row .tool-input { flex: 1; }
.tool-radio-group { display: flex; flex-direction: column; gap: 10px; }
.tool-radio { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); cursor: pointer; }
.tool-radio input { accent-color: var(--primary); width: 18px; height: 18px; }

/* Result cards */
.result-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.result-card { background: var(--gray-bg); border-radius: var(--radius-md); padding: 16px 20px; }
.result-card.result-highlight { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); grid-column: 1 / -1; position: relative; overflow: hidden; }

.result-card.result-highlight .result-label { color: rgba(255,255,255,0.8); }
.result-card.result-highlight .result-value { color: var(--white); font-size: 28px; }
.result-label { display: block; font-size: 12px; color: var(--text-light); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.3px; }
.result-value { display: block; font-size: 20px; font-weight: 700; color: var(--dark); }
.result-cta { background: var(--primary-light); border-radius: var(--radius-md); padding: 20px; text-align: center; margin-top: 20px; }
.result-cta p { font-size: 14px; color: var(--text); margin-bottom: 12px; }

/* Schedule table */
.schedule-wrapper { margin-top: 24px; }
.schedule-wrapper h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.schedule-table-wrap { overflow-x: auto; }
.schedule-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.schedule-table th { background: var(--gray-bg); padding: 10px 12px; text-align: right; font-weight: 600; color: var(--text-light); border-bottom: 2px solid var(--gray-border); }
.schedule-table th:first-child { text-align: center; }
.schedule-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--gray-border); }
.schedule-table td:first-child { text-align: center; font-weight: 600; }
.schedule-table tbody tr:hover { background: var(--primary-light); }

/* ========== FOOTER ========== */
.footer { background: linear-gradient(180deg, #0D2318 0%, var(--dark) 100%); padding: 64px 0 32px; color: rgba(255,255,255,0.7); position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all 0.2s; }
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-links h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer-links a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); padding: 5px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; margin-bottom: 8px; }
.footer-disclaimer { font-size: 12px !important; color: rgba(255,255,255,0.4); max-width: 800px; margin: 0 auto; line-height: 1.6; }

/* ========== MODALS ========== */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 2000; justify-content: center; align-items: center; padding: 24px; }
.modal-overlay.active { display: flex; }
.modal { background: var(--white); border-radius: var(--radius-xl); padding: 40px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: modalIn 0.3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--gray-bg); font-size: 20px; display: flex; align-items: center; justify-content: center; color: var(--text-light); transition: all 0.2s; }
.modal-close:hover { background: var(--gray-border); color: var(--text); }
.modal-header { text-align: center; margin-bottom: 28px; }
.modal-header h2 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.modal-header p { font-size: 15px; color: var(--text-light); }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select { width: 100%; padding: 12px 16px; border: 2px solid var(--gray-border); border-radius: var(--radius-sm); font-size: 15px; color: var(--text); transition: border-color 0.2s; background: var(--white); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.form-group input::placeholder { color: #B0BEC5; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 24px; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.form-checkbox label { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.form-checkbox a { color: var(--primary); text-decoration: underline; }

/* Loading */
.modal-loading { max-width: 420px; text-align: center; }
.loading-content { padding: 20px 0; }
.loading-spinner { position: relative; width: 100px; height: 100px; margin: 0 auto 28px; }
.spinner { width: 100px; height: 100px; border-radius: 50%; border: 4px solid var(--gray-border); border-top-color: var(--primary); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-count { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 32px; font-weight: 800; color: var(--primary); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.1); } }
.loading-content h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 28px; }
.loading-steps { display: flex; flex-direction: column; gap: 16px; text-align: left; padding: 0 20px; }
.loading-step { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-light); transition: all 0.3s; }
.loading-step.active { color: var(--primary); font-weight: 600; }
.loading-step.done { color: var(--primary); }
.step-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--gray-border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.loading-step.active .step-dot { border-color: var(--primary); background: var(--primary-light); }
.loading-step.done .step-dot { border-color: var(--primary); background: var(--primary); }
.loading-step.done .step-dot::after { content: '✓'; color: var(--white); font-size: 12px; font-weight: 700; }

/* Offers Modal */
.modal-offers { max-width: 640px; max-height: 85vh; padding: 32px; }
.offers-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); color: var(--primary); padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.offers-list { display: flex; flex-direction: column; gap: 16px; }
.offer-card { border: 2px solid var(--gray-border); border-radius: var(--radius-xl); overflow: hidden; transition: all 0.3s; animation: offerIn 0.4s ease backwards; position: relative; }
.offer-card:nth-child(1) { animation-delay: 0.1s; }
.offer-card:nth-child(2) { animation-delay: 0.2s; }
.offer-card:nth-child(3) { animation-delay: 0.3s; }
.offer-card:nth-child(4) { animation-delay: 0.4s; }
@keyframes offerIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.offer-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.offer-card.recommended { border-color: var(--primary); }
.offer-card.recommended::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.offer-card-inner { padding: 20px; }
.offer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.offer-brand { display: flex; align-items: center; gap: 12px; }
.offer-logo { width: 150px; height: 50px; border-radius: var(--radius-sm); object-fit: contain; border: 1px solid var(--gray-border); padding: 3px 8px; background: var(--white); }
.offer-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.offer-usp { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.offer-badge-match { background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.offer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--gray-bg); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 16px; }
.offer-detail { text-align: center; padding: 12px 10px; border-right: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); }
.offer-detail:nth-child(2n) { border-right: none; }
.offer-detail:nth-last-child(-n+2) { border-bottom: none; }
.offer-detail-label { display: block; font-size: 10px; color: var(--text-light); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.offer-detail-value { display: block; font-size: 13px; font-weight: 700; color: var(--dark); }

/* ========== RESPONSIVE ========== */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-content h1 { font-size: 34px; }
    .calculator-card { max-width: 500px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .tool-grid { grid-template-columns: 1fr; }
    .tool-result-panel { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* --- Mobile (768px) --- */
@media (max-width: 768px) {
    .container { padding: 0 16px; }

    /* Header */
    .header { height: 60px; }
    .header .container { gap: 8px; }
    .logo { font-size: 20px; gap: 3px; }
    .logo-icon { width: 26px; height: 22px; }
    .btn-header { display: none; }

    /* Hide desktop nav, show hamburger */
    .nav { display: none !important; }
    .hamburger { display: block; }

    /* Mobile menu panel */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0; right: -300px;
        width: 280px; height: 100%;
        background: var(--white);
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        padding: 0;
    }
    .mobile-menu.open { right: 0; }

    .mm-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--gray-border); }
    .mm-close { width: 36px; height: 36px; border-radius: 50%; background: var(--gray-bg); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-light); cursor: pointer; border: none; }
    .mm-links { padding: 8px 0; }
    .mm-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--gray-border); cursor: pointer; }
    .mm-link:hover, .mm-link:active { background: var(--primary-light); color: var(--primary); }
    .mm-link svg { color: var(--text-light); transition: transform 0.3s; flex-shrink: 0; }
    .mm-sub { display: none; background: var(--gray-bg); }
    .mm-group.open .mm-sub { display: block; }
    .mm-sub a { display: block; padding: 12px 20px 12px 36px; font-size: 14px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--gray-border); }
    .mm-sub a:last-child { border-bottom: none; }
    .mm-sub a:hover { color: var(--primary); background: var(--primary-light); }
    .mm-group.open .mm-link svg { transform: rotate(180deg); }
    .mm-cta { padding: 16px 20px; }
    .mm-cta .btn { width: 100%; justify-content: center; }

    /* Overlay */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .menu-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    /* Breadcrumb */
    .breadcrumb { padding: 72px 0 0; }
    .breadcrumb .container { padding-top: 10px; padding-bottom: 10px; font-size: 12px; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }

    /* Hero */
    .hero { padding: 80px 0 48px; }
    .hero::before, .hero::after { display: none; }
    .hero-content h1 { font-size: 26px; letter-spacing: -0.3px; }
    .hero-subtitle { font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
    .hero-badges { gap: 8px; margin-bottom: 24px; }
    .badge { padding: 6px 12px; font-size: 12px; }
    .hero-stats { border-radius: var(--radius-md); }
    .stat { padding: 14px 12px; }
    .stat-number { font-size: 20px; }
    .stat-label { font-size: 12px; }

    /* Calculator */
    .calculator-card { padding: 20px; max-width: 100%; }
    .calculator-card::before { height: 3px; }
    .calc-title { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; }
    .calc-promo { font-size: 12px; padding: 6px 12px; margin-bottom: 16px; }
    .calc-field { margin-bottom: 20px; }
    .calc-value { font-size: 15px; }
    .calc-summary { padding: 12px 16px; }
    .calc-summary-row { font-size: 13px; padding: 5px 0; }
    .calc-summary-total { font-size: 14px !important; padding: 8px 10px !important; }
    .slider::-webkit-slider-thumb { width: 28px; height: 28px; }
    .slider { height: 10px; }

    /* Page Hero */
    .page-hero { padding: 76px 0 40px; }
    .page-hero::before { display: none; }
    .breadcrumb + .page-hero { padding-top: 24px; }
    .breadcrumb + .page-hero-sm { padding-top: 20px; }
    .page-hero h1 { font-size: 22px; }
    .page-hero-desc { font-size: 14px; line-height: 1.6; }
    .update-badge { font-size: 11px; padding: 4px 12px; }
    .page-hero-stats { flex-direction: column; gap: 6px; margin-top: 16px; }
    .mini-stat { font-size: 13px; }
    .mini-stat strong { font-size: 16px; }

    /* Sections */
    .section { padding: 48px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 22px; }
    .section-header h2::after { width: 36px; height: 3px; margin-top: 12px; }
    .section-header p { font-size: 14px; }

    /* Trust Bar */
    .trust-bar { padding: 16px 0; }
    .trust-items { flex-direction: column; align-items: center; gap: 10px; }
    .trust-item { font-size: 13px; gap: 8px; }
    .trust-item svg { width: 20px; height: 20px; }

    /* Offer Cards v2 */
    .offers-grid { grid-template-columns: 1fr; gap: 16px; }
    .oc-top { padding: 14px 14px 0; gap: 10px; }
    .oc-logo { width: 120px; height: 42px; padding: 4px 8px; }
    .oc-usp { font-size: 11px; line-height: 1.3; }
    .oc-rec-badge { top: 8px; right: 8px; font-size: 9px; padding: 3px 8px; }
    .oc-stats { grid-template-columns: 1fr 1fr; }
    .oc-stat { padding: 8px 10px; }
    .oc-stat-label { font-size: 8px; letter-spacing: 0.3px; }
    .oc-stat-value { font-size: 12px; word-break: break-word; line-height: 1.3; }
    .oc-stat-value.is-highlight { font-size: 12px; }
    .oc-bottom { padding: 10px 14px; flex-direction: column; gap: 8px; }
    .oc-bottom .btn { padding: 10px 16px; font-size: 13px; width: 100%; justify-content: center; }
    .oc-age { font-size: 10px; text-align: center; }

    /* Product Detail Cards */
    .product-detail-card { margin-bottom: 20px; border-radius: var(--radius-lg); }
    .pdc-badge { top: 12px; right: 12px; font-size: 11px; padding: 3px 12px; }
    .pdc-header { padding: 20px 16px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .pdc-brand-logo { gap: 10px; }
    .pdc-logo { width: 130px; height: 44px; padding: 4px 8px; }
    .pdc-name { font-size: 20px; }
    .pdc-rating { font-size: 12px; }
    .pdc-details { grid-template-columns: repeat(2, 1fr); }
    .pdc-detail { padding: 12px 14px; }
    .pdc-detail:nth-child(3n) { border-right: 1px solid var(--gray-border); }
    .pdc-detail:nth-child(2n) { border-right: none; }
    .pdc-detail:nth-last-child(-n+3) { border-bottom: 1px solid var(--gray-border); }
    .pdc-detail:nth-last-child(-n+2) { border-bottom: none; }
    .pdc-label { font-size: 10px; }
    .pdc-value { font-size: 14px; }
    .pdc-pros-cons { grid-template-columns: 1fr; }
    .pdc-pros { border-right: none; border-bottom: 1px solid var(--gray-border); }
    .pdc-pros, .pdc-cons { padding: 16px; }
    .pdc-pros li, .pdc-cons li { font-size: 13px; }
    .pdc-cta .btn { width: 100%; justify-content: center; }

    /* Steps */
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .step-card { padding: 32px 20px; }
    .step-card h3 { font-size: 18px; }
    .step-card p { font-size: 14px; }

    /* Categories */
    .categories-grid { grid-template-columns: 1fr; gap: 12px; }
    .category-card { padding: 20px; flex-direction: row; align-items: center; gap: 16px; }
    .category-icon { width: 48px; height: 48px; margin-bottom: 0; flex-shrink: 0; }
    .category-card h3 { font-size: 16px; margin-bottom: 4px; }
    .category-card p { font-size: 13px; margin-bottom: 4px; display: none; }
    .category-link { font-size: 13px; }

    /* Benefits */
    .benefits-grid { grid-template-columns: 1fr; gap: 12px; }
    .benefit-card { padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
    .benefit-icon { width: 48px; height: 48px; margin-bottom: 0; flex-shrink: 0; }
    .benefit-card h4 { font-size: 16px; margin-bottom: 4px; }
    .benefit-card p { font-size: 13px; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .testimonial-card { padding: 20px; }
    .testimonial-card p { font-size: 14px; }

    /* Articles Grid */
    .articles-grid { grid-template-columns: 1fr; gap: 12px; }
    .article-card { padding: 20px; }
    .article-card h3 { font-size: 15px; }
    .article-card p { font-size: 13px; margin-bottom: 8px; }

    /* Article Hero (Blog) */
    .article-hero h1 { font-size: 24px; }
    .article-author-bar { gap: 10px; flex-wrap: wrap; }
    .article-author-bar .author-avatar { width: 36px; height: 36px; font-size: 13px; }
    .article-author-info strong { font-size: 13px; }
    .article-author-info span { font-size: 11px; }
    .article-reading-time { margin-left: 0; font-size: 12px; padding: 5px 12px; }

    /* Content Block (Blog) */
    .content-block { padding: 0; }
    .content-block h2 { font-size: 20px; margin: 32px 0 12px; padding-bottom: 10px; }
    .content-block h2::after { width: 32px; }
    .content-block h3 { font-size: 17px; margin: 24px 0 10px; padding: 6px 12px; }
    .content-block p { font-size: 14px; line-height: 1.75; margin-bottom: 14px; }
    .content-block ul li, .content-block ol li { font-size: 14px; padding: 8px 12px 8px 36px; margin-bottom: 8px; }
    .content-block ul li::before { left: 12px; top: 14px; width: 6px; height: 6px; }
    .content-block ol li::before { left: 8px; top: 6px; width: 22px; height: 22px; font-size: 11px; }
    .content-block table { font-size: 13px; }
    .content-block table th, .content-block table td { padding: 10px 12px; }
    .content-disclaimer { padding: 14px 16px; font-size: 13px; margin-top: 24px; }

    /* Info / Answer boxes */
    .info-box { padding: 14px 16px; font-size: 14px; margin: 16px 0; }
    .answer-box { padding: 18px 20px; margin: 16px 0; }
    .answer-box p { font-size: 15px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
    .stat-box { padding: 14px 10px; }
    .stat-box .stat-num { font-size: 22px; }
    .stat-box .stat-desc { font-size: 12px; }

    /* TOC */
    .toc-box { padding: 16px 20px; margin-bottom: 24px; }
    .toc-box h4 { font-size: 14px; }
    .toc-box ol li a { padding: 6px 10px; font-size: 13px; }

    /* Offer inline */
    .offer-inline-card { flex-direction: column; text-align: center; gap: 12px; padding: 16px; }
    .offer-inline-logo { width: 120px; height: 42px; }
    .offer-inline-info strong { font-size: 14px; }
    .offer-inline-info span { font-size: 12px; }
    .offer-inline-card .btn { width: 100%; justify-content: center; }

    /* Share bar */
    .share-bar { padding: 16px 0; margin-top: 24px; }

    /* Filter bar */
    .filter-section { padding: 16px 0; top: 60px; }
    .filter-bar { flex-direction: column; gap: 10px; }
    .filter-group { width: 100%; }
    .filter-group select { flex: 1; width: 100%; padding: 10px 12px; }

    /* Tools */
    .tool-input-panel { padding: 20px; border-radius: var(--radius-lg); }
    .tool-input-panel h2 { font-size: 18px; margin-bottom: 20px; }
    .tool-field label { font-size: 13px; }
    .tool-input { font-size: 15px; padding: 11px 14px; }
    .tool-select { padding: 11px 14px; font-size: 13px; min-width: 100px; }
    .tool-row { flex-direction: column; gap: 8px; }
    .tool-radio { font-size: 13px; }
    .tool-result-panel h2 { font-size: 18px; }
    .result-cards { grid-template-columns: 1fr; gap: 10px; }
    .result-card { padding: 14px 16px; }
    .result-card.result-highlight .result-value { font-size: 24px; }
    .result-value { font-size: 18px; }
    .result-cta { padding: 16px; }
    .schedule-table { font-size: 12px; }
    .schedule-table th, .schedule-table td { padding: 8px 6px; }

    /* CTA */
    .cta-section { padding: 48px 0; }
    .cta-section h2 { font-size: 22px; }
    .cta-section h2::after { display: none; }
    .cta-section p { font-size: 14px; margin-bottom: 24px; }
    .btn-cta { padding: 14px 32px; font-size: 15px; width: 100%; justify-content: center; }

    /* Footer */
    .footer { padding: 40px 0 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
    .footer-brand p { font-size: 13px; }
    .footer-links h4 { font-size: 14px; margin-bottom: 12px; }
    .footer-links a { font-size: 13px; padding: 4px 0; }
    .footer-bottom p { font-size: 12px; }
    .footer-disclaimer { font-size: 11px !important; }

    /* Modals */
    .modal-overlay { padding: 12px; }
    .modal { padding: 24px 16px; border-radius: var(--radius-lg); max-height: 95vh; }
    .modal-close { top: 12px; right: 12px; width: 32px; height: 32px; }
    .modal-header h2 { font-size: 20px; }
    .modal-header p { font-size: 13px; }
    .modal-offers { padding: 20px 16px; }
    .modal-loading { max-width: 100%; }
    .loading-spinner { width: 80px; height: 80px; margin-bottom: 20px; }
    .spinner { width: 80px; height: 80px; }
    .loading-count { font-size: 26px; }
    .loading-content h3 { font-size: 16px; margin-bottom: 20px; }
    .loading-steps { padding: 0 8px; }
    .loading-step { font-size: 13px; gap: 10px; }

    /* Offer modal cards */
    .offer-card { border-radius: var(--radius-lg); }
    .modal-offers { padding: 16px; max-height: 90vh; }
    .offer-card-inner { padding: 14px; }
    .offer-header { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 6px; }
    .offer-brand { gap: 8px; }
    .offer-logo { width: 120px; height: 42px; padding: 3px 8px; }
    .offer-usp { font-size: 11px; margin-bottom: 8px; line-height: 1.3; }
    .offer-badge-match { font-size: 10px; padding: 3px 8px; }
    .offer-details { grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 10px; }
    .offer-detail { padding: 8px 6px; text-align: center; }
    .offer-detail:nth-child(2n) { border-left: none; }
    .offer-detail-label { font-size: 8px; letter-spacing: 0.3px; }
    .offer-detail-value { font-size: 11px; word-break: break-word; line-height: 1.3; }
    .btn-offer { padding: 10px 16px; font-size: 13px; }
    .offer-details { grid-template-columns: repeat(2, 1fr); }
    .offer-detail { padding: 8px; text-align: left; border-right: none; border-bottom: 1px solid var(--gray-border); }
    .offer-detail:nth-child(2n) { border-left: 1px solid var(--gray-border); }
    .offer-detail:nth-last-child(-n+2) { border-bottom: none; }
    .offer-detail-label { font-size: 9px; }
    .offer-detail-value { font-size: 12px; }
    .btn-offer { padding: 10px 20px; font-size: 13px; }

    /* Forms */
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-group input, .form-group select { font-size: 14px; padding: 11px 14px; }
    .form-group label { font-size: 12px; }
}

/* --- Small Mobile (480px) --- */
@media (max-width: 480px) {
    .hero-content h1 { font-size: 22px; }
    .hero-badges { flex-wrap: wrap; gap: 6px; }
    .badge { width: fit-content; }
    .hero-stats { flex-direction: row; }
    .stat { padding: 12px 8px; }
    .stat-number { font-size: 18px; }
    .stat-label { font-size: 10px; }
    .section { padding: 40px 0; }
    .section-header h2 { font-size: 20px; }
    .page-hero h1 { font-size: 20px; }
    .article-hero h1 { font-size: 20px; }
    .content-block h2 { font-size: 18px; }
    .content-block h3 { font-size: 16px; }
    .oc-stats { grid-template-columns: 1fr 1fr; }
    .pdc-details { grid-template-columns: 1fr; }
    .pdc-detail { border-right: none !important; border-bottom: 1px solid var(--gray-border); text-align: left; flex-direction: row; justify-content: space-between; align-items: center; }
    .pdc-detail:last-child { border-bottom: none; }
    .benefit-card { flex-direction: column; }
    .benefit-icon { margin-bottom: 12px; }
    .category-card p { display: block; }
    .category-card { flex-direction: column; }
    .category-icon { margin-bottom: 12px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .offer-details { grid-template-columns: 1fr 1fr; }
    .offer-detail { border-left: none !important; display: flex; justify-content: space-between; }
}

/* Safety: ensure all orange buttons always have white text */
a.btn-primary, button.btn-primary, a.btn-sm, button.btn-sm, a.btn-offer, button.btn-offer, a.btn-header, button.btn-header { color: #FFFFFF !important; border-bottom: none !important; }
