/* ================================================
   NekoPoi APK — nekopoiapk.site
   Global Stylesheet
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=DM+Mono:wght@400;500&display=swap');

:root {
    --bg-deep: #06060c;
    --bg-primary: #0b0b14;
    --bg-secondary: #111120;
    --bg-card: #16162a;
    --bg-card-hover: #1e1e38;
    --bg-elevated: #1c1c36;
    --accent: #ff2d55;
    --accent-hover: #ff4d70;
    --accent-glow: rgba(255, 45, 85, 0.25);
    --accent-soft: rgba(255, 45, 85, 0.08);
    --cyan: #00e5ff;
    --cyan-glow: rgba(0, 229, 255, 0.15);
    --gold: #ffd60a;
    --green: #30d158;
    --red: #ff453a;
    --text-primary: #f5f5fa;
    --text-secondary: #a0a0be;
    --text-muted: #5c5c7a;
    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(255, 45, 85, 0.15);
    --gradient-main: linear-gradient(135deg, #ff2d55 0%, #ff6b8a 50%, #c42bff 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(255,45,85,0.08), rgba(196,43,255,0.05));
    --radius-xl: 20px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-full: 999px;
    --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'DM Mono', monospace;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

::selection { background: var(--accent); color: #fff; }

/* ========== LAYOUT ========== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* ========== GRAIN OVERLAY ========== */
body::before {
    content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========== NAVBAR ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(6, 6, 12, 0.75);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.nav.scrolled { background: rgba(6, 6, 12, 0.95); box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.nav-inner {
    max-width: 1080px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 15px; color: #fff;
    box-shadow: 0 2px 12px var(--accent-glow);
}
.nav-logo-text { font-weight: 800; font-size: 17px; letter-spacing: -0.5px; }
.nav-logo-text span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
    color: var(--text-secondary); font-size: 13.5px; font-weight: 500;
    padding: 8px 14px; border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-cta {
    background: var(--accent) !important; color: #fff !important;
    font-weight: 700 !important; padding: 8px 20px !important;
    border-radius: var(--radius-full) !important;
    box-shadow: 0 2px 16px var(--accent-glow);
}
.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }

.mobile-toggle {
    display: none; background: none; border: 1px solid var(--border);
    color: var(--text-primary); width: 40px; height: 40px;
    border-radius: var(--radius-sm); cursor: pointer;
    font-size: 18px; transition: var(--transition);
}
.mobile-toggle:hover { border-color: var(--accent); }

/* ========== HERO ========== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 100px 0 60px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,45,85,0.1), transparent 65%);
    pointer-events: none; animation: heroGlow 8s ease-in-out infinite alternate;
}
.hero::after {
    content: ''; position: absolute; top: 20%; right: -10%;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,255,0.04), transparent 65%);
    pointer-events: none;
}
@keyframes heroGlow {
    0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}
.hero-content { text-align: center; position: relative; z-index: 2; width: 100%; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent-soft); border: 1px solid var(--border-accent);
    padding: 7px 18px; border-radius: var(--radius-full);
    font-size: 12.5px; font-weight: 600; color: var(--accent);
    letter-spacing: 0.3px; margin-bottom: 28px;
    animation: fadeDown 0.5s ease both;
}
.hero-badge .dot {
    width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
    animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
    0%,100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}
.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 900;
    line-height: 1.12; letter-spacing: -2px; margin-bottom: 22px;
    animation: fadeUp 0.6s ease both 0.1s;
}
.grad { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub {
    font-size: 17px; color: var(--text-secondary); max-width: 620px;
    margin: 0 auto 36px; line-height: 1.7;
    animation: fadeUp 0.6s ease both 0.2s;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.6s ease both 0.3s; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 32px; border-radius: var(--radius-full);
    font-size: 15px; font-weight: 700; font-family: var(--font-body);
    cursor: pointer; border: none; transition: var(--transition);
    text-decoration: none; position: relative;
}
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 4px 28px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 8px 40px var(--accent-glow); }
.btn-primary svg { width: 18px; height: 18px; }
.btn-ghost {
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ========== STATS ROW ========== */
.stats-row {
    display: flex; justify-content: center; gap: 48px;
    margin-top: 56px; animation: fadeUp 0.6s ease both 0.4s;
}
.stat { text-align: center; }
.stat-val { font-size: 30px; font-weight: 900; letter-spacing: -1px; }
.stat-val span { color: var(--accent); }
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-top: 2px; }

/* ========== SECTION HEADERS ========== */
.sec-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 2.5px; color: var(--accent); margin-bottom: 14px;
}
.sec-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--accent); border-radius: 1px; }
.sec-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; letter-spacing: -1.2px; margin-bottom: 14px; line-height: 1.2; }
.sec-desc { font-size: 16px; color: var(--text-secondary); max-width: 680px; margin-bottom: 40px; }

/* ========== TABLE ========== */
.data-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.data-table tr { transition: background var(--transition); }
.data-table tr:hover { background: var(--bg-card-hover); }
.data-table td { padding: 15px 24px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.data-table tr:last-child td { border-bottom: none; }
.data-table td:first-child { font-weight: 700; color: var(--text-primary); width: 42%; }
.data-table td:last-child { color: var(--text-secondary); }
.data-table thead th {
    padding: 16px 24px; font-size: 13px; font-weight: 700;
    text-align: left; background: var(--accent-soft);
    border-bottom: 1px solid var(--border); text-transform: uppercase;
    letter-spacing: 1px; color: var(--accent);
}

/* ========== FEATURE CARDS ========== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }

.fcard {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 30px;
    transition: var(--transition); position: relative; overflow: hidden;
}
.fcard::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient-main); opacity: 0; transition: opacity var(--transition);
}
.fcard:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow-card); }
.fcard:hover::after { opacity: 1; }
.fcard-icon {
    width: 50px; height: 50px; border-radius: var(--radius-md);
    background: var(--accent-soft); display: flex; align-items: center;
    justify-content: center; font-size: 22px; margin-bottom: 18px;
}
.fcard h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.3px; }
.fcard p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ========== CHECKLIST ========== */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-item {
    display: flex; align-items: center; gap: 12px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 14px 20px;
    font-size: 13.5px; font-weight: 600; transition: var(--transition);
}
.check-item:hover { background: var(--bg-card-hover); border-color: var(--border-accent); }
.check-icon {
    width: 24px; height: 24px; min-width: 24px; border-radius: 6px;
    background: rgba(48, 209, 88, 0.12); color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 900;
}

/* ========== STEPS ========== */
.steps { max-width: 700px; }
.step-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.step-item:last-child { border-bottom: none; }
.step-num {
    width: 46px; height: 46px; min-width: 46px; border-radius: var(--radius-md);
    background: var(--gradient-main); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 16px;
    box-shadow: 0 2px 12px var(--accent-glow);
}
.step-text h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 3px; }
.step-text p { font-size: 14px; color: var(--text-secondary); }

/* ========== TAGS ========== */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 10px 22px; border-radius: var(--radius-full);
    font-size: 13.5px; font-weight: 600; transition: var(--transition);
}
.tag:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* ========== PROS/CONS ========== */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc-box {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px; overflow: hidden;
}
.pc-box.pros { border-top: 3px solid var(--green); }
.pc-box.cons { border-top: 3px solid var(--red); }
.pc-title { font-size: 17px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.pc-list li {
    padding: 10px 0; font-size: 14px; color: var(--text-secondary);
    display: flex; align-items: flex-start; gap: 10px;
    border-bottom: 1px solid var(--border);
}
.pc-list li:last-child { border-bottom: none; }
.pc-list li .ico { flex-shrink: 0; margin-top: 3px; }

/* ========== COMPARISON ========== */
.cmp-check { color: var(--green); font-weight: 800; }
.cmp-cross { color: var(--red); font-weight: 800; }

/* ========== COMPETITOR CARDS ========== */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.comp-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 26px; transition: var(--transition);
}
.comp-card:hover { transform: translateY(-3px); border-color: var(--border-accent); box-shadow: var(--shadow-card); }
.comp-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.comp-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* ========== SECURITY BOX ========== */
.sec-box {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px; position: relative; overflow: hidden;
}
.sec-box::before {
    content: ''; position: absolute; top: -30px; right: -20px;
    width: 200px; height: 200px; border-radius: 50%;
    background: var(--accent-soft); filter: blur(60px); pointer-events: none;
}
.sec-box p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; position: relative; }
.sec-box p:last-child { margin-bottom: 0; }

/* ========== FAQ ========== */
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); margin-bottom: 8px;
    overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: var(--border-accent); }
.faq-q {
    padding: 18px 24px; font-size: 14.5px; font-weight: 700;
    cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; transition: var(--transition); user-select: none;
}
.faq-q:hover { background: var(--bg-card-hover); }
.faq-arrow { color: var(--accent); transition: transform 0.3s; font-size: 16px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 20px; }
.faq-a p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ========== CTA SECTION ========== */
.cta-section {
    text-align: center; padding: 90px 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(255,45,85,0.06), transparent 60%);
}
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; margin-bottom: 14px; letter-spacing: -1px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; font-size: 15px; }

/* ========== AD SLOTS ========== */
.ad-slot {
    background: var(--bg-secondary); border: 1px dashed var(--border);
    border-radius: var(--radius-md); padding: 20px;
    text-align: center; color: var(--text-muted); font-size: 12px;
    margin: 30px 0; min-height: 90px;
    display: flex; align-items: center; justify-content: center;
}

/* ========== FOOTER ========== */
.footer { border-top: 1px solid var(--border); background: var(--bg-deep); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand { }
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 320px; }
.footer-col h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; color: var(--text-primary); }
.footer-col a { display: block; font-size: 13px; color: var(--text-muted); padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: var(--text-muted);
}
.footer-dmca { font-size: 11px; color: var(--text-muted); margin-top: 16px; line-height: 1.65; max-width: 900px; }

/* ========== SCREENSHOTS ========== */
.ss-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ss-card {
    aspect-ratio: 9/16; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
    border: 1px solid var(--border); overflow: hidden; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.ss-card:hover { transform: translateY(-6px) scale(1.02); border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.ss-placeholder { text-align: center; color: var(--text-muted); font-size: 12px; font-weight: 600; }
.ss-placeholder svg { width: 36px; height: 36px; margin: 0 auto 8px; opacity: 0.25; }

/* ========== PAGE CONTENT (About, Privacy, etc.) ========== */
.page-hero {
    padding: 130px 0 50px; text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,45,85,0.06), transparent 50%);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 12px; }
.page-hero p { color: var(--text-secondary); font-size: 16px; }
.page-content { padding: 50px 0 80px; }
.page-content .prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 22px; font-weight: 800; margin: 36px 0 14px; letter-spacing: -0.5px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.prose p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.prose ul { margin: 12px 0 20px 20px; }
.prose ul li { font-size: 14.5px; color: var(--text-secondary); padding: 4px 0; list-style: disc; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose strong { color: var(--text-primary); }
.prose .last-updated { font-size: 13px; color: var(--text-muted); font-style: italic; margin-bottom: 28px; }

/* CONTACT FORM */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 14px 18px; border-radius: var(--radius-md);
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-primary); font-family: var(--font-body);
    font-size: 14px; transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-btn {
    background: var(--accent); color: #fff; border: none;
    padding: 14px 36px; border-radius: var(--radius-full);
    font-weight: 700; font-size: 15px; cursor: pointer;
    font-family: var(--font-body); transition: var(--transition);
}
.form-btn:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ========== ANIMATIONS ========== */
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-links.show {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: rgba(6,6,12,0.98);
        padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 4px;
    }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .stats-row { gap: 24px; flex-wrap: wrap; }
    .stat-val { font-size: 24px; }
    .checklist, .grid-2, .pc-grid { grid-template-columns: 1fr; }
    .ss-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .sec-title { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
}