/* ============================================
   MYSECURITY SCORES - SHARED STYLESHEET 2026
   Premium Design System for All Pages
   ============================================ */

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);

    --deep-navy: #0f1419;
    --rich-purple: #6366f1;
    --electric-blue: #3b82f6;
    --cyber-cyan: #06b6d4;
    --neon-green: #10b981;
    --coral-pink: #f43f5e;
    --amber-gold: #f59e0b;

    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    --max-width: 1400px;
    --content-width: 900px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--slate-900);
    color: var(--slate-100);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--rich-purple);
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-gradient);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-gradient);
    top: 50%;
    right: -10%;
    animation-delay: 5s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: var(--success-gradient);
    bottom: -10%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.nav-logo:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links li {
    position: relative;
}

.nav-links > li > a {
    color: var(--slate-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    display: block;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--slate-100);
    background: var(--glass-bg);
}

/* Dropdown menu */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.nav-links li:hover > .nav-dropdown {
    display: block;
}

.nav-dropdown a {
    display: block;
    color: var(--slate-300);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.nav-dropdown a:hover {
    background: var(--glass-bg);
    color: var(--slate-100);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--slate-300);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-300);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 1.5rem 2rem 0;
    font-size: 0.875rem;
    color: var(--slate-500);
}

.breadcrumbs a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--electric-blue);
}

.breadcrumbs span {
    margin: 0 0.5rem;
    color: var(--slate-600);
}

/* ============================================
   ARTICLE / PAGE CONTENT
   ============================================ */
.page-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
    flex: 1;
}

.page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--slate-500);
    font-size: 0.9rem;
    align-items: center;
}

.page-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ============================================
   ARTICLE TYPOGRAPHY
   ============================================ */
.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 3rem 0 1.25rem;
    color: var(--slate-100);
    padding-top: 1rem;
}

.article-body h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--slate-200);
}

.article-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--slate-200);
}

.article-body p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--slate-300);
    line-height: 1.8;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    font-size: 1.02rem;
    color: var(--slate-300);
    line-height: 1.7;
}

.article-body li strong {
    color: var(--slate-100);
}

.article-body strong {
    color: var(--slate-100);
    font-weight: 600;
}

.article-body blockquote {
    background: var(--glass-bg);
    border-left: 4px solid var(--rich-purple);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--slate-300);
    font-style: italic;
}

.article-body code {
    background: rgba(99, 102, 241, 0.15);
    color: var(--cyber-cyan);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.article-body pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--slate-300);
}

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.toc {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    margin-bottom: 2.5rem;
}

.toc-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-200);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    display: block;
    transition: all 0.2s;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
}

.toc-list a:hover {
    color: var(--electric-blue);
    border-left-color: var(--electric-blue);
}

/* ============================================
   INFO BOXES & CALLOUTS
   ============================================ */
.info-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin: 2rem 0;
}

.info-box.tip {
    border-left: 4px solid var(--neon-green);
}

.info-box.warning {
    border-left: 4px solid var(--amber-gold);
}

.info-box.important {
    border-left: 4px solid var(--coral-pink);
}

.info-box.note {
    border-left: 4px solid var(--electric-blue);
}

.info-box-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box.tip .info-box-title { color: var(--neon-green); }
.info-box.warning .info-box-title { color: var(--amber-gold); }
.info-box.important .info-box-title { color: var(--coral-pink); }
.info-box.note .info-box-title { color: var(--electric-blue); }

.info-box p {
    color: var(--slate-400);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.7;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.comparison-table thead th {
    background: rgba(99, 102, 241, 0.15);
    color: var(--slate-100);
    font-weight: 700;
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 2px solid var(--rich-purple);
}

.comparison-table tbody td {
    padding: 0.9rem 1.25rem;
    color: var(--slate-300);
    border-bottom: 1px solid var(--glass-border);
    vertical-align: top;
}

.comparison-table tbody tr:hover {
    background: var(--glass-bg);
}

/* ============================================
   CTA BOX
   ============================================ */
.cta-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
    border: 1px solid rgba(102, 126, 234, 0.25);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    margin: 3rem 0;
    text-align: center;
}

.cta-box h3 {
    color: var(--slate-100);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-box p {
    color: var(--slate-400);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    background: var(--glass-bg);
    color: var(--slate-100);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--slate-100);
}

/* ============================================
   RELATED ARTICLES / GUIDE CARDS
   ============================================ */
.related-section {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--glass-border);
}

.related-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--slate-100);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.related-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

.related-card-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.related-card h4 {
    color: var(--slate-100);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-card p {
    color: var(--slate-500);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   AUTHOR BOX
   ============================================ */
.author-box {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 3rem 0;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--slate-100);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--slate-500);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--slate-100);
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-primary);
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--slate-500);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--slate-400);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   KEY TAKEAWAYS BOX
   ============================================ */
.key-takeaways {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    margin: 2rem 0;
}

.key-takeaways h3 {
    color: var(--neon-green);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
}

.key-takeaways li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--slate-300);
    font-size: 0.95rem;
}

.key-takeaways li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: 700;
}

/* ============================================
   STATISTICS HIGHLIGHT
   ============================================ */
.stat-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    display: block;
}

.stat-item .stat-label {
    color: var(--slate-500);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================
   STEP-BY-STEP GUIDE
   ============================================ */
.steps-list {
    counter-reset: steps;
    list-style: none;
    padding: 0;
}

.steps-list li {
    counter-increment: steps;
    padding: 1.5rem;
    padding-left: 4.5rem;
    position: relative;
    margin-bottom: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--slate-300);
}

.steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
}

.steps-list li strong {
    color: var(--slate-100);
    display: block;
    margin-bottom: 0.35rem;
}

/* ============================================
   INTERACTIVE TOOLS - PASSWORD CHECKER, ETC.
   ============================================ */
.tool-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 2rem 0;
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-100);
    margin-bottom: 1rem;
}

.tool-input {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.3);
    color: var(--slate-100);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s;
}

.tool-input:focus {
    outline: none;
    border-color: var(--rich-purple);
}

.tool-result {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    color: var(--slate-400);
}

.strength-meter {
    height: 6px;
    border-radius: 3px;
    background: var(--slate-700);
    margin-top: 0.75rem;
    overflow: hidden;
}

.strength-meter-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease, background 0.4s ease;
    width: 0%;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
    display: grid;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    color: var(--slate-300);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.85rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.3);
    color: var(--slate-100);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--rich-purple);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: var(--slate-200);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--slate-500);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--slate-300);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--slate-600);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--slate-600);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--slate-400);
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 1.25rem 2rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: var(--slate-400);
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-content p a {
    color: var(--electric-blue);
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    transition: all 0.2s;
}

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

.cookie-btn-reject {
    background: var(--glass-bg);
    color: var(--slate-300);
    border: 1px solid var(--glass-border);
}

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 9998;
    transition: width 0.1s linear;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.97);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--glass-border);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .nav-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        min-width: auto;
        border: none;
        padding-left: 1rem;
        background: transparent;
    }

    .nav-links li:hover > .nav-dropdown,
    .nav-links li.open > .nav-dropdown {
        display: block;
    }

    .page-content {
        padding: 1.5rem 1rem 3rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .breadcrumbs {
        padding: 1rem 1rem 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .stat-highlight {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stat-highlight {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .main-nav,
    .background-animation,
    .cookie-banner,
    .back-to-top,
    .reading-progress {
        display: none !important;
    }

    body {
        background: white;
        color: #333;
    }

    .page-title {
        background: none;
        -webkit-text-fill-color: #333;
        color: #333;
    }

    .article-body h2,
    .article-body h3 {
        color: #333;
    }

    .article-body p,
    .article-body li {
        color: #555;
    }
}
