﻿/* ============================================================
   LANDING PAGE — Premium Bento Grid Design
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --lp-bg: #001530;
    --lp-surface: #0a1f45;
    --lp-surface2: #0d2454;
    --lp-border: rgba(255,255,255,0.1);
    --lp-accent: #3b82f6;
    --lp-accent2: #6366f1;
    --lp-pink: #60a5fa;
    --lp-green: #10b981;
    --lp-gold: #f59e0b;
    --lp-sky: #0ea5e9;
    --lp-text: #f1f5f9;
    --lp-muted: #64748b;
    --lp-radius: 18px;
    --lp-radius-sm: 12px;
    --lp-glow: 0 0 60px rgba(59,130,246,0.2);
}

.landing-wrapper {
    min-height: 100vh;
    background:
		radial-gradient(ellipse 0% 50% at 80% 20%, #0a4fa8 0%, transparent 55%),
        radial-gradient(ellipse 50% 70% at 10% 80%, #032d7a 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 80% 100%, #001a4e 0%, transparent 60%),
        linear-gradient(160deg, #001530 0%, #002559 0%, #001a3d 80%, #000e24 100%);
        /* radial-gradient(ellipse 70% 60% at 80% 20%, #0a4fa8 0%, transparent 55%),
        radial-gradient(ellipse 50% 70% at 0% 80%, #032d7a 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 50% 100%, #001a4e 0%, transparent 60%),
        linear-gradient(160deg, #001530 0%, #002559 40%, #001a3d 70%, #000e24 100%); */
    font-family: 'Inter', sans-serif;
    color: var(--lp-text);
    overflow-x: hidden;
}

body:has(.landing-wrapper) .main-content,
body:has(.landing-wrapper) .main-content > .container {
    max-width: 100% !important; width: 100% !important;
    padding: 0 !important; margin: 0 !important;
    background: transparent !important; margin-top: -20px !important;
}
body:has(.landing-wrapper) { padding: 0 !important; background: var(--lp-bg) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 40px 0;
    overflow: hidden;
    /* Footer-matched palette: 4 blue tones */
		background:
		radial-gradient(ellipse 70% 60% at 10% 20%, #0a4fa8 0%, transparent 55%),
        radial-gradient(ellipse 50% 70% at 0% 80%, #032d7a 0%, transparent 30%),
        radial-gradient(ellipse 80% 80% at 50% 100%, #001a4e 50%, transparent 80%),
        linear-gradient(160deg, #001530 80%, #002559 100%, #001a3d 70%, #000e24 100%)
    /* background:
        radial-gradient(ellipse 70% 60% at 80% 20%, #0a4fa8 0%, transparent 55%),
        radial-gradient(ellipse 50% 70% at 0% 80%, #032d7a 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 50% 100%, #001a4e 0%, transparent 60%),
        linear-gradient(160deg, #001530 0%, #002559 40%, #001a3d 70%, #000e24 100%); */
}

/* Animated background blobs */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: blobFloat 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
.hero-section::before {
    width: 650px; height: 650px;
    background: rgba(59,130,246,0.20);
    top: -150px; right: -100px;
}
.hero-section::after {
    width: 500px; height: 500px;
    background: rgba(14,165,233,0.15);
    bottom: -120px; left: 10%;
    animation-delay: -4s;
}

/* 3rd blob */
.hero-section .blob3 {
    position: absolute;
    width: 350px; height: 350px;
    border-radius: 50%;
    filter: blur(80px);
    background: rgba(99,102,241,0.12);
    top: 50%; left: -80px;
    transform: translateY(-50%);
    z-index: 0;
    animation: blobFloat 10s ease-in-out infinite;
    animation-delay: -2s;
    pointer-events: none;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Grid dots */
.hero-grid-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.09) 1px, transparent 5px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

.hero-content {
    position: relative; z-index: 2;
    width: 100%; max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.hero-left { display: flex; flex-direction: column; gap: 28px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.35);
    color: #93c5fd; padding: 6px 14px;
    border-radius: 50px; font-size: 11px; font-weight: 700;
    letter-spacing: 0.8px; text-transform: uppercase; width: fit-content;
    backdrop-filter: blur(8px);
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #fff;
    margin: 0;
}
.hero-title .accent {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 40%, #bfdbfe 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-desc {
    font-size: 1rem; line-height: 1.7; color: #64748b; margin: 0; max-width: 480px;
}

/* Animated stats */
.hero-stats {
    display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
}
.hero-stat-item { display: flex; flex-direction: column; gap: 3px; }
.hero-stat-num {
    font-size: 2rem; font-weight: 900; color: #fff; line-height: 1;
    font-variant-numeric: tabular-nums;
}
.hero-stat-lbl { font-size: 11px; color: var(--lp-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; }
.hero-stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.08); align-self: center; }

/* Pills row */
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 13px; border-radius: 50px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #94a3b8; font-size: 12px; font-weight: 600;
    transition: all 0.25s ease; cursor: default;
}
.hero-pill:hover { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.35); color: #c7d2fe; }
.hero-pill i { font-size: 11px; }

/* CTA */
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #fff; padding: 12px 24px; border-radius: 12px;
    text-decoration: none; font-weight: 700; font-size: 14px;
    box-shadow: 0 4px 20px rgba(59,130,246,0.4);
    transition: all 0.25s ease; position: relative; overflow: hidden;
}
.btn-primary::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(rgba(255,255,255,0.15), transparent);
    opacity: 0; transition: opacity 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(59,130,246,0.55); color: #fff; }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    color: #94a3b8; font-size: 13px; font-weight: 600; text-decoration: none;
    padding: 10px 16px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.2s;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }

/* AUTH CARD */
.hero-right { position: relative; }

.auth-glass-card {
    background: rgba(255,255,255,0.97);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.15), var(--lp-glow);
    position: relative;
    overflow: hidden;
}
.auth-glass-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #1d4ed8, #3b82f6, #0ea5e9);
}

.l-auth-tabs {
    display: flex; background: #f1f5f9; padding: 4px; border-radius: 12px; margin-bottom: 20px; gap: 4px;
}
.l-auth-tab {
    flex: 1; padding: 9px; text-align: center; font-weight: 700;
    font-size: 13px; color: #94a3b8; cursor: pointer; border-radius: 9px; transition: all 0.2s;
}
.l-auth-tab.active { background: #fff; color: var(--lp-accent); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.l-auth-view-fade { animation: fadeSlide 0.3s ease-out; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Login form overrides */
.l-login-wrapper .auth-container h1 { display: none; }
.auth-container { max-width: 100% !important; }
.l-login-wrapper .auth-container { padding: 0; }
.l-login-wrapper .auth-form { padding: 0; background: transparent; box-shadow: none; margin: 0; }
.l-login-wrapper .form-group { margin-bottom: 10px; }
.l-login-wrapper .form-group label { display: block; font-weight: 700; font-size: 11px; color: #64748b; margin-bottom: 5px; }
.l-login-wrapper .form-group input {
    width: 100%; background: #f8fafc; border: 1.5px solid #e8edf5; border-radius: 10px;
    padding: 10px 14px 10px 42px !important; font-size: 13px; font-weight: 500; color: #1e293b; box-sizing: border-box;
}
.l-login-wrapper .form-group input:focus { border-color: var(--lp-accent); background: #fff; box-shadow: 0 0 0 3px rgba(99,102,241,0.1); outline: none; }
.l-auth-btn-primary {
    width: 100%; background: radial-gradient(circle at top right, #1b5eb8, #00449e) !important;
    color: white !important; border: none !important; padding: 11px !important;
    border-radius: 11px !important; font-size: 14px !important; font-weight: 800 !important;
    cursor: pointer; box-shadow: 0 4px 16px rgba(99,102,241,0.35) !important; margin-top: 4px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.l-auth-btn-primary:hover { 
    background: radial-gradient(circle at top right, #135dbd, #0355c1) !important;
    box-shadow: 0 6px 24px rgba(99,102,241,0.5) !important; 
}
.l-login-wrapper .auth-links { margin-top: 12px; border-top: 1px solid #f1f5f9; padding-top: 12px; text-align: center; font-size: 12px; color: #64748b; }
.l-login-wrapper .auth-links a { color: var(--lp-accent); font-weight: 700; text-decoration: none; }
.l-login-wrapper .captcha-container { background: #f8fafc; padding: 9px; border-radius: 10px; border: 1px solid #e8edf5; }
.l-auth-group { margin-bottom: 10px; }
.l-auth-row { display: flex; gap: 7px; width: 100%; }
/* .l-captcha-box placeholder */
.error-message { background: #fee2e2; color: #991b1b; padding: 9px 13px; border-radius: 10px; margin-bottom: 14px; font-size: 12px; font-weight: 600; border-left: 3px solid #ef4444; }
.success-message { background: #dcfce7; color: #166534; padding: 9px 13px; border-radius: 10px; margin-bottom: 14px; font-size: 12px; font-weight: 600; border-left: 3px solid #22c55e; }

/* ============================================================
   BENTO CONTENT AREA
   ============================================================ */
.landing-content {
    padding: 20px 20px 20px;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    /* margin-top: -40px; */
}

/* Bento: asymmetric grid */
/* Bento Grid setup for items to stretch in rows */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-flow: row; /* Standard row flow */
    align-items: stretch; /* All blocks in a row have same height */
    gap: 20px 0;
}

/* Cell base */
.bc {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--lp-radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column; /* Allow header and body to stack */
}
.bc-body {
    flex: 1; /* Occupy all available space */
    display: flex;
    flex-direction: column;
}
.bc:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.14); }

/* Span helpers */
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.bc-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px 12px; border-bottom: 1px solid rgba(255,255,255,0.05);
}

.bc-title {
    display: flex; align-items: center; gap: 9px;
    font-size: 13px; font-weight: 700; color: #e2e8f0; letter-spacing: -0.2px;
}
.bc-icon {
    width: 28px; height: 28px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; flex-shrink: 0;
}
.bci-fire   { background: rgba(239,68,68,0.15); color: #f87171; }
.bci-trophy { background: rgba(245,158,11,0.15); color: #fbbf24; }
.bci-users  { background: rgba(16,185,129,0.15); color: #34d399; }
.bci-chat   { background: rgba(99,102,241,0.15); color: #818cf8; }
.bci-cube   { background: rgba(139,92,246,0.15); color: #a78bfa; }
.bci-clock  { background: rgba(14,165,233,0.15); color: #38bdf8; }
.bci-grid   { background: rgba(236,72,153,0.15); color: #f472b6; }

.bc-link {
    font-size: 11px; font-weight: 700; color: #8694a7; text-decoration: none;
    display: flex; align-items: center; gap: 4px; transition: color 0.2s; white-space: nowrap;
}
.bc-link:hover { color: #818cf8; }

.bc-body { padding: 14px 14px; }

/* ============================================================
   QUICK ACCESS — glowing icon tiles
   ============================================================ */
.quick-access-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.qa-tile {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 12px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.16);
    text-decoration: none; transition: all 0.25s ease;
    position: relative; overflow: hidden;
}
.qa-tile::before {
    content: ''; position: absolute; inset: 0; opacity: 0;
    transition: opacity 0.25s;
    background: radial-gradient(circle at 30% 50%, var(--qa-color, rgba(99,102,241,0.15)), transparent 70%);
}
.qa-tile:hover::before { opacity: 1; }
.qa-tile:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.qa-tile-icon {
    width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    transition: transform 0.25s;
}
.qa-tile:hover .qa-tile-icon { transform: scale(1.1) rotate(-5deg); }
.qa-tile-text h4 { font-size: 13px; font-weight: 700; color: #e2e8f0; margin: 0 0 2px; }
.qa-tile-text p { font-size: 11px; color: #8694a7; margin: 0; }

/* Tile colors */
.qa-art  { --qa-color: rgba(245,158,11,0.2); }  .qa-art  .qa-tile-icon { background: rgba(245,158,11,0.15); color: #fbbf24; }
.qa-cat  { --qa-color: rgba(14,165,233,0.2); }  .qa-cat  .qa-tile-icon { background: rgba(14,165,233,0.15); color: #38bdf8; }
.qa-usr  { --qa-color: rgba(16,185,129,0.2); }  .qa-usr  .qa-tile-icon { background: rgba(16,185,129,0.15); color: #34d399; }
.qa-tag  { --qa-color: rgba(139,92,246,0.2); }  .qa-tag  .qa-tile-icon { background: rgba(139,92,246,0.15); color: #a78bfa; }

/* ============================================================
   TAGS — marquee scroll
   ============================================================ */
.tags-marquee-wrap { overflow: hidden; padding: 4px 0; position: relative; }
.tags-marquee-wrap::before,
.tags-marquee-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 2;
}
.tags-marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--lp-surface), transparent); }
.tags-marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--lp-surface), transparent); }

.tags-marquee {
    display: flex; gap: 8px; width: max-content;
    animation: marqueeScroll 30s linear infinite;
}
.tags-marquee:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.lp-tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 12px; border-radius: 8px;
    background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
    color: #e2e8f0; text-decoration: none; font-size: 12px; font-weight: 600;
    white-space: nowrap; transition: all 0.2s;
}
.lp-tag:hover { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.45); color: #bfdbfe; }
.lp-tag-hash { color: #6366f1; font-weight: 800; }
.lp-tag-count {
    background: rgba(255,255,255,0.06); color: #aeb7c3;
    font-size: 10px; padding: 1px 6px; border-radius: 4px; font-weight: 700;
}

input[type="text"], input[type="email"], input[type="password"] {
    height: 42px;
}
/* ============================================================
   TABBED WIDGET: Authors / Members
   ============================================================ */
.tab-switcher {
    display: flex; gap: 4px; background: rgba(255,255,255,0.04);
    border-radius: 9px; padding: 3px;
}
.tab-btn {
    flex: 1; padding: 6px 12px; border-radius: 7px; border: none; cursor: pointer;
    font-size: 11px; font-weight: 700; background: transparent; color: #64748b;
    transition: all 0.2s;
}
.tab-btn.active { background: rgba(99,102,241,0.2); color: #a5b4fc; }

.tab-pane { 
    display: none; 
    width: 100%; 
    height: 100%;
}
.tab-pane.active { 
    display: flex; 
    flex-direction: column;
    animation: fadeSlide 0.3s ease; 
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    justify-content: center;
    width: 100%;
}
.person-card {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    padding: 12px 8px; border-radius: 12px;
    background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.15);
    text-decoration: none; transition: all 0.2s;
}
.person-card:hover { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.3); transform: translateY(-2px); }
.person-avatar {
    width: 44px; height: 44px; border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    flex-shrink: 0;
}
.person-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 2px solid #111827; }
.person-name { font-size: 11px; font-weight: 700; color: #e2e8f0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.person-meta { font-size: 10px; color: #8694a7; font-weight: 600; }

/* ============================================================
   LATEST ARTICLES
   ============================================================ */
.art-list { display: flex; flex-direction: column; gap: 4px; }
.art-item {
    display: flex; align-items: flex-start; gap: 11px;
    padding: 10px; border-radius: 11px; text-decoration: none;
    transition: background 0.2s; position: relative;
}
.art-item::after {
    content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 1px;
    background: rgba(255,255,255,0.04);
}
.art-item:last-child::after { display: none; }
.art-item:hover { background: rgba(255,255,255,0.04); }
.art-num {
    width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
    background: rgba(99,102,241,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; color: #818cf8; margin-top: 2px;
}
.art-info { flex: 1; min-width: 0; }
.art-title { font-size: 13px; font-weight: 700; color: #e2e8f0; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-meta { font-size: 10px; color: #8694a7; margin-top: 2px; }

/* ============================================================
   RECENT COMMENTS
   ============================================================ */
.cmt-list { display: flex; flex-direction: column; gap: 12px; }
.cmt-item { display: flex; gap: 10px; }
.cmt-ava {
    width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 12px; color: white;
}
.cmt-body { flex: 1; min-width: 0; }
.cmt-top { display: flex; gap: 6px; align-items: center; margin-bottom: 3px; }
.cmt-author { font-size: 12px; font-weight: 700; color: #e2e8f0; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmt-time { font-size: 10px; color: #8694a7; flex-shrink: 0; }
.cmt-article { font-size: 11px; color: #6366f1; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; margin-bottom: 2px; }
.cmt-text { font-size: 11px; color: #8694a7; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   FEATURES — glowing dark cards
   ============================================================ */
.features-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.feat-card {
    padding: 20px 18px; border-radius: 14px;
    background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.25s; position: relative; overflow: hidden;
}
.feat-card::before {
    content: ''; position: absolute; top: -40px; right: -40px;
    width: 100px; height: 100px; border-radius: 50%;
    filter: blur(30px); opacity: 0.2; transition: opacity 0.3s;
}
.feat-card:hover::before { opacity: 0.4; }
.feat-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }

.feat-card.c1::before { background: #6366f1; }
.feat-card.c2::before { background: #ec4899; }
.feat-card.c3::before { background: #10b981; }
.feat-card.c4::before { background: #f59e0b; }

.feat-icon {
    width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 14px;
}
.fi1 { background: rgba(99,102,241,0.15); color: #818cf8; }
.fi2 { background: rgba(236,72,153,0.15); color: #f472b6; }
.fi3 { background: rgba(16,185,129,0.15); color: #34d399; }
.fi4 { background: rgba(245,158,11,0.15); color: #fbbf24; }

.feat-card h4 { font-size: 14px; font-weight: 800; color: #f1f5f9; margin: 0 0 8px; }
.feat-card p  { font-size: 12px; color: #8694a7; line-height: 1.6; margin: 0; }

/* ============================================================
   CATALOG PRODUCTS (Landing block)
   ============================================================ */
.prod-slider-wrap {
    width: 100%;
    overflow-x: auto;
    padding: 0 18px 24px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
    cursor: grab;
}
.prod-slider-wrap::-webkit-scrollbar { height: 4px; }
.prod-slider-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

.prod-grid-l {
    display: flex;
    gap: 20px;
    width: max-content;
    scroll-snap-type: x mandatory;
}
.prod-card-l {
    width: 260px;
    flex-shrink: 0;
    display: flex; flex-direction: column;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px; overflow: hidden; text-decoration: none;
    transition: all 0.25s; position: relative;
    scroll-snap-align: start;
}
.prod-card-l:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.09); border-color: rgba(6,182,212,0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.prod-l-img {
    width: 100%; aspect-ratio: 4/3; position: relative;
    background: rgba(0,0,0,0.2); overflow: hidden;
}
.prod-l-img img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.prod-card-l:hover .prod-l-img img { transform: scale(1.05); }
.prod-l-badge {
    position: absolute; top: 8px; right: 8px;
    background: rgba(245,158,11,0.9); color: #fff;
    padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 800;
    backdrop-filter: blur(4px); display: flex; align-items: center; gap: 4px;
}
.prod-l-info {
    padding: 12px 14px; display: flex; flex-direction: column; flex: 1;
}
.prod-l-cat {
    font-size: 10px; color: #06b6d4; font-weight: 700; text-transform: uppercase; margin-bottom: 4px;
}
.prod-l-title {
    font-size: 12px; font-weight: 700; color: #e2e8f0; line-height: 1.4; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-l-price {
    font-size: 14px; font-weight: 800; color: #fff; margin-top: auto;
}

/* ============================================================
   SLIDER NAV (For forms)
   ============================================================ */
.slider-nav { display: flex; gap: 5px; }
.slider-nav button {
    width: 26px; height: 26px; border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05);
    color: #64748b; display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 10px; transition: all 0.2s;
}
.slider-nav button:hover { background: rgba(99,102,241,0.2); color: #818cf8; border-color: rgba(99,102,241,0.4); }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .hero-content { grid-template-columns: 1fr 380px; gap: 36px; }
    .bento-grid { grid-template-columns: repeat(8, 1fr); }
    .col-3 { grid-column: span 4; }
    .col-4 { grid-column: span 4; }
    .col-5 { grid-column: span 4; }
    .col-7 { grid-column: span 8; }
    .col-8 { grid-column: span 8; }
    .features-bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .hero-section { padding: 60px 24px 40px; min-height: auto; }
    .hero-content { grid-template-columns: 1fr; gap: 32px; }
    .hero-right { max-width: 440px; margin: 0 auto; width: 100%; }
    .hero-left { align-items: center; text-align: center; }
    .hero-desc { text-align: center; }
    .hero-pills { justify-content: center; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; }
}

@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(6, 1fr); }
    .col-4,.col-8 { grid-column: span 3; }
    .col-12 { grid-column: span 6; }
    .cmt-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; gap: 16px; }
    .col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-12 { grid-column: span 1; }
    .hero-title { font-size: 2rem; }

    /* Quick Access → horizontal slider */
    .quick-access-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .quick-access-grid::-webkit-scrollbar { height: 3px; }
    .quick-access-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }
    .qa-tile {
        flex: 0 0 200px;
        scroll-snap-align: start;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .hero-section { padding: 40px 16px 32px; }
    .quick-access-grid { grid-template-columns: 1fr; }
    .features-bento { grid-template-columns: 1fr; }
}

/* ============================================================
   BENTO GRID - NEW LAYOUT COMPONENTS
   ============================================================ */
.tags-cloud { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Community Small */
.people-grid-small { display: flex; flex-direction: column; gap: 10px; }
.person-card-mini {
    display: flex; align-items: center; gap: 12px;
    padding: 10px; border-radius: 10px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none; transition: all 0.2s;
}
.person-card-mini:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); transform: translateX(4px); }
.person-avatar-s { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.1); }
.person-avatar-s img { width: 100%; height: 100%; object-fit: cover; }
.person-info-s { flex: 1; min-width: 0; }
.person-name-s { font-size: 13px; font-weight: 700; color: #f1f5f9; margin-bottom: 2px; }
.person-meta-s { font-size: 11px; color: #8694a7; }

/* Latest Articles Large */
.art-list-large { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.art-item-l {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-radius: 14px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none; transition: all 0.2s;
}
.art-item-l:hover { background: rgba(255,255,255,0.1); border-color: rgba(59,130,246,0.3); }
.art-l-main { flex: 1; min-width: 0; }
.art-l-title { font-size: 14px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-l-meta { font-size: 11px; color: #8694a7; display: flex; align-items: center; gap: 8px; }
.art-l-dot { opacity: 0.3; }
.art-l-arrow { color: #374151; font-size: 12px; transition: color 0.2s; }
.art-item-l:hover .art-l-arrow { color: #6366f1; }

/* Recent Comments Large */
.cmt-grid-l { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmt-item-l {
    display: flex; flex-direction: column; gap: 8px;
    padding: 14px; border-radius: 12px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
}
.cmt-l-head { display: flex; align-items: center; justify-content: space-between; }
.cmt-l-user { display: flex; align-items: center; gap: 8px; }
.cmt-l-ava { width: 24px; height: 24px; background: #334155; color: #fff; border-radius: 6px; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cmt-l-author { font-size: 12px; font-weight: 700; color: #f1f5f9; text-decoration: none; }
.cmt-l-time { font-size: 10px; color: #64748b; }
.cmt-l-article { font-size: 11px; color: #6366f1; text-decoration: none; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmt-l-text { font-size: 12px; color: #94a3b8; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Stats distribution refined */
.stats-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 1024px) {
    .art-list-large, .cmt-grid-l { grid-template-columns: 1fr; }
}
