/* ===== CSS Variables ===== */
:root {
    --bg: #ffffff;
    --bg-white: #ffffff;
    --bg-soft: #f8f9fa;
    --bg-muted: #eef0f2;
    
    --text: #333333;
    --text-secondary: #555555;
    --text-muted: #888888;
    
    --primary: #08002e;
    --primary-soft: rgba(8, 0, 46, 0.06);
    --primary-hover: #1a1050;
    
    --accent: #e05a00;
    --accent-soft: #ffe9d6;
    
    --success: #28a745;
    --success-soft: #d4edda;
    
    --warning: #ffc107;
    --warning-soft: #fff3cd;
    
    --info: #17a2b8;
    --info-soft: #d1ecf1;
    
    --purple: #764ba2;
    --purple-soft: #ece3f5;
    
    --teal: #20c997;
    --teal-soft: #d2f4ea;
    
    --orange: #fd7e14;
    --orange-soft: #ffe5d0;
    
    --pink: #e83e8c;
    --pink-soft: #fce4ef;
    
    --border: #e9ecef;
    --border-hover: #ced4da;
    
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 0 0.25rem rgba(8, 0, 46, 0.15);
    
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

/* ===== Container ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 249, 252, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--bg-soft);
    color: var(--text);
}

.nav-link.active {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}

.nav-cta {
    margin-left: 12px;
    padding: 10px 24px;
    background: var(--text);
    color: white !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background: var(--primary) !important;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: var(--bg-soft);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
}

/* ===== Hero ===== */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 76, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--text);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ===== Search Box ===== */
.search-wrapper {
    max-width: 580px;
    margin: 0 auto 32px;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.search-icon {
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-box input {
    flex: 1;
    padding: 14px 0;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font);
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    padding: 14px 28px;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.search-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

.popular-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.popular-tags span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

/* ===== Stats Bar ===== */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 40px 0;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== Section ===== */
.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 8px;
}

.section-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.section-link:hover {
    gap: 10px;
}

/* ===== Categories Bento Grid ===== */
.categories-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.bento-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--primary));
    opacity: 0;
    transition: var(--transition);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:nth-child(1) { --card-accent: var(--primary); }
.bento-card:nth-child(2) { --card-accent: var(--accent); }
.bento-card:nth-child(3) { --card-accent: var(--success); }
.bento-card:nth-child(4) { --card-accent: var(--purple); }
.bento-card:nth-child(5) { --card-accent: var(--teal); }
.bento-card:nth-child(6) { --card-accent: var(--warning); }
.bento-card:nth-child(7) { --card-accent: var(--pink); }
.bento-card:nth-child(8) { --card-accent: var(--info); }
.bento-card:nth-child(9) { --card-accent: #8b5cf6; }

.bento-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
    transition: var(--transition);
}

.bento-card:nth-child(1) .bento-icon { background: var(--primary-soft); color: var(--primary); }
.bento-card:nth-child(2) .bento-icon { background: var(--accent-soft); color: var(--accent); }
.bento-card:nth-child(3) .bento-icon { background: var(--success-soft); color: var(--success); }
.bento-card:nth-child(4) .bento-icon { background: var(--purple-soft); color: var(--purple); }
.bento-card:nth-child(5) .bento-icon { background: var(--teal-soft); color: var(--teal); }
.bento-card:nth-child(6) .bento-icon { background: var(--warning-soft); color: var(--warning); }
.bento-card:nth-child(7) .bento-icon { background: var(--pink-soft); color: var(--pink); }
.bento-card:nth-child(8) .bento-icon { background: var(--info-soft); color: var(--info); }
.bento-card:nth-child(9) .bento-icon { background: #f3e8ff; color: #8b5cf6; }

.bento-card:hover .bento-icon {
    transform: scale(1.1);
}

.bento-card h3,
.bento-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== Extensions Grid ===== */
.extensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ext-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.ext-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.ext-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ext-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
}

.ext-category-tag {
    padding: 4px 10px;
    background: var(--bg-soft);
    color: var(--text-muted);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ext-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.ext-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ext-card-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ext-card-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== Features Bento ===== */
.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--purple));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--purple-soft) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== FAQ ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 76, 255, 0.3);
}

.btn-outline {
    background: var(--bg-white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-top {
    padding: 60px 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 16px;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: var(--bg-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Page Header ===== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ===== Blog ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    flex-shrink: 0;
}

.blog-card-image i {
    color: #fff;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.blog-card-tag {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-start;
}

/* ===== Blog article ===== */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.article-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--text);
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--text);
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 16px 0 16px 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content strong {
    color: var(--text);
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--primary-soft);
    border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
    margin: 0;
    color: var(--text);
    font-style: italic;
}

.article-content a {
    color: var(--primary);
}

.article-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-tag {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ===== Share bar ===== */
.share-bar {
    max-width: 848px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.share-bar::before {
    content: "";
    display: block;
    width: 100%;
    border-top: 1px solid var(--border);
    margin-bottom: 28px;
}

.share-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.share-label i {
    color: var(--primary);
}

.share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    padding: 0;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    overflow: hidden;
}

.share-btn i,
.share-btn i::before {
    line-height: 1;
    display: block;
    text-align: center;
}

.share-btn i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-fb i { font-size: 1.2rem; }
.share-x i { font-size: 1.05rem; }
.share-wa i { font-size: 1.3rem; }
.share-tg i { font-size: 1.25rem; }
.share-li i { font-size: 1.15rem; }
.share-pi i { font-size: 1.2rem; }
.share-rd i { font-size: 1.25rem; }
.share-mail i { font-size: 1.15rem; }
.share-copy i { font-size: 1.05rem; }

.share-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.share-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.share-fb { background: #1877f2; }
.share-x { background: #000; }
.share-wa { background: #25d366; }
.share-tg { background: #0088cc; }
.share-li { background: #0a66c2; }
.share-pi { background: #bd081c; }
.share-rd { background: #ff4500; }
.share-mail { background: #6c757d; }
.share-copy { background: var(--primary); }

/* RTL: keep share links left-to-right for consistency */
[dir="rtl"] .share-links {
    flex-direction: row-reverse;
}

@media (max-width: 480px) {
    .share-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .share-links {
        gap: 8px;
    }
}

.share-copy.copied {
    background: #10b981;
}

/* ===== Detail Layout ===== */
.detail-section {
    padding: 60px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.detail-main {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.detail-main h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.detail-main p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.sidebar-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.sidebar-card ul li i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.badge-free {
    display: inline-block;
    padding: 2px 8px;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-paid {
    display: inline-block;
    padding: 2px 8px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.program-list li {
    list-style: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.program-list li:last-child {
    border-bottom: none;
}

.alternatives-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alternative-item {
    padding: 10px 20px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.alternative-item:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-soft);
    border-radius: 10px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.category-link:hover {
    background: var(--primary);
    color: white;
}

/* ===== Extensions Page ===== */
.extensions-page {
    padding: 40px 0 80px;
}

.search-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
    font-family: var(--font);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===== Category Page ===== */
.category-header {
    text-align: center;
    padding: 140px 0 60px;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.category-icon-large {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.2rem;
    color: white;
}

/* ===== About Page ===== */
.about-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.about-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
    text-align: center;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===== Contact Page ===== */
.contact-form {
    max-width: 560px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.contact-form h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    text-align: center;
}

.contact-form > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .categories-bento {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .extensions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    
    .nav.active { display: flex; }
    .nav-cta { margin-left: 0; margin-top: 8px; width: 100%; justify-content: center; }
    .mobile-menu-btn { display: flex; }
    
    .hero h1 { font-size: 2.4rem; }
    .hero-desc { font-size: 1.05rem; }
    
    .stats-bar { gap: 24px; flex-wrap: wrap; }
    .stat-number { font-size: 1.5rem; }
    
    .categories-bento { grid-template-columns: repeat(2, 1fr); }
    .extensions-grid { grid-template-columns: 1fr; }
    .features-bento { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
    .hero { padding: 130px 0 60px; }
    .hero h1 { font-size: 1.8rem; }
    .search-box { flex-direction: column; border-radius: 14px; }
    .search-btn { width: 100%; border-radius: 10px; }
    .categories-bento { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .page-header h1 { font-size: 1.8rem; }
    .detail-main { padding: 24px; }
}

/* ===== Categories dropdown ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-dropdown > .nav-link .fa-chevron-down {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

.nav-dropdown.open > .nav-link .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 100;
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-soft);
    color: var(--primary);
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* ===== Language switcher ===== */
.nav-lang {
    position: relative;
    margin-left: 10px;
}

.lang-switch-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-white);
    user-select: none;
    transition: var(--transition);
}

.lang-switch-label:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-switch-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 190px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: none;
    z-index: 100;
}

.lang-switch-list.open { display: block; }

.lang-switch-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.lang-switch-item:hover { background: var(--bg-soft); color: var(--text); }
.lang-switch-item.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

@media (max-width: 768px) {
    .nav-lang { display: none; }
    .lang-switch-list { right: auto; left: 0; }
}

@media (max-width: 1024px) {
    .nav-lang .lang-switch-label span.lang-name { display: none; }
}

/* ===== RTL support ===== */
[dir="rtl"] .dropdown-menu { left: auto; right: 0; }
[dir="rtl"] .lang-switch-list { right: auto; left: 0; }
[dir="rtl"] .nav-cta { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .breadcrumb i.fa-chevron-right { transform: scaleX(-1); }
[dir="rtl"] .section-link i.fa-arrow-right { transform: scaleX(-1); }

/* ===== Server-side rendered additions ===== */
.nav-link.active { color: var(--primary); font-weight: 600; }

.nav-dropdown:hover > .nav-link { color: var(--primary); }
.nav-dropdown:hover > .nav-link .fa-chevron-down { transform: rotate(180deg); }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-switch-label:hover + .lang-switch-list { display: block; }

.filter-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.search-box { display: flex; }

.ext-badge { color: var(--primary); }
.badge-free { color: var(--success); font-weight: 600; }
.badge-paid { color: var(--accent); font-weight: 600; }

/* ============================================================
   Reference theme reskin — navy + orange, dark navbar & footer
   ============================================================ */

/* --- Navbar (dark) --- */
.header {
    background: #212529;
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo { color: var(--accent); }

.logo-icon {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    color: var(--accent);
    font-size: 1.4rem;
}

.nav-link { color: rgba(255, 255, 255, 0.75); }
.nav-link:hover { background: transparent; color: #ffffff; }
.nav-link.active { background: transparent; color: var(--accent); }
.nav-dropdown:hover > .nav-link { color: #ffffff; }

.nav-cta {
    background: var(--accent);
    border-radius: 50px;
    padding: 9px 22px;
}
.nav-cta:hover { background: #c44e00 !important; transform: none; }

.mobile-menu-btn { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

.lang-switch-label {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 50px;
}
.lang-switch-label:hover { border-color: var(--accent); color: var(--accent); }

/* --- Hero --- */
.hero::before { background: radial-gradient(circle, rgba(8, 0, 46, 0.06) 0%, transparent 70%); }
.hero::after { background: radial-gradient(circle, rgba(224, 90, 0, 0.05) 0%, transparent 70%); }
.hero h1 { color: #333333; }
.hero h1 span {
    background: linear-gradient(135deg, #08002e 0%, #e05a00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-badge { background: var(--accent-soft); color: var(--accent); }

/* --- Buttons --- */
.btn, .nav-cta, .search-btn, .filter-btn { border-radius: 50px; }
.search-box { border-radius: 50px; }
.search-btn { padding: 12px 26px; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(8, 0, 46, 0.25); }

/* --- Cards --- */
.ext-card, .blog-card, .feature-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.ext-card:hover, .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.blog-card-image {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}
.category-icon-large {
    background: linear-gradient(135deg, #08002e 0%, #e05a00 100%);
}

/* --- Footer (dark gradient) --- */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-top: 3px solid var(--primary);
}

.footer .logo { color: #ffffff; }
.footer .logo-icon { color: var(--accent); }

.footer-brand p { color: rgba(255, 255, 255, 0.8); }

.footer-socials a {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
}
.footer-socials a:hover { background: var(--accent); color: #ffffff; }

.footer-col h4 {
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}
.footer-col ul li a { color: rgba(255, 255, 255, 0.8); }
.footer-col ul li a:hover { color: var(--accent); transform: translateX(3px); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* --- Mobile nav panel keeps a light surface --- */
@media (max-width: 768px) {
    .nav { background: #ffffff; }
    .nav-link { color: var(--text-secondary); }
    .nav-link:hover { background: var(--bg-soft); color: var(--text); }
    .nav-link.active { background: transparent; color: var(--accent); }
}

/* ============================================================
   E-E-A-T: trust, authorship & review components
   ============================================================ */

.eeat-section { background: linear-gradient(135deg, #f8f9fa 0%, #eef0f2 100%); }

.eeat-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.eeat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.eeat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.eeat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.eeat-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text); }
.eeat-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

.eeat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #08002e, #e05a00);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

/* Article footer: trust strip + author box + sources */
.article-footer {
    max-width: 848px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.article-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 14px 18px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 24px;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust-item i { color: var(--success); }

.author-box {
    display: flex;
    gap: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.author-box .author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #08002e, #e05a00);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-box-name { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.author-box-role { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin: 2px 0 8px; }
.author-box-bio { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 10px; }
.author-box-link { font-size: 0.9rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.author-box-link:hover { color: var(--accent); }
.article-sources { font-size: 0.82rem; color: var(--text-muted); margin-top: 16px; }
.article-sources a { color: var(--primary); text-decoration: underline; }

/* Author profile page */
.author-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 0;
    text-align: center;
}

.author-avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #08002e, #e05a00);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.author-name { font-size: 1.8rem; margin-bottom: 4px; }
.author-role { color: var(--accent); font-weight: 600; margin-bottom: 20px; }
.author-bio { text-align: left; color: var(--text-secondary); line-height: 1.8; }
.author-links { display: flex; justify-content: center; gap: 12px; }
.author-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.author-links a:hover { background: var(--accent); color: #ffffff; transform: translateY(-3px); }

.author-experience {
    max-width: 720px;
    margin: 48px auto 0;
    padding: 0 24px 40px;
}
.author-experience h2 { font-size: 1.5rem; margin-bottom: 20px; }

.timeline { border-left: 3px solid var(--border); padding-left: 24px; }
.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 4px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px var(--border);
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-item p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

@media (max-width: 480px) {
    .author-box { flex-direction: column; }
    .eeat-grid { grid-template-columns: 1fr; }
}

/* ---------- Consent banner + contact form alerts (AdSense readiness) ---------- */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    border: 1px solid transparent;
}
.form-alert a { text-decoration: underline; color: inherit; font-weight: 600; }
.form-alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.form-alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #0f0f23;
    color: #e6e6f0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
    border-top: 3px solid var(--accent);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-banner-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #d5d5e6;
    flex: 1 1 480px;
}
.cookie-banner-text a { color: #ffb37a; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.btn-cookie {
    border: 0;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: inherit;
    transition: transform 0.15s ease, background 0.15s ease;
}
.btn-cookie:hover { transform: translateY(-1px); }
.btn-cookie-accept { background: var(--accent); color: #fff; }
.btn-cookie-accept:hover { background: #c54e00; }
.btn-cookie-decline {
    background: transparent;
    color: #e6e6f0;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-cookie-decline:hover { background: rgba(255, 255, 255, 0.1); }
.cookie-settings-link {
    background: none;
    border: 0;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.cookie-settings-link:hover { color: var(--primary); }

@media (max-width: 600px) {
    .cookie-banner-inner { padding: 14px 16px; }
    .cookie-banner-actions { width: 100%; }
    .btn-cookie { flex: 1; }
}
