/* ═══════════════════════════════════════════════════════
   PROMPTLAB — Futuristic AI Platform
   2advanced-inspired dark sci-fi design + glassmorphism
   ═══════════════════════════════════════════════════════ */

:root {
    --bg-void: #030308;
    --bg-deep: #0a0a12;
    --bg-surface: #0f0f1a;
    --bg-card: rgba(14, 14, 28, 0.65);
    --bg-card-hover: rgba(22, 22, 42, 0.75);
    --bg-card-solid: #141425;

    --accent-primary: #6c5ce7;
    --accent-secondary: #a29bfe;
    --accent-cyan: #00cec9;
    --accent-pink: #fd79a8;
    --accent-glow: rgba(108, 92, 231, 0.4);

    --text-primary: #e8e6f0;
    --text-secondary: #8b8aa0;
    --text-muted: #55546a;

    --border-subtle: rgba(108, 92, 231, 0.15);
    --border-glow: rgba(108, 92, 231, 0.4);

    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'Cascadia Code', 'Consolas', monospace;

    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: blur(16px) saturate(170%);
}

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

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

body {
    font-family: var(--font-main);
    background: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ─── Loading Screen (simple fade) ─── */
.loader {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9999;
    background: var(--bg-void);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* ─── 3D Canvas ─── */
#canvas-bg {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 0;
    pointer-events: none;
    width: 100%; height: 100%;
}

/* ─── Navigation ─── */

.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 40px; height: 70px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(3, 3, 8, 0.5);
    -webkit-backdrop-filter: var(--glass);
    backdrop-filter: var(--glass);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}
.nav.scrolled {
    background: rgba(3, 3, 8, 0.85);
    box-shadow: 0 4px 30px rgba(108, 92, 231, 0.1);
}
.nav-logo {
    font-size: 1.3rem; font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; text-decoration: none;
    letter-spacing: -0.5px;
    display: flex; align-items: center; gap: 10px;
}
.nav-logo-icon {
    display: flex; flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(108, 92, 231, 0.3));
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.85rem; font-weight: 500;
    letter-spacing: 1px; text-transform: uppercase;
    position: relative; transition: var(--transition);
}
.nav-links a::after {
    content: ''; position: absolute;
    bottom: -4px; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
    transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-hamburger {
    display: none; cursor: pointer; background: none; border: none;
    width: 30px; height: 20px; position: relative;
}
.nav-hamburger span {
    display: block; width: 100%; height: 2px;
    background: var(--text-primary);
    position: absolute; left: 0; transition: var(--transition);
}
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 9px; }
.nav-hamburger span:nth-child(3) { top: 18px; }

/* ─── Main Content ─── */
.main { position: relative; z-index: 2; padding-top: 70px; will-change: opacity, transform; }

/* ─── Page Transitions ─── */
@keyframes page-out {
    0%   { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(30px) scale(0.97); }
}
@keyframes page-in {
    0%   { opacity: 0; transform: translateY(-30px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.main.page-exit  { animation: page-out 0.35s cubic-bezier(0.4, 0, 0.6, 1) forwards; pointer-events: none; }
.main.page-enter { animation: page-in  0.4s cubic-bezier(0.0, 0, 0.2, 1) forwards; }

/* Transition progress bar */
.page-progress {
    position: fixed; top: 0; left: 0; z-index: 9000;
    height: 2px; background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
    box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-primary);
    width: 0; opacity: 0;
    transition: width 0.3s ease, opacity 0.2s ease;
}
.page-progress.active { opacity: 1; }

/* ─── Hero ─── */
.hero {
    min-height: 65vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; padding: 80px 40px 90px;
    text-align: center;
}
.hero-content { max-width: 900px; position: relative; z-index: 2; }
.hero-badge {
    display: inline-block;
    padding: 6px 16px; margin-bottom: 24px;
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.7rem; letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-secondary);
    background: rgba(108, 92, 231, 0.08);
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800; line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}
.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px; margin: 0 auto 40px;
    line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    font-size: 0.85rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    text-decoration: none;
    border: none; border-radius: var(--radius);
    cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-main);
    position: relative; overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 25px rgba(108, 92, 231, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}
.btn-outline {
    background: rgba(0, 206, 201, 0.05); color: var(--accent-cyan);
    border: 1px solid rgba(0, 206, 201, 0.3);
}
.btn-outline:hover {
    background: rgba(0, 206, 201, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}
.btn-sm { padding: 8px 20px; font-size: 0.75rem; }
.btn-danger { background: #e74c3c; color: #fff; }
.btn-danger:hover { background: #c0392b; }

/* ─── Sections ─── */
.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    text-align: center; margin-bottom: 60px;
}
.section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem; letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
}
.section-divider {
    width: 60px; height: 2px; margin: 20px auto 0;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
    border-radius: 2px;
}

/* ─── Cards Grid ─── */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* ─── Video Card ─── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
    position: relative;
    will-change: transform;
}
.card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.12);
}

.card-thumb {
    position: relative; overflow: hidden;
    aspect-ratio: 16/9;
    min-height: 180px;
}
.card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.card:hover .card-thumb img { transform: scale(1.08); }
.card-play {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(3, 3, 8, 0.5);
    opacity: 0; transition: opacity 0.3s ease;
}
.card:hover .card-play { opacity: 1; }
.card-play-icon {
    width: 60px; height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.card-play-icon::after {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}
.card-play-icon:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.card-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.card-category {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem; letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}
.card-title {
    font-size: 1.1rem; font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-title a { color: inherit; text-decoration: none; transition: var(--transition); }
.card-title a:hover { color: var(--accent-secondary); }
.card-excerpt {
    font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    flex-grow: 1;
}
.card-meta {
    display: flex; gap: 16px;
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.75rem; color: var(--text-muted);
}

/* ─── Tutorial Detail ─── */
.article { max-width: 800px; margin: 0 auto; padding: 60px 40px; }
.article-header { margin-bottom: 40px; }
.article-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; line-height: 1.2; margin-bottom: 16px;
}
.article-meta {
    display: flex; gap: 20px; align-items: center;
    color: var(--text-muted); font-size: 0.85rem;
}
.article-content { font-size: 1.05rem; line-height: 1.9; color: var(--text-primary); overflow-wrap: anywhere; word-break: break-word; }
.article-content h2 { font-size: 1.6rem; color: var(--text-primary); margin: 48px 0 16px; }
.article-content h3 { font-size: 1.3rem; color: var(--text-primary); margin: 32px 0 12px; }
.article-content p { margin-bottom: 20px; }
.article-content a { color: var(--accent-cyan); text-decoration: underline; overflow-wrap: break-word; word-break: break-word; }
.article-content code {
    font-family: var(--font-mono); background: rgba(14, 14, 28, 0.8);
    padding: 2px 8px; border-radius: 4px; font-size: 0.9em;
}
.article-content pre {
    background: rgba(14, 14, 28, 0.8);
    border: 1px solid var(--border-subtle); border-radius: var(--radius);
    padding: 24px; margin: 24px 0; overflow-x: auto;
}
.article-content pre code { background: none; padding: 0; }
.article-content img { max-width: 100%; border-radius: var(--radius); margin: 24px 0; }
.article-content blockquote {
    border-left: 3px solid var(--accent-primary);
    padding: 12px 24px; margin: 24px 0;
    background: rgba(108, 92, 231, 0.05);
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* ─── About ─── */
.stat-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.4s ease;
}
.stat-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}
.stat-number {
    font-size: 2rem; font-weight: 800;
    color: var(--accent-cyan);
}
.stat-label {
    font-size: 0.75rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 2px; margin-top: 4px;
}

/* ─── Pagination ─── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none; font-size: 0.85rem;
    transition: var(--transition);
    background: rgba(14, 14, 28, 0.5);
}
.pagination a:hover {
    border-color: var(--accent-primary); color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.08);
}
.pagination .active {
    background: var(--accent-primary); border-color: var(--accent-primary); color: #fff;
}

/* ─── Footer ─── */
.footer {
    position: relative; z-index: 2;
    border-top: 1px solid var(--border-subtle);
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    background: rgba(3, 3, 8, 0.6);
    -webkit-backdrop-filter: var(--glass);
    backdrop-filter: var(--glass);
}
.footer a { color: var(--accent-secondary); text-decoration: none; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }

/* ─── Cookie Consent Bar ─── */
.cookie-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9500;
    background: rgba(10, 10, 18, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    padding: 16px 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; gap: 20px;
    justify-content: space-between;
}
.cookie-bar-text {
    font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin: 0;
}
.cookie-bar-text a { color: var(--accent-cyan); text-decoration: underline; }
@media (max-width: 768px) {
    .cookie-bar-inner { flex-direction: column; text-align: center; gap: 12px; }
    .cookie-bar-text { font-size: 0.8rem; }
}

/* ─── Flash Messages ─── */
.flash { padding: 12px 20px; margin: 20px 0; border-radius: var(--radius); font-size: 0.9rem; }
.flash-success { background: rgba(0, 206, 201, 0.1); border: 1px solid rgba(0, 206, 201, 0.3); color: var(--accent-cyan); }
.flash-error { background: rgba(231, 76, 60, 0.1); border: 1px solid rgba(231, 76, 60, 0.3); color: #e74c3c; }

/* ─── Forms ─── */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block; margin-bottom: 6px;
    font-size: 0.8rem; font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 1px;
}
.form-input, .form-textarea, .form-select {
    width: 100%; padding: 12px 16px;
    background: var(--bg-deep);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-main); font-size: 0.95rem;
    transition: var(--transition);
    caret-color: var(--text-primary);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none; border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}
.form-textarea { min-height: 200px; resize: vertical; }
.form-select option { background: var(--bg-deep); }

/* ─── Admin ─── */
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar {
    background: var(--bg-surface); border-right: 1px solid var(--border-subtle); padding: 24px 0;
}
.admin-sidebar-logo {
    padding: 0 20px 24px; font-size: 1.2rem; font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; border-bottom: 1px solid var(--border-subtle);
}
.admin-nav { list-style: none; padding: 16px 0; }
.admin-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; color: var(--text-secondary);
    text-decoration: none; font-size: 0.9rem; transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
    color: var(--text-primary); background: rgba(108, 92, 231, 0.08);
    border-right: 2px solid var(--accent-primary);
}
.admin-main { padding: 32px; }
.admin-mobile-toggle { display: none; }
.admin-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.admin-title { font-size: 1.5rem; font-weight: 700; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th {
    text-align: left; padding: 12px 16px;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-muted); border-bottom: 1px solid var(--border-subtle);
}
.admin-table td {
    padding: 12px 16px; border-bottom: 1px solid rgba(108, 92, 231, 0.05);
    color: var(--text-secondary);
}
.admin-table tr:hover td { background: rgba(108, 92, 231, 0.03); }
.admin-actions { display: flex; gap: 8px; }

/* ─── Login ─── */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card {
    width: 100%; max-width: 400px;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 48px 36px;
}
.login-title { font-size: 1.4rem; font-weight: 700; text-align: center; margin-bottom: 32px; }

/* ─── YouTube Facade ─── */
.yt-facade {
    position: relative; aspect-ratio: 16/9; min-height: 180px; cursor: pointer;
    border-radius: var(--radius-lg); overflow: hidden;
    background: rgba(14, 14, 28, 0.8);
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-facade iframe { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ─── Facebook Video ─── */
.fb-video-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(10,10,18,0.8) 0%, rgba(13,27,62,0.8) 100%);
    aspect-ratio: 16/9;
    min-height: 180px;
}
.fb-video-facade { cursor: pointer; position: relative; }
.fb-video-facade iframe { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ─── Reveal Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Glowing Orb Decorations ─── */
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.orb-purple { width: 400px; height: 400px; background: rgba(108, 92, 231, 0.15); }
.orb-cyan { width: 300px; height: 300px; background: rgba(0, 206, 201, 0.1); }

/* ─── Pricing ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 36px 30px;
    position: relative; transition: all 0.5s ease;
    display: flex; flex-direction: column;
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.12);
}
.price-card.featured { border-color: var(--accent-primary); }
.price-card.featured::before {
    content: 'Nejoblíbenější';
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary), #8b5cf6);
    color: #fff; font-size: 0.7rem; font-weight: 600;
    padding: 4px 16px; border-radius: 100px;
    letter-spacing: 1px; text-transform: uppercase;
}
.price-name { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent-cyan); margin-bottom: 12px; }
.price-amount { font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.price-desc {
    font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 24px;
    padding-bottom: 24px; border-bottom: 1px solid var(--border-subtle);
}
.price-features { list-style: none; margin-bottom: 28px; flex-grow: 1; }
.price-features li {
    padding: 6px 0; font-size: 0.9rem; color: var(--text-secondary);
    display: flex; align-items: center; gap: 10px;
}
.price-features li::before {
    content: ''; display: block; width: 6px; height: 6px;
    background: var(--accent-cyan); border-radius: 50%; flex-shrink: 0;
    box-shadow: 0 0 6px rgba(0, 206, 201, 0.5);
}

/* ─── Empty State ─── */
.empty { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.3; }
.empty-text { font-size: 1.1rem; }

/* ─── Hardware Requirements ─── */
.hw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.hw-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    transition: all 0.3s ease;
}
.hw-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.1);
}
.hw-card-recommended {
    border-color: var(--accent-primary);
}
.hw-card-header { margin-bottom: 20px; }
.hw-card-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem; letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}
.hw-card-recommended .hw-card-badge { color: var(--accent-primary); }
.hw-card-title { font-size: 1.1rem; font-weight: 600; }
.hw-card-note {
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem; color: var(--text-muted); line-height: 1.6;
}
.hw-note {
    margin-top: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 20px 24px;
    font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7;
}
.hw-note a { color: var(--accent-cyan); text-decoration: underline; }

/* ═══ PILLARS (Home features) — Glassmorphism + Glow ═══ */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pillar {
    display: block;
    padding: 36px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.pillar::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
    opacity: 0; transition: opacity 0.3s ease;
}
.pillar:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.12);
}
.pillar:hover::after { opacity: 1; }
.pillar-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius);
    background: rgba(0, 206, 201, 0.08);
    border: 1px solid rgba(0, 206, 201, 0.15);
    color: var(--accent-cyan);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}
.pillar:hover .pillar-icon {
    background: rgba(0, 206, 201, 0.12);
    border-color: rgba(0, 206, 201, 0.25);
}
.pillar-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.pillar-text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.pillar-link {
    font-size: 0.8rem; font-weight: 600;
    color: var(--accent-cyan);
    text-decoration: none; letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex; align-items: center; gap: 4px;
}
.pillar-link:hover {
    color: var(--accent-secondary);
    gap: 8px;
}

/* ═══ CTA BOX — Glass + animated border ═══ */
.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    max-width: 800px; margin: 0 auto;
    text-align: center;
    position: relative;
}
.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700; margin-bottom: 16px;
    color: var(--text-primary);
}
.cta-text { color: var(--text-secondary); max-width: 500px; margin: 0 auto 30px; line-height: 1.8; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.section-cta { text-align: center; margin-top: 40px; }

/* ═══ ABOUT PAGE ═══ */
.about-hero { text-align: center; padding: 40px 0 20px; }
.about-name {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800; line-height: 1.1; margin-bottom: 16px;
    color: var(--text-primary);
}
.about-subtitle {
    font-size: 1.1rem; color: var(--text-secondary);
    max-width: 600px; margin: 0 auto 28px; line-height: 1.7;
}
.about-social { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.about-social-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none; font-size: 0.85rem; font-weight: 500;
    transition: all 0.4s ease;
}
.about-social-link:hover {
    color: var(--text-primary);
    border-color: var(--border-glow);
    background: rgba(108, 92, 231, 0.08);
    transform: translateY(-2px);
}
.about-content { max-width: 750px; margin: 0 auto; }
.about-stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px; max-width: 800px; margin: 0 auto;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .nav { padding: 0 20px; }
    .nav { overflow: visible; }
    .nav-links {
        display: none; position: absolute;
        top: 70px; left: 0; right: 0; z-index: 200;
        background: rgba(3, 3, 8, 0.95);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        flex-direction: column; gap: 0;
        padding: 20px 0;
        border-bottom: 1px solid var(--border-subtle);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 24px; }
    .nav-links a::after {
        top: 0; bottom: 0; left: 0;
        width: 3px; height: auto;
        background: linear-gradient(180deg, var(--accent-primary), var(--accent-cyan));
        transition: opacity 0.3s ease;
        opacity: 0;
    }
    .nav-links a:hover::after, .nav-links a.active::after {
        width: 3px; opacity: 1;
    }
    .nav-hamburger { display: block; }
    .hero { padding: 40px 20px; }
    .section { padding: 60px 20px; }
    .grid { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-stats-row { grid-template-columns: repeat(2, 1fr); }
    .article { padding: 40px 20px; }
    .admin-wrap { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: fixed; top: 0; left: 0; height: 100vh; width: 240px;
        z-index: 1000; transform: translateX(-100%); transition: transform 0.25s ease;
        overflow-y: auto;
    }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-sidebar-overlay.open { display: block; }
    .admin-mobile-toggle {
        display: flex; align-items: center; gap: 8px;
        background: var(--bg-surface); border: 1px solid var(--border-subtle);
        color: var(--text-secondary); font-size: 0.9rem; padding: 8px 14px;
        border-radius: 8px; cursor: pointer; margin-bottom: 24px;
    }
    .admin-main { padding: 20px 16px; }
    .cta-box { padding: 40px 24px; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .about-stats-row { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .section { padding: 40px 16px; }
    .hero { padding: 30px 16px; min-height: 50vh; }
    .nav { padding: 0 16px; }
    .card-thumb { min-height: 140px; }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .loader { display: none; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─── Fallback: no-JS reveal ─── */
noscript ~ .main .reveal { opacity: 1; transform: none; }

/* ─── Like / Heart button ─── */
.like-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}
.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.15s ease;
}
.like-btn:hover {
    color: #ff6b8a;
    transform: scale(1.1);
}
.like-btn.liked {
    color: #ff4d6d;
    animation: like-pop 0.3s ease;
}
.like-btn.liked svg {
    fill: #ff4d6d;
    stroke: #ff4d6d;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}
@keyframes like-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}
.like-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 20px;
}
.like-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.like-box {
    flex-wrap: wrap;
}
.donate-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
    border: none;
    border-radius: 999px;
    color: #001219;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(34, 211, 238, 0.35), 0 0 0 0 rgba(34, 211, 238, 0.5);
    animation: donate-pulse 2.4s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.donate-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 22px rgba(34, 211, 238, 0.55);
    animation: none;
}
.donate-btn[aria-expanded="true"] {
    animation: none;
    box-shadow: 0 4px 14px rgba(34, 211, 238, 0.4);
}
@keyframes donate-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(34, 211, 238, 0.35), 0 0 0 0 rgba(34, 211, 238, 0.5); }
    50%      { box-shadow: 0 4px 14px rgba(34, 211, 238, 0.45), 0 0 0 10px rgba(34, 211, 238, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .donate-btn { animation: none; }
}
.donate-panel {
    margin-top: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}
.donate-text {
    margin: 0 0 22px;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.65;
}
.donate-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}
.donate-qr-wrap {
    position: relative;
    padding: 22px;
    flex-shrink: 0;
    isolation: isolate;
}
.donate-qr-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.22), transparent 70%);
    z-index: -2;
    pointer-events: none;
    animation: donate-glow 4s ease-in-out infinite;
}
.donate-qr-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(34, 211, 238, 0.9) 1.4px, transparent 2px),
        radial-gradient(circle at 88% 22%, rgba(139, 92, 246, 0.8) 1.4px, transparent 2px),
        radial-gradient(circle at 8% 82%, rgba(34, 211, 238, 0.8) 1.4px, transparent 2px),
        radial-gradient(circle at 92% 78%, rgba(139, 92, 246, 0.75) 1.4px, transparent 2px),
        radial-gradient(circle at 50% 6%, rgba(34, 211, 238, 0.65) 1px, transparent 1.6px),
        radial-gradient(circle at 50% 95%, rgba(139, 92, 246, 0.6) 1px, transparent 1.6px),
        radial-gradient(circle at 5% 50%, rgba(34, 211, 238, 0.55) 1px, transparent 1.6px),
        radial-gradient(circle at 96% 50%, rgba(139, 92, 246, 0.55) 1px, transparent 1.6px);
    z-index: -1;
    pointer-events: none;
}
.donate-qr {
    display: block;
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 10px;
    background: #fff;
    padding: 4px;
    box-shadow:
        0 0 0 1px rgba(34, 211, 238, 0.5),
        0 0 24px rgba(34, 211, 238, 0.3),
        0 8px 28px rgba(0, 0, 0, 0.4);
}
@keyframes donate-glow {
    0%, 100% { opacity: 0.7; }
    50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .donate-qr-wrap::before { animation: none; }
}
.donate-info {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.donate-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.donate-label-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.donate-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    word-break: break-all;
}
.donate-iban {
    font-size: 0.9rem;
}
.donate-copy {
    align-self: flex-start;
    margin-top: 4px;
}
@media (max-width: 480px) {
    .donate-btn { width: 100%; justify-content: center; margin-left: 0; }
    .donate-grid { justify-content: center; }
    .donate-qr { width: 180px; height: 180px; }
    .donate-qr-wrap { padding: 16px; }
}
