/* Balan Sulin Theme - Wellness Blood Sugar (warm_botanical) */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,500&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-body: #fffaf5;
    --bg-card: #ffffff;
    --bg-card-sub: #fff3eb;
    --primary: #ea580c;
    --primary-hover: #c2410c;
    --accent: #f97316;
    --border: #fed7aa;
    --card-border-top: 4px solid #ea580c;
    --text-main: #27272a;
    --text-muted: #52525b;
    --font-head: 'Lora', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-card: 16px;
    --radius-btn: 999px;
    --shadow-card: 0 8px 30px rgba(234, 88, 12, 0.08);
    --accent-bg: rgba(234, 88, 12, 0.08);
    --btn-grad: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    --btn-text: #ffffff;
    --notice-bg: linear-gradient(90deg, #c2410c, #ea580c);
    --header-bg: rgba(255, 250, 245, 0.96);
    --footer-bg: #27272a;
    --text-footer: #fffaf5;
    --text-footer-dim: #a1a1aa;
    --badge-bg: rgba(234, 88, 12, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Notice Bar */
.top-notice-bar {
    background: var(--notice-bg);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    text-align: center;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.top-notice-bar span.badge-pill {
    background: rgba(255, 255, 255, 0.22);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
}

/* Site Header */
.site-header {
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.brand-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--btn-grad);
    color: var(--btn-text);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--btn-text);
}

.btn-secondary {
    background: var(--accent-bg);
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--btn-text);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* Language & Cart Nav Controls */
.lang-selector {
    background: var(--bg-card-sub);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 7px 10px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.cart-nav-btn {
    position: relative;
    background: var(--accent-bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 7px 14px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.cart-nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-badge {
    background: var(--primary);
    color: var(--btn-text);
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 800;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--badge-bg);
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title span.highlight {
    color: var(--primary);
    background: linear-gradient(120deg, transparent 0%, transparent 60%, var(--accent-bg) 60%, var(--accent-bg) 100%);
}

.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Hero Dashboard Card */
.hero-dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: var(--card-border-top);
    border-radius: var(--radius-card);
    padding: 28px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.dash-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.dash-status {
    font-size: 11px;
    font-weight: 700;
    background: var(--accent-bg);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.dash-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.dash-metric-box {
    background: var(--bg-card-sub);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.dash-metric-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.dash-metric-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-head);
}

.dash-footer {
    background: var(--bg-card-sub);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.dash-footer-badge {
    font-weight: 700;
    color: var(--primary);
}

/* Interactive Range Slider Section */
.interactive-calc-section {
    padding: 60px 0;
    background: var(--bg-card-sub);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header-center {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px;
}

.section-badge {
    display: inline-block;
    background: var(--badge-bg);
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.calc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 36px;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.slider-group {
    margin-bottom: 24px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.slider-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.slider-val-display {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    background: var(--accent-bg);
    padding: 2px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.range-input {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-card-sub);
    outline: none;
    -webkit-appearance: none;
    border: 1px solid var(--border);
    cursor: pointer;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border: 2px solid #ffffff;
}

.calc-result-box {
    background: var(--bg-card-sub);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.result-gauge-number {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 8px;
}

.result-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Metabolic Quiz Wizard Card (Step-by-Step) */
.quiz-wizard-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: var(--card-border-top);
    border-radius: var(--radius-card);
    padding: 36px;
    box-shadow: var(--shadow-card);
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.quiz-progress-wrap {
    margin-bottom: 28px;
}

.quiz-step-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.quiz-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-card-sub);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.quiz-progress-fill {
    height: 100%;
    background: var(--btn-grad);
    transition: width 0.35s ease;
    border-radius: 999px;
}

.quiz-q-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.4;
}

.quiz-options-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quiz-option-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card-sub);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.quiz-option-btn:hover {
    border-color: var(--primary);
    background: var(--accent-bg);
    transform: translateX(4px);
}

.quiz-option-btn.selected {
    border-color: var(--primary);
    background: var(--accent-bg);
}

.opt-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
}

.quiz-option-btn:hover .opt-indicator,
.quiz-option-btn.selected .opt-indicator {
    background: var(--primary);
    color: var(--btn-text);
    border-color: var(--primary);
}

.opt-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.45;
}

.quiz-result-box {
    text-align: center;
    padding: 20px 0;
}

/* Formula Section */
.formula-section {
    padding: 70px 0;
}

.formula-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.formula-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-top: var(--card-border-top);
}

.formula-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.formula-dose {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    background: var(--accent-bg);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.formula-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.formula-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Persona / Ambassador Section */
.persona-section {
    padding: 70px 0;
    background: var(--bg-card-sub);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.persona-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.persona-img-wrap {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.persona-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.persona-content {
    padding: 10px 0;
}

.persona-quote {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--primary);
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 18px;
    border-left: 3px solid var(--primary);
}

.persona-story {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.persona-bio {
    display: flex;
    align-items: center;
    gap: 16px;
}

.persona-name {
    font-size: 18px;
    font-weight: 800;
}

.persona-role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

/* Certifications Section */
.cert-section {
    padding: 70px 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px;
    text-align: center;
    border-top: var(--card-border-top);
}

.cert-badge-pill {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    background: var(--accent-bg);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
}

.cert-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cert-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Articles Section */
.articles-section {
    padding: 70px 0;
    background: var(--bg-card-sub);
    border-top: 1px solid var(--border);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease;
}

.article-card:hover {
    transform: translateY(-4px);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.article-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.article-summary {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 18px;
}

/* FAQ Accordion */
.faq-section {
    padding: 70px 0;
}

.faq-list {
    max-width: 800px;
    margin: 36px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
}

.faq-item.open .faq-question::after {
    content: '−';
}

.faq-answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

.faq-item.open .faq-answer {
    display: block;
}

/* Order Page & Product Packs Grid */
.order-section {
    padding: 60px 0 80px;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.pack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 30px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: var(--card-border-top);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pack-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-card);
}

.pack-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--btn-text);
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pack-img-wrap {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pack-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.pack-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.pack-duration {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 16px;
}

.pack-pricing {
    margin-bottom: 20px;
}

.pack-price-old {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 8px;
}

.pack-price-cur {
    font-family: var(--font-head);
    font-size: 38px;
    font-weight: 900;
    color: var(--text-main);
}

.pack-unit-price {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.pack-perks {
    list-style: none;
    margin: 20px 0 26px;
    padding: 0;
    text-align: left;
    font-size: 13px;
    color: var(--text-muted);
}

.pack-perks li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pack-perks li svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Multi-Item Shopping Cart Modal */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cart-modal-overlay.active {
    display: flex;
}

.cart-modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.cart-modal-title {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.cart-close-btn:hover {
    color: var(--text-main);
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-thumb {
    width: 60px;
    height: 60px;
    background: var(--bg-card-sub);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
}

.cart-item-qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card-sub);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px 6px;
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 20px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-val {
    font-size: 13px;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

.cart-item-remove-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}

.cart-empty-state {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
}

.cart-summary {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.cart-summary-total {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.cart-checkout-form {
    margin-top: 24px;
    display: none;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.cart-checkout-form.active {
    display: block;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card-sub);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
}

.order-badge-safe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 14px;
}

/* Legal Modal */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.legal-modal-overlay.active {
    display: flex;
}

.legal-modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.legal-modal-title {
    font-size: 22px;
    font-weight: 800;
}

.legal-modal-content {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-modal-content h3 {
    font-size: 16px;
    color: var(--text-main);
    margin: 18px 0 8px;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: var(--text-footer);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-desc {
    font-size: 13px;
    color: var(--text-footer-dim);
    line-height: 1.6;
    margin: 14px 0 20px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-footer-dim);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-disclaimer-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    font-size: 11px;
    color: var(--text-footer-dim);
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: var(--text-footer-dim);
}

/* Single Article Rich Content & Callouts */
.article-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 24px;
    transition: transform 0.2s ease;
}

.article-back-link:hover {
    transform: translateX(-4px);
}

.article-meta-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--badge-bg);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.article-main-title {
    font-size: clamp(26px, 4vw, 36px);
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 18px;
}

.article-author-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.article-lead {
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 36px;
    padding: 16px 20px;
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.article-section-title {
    font-size: 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.35;
}

.article-p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.article-callout {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-card);
    padding: 24px 28px;
    margin: 28px 0;
    box-shadow: var(--shadow-card);
}

.article-callout-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.article-callout p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-main);
    margin: 0;
    font-weight: 500;
}

.article-bullets {
    list-style: none;
    padding: 0;
    margin: 20px 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

.article-bullets li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.article-cta-box {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius-card);
    padding: 36px;
    text-align: center;
    margin-top: 50px;
    box-shadow: var(--shadow-card);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .calc-card, .persona-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .cert-grid, .articles-grid, .packs-grid {
        grid-template-columns: 1fr;
    }
    .main-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 32px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        width: 100%;
    }
    .dash-metrics-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
