 :root {
            --bg-primary: #0a0a0f;
            --bg-secondary: #12121a;
            --bg-card: #1a1a2e;
            --bg-card-hover: #1f1f35;
            --accent: #6c5ce7;
            --accent-light: #a29bfe;
            --accent-glow: rgba(108, 92, 231, 0.3);
            --text-primary: #f0f0f5;
            --text-secondary: #a0a0b8;
            --text-muted: #6b6b80;
            --border: #2a2a3e;
            --gradient-1: linear-gradient(135deg, #6c5ce7, #a29bfe);
            --gradient-2: linear-gradient(135deg, #00cec9, #6c5ce7);
            --gradient-3: linear-gradient(135deg, #fd79a8, #6c5ce7);
            --success: #00b894;
            --warning: #fdcb6e;
            --danger: #e17055;
            --radius: 16px;
            --radius-sm: 10px;
            --shadow: 0 8px 32px rgba(0,0,0,0.3);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        [data-theme="light"] {
            --bg-primary: #f5f6fa;
            --bg-secondary: #ffffff;
            --bg-card: #ffffff;
            --bg-card-hover: #f0f0f5;
            --text-primary: #1a1a2e;
            --text-secondary: #555570;
            --text-muted: #8888a0;
            --border: #e0e0ee;
            --shadow: 0 8px 32px rgba(0,0,0,0.08);
            --accent-glow: rgba(108, 92, 231, 0.15);
        }

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

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

        body {
            font-family: 'Inter', -apple-system, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.7;
            overflow-x: hidden;
        }

        ::selection {
            background: var(--accent);
            color: white;
        }

        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--bg-secondary); }
        ::-webkit-scrollbar-thumb {
            background: var(--accent);
            border-radius: 10px;
        }

        /* ===== LOADER ===== */
        .loader-wrapper {
            position: fixed;
            inset: 0;
            background: var(--bg-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99999;
            transition: opacity 0.5s, visibility 0.5s;
        }
        .loader-wrapper.hidden {
            opacity: 0;
            visibility: hidden;
        }
        .loader {
            width: 50px;
            height: 50px;
            border: 3px solid var(--border);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ===== NAVBAR ===== */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 0 2rem;
            height: 72px;
            display: flex;
            align-items: center;
            background: rgba(10, 10, 15, 0.85);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            transition: var(--transition);
        }
        [data-theme="light"] .navbar {
            background: rgba(255, 255, 255, 0.9);
        }
        .navbar.scrolled {
            box-shadow: var(--shadow);
        }
        .nav-container {
            max-width: 1280px;
            margin: 0 auto;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            font-weight: 800;
            font-size: 1.4rem;
            color: var(--text-primary);
        }
        .logo-icon {
            width: 38px;
            height: 38px;
            background: var(--gradient-1);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: white;
        }
        .logo span {
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 2px;
            list-style: none;
        }
        .nav-links a {
            text-decoration: none;
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 0.92rem;
            padding: 8px 16px;
            border-radius: var(--radius-sm);
            transition: var(--transition);
            position: relative;
        }
        .nav-links a:hover,
        .nav-links a.active {
            color: var(--accent-light);
            background: var(--accent-glow);
        }
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .search-toggle,
        .theme-toggle {
            width: 40px;
            height: 40px;
            border: 1px solid var(--border);
            background: transparent;
            color: var(--text-secondary);
            border-radius: var(--radius-sm);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            font-size: 1rem;
        }
        .search-toggle:hover,
        .theme-toggle:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-glow);
        }
        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 5px;
        }
        .hamburger span {
            width: 24px;
            height: 2px;
            background: var(--text-primary);
            transition: var(--transition);
            border-radius: 2px;
        }
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .hamburger.active span:nth-child(2) { opacity: 0; }
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ===== SEARCH OVERLAY ===== */
        .search-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.8);
            backdrop-filter: blur(10px);
            z-index: 2000;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding-top: 15vh;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        .search-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        .search-box {
            width: 90%;
            max-width: 600px;
            background: var(--bg-card);
            border-radius: var(--radius);
            padding: 8px;
            border: 1px solid var(--border);
            transform: translateY(-20px);
            transition: var(--transition);
        }
        .search-overlay.active .search-box {
            transform: translateY(0);
        }
        .search-box input {
            width: 100%;
            padding: 16px 20px;
            background: transparent;
            border: none;
            outline: none;
            color: var(--text-primary);
            font-size: 1.1rem;
            font-family: inherit;
        }
        .search-box input::placeholder {
            color: var(--text-muted);
        }

        /* ===== HERO ===== */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 120px 2rem 80px;
            position: relative;
            overflow: hidden;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            overflow: hidden;
        }
        .hero-bg::before {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, var(--accent-glow), transparent 70%);
            top: -100px;
            right: -100px;
            animation: float 8s ease-in-out infinite;
        }
        .hero-bg::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(0, 206, 201, 0.15), transparent 70%);
            bottom: -50px;
            left: -50px;
            animation: float 10s ease-in-out infinite reverse;
        }
        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(30px, -30px) scale(1.1); }
        }
        .grid-overlay {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(var(--border) 1px, transparent 1px),
                linear-gradient(90deg, var(--border) 1px, transparent 1px);
            background-size: 60px 60px;
            opacity: 0.3;
            mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
        }
        .hero-container {
            max-width: 1280px;
            margin: 0 auto;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 1;
        }
        .hero-content {
            animation: fadeInUp 0.8s ease;
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--accent-glow);
            border: 1px solid rgba(108, 92, 231, 0.3);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--accent-light);
            margin-bottom: 24px;
        }
        .hero-badge .dot {
            width: 8px;
            height: 8px;
            background: var(--success);
            border-radius: 50%;
            animation: pulse-dot 2s infinite;
        }
        @keyframes pulse-dot {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }
        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 3.8rem);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 20px;
            letter-spacing: -0.02em;
        }
        .hero h1 .gradient-text {
            background: var(--gradient-2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hero p {
            font-size: 1.15rem;
            color: var(--text-secondary);
            margin-bottom: 36px;
            max-width: 500px;
            line-height: 1.8;
        }
        .hero-buttons {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.95rem;
            text-decoration: none;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            font-family: inherit;
        }
        .btn-primary {
            background: var(--gradient-1);
            color: white;
            box-shadow: 0 4px 20px var(--accent-glow);
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px var(--accent-glow);
        }
        .btn-outline {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid var(--border);
        }
        .btn-outline:hover {
            border-color: var(--accent);
            background: var(--accent-glow);
            color: var(--accent-light);
        }
        .hero-stats {
            display: flex;
            gap: 40px;
            margin-top: 48px;
            padding-top: 32px;
            border-top: 1px solid var(--border);
        }
        .stat h3 {
            font-size: 1.8rem;
            font-weight: 800;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .stat p {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin: 0;
        }

        /* Hero Visual */
        .hero-visual {
            display: flex;
            justify-content: center;
            animation: fadeInUp 1s ease 0.2s both;
        }
        .code-window {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            width: 100%;
            max-width: 480px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .code-header {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 14px 18px;
            border-bottom: 1px solid var(--border);
            background: rgba(255,255,255,0.02);
        }
        .code-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }
        .code-dot.red { background: #ff5f57; }
        .code-dot.yellow { background: #febc2e; }
        .code-dot.green { background: #28c840; }
        .code-header span {
            margin-left: 10px;
            font-size: 0.8rem;
            color: var(--text-muted);
            font-family: 'JetBrains Mono', monospace;
        }
        .code-body {
            padding: 24px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
            line-height: 1.9;
            overflow-x: auto;
        }
        .code-line {
            display: flex;
            gap: 12px;
        }
        .line-num {
            color: var(--text-muted);
            user-select: none;
            min-width: 20px;
            text-align: right;
        }
        .code-keyword { color: #c678dd; }
        .code-func { color: #61afef; }
        .code-string { color: #98c379; }
        .code-comment { color: #5c6370; font-style: italic; }
        .code-var { color: #e5c07b; }
        .code-bracket { color: var(--text-secondary); }
        .typing-cursor {
            display: inline-block;
            width: 2px;
            height: 16px;
            background: var(--accent);
            animation: blink 1s infinite;
            vertical-align: middle;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        /* ===== AD BANNER ===== */
        .ad-banner {
            max-width: 1280px;
            margin: 0 auto 60px;
            padding: 0 2rem;
        }
        .ad-placeholder {
            background: var(--bg-card);
            border: 2px dashed var(--border);
            border-radius: var(--radius);
            padding: 20px;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.85rem;
            min-height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .ad-placeholder i { font-size: 1.2rem; }

        /* ===== SECTION STYLES ===== */
        section {
            padding: 80px 2rem;
        }
        .section-container {
            max-width: 1280px;
            margin: 0 auto;
        }
        .section-header {
            text-align: center;
            margin-bottom: 56px;
        }
        .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--accent-light);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 12px;
        }
        .section-header h2 {
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            font-weight: 800;
            margin-bottom: 16px;
            letter-spacing: -0.02em;
        }
        .section-header p {
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
            font-size: 1.05rem;
        }

        /* ===== CATEGORIES ===== */
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .category-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 36px 28px;
            text-align: center;
            transition: var(--transition);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--gradient-1);
            transform: scaleX(0);
            transition: var(--transition);
        }
        .category-card:hover::before {
            transform: scaleX(1);
        }
        .category-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 12px 40px var(--accent-glow);
        }
        .category-icon {
            width: 64px;
            height: 64px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin: 0 auto 18px;
            color: white;
        }
        .category-card:nth-child(1) .category-icon {
            background: linear-gradient(135deg, #6c5ce7, #a29bfe);
        }
        .category-card:nth-child(2) .category-icon {
            background: linear-gradient(135deg, #00cec9, #0984e3);
        }
        .category-card:nth-child(3) .category-icon {
            background: linear-gradient(135deg, #fd79a8, #e17055);
        }
        .category-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .category-card p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-bottom: 16px;
        }
        .category-count {
            font-size: 0.8rem;
            color: var(--accent-light);
            font-weight: 600;
        }

        /* ===== FEATURED POSTS ===== */
        #articles {
            background: var(--bg-secondary);
        }
        .posts-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .post-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            transition: var(--transition);
            cursor: pointer;
        }
        .post-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
            border-color: var(--accent);
        }
        .post-image {
            position: relative;
            height: 200px;
            overflow: hidden;
        }
        .post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        .post-card:hover .post-image img {
            transform: scale(1.05);
        }
        .post-tag {
            position: absolute;
            top: 14px;
            left: 14px;
            padding: 4px 12px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            color: white;
        }
        .tag-ai { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
        .tag-webdev { background: linear-gradient(135deg, #00cec9, #0984e3); }
        .tag-tech { background: linear-gradient(135deg, #fd79a8, #e17055); }
        .post-body {
            padding: 24px;
        }
        .post-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
            font-size: 0.82rem;
            color: var(--text-muted);
        }
        .post-meta span {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .post-body h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 10px;
            line-height: 1.4;
            transition: var(--transition);
        }
        .post-card:hover .post-body h3 {
            color: var(--accent-light);
        }
        .post-body p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 16px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .read-more {
            color: var(--accent-light);
            font-weight: 600;
            font-size: 0.88rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition);
        }
        .read-more:hover {
            gap: 10px;
        }

        /* ===== AI TOOLS SECTION ===== */
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px;
        }
        .tool-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 28px;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }
        .tool-card:hover {
            transform: translateY(-4px);
            border-color: var(--accent);
            box-shadow: 0 12px 40px var(--accent-glow);
        }
        .tool-header {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 16px;
        }
        .tool-logo {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: white;
            flex-shrink: 0;
        }
        .tool-header-text h3 {
            font-size: 1.05rem;
            font-weight: 700;
        }
        .tool-header-text span {
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        .tool-card p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            flex: 1;
            margin-bottom: 16px;
        }
        .tool-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 16px;
        }
        .tool-tag {
            padding: 4px 10px;
            background: var(--accent-glow);
            color: var(--accent-light);
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 500;
        }
        .tool-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 16px;
            border-top: 1px solid var(--border);
        }
        .tool-rating {
            color: var(--warning);
            font-size: 0.85rem;
            font-weight: 600;
        }
        .tool-price {
            font-size: 0.85rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 50px;
        }
        .price-free {
            background: rgba(0, 184, 148, 0.15);
            color: var(--success);
        }
        .price-paid {
            background: rgba(253, 203, 110, 0.15);
            color: var(--warning);
        }

        /* ===== NEWSLETTER ===== */
        .newsletter {
            background: var(--bg-secondary);
            position: relative;
            overflow: hidden;
        }
        .newsletter-container {
            max-width: 700px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 1;
        }
        .newsletter h2 {
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            font-weight: 800;
            margin-bottom: 16px;
        }
        .newsletter p {
            color: var(--text-secondary);
            font-size: 1.05rem;
            margin-bottom: 36px;
        }
        .newsletter-form {
            display: flex;
            gap: 12px;
            max-width: 500px;
            margin: 0 auto;
        }
        .newsletter-form input {
            flex: 1;
            padding: 14px 20px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            color: var(--text-primary);
            font-size: 0.95rem;
            font-family: inherit;
            outline: none;
            transition: var(--transition);
        }
        .newsletter-form input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-glow);
        }
        .newsletter-form button {
            padding: 14px 28px;
            background: var(--gradient-1);
            color: white;
            border: none;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            font-family: inherit;
            transition: var(--transition);
            white-space: nowrap;
        }
        .newsletter-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px var(--accent-glow);
        }
        .newsletter-note {
            margin-top: 16px;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* ===== TRENDING SIDEBAR LAYOUT ===== */
        .content-layout {
            display: grid;
            grid-template-columns: 1fr 340px;
            gap: 40px;
        }
        .sidebar {
            position: sticky;
            top: 100px;
            height: fit-content;
        }
        .sidebar-widget {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 24px;
            margin-bottom: 24px;
        }
        .sidebar-widget h3 {
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sidebar-widget h3 i {
            color: var(--accent-light);
        }
        .trending-list {
            list-style: none;
        }
        .trending-item {
            display: flex;
            gap: 14px;
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: var(--transition);
        }
        .trending-item:last-child { border: none; }
        .trending-item:hover { opacity: 0.8; }
        .trending-num {
            font-size: 1.5rem;
            font-weight: 900;
            color: var(--accent);
            opacity: 0.5;
            min-width: 30px;
        }
        .trending-text h4 {
            font-size: 0.9rem;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 4px;
        }
        .trending-text span {
            font-size: 0.78rem;
            color: var(--text-muted);
        }
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .tag-cloud a {
            padding: 6px 14px;
            background: rgba(108, 92, 231, 0.1);
            color: var(--text-secondary);
            border-radius: 50px;
            font-size: 0.82rem;
            text-decoration: none;
            transition: var(--transition);
            border: 1px solid transparent;
        }
        .tag-cloud a:hover {
            background: var(--accent-glow);
            color: var(--accent-light);
            border-color: var(--accent);
        }

        /* ===== ABOUT SECTION ===== */
        #about {
            background: var(--bg-secondary);
        }
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        .about-content h2 {
            font-size: clamp(1.8rem, 3vw, 2.4rem);
            font-weight: 800;
            margin-bottom: 20px;
        }
        .about-content p {
            color: var(--text-secondary);
            font-size: 1.02rem;
            margin-bottom: 16px;
        }
        .about-features {
            list-style: none;
            margin-top: 28px;
        }
        .about-features li {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 14px 0;
        }
        .about-features li i {
            color: var(--success);
            font-size: 1.1rem;
            margin-top: 3px;
        }
        .about-features li strong {
            display: block;
            margin-bottom: 2px;
        }
        .about-features li span {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        .about-image {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        .about-stat-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 24px;
            text-align: center;
            transition: var(--transition);
        }
        .about-stat-card:hover {
            border-color: var(--accent);
            transform: translateY(-3px);
        }
        .about-stat-card i {
            font-size: 1.8rem;
            margin-bottom: 10px;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .about-stat-card h4 {
            font-size: 1.6rem;
            font-weight: 800;
        }
        .about-stat-card p {
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        /* ===== CONTACT ===== */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
        }
        .contact-info h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 16px;
        }
        .contact-info > p {
            color: var(--text-secondary);
            margin-bottom: 32px;
        }
        .contact-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 0;
        }
        .contact-item-icon {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-sm);
            background: var(--accent-glow);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent-light);
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        .contact-item h4 {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 2px;
        }
        .contact-item p {
            color: var(--text-secondary);
            font-size: 0.88rem;
        }
        .social-links {
            display: flex;
            gap: 12px;
            margin-top: 28px;
        }
        .social-links a {
            width: 44px;
            height: 44px;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            text-decoration: none;
            transition: var(--transition);
            font-size: 1.1rem;
        }
        .social-links a:hover {
            background: var(--accent);
            border-color: var(--accent);
            color: white;
            transform: translateY(-3px);
        }
        .contact-form {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 36px;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            font-size: 0.88rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-secondary);
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px 16px;
            background: var(--bg-primary);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            color: var(--text-primary);
            font-size: 0.92rem;
            font-family: inherit;
            outline: none;
            transition: var(--transition);
        }
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-glow);
        }
        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        /* ===== FOOTER ===== */
        .footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border);
            padding: 60px 2rem 0;
        }
        .footer-grid {
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
        }
        .footer-brand .logo {
            margin-bottom: 16px;
        }
        .footer-brand p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-bottom: 20px;
        }
        .footer-col h4 {
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--text-primary);
        }
        .footer-col ul {
            list-style: none;
        }
        .footer-col ul li {
            margin-bottom: 10px;
        }
        .footer-col ul a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.88rem;
            transition: var(--transition);
        }
        .footer-col ul a:hover {
            color: var(--accent-light);
            padding-left: 6px;
        }
        .footer-bottom {
            max-width: 1280px;
            margin: 0 auto;
            padding: 24px 0;
            border-top: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        .footer-bottom-links {
            display: flex;
            gap: 24px;
        }
        .footer-bottom-links a {
            color: var(--text-muted);
            text-decoration: none;
            transition: var(--transition);
        }
        .footer-bottom-links a:hover {
            color: var(--accent-light);
        }

        /* ===== BACK TO TOP ===== */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 46px;
            height: 46px;
            background: var(--gradient-1);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 100;
            box-shadow: 0 4px 20px var(--accent-glow);
        }
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        .back-to-top:hover {
            transform: translateY(-4px);
        }

        /* ===== PAGE LINKS (Privacy, Terms, etc.) ===== */
        .page-section {
            padding: 120px 2rem 80px;
        }
        .page-content {
            max-width: 800px;
            margin: 0 auto;
        }
        .page-content h1 {
            font-size: 2.2rem;
            font-weight: 800;
            margin-bottom: 8px;
        }
        .page-content .updated {
            color: var(--text-muted);
            font-size: 0.88rem;
            margin-bottom: 36px;
        }
        .page-content h2 {
            font-size: 1.3rem;
            font-weight: 700;
            margin: 32px 0 12px;
        }
        .page-content p, .page-content li {
            color: var(--text-secondary);
            font-size: 0.95rem;
            margin-bottom: 12px;
        }
        .page-content ul {
            padding-left: 24px;
        }

        /* ===== COOKIE BANNER ===== */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--bg-card);
            border-top: 1px solid var(--border);
            padding: 18px 2rem;
            display: none;
            align-items: center;
            justify-content: center;
            gap: 20px;
            z-index: 900;
            backdrop-filter: blur(10px);
        }
        .cookie-banner.show {
            display: flex;
        }
        .cookie-banner p {
            color: var(--text-secondary);
            font-size: 0.88rem;
        }
        .cookie-banner a {
            color: var(--accent-light);
        }
        .cookie-btn {
            padding: 8px 20px;
            background: var(--accent);
            color: white;
            border: none;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.85rem;
            cursor: pointer;
            font-family: inherit;
            white-space: nowrap;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .hero-container { grid-template-columns: 1fr; text-align: center; }
            .hero p { margin: 0 auto 36px; }
            .hero-buttons { justify-content: center; }
            .hero-stats { justify-content: center; }
            .hero-visual { display: none; }
            .categories-grid { grid-template-columns: 1fr 1fr; }
            .posts-grid { grid-template-columns: 1fr 1fr; }
            .content-layout { grid-template-columns: 1fr; }
            .sidebar { position: static; }
            .about-grid { grid-template-columns: 1fr; }
            .contact-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 72px;
                left: 0;
                right: 0;
                background: var(--bg-secondary);
                border-bottom: 1px solid var(--border);
                flex-direction: column;
                padding: 20px;
                gap: 4px;
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: var(--transition);
            }
            .nav-links.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }
            .nav-links a {
                width: 100%;
                padding: 12px 16px;
            }
            .hamburger { display: flex; }
            .categories-grid { grid-template-columns: 1fr; }
            .posts-grid { grid-template-columns: 1fr; }
            .about-image { grid-template-columns: 1fr 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
            .newsletter-form { flex-direction: column; }
            .form-row { grid-template-columns: 1fr; }
            .hero-stats { flex-wrap: wrap; gap: 24px; }
            .cookie-banner { flex-direction: column; text-align: center; }
        }

        /* ===== ANIMATIONS ===== */
        .fade-in {
            opacity: 0;
            transform: translateY(25px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Mobile nav */
        .mobile-nav-overlay {
            position: fixed;
            inset: 0;
            top: 72px;
            background: rgba(0,0,0,0.5);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        .mobile-nav-overlay.active {
            opacity: 1;
            visibility: visible;
        }
