/* ==========================================================================
   汤姆影院 · 猫眼探险 — 活力片库·免费高清院线
   Complete Inline Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties & Themes
   -------------------------------------------------------------------------- */
:root {
    /* Light Theme (default) */
    --bg-body: #f0f4f8;
    --bg-surface: #ffffff;
    --bg-surface-2: #f8fafc;
    --bg-nav: rgba(255, 255, 255, 0.85);
    --bg-footer: #0f172a;
    --bg-card: #ffffff;
    --bg-badge: #f59e0b;
    --bg-banner: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-on-dark: #f1f5f9;
    --text-on-badge: #0f172a;
    --text-footer: #cbd5e1;
    --text-footer-heading: #f8fafc;
    --border-color: #e2e8f0;
    --border-color-strong: #cbd5e1;
    --accent: #e67e22;
    --accent-hover: #b85c1a;
    --accent-soft: rgba(230, 126, 34, 0.12);
    --accent-glow: rgba(230, 126, 34, 0.3);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.15);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 68px;
    --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
    --bg-body: #0b1120;
    --bg-surface: #1e293b;
    --bg-surface-2: #111827;
    --bg-nav: rgba(15, 23, 42, 0.9);
    --bg-footer: #020617;
    --bg-card: #1e293b;
    --bg-badge: #fbbf24;
    --bg-banner: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-on-dark: #f8fafc;
    --text-on-badge: #0f172a;
    --text-footer: #94a3b8;
    --text-footer-heading: #f1f5f9;
    --border-color: #334155;
    --border-color-strong: #475569;
    --accent: #f59e0b;
    --accent-hover: #fbbf24;
    --accent-soft: rgba(245, 158, 11, 0.15);
    --accent-glow: rgba(245, 158, 11, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   2. Base Reset & Global Elements
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 16px;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: 2.5rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

section {
    scroll-margin-top: var(--nav-height);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   3. Scrollbar & Selection
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color-strong);
    border-radius: var(--radius-pill);
    transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

::selection {
    background: var(--accent);
    color: var(--text-on-badge);
}

/* --------------------------------------------------------------------------
   4. Navigation Bar & Mobile Menu
   -------------------------------------------------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    min-height: var(--nav-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    transition: color var(--transition-fast);
}

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

.logo:hover {
    text-decoration: none;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--accent);
    text-decoration: none;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.25rem 0.5rem;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-box input {
    border: none;
    background: transparent;
    padding: 0.4rem 0.8rem;
    color: var(--text-primary);
    outline: none;
    width: 140px;
    font-size: 0.9rem;
}

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

.btn-search {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.theme-toggle {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    transform: rotate(20deg) scale(1.1);
    border-color: var(--accent);
    color: var(--accent);
}

.hamburger {
    display: none;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.hamburger:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
    animation: slideDown 0.3s ease;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu a:hover {
    background: var(--accent-soft);
    color: var(--accent);
    text-decoration: none;
    padding-left: 1.5rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   5. Breadcrumb Navigation
   -------------------------------------------------------------------------- */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.breadcrumb a {
    color: var(--accent);
    transition: all var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #fff;
    padding: 0.7rem 1.8rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--accent);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
    text-decoration: none;
    color: #fff;
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-lg {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-badge);
    color: var(--text-on-badge);
    padding: 0.3rem 1.2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tag {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. Hero Banner Section
   -------------------------------------------------------------------------- */
.banner {
    background: var(--bg-banner);
    color: var(--text-on-dark);
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.banner-text {
    max-width: 600px;
    flex: 1;
}

.banner-text .badge {
    margin-bottom: 1.5rem;
}

.banner-text h1 {
    color: var(--text-on-dark);
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.banner-text p {
    color: var(--text-on-dark);
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.banner-visual {
    flex-shrink: 0;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --------------------------------------------------------------------------
   8. Cards & Grid Layouts
   -------------------------------------------------------------------------- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

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

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.card .tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* --------------------------------------------------------------------------
   9. Info Panel / Company Details
   -------------------------------------------------------------------------- */
.info-panel {
    background: var(--bg-card);
    padding: 1.8rem 2rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.info-panel p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.info-panel strong {
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   10. HowTo / Steps Section
   -------------------------------------------------------------------------- */
.steps {
    background: var(--bg-card);
    padding: 1.8rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
}

.steps ol {
    padding-left: 1.8rem;
    margin-bottom: 0;
}

.steps li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    padding-left: 0.5rem;
}

.steps li::marker {
    color: var(--accent);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   11. Article List
   -------------------------------------------------------------------------- */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.8rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.article-item:hover {
    transform: translateX(6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.article-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.article-item h4 a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.article-item h4 a:hover {
    color: var(--accent);
    text-decoration: none;
}

.meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* --------------------------------------------------------------------------
   12. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 0.8rem;
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

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

.faq-item.open {
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-soft);
}

.faq-q {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    user-select: none;
    font-size: 1rem;
}

.faq-q:hover {
    color: var(--accent);
}

.faq-q span {
    font-size: 1.2rem;
    color: var(--accent);
    transition: transform var(--transition-smooth);
    display: inline-flex;
}

.faq-item.open .faq-q span {
    transform: rotate(45deg);
}

.faq-a {
    padding: 0 1.5rem 1.2rem;
    color: var(--text-secondary);
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-item.open .faq-a {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   13. Tables
   -------------------------------------------------------------------------- */
.table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th, td {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

th {
    background: var(--bg-surface-2);
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
}

td {
    color: var(--text-secondary);
}

tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: background var(--transition-fast);
}

tbody tr:hover {
    background: var(--accent-soft);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
footer {
    background: var(--bg-footer);
    color: var(--text-footer);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

footer a {
    color: var(--text-footer);
    transition: color var(--transition-fast);
}

footer a:hover {
    color: var(--accent);
    text-decoration: none;
}

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

.footer-grid h4 {
    color: var(--text-footer-heading);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-grid p {
    color: var(--text-footer);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   15. Back to Top Button
   -------------------------------------------------------------------------- */
.to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.4rem;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: all var(--transition-smooth);
    align-items: center;
    justify-content: center;
}

.to-top.show {
    display: flex;
    animation: fadeInUp 0.4s ease;
}

.to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   16. Utilities & Helper Classes
   -------------------------------------------------------------------------- */
.text-muted { color: var(--text-muted); }
.text-body { color: var(--text-secondary); }
.text-head { color: var(--text-primary); }
.bg-card { background: var(--bg-card); }
.border-light { border-color: var(--border-color); }
.shadow { box-shadow: var(--shadow-md); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.divider {
    height: 1px;
    background: var(--border-color);
    margin: 2rem 0;
    border: none;
}

/* --------------------------------------------------------------------------
   17. Reveal Animation on Scroll
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   18. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 800px) {
    .nav-links, .search-box {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-wrap {
        padding: 0.5rem 1.25rem;
    }
    
    .banner {
        padding: 3rem 0;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-visual {
        margin-top: 1rem;
    }
    
    .banner-actions {
        justify-content: center;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .article-item {
        padding: 1.2rem 1.4rem;
    }
    
    .info-panel, .steps {
        padding: 1.4rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-wrap {
        padding: 0.5rem 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .banner {
        padding: 2.5rem 0;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.4rem;
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .card {
        padding: 1.2rem;
    }
}

/* --------------------------------------------------------------------------
   19. Print Styles
   -------------------------------------------------------------------------- */
@media print {
    .navbar, .to-top, .banner, .mobile-menu, .theme-toggle, .hamburger, .search-box {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card, .article-item, .faq-item, .info-panel, .steps {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* --------------------------------------------------------------------------
   20. Reduced Motion Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}