*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
:root{--bg:#fafafa;--text:#1a1a1a;--text-light:#666;--muted:#999;--accent:#00d4aa;--accent-dark:#00b894;--card:#fff;--border:#e8e8e8;--shadow:0 4px 24px rgba(0,0,0,0.06);--shadow-lg:0 20px 60px rgba(0,0,0,0.12);--grad:linear-gradient(135deg,#00d4aa,#00a8e8,#0077b6)}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;background:var(--bg);color:var(--text);overflow-x:hidden}

/* NAV */
.nav{position:fixed;top:0;left:0;right:0;z-index:1000;padding:20px 40px;display:flex;align-items:center;justify-content:space-between;transition:all .4s}
.nav.scrolled{background:rgba(255,255,255,.95);backdrop-filter:blur(20px);box-shadow:0 2px 20px rgba(0,0,0,.06)}
.nav-logo{display:flex;align-items:center;gap:12px;font-family:'Space Grotesk',sans-serif;font-size:1.4rem;font-weight:700;color:var(--text);text-decoration:none}
.nav-logo svg{width:36px;height:36px}
.nav-links{display:flex;align-items:center;gap:32px}
.nav-link{font-size:.85rem;font-weight:500;color:var(--text-light);text-decoration:none;text-transform:uppercase;letter-spacing:1.5px;transition:color .3s;position:relative}
.nav-link:hover,.nav-link.active{color:var(--text)}
.nav-link.active::after{content:'';position:absolute;bottom:-6px;left:0;right:0;height:2px;background:var(--accent)}
.nav-cta{padding:12px 28px;border:1.5px solid var(--text);border-radius:100px;font-size:.85rem;font-weight:600;color:var(--text);text-decoration:none;text-transform:uppercase;letter-spacing:1px;transition:all .3s;background:transparent;cursor:pointer;font-family:inherit}
.nav-cta:hover{background:var(--text);color:#fff}
.nav-mobile{display:none;width:44px;height:44px;border:none;background:transparent;cursor:pointer;padding:8px}
.nav-mobile svg{width:100%;height:100%}

/* HERO */
.hero{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:120px 40px 80px}
.hero-bg{position:absolute;inset:0;background:linear-gradient(135deg,#e0f7fa,#e8f5e9,#f3e5f5);opacity:.6}
.hero-orb{position:absolute;width:600px;height:600px;border-radius:50%;background:var(--grad);filter:blur(80px);opacity:.15;animation:orbFloat 8s ease-in-out infinite}
.hero-orb:nth-child(2){width:400px;height:400px;right:10%;top:20%;animation-delay:-4s;opacity:.1}
@keyframes orbFloat{0%,100%{transform:translate(0,0) scale(1)}33%{transform:translate(30px,-30px) scale(1.1)}66%{transform:translate(-20px,20px) scale(.95)}}
.hero-badge{display:inline-flex;align-items:center;gap:10px;padding:10px 24px;background:rgba(0,212,170,.1);border:1px solid rgba(0,212,170,.2);border-radius:100px;font-size:.85rem;font-weight:500;color:var(--accent-dark);margin-bottom:32px;position:relative;z-index:1}
.hero-badge .dot{width:8px;height:8px;background:var(--accent);border-radius:50%;animation:pulse 2s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}
.hero-title{font-family:'Space Grotesk',sans-serif;font-size:clamp(2.5rem,6vw,5rem);font-weight:300;line-height:1.1;text-align:center;max-width:900px;margin-bottom:24px;position:relative;z-index:1}
.hero-title span{font-weight:700;background:var(--grad);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero-subtitle{font-size:1.15rem;color:var(--text-light);text-align:center;max-width:560px;margin-bottom:40px;line-height:1.7;position:relative;z-index:1}
.hero-cta{display:flex;align-items:center;gap:20px;position:relative;z-index:1;flex-wrap:wrap;justify-content:center}
.btn-primary{padding:18px 40px;background:var(--text);color:#fff;border:none;border-radius:100px;font-family:inherit;font-size:.9rem;font-weight:600;text-transform:uppercase;letter-spacing:1.5px;cursor:pointer;transition:all .4s;text-decoration:none;display:inline-flex;align-items:center;gap:10px}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 20px 40px rgba(0,0,0,.2)}
.btn-secondary{padding:18px 40px;background:transparent;color:var(--text);border:1.5px solid var(--border);border-radius:100px;font-family:inherit;font-size:.9rem;font-weight:600;text-transform:uppercase;letter-spacing:1.5px;cursor:pointer;transition:all .4s;text-decoration:none}
.btn-secondary:hover{border-color:var(--text);transform:translateY(-3px)}
.hero-scroll{position:absolute;bottom:40px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--muted);font-size:.8rem;text-transform:uppercase;letter-spacing:2px;animation:bounce 2s ease-in-out infinite}
@keyframes bounce{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(10px)}}

/* PARTNERS */
.partners{padding:60px 40px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.partners-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:2px;color:var(--muted);margin-bottom:32px}
.partners-grid{display:flex;align-items:center;gap:48px;flex-wrap:wrap;opacity:.4}
.partner-logo{font-family:'Space Grotesk',sans-serif;font-size:1.3rem;font-weight:700}

/* SECTIONS */
.section{padding:100px 40px;max-width:1200px;margin:0 auto}
.section-header{margin-bottom:60px}
.section-label{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:3px;color:var(--accent-dark);margin-bottom:16px}
.section-title{font-family:'Space Grotesk',sans-serif;font-size:clamp(2rem,4vw,3rem);font-weight:300;line-height:1.2;max-width:600px}
.section-title strong{font-weight:700}

/* FEATURES */
.features{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.feature-visual{position:relative;height:500px;display:flex;align-items:center;justify-content:center}
.feature-orb{position:absolute;width:300px;height:300px;border-radius:50%;background:var(--grad);filter:blur(60px);opacity:.2;animation:orbFloat 6s ease-in-out infinite}
.feature-icon{width:80px;height:80px;border-radius:24px;background:var(--card);box-shadow:var(--shadow-lg);display:flex;align-items:center;justify-content:center;position:relative;z-index:1}
.feature-icon svg{width:36px;height:36px;color:var(--accent)}
.feature-list{display:flex;flex-direction:column;gap:32px}
.feature-item h3{font-size:1.2rem;font-weight:600;margin-bottom:8px}
.feature-item p{color:var(--text-light);line-height:1.7;font-size:.95rem}
.audit-badges{display:flex;gap:16px;margin-top:32px}
.audit-badge{padding:16px 24px;background:var(--bg);border-radius:16px;border:1px solid var(--border)}
.audit-badge-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted);margin-bottom:8px}
.audit-badge-name{font-size:.95rem;font-weight:700}

/* GLOBAL */
.global-section{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;padding:100px 40px;max-width:1200px;margin:0 auto}
.global-left{display:flex;flex-direction:column;gap:24px}
.global-logo{width:64px;height:64px;border-radius:20px;background:var(--text);display:flex;align-items:center;justify-content:center;color:#fff;font-family:'Space Grotesk',sans-serif;font-size:1.8rem;font-weight:700}
.global-title{font-family:'Space Grotesk',sans-serif;font-size:2.5rem;font-weight:300;line-height:1.2}
.global-title strong{font-weight:700}
.global-right{display:flex;flex-direction:column;gap:24px}
.global-feature{display:flex;align-items:flex-start;gap:20px;padding:24px;border-radius:20px;transition:all .3s}
.global-feature:hover{background:var(--card);box-shadow:var(--shadow)}
.global-feature-icon{width:48px;height:48px;border-radius:16px;background:var(--bg);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.global-feature-icon svg{width:24px;height:24px;color:var(--accent)}
.global-feature h4{font-size:1.1rem;font-weight:600;margin-bottom:6px}
.global-feature p{color:var(--text-light);font-size:.9rem}
.global-feature .badge{margin-left:auto;padding:6px 14px;background:var(--bg);border-radius:100px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:1px}

/* NEWS */
.news-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:40px}
.news-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.news-card{background:var(--card);border-radius:24px;overflow:hidden;box-shadow:var(--shadow);transition:all .4s}
.news-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-lg)}
.news-image{height:180px;background:var(--grad);position:relative;display:flex;align-items:center;justify-content:center}
.news-tag{position:absolute;top:16px;left:16px;padding:8px 16px;background:rgba(255,255,255,.95);border-radius:100px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:1px}
.news-content{padding:24px}
.news-date{font-size:.85rem;color:var(--muted);margin-bottom:12px}
.news-title{font-size:1rem;font-weight:600;line-height:1.5}

/* FAQ */
.faq-section{display:grid;grid-template-columns:1fr 1.5fr;gap:80px;padding:100px 40px;max-width:1200px;margin:0 auto}
.faq-left{position:sticky;top:120px;height:fit-content}
.faq-left p{color:var(--text-light);margin:20px 0 32px;line-height:1.7}
.faq-item{border-bottom:1px solid var(--border)}
.faq-question{padding:24px 0;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:1.05rem;font-weight:500;transition:color .3s;background:transparent;border:none;width:100%;text-align:left;font-family:inherit}
.faq-question:hover{color:var(--accent-dark)}
.faq-question svg{width:20px;height:20px;transition:transform .3s;color:var(--muted)}
.faq-item.open .faq-question svg{transform:rotate(180deg)}
.faq-answer{max-height:0;overflow:hidden;transition:all .4s}
.faq-item.open .faq-answer{max-height:200px;padding-bottom:24px}
.faq-answer p{color:var(--text-light);line-height:1.7}

/* CTA */
.cta-section{padding:120px 40px;text-align:center;position:relative;overflow:hidden}
.cta-bg{position:absolute;inset:40px;background:var(--grad);border-radius:40px;opacity:.9}
.cta-content{position:relative;z-index:1;color:#fff}
.cta-title{font-family:'Space Grotesk',sans-serif;font-size:clamp(2rem,4vw,3.5rem);font-weight:300;margin-bottom:16px}
.cta-title strong{font-weight:700}
.cta-subtitle{font-size:1.1rem;opacity:.9;margin-bottom:40px}
.btn-white{padding:18px 40px;background:#fff;color:var(--text);border:none;border-radius:100px;font-family:inherit;font-size:.9rem;font-weight:600;text-transform:uppercase;letter-spacing:1.5px;cursor:pointer;transition:all .4s}
.btn-white:hover{transform:translateY(-3px);box-shadow:0 20px 40px rgba(0,0,0,.2)}
.cta-link{display:block;margin-top:24px;color:rgba(255,255,255,.8);text-decoration:underline;font-size:.95rem}

/* FOOTER */
.footer{padding:80px 40px 40px;border-top:1px solid var(--border)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1.5fr;gap:40px;max-width:1200px;margin:0 auto}
.footer-brand h3{font-family:'Space Grotesk',sans-serif;font-size:1.8rem;font-weight:700;margin-bottom:20px}
.footer-brand p{color:var(--text-light);line-height:1.7;margin-bottom:24px}
.footer-column h4{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:2px;color:var(--muted);margin-bottom:24px}
.footer-column a{display:block;color:var(--text-light);text-decoration:none;margin-bottom:16px;font-size:.95rem;transition:color .3s}
.footer-column a:hover{color:var(--text)}
.social-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:2px;color:var(--muted);margin-bottom:20px}
.social-links{display:flex;gap:16px}
.social-link{width:48px;height:48px;border:1.5px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--text);text-decoration:none;transition:all .3s}
.social-link:hover{border-color:var(--text);background:var(--text);color:#fff}
.social-link svg{width:20px;height:20px}
.footer-bottom{max-width:1200px;margin:60px auto 0;padding-top:32px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}
.footer-bottom a{color:var(--text-light);text-decoration:none;font-size:.9rem}

/* APP CONTAINER */
.app { display: none; min-height: 100vh; }
.app.active { display: flex; }

/* MOBILE HEADER */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    z-index: 100;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid var(--border);
}
.mobile-header .logo-small { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; }
.mobile-header .logo-small svg { width: 36px; height: 36px; }
.hamburger-btn {
    width: 44px; height: 44px; border: none; background: var(--bg); border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.hamburger-btn span { width: 20px; height: 2.5px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* SIDEBAR */
.sidebar-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
    z-index: 200; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }
.sidebar {
    width: 280px; background: var(--bg); padding: 24px 16px;
    display: flex; flex-direction: column; gap: 6px; flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed; top: 0; left: 0; height: 100vh; z-index: 300; transform: translateX(-100%);
    padding-top: 80px;
}
.sidebar.active { transform: translateX(0); }
.sidebar .logo {
    width: 48px; height: 48px; margin-bottom: 32px; margin-left: 8px;
    background: var(--card); border-radius: 16px;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.sidebar .logo svg { width: 28px; height: 28px; }
.nav-item {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    border-radius: 14px; cursor: pointer; transition: all 0.2s;
    color: var(--text-light); font-size: 0.95rem; font-weight: 500;
    text-decoration: none; position: relative; background: transparent; border: none; width: 100%; font-family: inherit;
}
.nav-item:hover { background: var(--border); color: var(--text); }
.nav-item.active { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.nav-item svg { width: 22px; height: 22px; stroke-width: 1.8; flex-shrink: 0; }
.nav-item .badge { margin-left: auto; padding: 4px 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; }
.badge-cyan { background: #b8e0d2; color: #5a9a8a; }
.nav-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.user-mini {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    border-radius: 14px; cursor: pointer; transition: all 0.2s; background: transparent; border: none; width: 100%; font-family: inherit;
}
.user-mini:hover { background: var(--border); }
.user-avatar {
    width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #c8b8e0);
    display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.9rem;
}
.user-info { flex: 1; }
.user-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.user-role { font-size: 0.8rem; color: var(--muted); }

/* MAIN */
.main { flex: 1; padding: 32px 40px; overflow-y: auto; min-height: 100vh; margin-left: 280px; }
.header { margin-bottom: 28px; }
.header h1 { font-size: 1.7rem; font-weight: 700; color: var(--text); }
.header p { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }

/* STATS */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card { background: var(--card); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); transition: all 0.3s; }
.stat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.stat-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.stat-icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.stat-icon.cyan { background: #b8e0d2; color: #5a9a8a; }
.stat-icon.peach { background: #ffe8e0; color: #e07a5f; }
.stat-icon.purple { background: #c8b8e0; color: #7c6fae; }
.stat-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.stat-label { font-size: 0.9rem; color: var(--text-light); font-weight: 500; }
.stat-value { font-size: 2.8rem; font-weight: 300; color: var(--text); line-height: 1; }

/* SECTION HEADER */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.section-header h2 { font-size: 1.3rem; font-weight: 700; }
.filter-tabs {
    display: flex; gap: 8px; background: var(--card); padding: 6px;
    border-radius: 16px; box-shadow: var(--shadow);
}
.filter-tab {
    padding: 10px 20px; border-radius: 12px; border: none; background: transparent;
    color: var(--muted); font-family: inherit; font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.filter-tab.active { background: var(--bg); color: var(--text); }

/* UPLOAD CARD */
.upload-card { background: var(--card); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); margin-bottom: 28px; }
.upload-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.upload-area {
    border: 2px dashed var(--border); border-radius: 24px; padding: 60px 30px;
    text-align: center; cursor: pointer; transition: all 0.3s; margin-bottom: 28px;
}
.upload-area:hover, .upload-area.dragover { border-color: var(--accent); background: rgba(0,212,170,0.03); }
.upload-icon {
    width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 24px;
    background: #b8e0d2; display: flex; align-items: center; justify-content: center; color: #5a9a8a;
}
.upload-icon svg { width: 32px; height: 32px; stroke-width: 1.5; }
.upload-area p { color: var(--text-light); font-size: 1rem; line-height: 1.6; }
.upload-area .file-selected { color: var(--accent); font-weight: 700; }
.cover-preview { width: 100%; height: 200px; border-radius: 20px; object-fit: cover; margin-bottom: 24px; display: none; border: 3px solid #b8e0d2; }
.cover-preview.active { display: block; animation: previewIn 0.5s ease; }
@keyframes previewIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.form-group input, .form-group textarea {
    width: 100%; padding: 16px; background: var(--bg); border: 2px solid transparent;
    border-radius: 16px; color: var(--text); font-family: inherit; font-size: 1rem; transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background: var(--card); }
.form-group textarea { min-height: 120px; resize: vertical; }
.submit-btn {
    width: 100%; padding: 18px; background: var(--accent); border: none; border-radius: 16px;
    color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.submit-btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,212,170,0.35); }
.submit-btn:active { transform: translateY(0); }

/* FILES GRID */
.files-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.file-card {
    background: var(--card); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer;
}
.file-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-8px) scale(1.02); }
.file-cover {
    width: 100%; height: 180px; object-fit: cover;
    background: linear-gradient(135deg, #b8e0d2, #c8b8e0);
    display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.file-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%); }
.file-cover img { width: 100%; height: 100%; object-fit: cover; }
.file-cover .file-icon { font-size: 3.5rem; position: relative; z-index: 1; }
.file-info { padding: 24px; }
.file-name { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; word-break: break-all; }
.file-desc { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.file-meta { display: flex; align-items: center; justify-content: space-between; }
.file-type { padding: 8px 16px; border-radius: 12px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.file-type.py { background: #b8e0d2; color: #5a9a8a; }
.file-type.zip { background: #ffe8e0; color: #e07a5f; }
.file-type.other { background: #c8b8e0; color: #7c6fae; }
.file-date { font-size: 0.85rem; color: var(--muted); }
.download-btn {
    padding: 12px 24px; background: var(--bg); border: none; border-radius: 14px;
    color: var(--text); font-family: inherit; font-size: 0.9rem; font-weight: 700;
    cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.download-btn:hover { background: var(--accent); color: #fff; }

/* ADMIN LIST */
.admin-list { background: var(--card); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.admin-list h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.admin-item { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 20px; transition: all 0.3s; margin-bottom: 10px; cursor: pointer; }
.admin-item:hover { background: var(--bg); }
.admin-thumb { width: 60px; height: 60px; border-radius: 18px; object-fit: cover; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.6rem; }
.admin-info { flex: 1; min-width: 0; }
.admin-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-info p { color: var(--muted); font-size: 0.85rem; }
.admin-item .delete-btn { 
    padding: 12px 20px; background: #ffe8e0; border: none; border-radius: 14px; 
    color: #e07a5f; font-family: inherit; font-size: 0.85rem; font-weight: 700; 
    cursor: pointer; transition: all 0.3s; flex-shrink: 0; 
}
.admin-item .delete-btn:hover { background: #e07a5f; color: #fff; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 100px 20px; color: var(--muted); }
.empty-state svg { width: 100px; height: 100px; margin-bottom: 24px; opacity: 0.2; }
.empty-state h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; color: var(--text-light); }

/* NOTIFICATION */
.notification {
    position: fixed; top: 24px; right: 24px; padding: 20px 28px;
    background: var(--card); border-radius: 20px; box-shadow: var(--shadow-hover);
    color: var(--accent); font-weight: 700; z-index: 5000;
    transform: translateX(500px); transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); max-width: 90vw;
}
.notification.show { transform: translateX(0); }
.notification.error { color: #e07a5f; }

/* HIDDEN */
.hidden { display: none !important; }
.hidden-input { display: none; }

/* BOTTOM NAV */
.bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0; height: 70px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-top: 1px solid var(--border); z-index: 100;
    justify-content: space-around; align-items: center; padding: 0 16px;
}
.bottom-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 8px 16px; border-radius: 16px; color: var(--muted);
    text-decoration: none; font-size: 0.75rem; font-weight: 600; transition: all 0.2s; background: transparent; border: none; font-family: inherit; cursor: pointer;
}
.bottom-nav-item.active { color: var(--accent); background: #b8e0d2; }
.bottom-nav-item svg { width: 24px; height: 24px; stroke-width: 2; }

/* FILE DETAIL PAGE */
#page-detail { animation: fadeInUp 0.6s ease-out; }
.detail-container { max-width: 900px; margin: 0 auto; }
.detail-card { background: var(--card); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.detail-cover { width: 100%; height: 320px; object-fit: cover; background: linear-gradient(135deg, #b8e0d2, #c8b8e0); display: flex; align-items: center; justify-content: center; position: relative; }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover .file-icon { font-size: 5rem; }
.detail-body { padding: 36px; }
.detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.detail-title { font-size: 1.8rem; font-weight: 700; word-break: break-all; }
.detail-meta { display: flex; gap: 24px; flex-wrap: wrap; color: var(--text-light); font-size: 0.95rem; margin-bottom: 24px; }
.detail-meta span { display: flex; align-items: center; gap: 6px; }
.detail-desc { font-size: 1.05rem; line-height: 1.8; color: var(--text-light); margin-bottom: 32px; }
.detail-code { background: #1a1a2e; border-radius: 16px; padding: 24px; margin-bottom: 32px; overflow-x: auto; }
.detail-code pre { color: #e0e0e0; font-family: 'Fira Code', 'Consolas', monospace; font-size: 0.9rem; line-height: 1.7; white-space: pre-wrap; word-break: break-all; }
.detail-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.detail-actions .btn-primary, .detail-actions .btn-secondary { font-size: 0.95rem; padding: 16px 36px; }
.detail-back { display: inline-flex; align-items: center; gap: 10px; color: var(--text-light); text-decoration: none; font-weight: 500; margin-bottom: 24px; transition: color 0.3s; cursor: pointer; background: none; border: none; font-family: inherit; font-size: 1rem; }
.detail-back:hover { color: var(--text); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s ease-out; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .features, .global-section, .faq-section { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .nav-mobile { display: block; }
    .hero { padding: 100px 20px 60px; }
    .section, .global-section, .faq-section { padding: 60px 20px; }
    .partners-grid { gap: 24px; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .mobile-header { display: flex; }
    .main { padding: 80px 20px 100px; margin-left: 0; }
    .header h1 { font-size: 1.4rem; }
    .stats-row { grid-template-columns: 1fr; }
    .stat-value { font-size: 2.2rem; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .filter-tabs { width: 100%; overflow-x: auto; }
    .files-grid { grid-template-columns: 1fr; }
    .upload-card { padding: 24px; }
    .bottom-nav { display: flex; }
    .detail-body { padding: 24px; }
    .detail-title { font-size: 1.4rem; }
    .detail-cover { height: 200px; }
    .detail-code { padding: 16px; font-size: 0.8rem; }
    .detail-actions .btn-primary, .detail-actions .btn-secondary { width: 100%; justify-content: center; }
    .sidebar { transform: translateX(-100%); padding-top: 80px; }
    .sidebar.active { transform: translateX(0); }
}
@media (max-width: 480px) {
    .stat-card { padding: 20px; }
    .stat-icon { width: 44px; height: 44px; }
    .file-info { padding: 20px; }
    .admin-item { gap: 14px; padding: 14px; }
    .admin-thumb { width: 52px; height: 52px; }
    .delete-btn { padding: 10px 16px; }
    .detail-cover { height: 160px; }
    .detail-body { padding: 16px; }
}