/* ============================================================
   ELESSE CREAM - SHARED STYLESHEET v2.0
   Premium design system for blog, pages & components
   ============================================================ */

/* ============ CSS VARIABLES ============ */
:root {
    --primary: #3B7DC9;
    --primary-deep: #1E3A5F;
    --primary-mid: #5A9ADE;
    --primary-light: #89BDE8;
    --primary-pale: #EDF4FB;
    --accent: #C9876B;
    --accent-dark: #8E5D42;
    --accent-light: #DDA68E;
    --accent-pale: #FDF3EF;
    --rose: #B5545C;
    --rose-dark: #A84F57;
    --rose-light: #E8A0A6;
    --rose-pale: #FDF0F1;
    --gold: #C9A84C;
    --gold-dark: #A68A3A;
    --gold-light: #E0CC7A;
    --gold-pale: #FDF9EC;
    --green: #4DB892;
    --green-dark: #369B78;
    --green-pale: #E6F6EF;
    --gradient-cta: linear-gradient(135deg, #9A6345, #8E5D42);
    --gradient-warm: linear-gradient(135deg, #DDA68E, #C9876B);
    --gradient-brand: linear-gradient(135deg, #3B7DC9, #C9876B);
    --gradient-hero: linear-gradient(160deg, #f7f9fc 0%, #edf4fb 40%, #fdf3ef 100%);
    --gradient-subtle: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
    --white: #fff;
    --off-white: #F9FBFC;
    --gray-50: #F2F6F9;
    --gray-100: #E4EAF0;
    --gray-200: #CDD6E0;
    --gray-300: #A3B1BF;
    --text: #2B3A4E;
    --text-mid: #556270;
    --text-light: #7E8D9E;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(43,58,78,.06);
    --shadow-md: 0 4px 16px rgba(43,58,78,.08);
    --shadow-lg: 0 12px 40px rgba(43,58,78,.12);
    --shadow-xl: 0 20px 60px rgba(43,58,78,.15);
    --shadow-glow: 0 0 30px rgba(142,93,66,.3);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.25;
    color: var(--primary-deep);
}
h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.85rem; font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
input, button, textarea { font-family: inherit; border: none; outline: none; }

/* ============ UTILITY ============ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; position: relative; overflow: hidden; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }

.section-tag {
    display: inline-block;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 16px;
    margin-bottom: 12px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-cta);
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all .3s ease;
    border: none;
    animation: pulse-cta 2.5s infinite;
    text-transform: uppercase;
    letter-spacing: .03em;
    text-decoration: none;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-cta:visited, .btn-cta:active, .btn-cta:link { color: #ffffff !important; text-decoration: none; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--accent-dark);
    font-family: 'Outfit', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: 2px solid var(--accent-light);
    cursor: pointer;
    transition: all .3s ease;
}
.btn-secondary:hover { background: var(--accent-pale); transform: translateY(-2px); }

/* ============ ANIMATIONS ============ */
@keyframes pulse-cta {
    0%, 100% { box-shadow: 0 0 0 0 rgba(142,93,66,.4); }
    50% { box-shadow: 0 0 0 12px rgba(142,93,66,0); }
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: all .7s cubic-bezier(.22,.61,.36,1);
}
.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(0.9); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ============ PROMO BAR ============ */
.promo-bar {
    background: var(--gradient-cta);
    color: var(--white);
    text-align: center;
    padding: 10px 16px;
    font-size: .88rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}
.promo-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    animation: shimmer 3s infinite;
}
.promo-bar span { position: relative; z-index: 1; }
.promo-bar strong { font-weight: 800; }

/* ============ HEADER ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-100);
    padding: 12px 0;
    transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-deep);
    display: flex;
    align-items: center;
}
.logo em { font-style: italic; color: var(--accent); }
.logo img { height: 30px; width: auto; margin-right: 8px; flex-shrink: 0; }
.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}
.nav-links a {
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color .2s;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.header .btn-cta {
    padding: 10px 24px;
    font-size: .82rem;
    animation: none;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-deep);
    border-radius: 2px;
    transition: all .3s;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #ffffff;
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 24px 40px;
    overflow-y: auto;
}
.mobile-menu.active { display: flex; }
.mobile-menu .mobile-close { align-self: flex-end; margin-bottom: 12px; }
.mobile-menu-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-deep);
    margin-bottom: 28px;
    text-decoration: none;
    border-bottom: none !important;
    padding: 0 !important;
    width: auto !important;
}
.mobile-menu-logo img { height: 56px; width: auto; }
.mobile-menu-logo em { font-style: italic; color: var(--accent); }
.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-deep);
    padding: 14px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn-cta { margin-top: 20px; width: 100%; border-bottom: none !important; }
.mobile-close {
    position: static;
    width: 44px;
    height: 44px;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-deep);
    background: var(--gray-50);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--primary-deep);
    color: rgba(255,255,255,.7);
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-brand .logo img { height: 36px; width: auto; filter: none; }
.footer-brand p { font-size: .85rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
    color: var(--white);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 10px;
    transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    text-align: center;
    font-size: .78rem;
    padding-top: 24px;
    margin-top: 32px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ============ BREADCRUMB ============ */
.breadcrumb {
    padding: 16px 0 12px;
    font-size: .82rem;
    color: var(--text-light);
}
.breadcrumb a { color: var(--text-mid); transition: color .2s; font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ===========================================================
   BLOG / ARTICLE — PREMIUM DESIGN
   =========================================================== */

/* --- Page Hero (Blog listing + article headers) --- */
.page-hero {
    background: var(--gradient-hero);
    padding: 52px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}
.page-hero h1 {
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.page-hero p {
    color: var(--text-mid);
    font-size: 1.08rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

/* --- Article Section Override --- */
.section:has(.article-layout) {
    padding-top: 0;
}

/* --- Article Layout --- */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    padding: 0 0 16px;
    align-items: start;
}

/* --- Article Meta --- */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    font-size: .82rem;
    line-height: 26px;
    color: var(--text-mid);
}
.article-meta .meta-tag,
.article-meta .blog-card-tag {
    background: var(--accent-dark);
    color: #fff !important;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .03em;
    padding: 0 12px;
    height: 26px;
    line-height: 26px;
    border-radius: var(--radius-full);
    display: inline-block;
}
.article-meta .meta-divider { color: var(--gray-200); }

/* --- Article Content — Typography --- */
.article-content {
    max-width: 100%;
    min-width: 0;
}
.article-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.article-content .article-intro {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 24px;
}
.article-content h2 {
    text-align: left;
    font-size: 1.5rem;
    margin: 48px 0 18px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-100);
    position: relative;
}
.article-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 8px; }
.article-content h3 {
    font-size: 1.12rem;
    margin: 28px 0 10px;
    color: var(--primary-deep);
}
.article-content p {
    color: var(--text-mid);
    margin-bottom: 18px;
    line-height: 1.85;
    font-size: .96rem;
}
.article-content ul, .article-content ol {
    margin: 8px 0 24px 0;
    padding-left: 0;
    color: var(--text-mid);
    line-height: 1.85;
}
.article-content ul { list-style: none; }
.article-content ol { list-style: none; counter-reset: ol-counter; }
.article-content ul li,
.article-content ol li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    font-size: .95rem;
}
.article-content ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-cta);
}
.article-content ol li { counter-increment: ol-counter; }
.article-content ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.article-content strong { color: var(--text); font-weight: 600; }
.article-content em { color: var(--text-mid); }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: var(--accent); }

/* --- Blockquote --- */
.article-content blockquote {
    border-left: 4px solid var(--accent);
    background: linear-gradient(135deg, var(--accent-pale) 0%, #fff8f5 100%);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--text-mid);
    line-height: 1.8;
    position: relative;
}
.article-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: 12px; left: 16px;
    font-size: 3rem;
    color: var(--accent-light);
    font-family: 'Outfit', serif;
    line-height: 1;
    opacity: .5;
}
.article-content blockquote p { margin-bottom: 8px; padding-left: 16px; }
.article-content blockquote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--accent-dark);
    font-size: .85rem;
    padding-left: 16px;
}

/* --- Highlight Box (Info/Stats) --- */
.article-content .highlight-box {
    background: linear-gradient(135deg, var(--primary-pale) 0%, #f0f6fd 100%);
    border: 1px solid rgba(59,125,201,.15);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 24px 28px;
    margin: 32px 0;
    line-height: 1.8;
    font-size: .94rem;
}
.article-content .highlight-box strong:first-child {
    display: block;
    color: var(--primary);
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 8px;
}

/* --- Article CTA Box --- */
.article-content .cta-box,
.article-content .article-cta-box {
    background: var(--gradient-hero);
    border: 2px solid var(--accent-light);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    text-align: center;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
}
.article-content .article-cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-cta);
}
.article-content .article-cta-box h3,
.article-content .cta-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.article-content .article-cta-box p,
.article-content .cta-box p {
    margin-bottom: 20px;
    color: var(--text-mid);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.article-cta-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}
.article-cta-price .price-old,
.price-old {
    font-size: .95rem;
    color: var(--text-light);
    text-decoration: line-through;
}
.article-cta-price .price-new,
.price-new {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-dark);
}
.article-cta-price .price-badge,
.price-badge {
    display: inline-block;
    background: var(--rose);
    color: var(--white);
    font-size: .78rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

/* ===========================================================
   SIDEBAR
   =========================================================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 24px;
}
.sidebar-card h4 {
    font-size: .92rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--primary-deep);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-50);
}

/* --- Sidebar CTA Card --- */
.sidebar-card.cta-card {
    background: var(--gradient-hero);
    border: 2px solid var(--accent-light);
    text-align: center;
    padding: 28px 20px;
}
.sidebar-card.cta-card img {
    width: 130px;
    margin: 0 auto 12px;
    filter: drop-shadow(0 8px 20px rgba(201,135,107,.2));
}
.sidebar-card.cta-card h4 {
    border: none;
    padding-bottom: 0;
    margin-bottom: 4px;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
}
.sidebar-card.cta-card p {
    font-size: .85rem;
    color: var(--text-mid);
    margin-bottom: 12px;
}
.sidebar-card.cta-card .cta-card-price {
    margin-bottom: 4px;
}
.sidebar-card.cta-card .price-old {
    font-size: .85rem;
}
.sidebar-card.cta-card .price-new {
    font-size: 1.8rem;
    display: block;
}
.sidebar-card.cta-card .price-badge {
    margin-bottom: 8px;
}
.sidebar-card.cta-card .btn-cta {
    width: 100%;
    font-size: .88rem;
    padding: 14px;
    margin-top: 12px;
}
.sidebar-card.cta-card .price,
.sidebar-card.cta-card .old-price {
    display: block;
}
.sidebar-card.cta-card .price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-dark);
    margin: 8px 0 4px;
}
.sidebar-card.cta-card .old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: .88rem;
}

/* --- TOC --- */
.toc-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.toc-list li { padding: 0 !important; margin: 0 !important; }
.toc-list li::before { display: none !important; }
.toc-list a {
    display: block;
    padding: 9px 0 9px 16px;
    font-size: .86rem;
    color: var(--text-mid);
    border-left: 2px solid var(--gray-100);
    transition: all .2s;
    line-height: 1.45;
}
.toc-list a:hover,
.toc-list a.active {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-pale);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    text-decoration: none;
}

/* --- Sidebar Related Articles --- */
.sidebar-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.sidebar-list li { padding: 0 !important; margin: 0 !important; }
.sidebar-list li::before { display: none !important; }
.sidebar-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-50);
    font-size: .88rem;
    color: var(--text-mid);
    transition: all .2s;
    line-height: 1.45;
    text-decoration: none;
}
.sidebar-list a:last-child { border-bottom: none; }
.sidebar-list a:hover { color: var(--accent); transform: translateX(4px); }
.sidebar-list .sl-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    background: var(--primary-pale);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}

/* ===========================================================
   BLOG LISTING
   =========================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

/* --- Featured Blog Card (first card spans 2 cols) --- */
.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all .3s ease;
    position: relative;
}
.blog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-brand);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.blog-card:hover::before { transform: scaleX(1); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.blog-card-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.blog-card-body {
    padding: 24px;
}
.blog-card-tag {
    display: inline-block;
    background: var(--accent-pale);
    color: var(--accent-dark);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.blog-card-body h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
    line-height: 1.4;
}
.blog-card-body h3 a { transition: color .2s; }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p {
    font-size: .88rem;
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-meta {
    font-size: .78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}
.blog-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 12px;
    transition: gap .2s;
}
.blog-card:hover .blog-card-arrow { gap: 8px; }

/* ===========================================================
   LEGAL PAGES
   =========================================================== */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 0 80px;
}
.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}
.legal-content .legal-date {
    color: var(--text-light);
    font-size: .88rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}
.legal-content h2 {
    text-align: left;
    font-size: 1.3rem;
    margin: 40px 0 14px;
    color: var(--primary-deep);
}
.legal-content h3 { margin: 28px 0 10px; font-size: 1.05rem; }
.legal-content p {
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.85;
    font-size: .95rem;
}
.legal-content ul {
    list-style: none;
    margin: 0 0 20px 0;
    color: var(--text-mid);
    line-height: 1.85;
}
.legal-content li {
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    font-size: .95rem;
}
.legal-content li::before {
    content: '';
    position: absolute;
    left: 4px; top: 10px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.legal-content a { color: var(--primary); text-decoration: underline; }

/* ===========================================================
   404 PAGE
   =========================================================== */
.page-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    background: var(--gradient-subtle);
}
.page-404 h1 {
    font-size: 7rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.page-404 h2 { margin-bottom: 16px; }
.page-404 p { color: var(--text-mid); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.page-404 .links-404 { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===========================================================
   ABOUT PAGE
   =========================================================== */
.about-hero {
    background: var(--gradient-hero);
    padding: 56px 0 64px;
    border-bottom: 1px solid var(--gray-100);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.value-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: all .3s ease;
    position: relative;
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .value-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.65; }

/* --- About Hero extras --- */
.about-hero .section-tag { margin-bottom: 16px; }
.about-hero h1 { margin-bottom: 16px; }
.about-hero p {
    color: var(--text-mid);
    font-size: 1.1rem;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- About Text --- */
.about-text h2 {
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 16px;
}
.about-text p {
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); }

/* --- Section Subtitle --- */
.section-subtitle {
    color: var(--text-mid);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Mission Section --- */
.mission-section {
    background: var(--off-white);
}
.mission-section .container { max-width: 800px; }
.mission-section h2 { margin-bottom: 20px; }
.mission-section p {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.mission-section p:last-of-type { margin-bottom: 0; }

/* --- Product Highlight --- */
.product-highlight {
    background: var(--white);
}
.product-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.product-feature {
    background: var(--gradient-hero);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    text-align: center;
    transition: all .3s ease;
}
.product-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-feature .pf-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.product-feature h3 { margin-bottom: 8px; font-size: 1.05rem; }
.product-feature p { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }

/* --- CTA Section --- */
.cta-section {
    background: var(--gradient-hero);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p {
    color: var(--text-mid);
    max-width: 540px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
}

/* --- Legal Back Link --- */
.legal-back {
    display: inline-block;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
    font-weight: 600;
    color: var(--primary);
    transition: color .2s;
}
.legal-back:hover { color: var(--accent); }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        order: -1;
    }
    .sidebar-card:first-child { display: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .about-values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.45rem; }
    .section { padding: 44px 0; }
    .nav-links { display: none; }
    .header .btn-cta.desktop-only { display: none; }
    .hamburger { display: flex; }

    .sidebar {
        grid-template-columns: 1fr;
    }
    .article-layout { gap: 24px; padding: 8px 0 48px; }
    .article-content h1 { font-size: 1.65rem; }
    .article-content h2 { font-size: 1.25rem; margin-top: 32px; padding-top: 20px; }
    .article-content .article-intro { font-size: .98rem; }
    .article-content p { font-size: .92rem; }
    .article-content ul li, .article-content ol li { font-size: .92rem; padding-left: 24px; }
    .article-content blockquote { padding: 20px 20px; margin: 24px 0; }
    .article-content blockquote::before { font-size: 2.2rem; top: 8px; left: 12px; }
    .article-content blockquote p { padding-left: 12px; }
    .article-content .highlight-box { padding: 18px 18px; margin: 24px 0; }
    .article-content .article-cta-box,
    .article-content .cta-box { padding: 28px 20px; margin: 36px 0; }
    .article-cta-price .price-new, .price-new { font-size: 1.7rem; }
    .btn-cta { padding: 14px 32px; font-size: .95rem; }

    .sidebar-card { padding: 20px; }
    .sidebar-card.cta-card { padding: 24px 16px; }
    .sidebar-card.cta-card img { width: 100px; }
    .sidebar-card.cta-card .price-new { font-size: 1.5rem; }
    .sidebar-card.cta-card .btn-cta { font-size: .82rem; padding: 12px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; text-align: center; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { margin: 0 auto; }
    .footer-brand .logo { justify-content: center; }

    .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .blog-card-body { padding: 20px; }
    .blog-card-body h3 { font-size: 1rem; }
    .blog-card-body p { font-size: .85rem; }

    .about-grid { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .about-hero p { font-size: 1rem; }
    .product-highlight-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }

    .page-hero { padding: 32px 0 40px; }
    .page-hero h1 { font-size: 1.6rem; }
    .page-hero p { font-size: .95rem; }

    .legal-content { padding: 28px 0 48px; }
    .legal-content h1 { font-size: 1.6rem; }
    .legal-content h2 { font-size: 1.15rem; margin: 32px 0 12px; }
    .legal-content p { font-size: .9rem; }

    .promo-bar { font-size: .8rem; padding: 8px 12px; }
    .breadcrumb { font-size: .78rem; padding: 14px 0; }

    .value-card { padding: 24px 20px; }
    .product-feature { padding: 24px 20px; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    .container { padding: 0 16px; }
    .section { padding: 32px 0; }

    .article-content h1 { font-size: 1.45rem; }
    .article-content h2 { font-size: 1.15rem; }
    .article-content blockquote { padding: 16px 14px; }
    .article-content blockquote::before { display: none; }
    .article-content blockquote p { padding-left: 0; }
    .article-content .highlight-box { padding: 14px 14px; font-size: .88rem; }
    .article-content .article-cta-box,
    .article-content .cta-box { padding: 24px 16px; }
    .article-cta-price .price-new, .price-new { font-size: 1.5rem; }
    .btn-cta { padding: 12px 24px; font-size: .9rem; }

    .page-hero { padding: 24px 0 32px; }
    .page-hero h1 { font-size: 1.4rem; }
    .page-hero p { font-size: .88rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-brand { grid-column: auto; }
    .footer-col h4 { font-size: .8rem; margin-bottom: 10px; }
    .footer-col a { font-size: .8rem; margin-bottom: 7px; }

    .blog-card-body { padding: 16px; }
    .blog-card-tag { font-size: .68rem; }

    .legal-content h1 { font-size: 1.4rem; }
    .about-hero h1 { font-size: 1.5rem; }
}
