:root {
    --zing: #ccff00;
    --zing-glow: rgba(204, 255, 0, 0.4);
    --cyber-white: #ffffff;
    --charcoal: #050505;
    --electric: #0d0d0d;
    --red: #ff2222;
    --text-dim: rgba(255, 255, 255, 0.5);
    --card-border: rgba(204, 255, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background-color: #000000;
}

body {
    background-color: #000000;
    color: var(--cyber-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Kinetic Background Canvas */
#zing-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    height: 80px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    width: 36px;
    height: 36px;
    background: var(--zing);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 900;
    font-style: italic;
    font-size: 18px;
    box-shadow: 0 0 15px var(--zing-glow);
}

.logo-text {
    font-size: 20px;
    letter-spacing: -1.5px;
}

.zing-span {
    color: var(--zing);
    text-shadow: 0 0 10px var(--zing-glow);
}

.nav-links {
    display: flex;
    gap: 28px;
}

@media (max-width: 800px) {
    .nav-links { display: none; }
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--zing);
    text-shadow: 0 0 10px var(--zing-glow);
}

.status-badge {
    background: rgba(204, 255, 0, 0.1);
    border: 1px solid rgba(204, 255, 0, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--zing);
    border-radius: 50%;
    animation: zing-pulse 2s infinite;
}

.badge-label {
    font-size: 9px;
    font-weight: 900;
    color: var(--zing);
    letter-spacing: 1.5px;
}

@keyframes zing-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
}

.hero-status-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.status-pill {
    font-size: 8px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 12px;
    border-radius: 4px;
}

.hero-title {
    font-size: 82px;
    line-height: 0.8;
    letter-spacing: -4px;
    margin-bottom: 32px;
}

@media (max-width: 600px) {
    .hero-title { font-size: 52px; }
}

.zing-text { color: var(--zing); text-shadow: 0 0 30px var(--zing-glow); }
.italic { font-style: italic; }
.gradient-text {
    background: linear-gradient(90deg, var(--zing), var(--cyber-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 20px;
    color: var(--text-dim);
    max-width: 680px;
    margin: 0 auto 64px;
    font-weight: 600;
}

/* Access Card */
.access-card {
    background: var(--electric);
    border: 1px solid var(--card-border);
    border-radius: 48px;
    max-width: 460px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--zing);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 28px;
    box-shadow: 0 0 25px var(--zing-glow);
}

.card-heading {
    font-size: 28px;
    margin-bottom: 8px;
}

.card-subheading {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    margin-bottom: 40px;
}

.protocol-container {
    margin-bottom: 32px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: 0.3s;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 16px;
    text-align: left;
}

.checkbox-label input { display: none; }

.checkmark {
    min-width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s;
}

.checkbox-label input:checked + .checkmark {
    background: var(--zing);
    border-color: var(--zing);
    box-shadow: 0 0 10px var(--zing-glow);
}

.checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-weight: 900;
    font-size: 14px;
    display: none;
}

.checkbox-label input:checked + .checkmark::after { display: block; }

.label-text {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.label-text a {
    color: var(--zing);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.btn-start {
    width: 100%;
    height: 64px;
    background: var(--zing);
    color: #000000;
    border: none;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px var(--zing-glow);
}

.btn-start:hover { transform: translateY(-3px); box-shadow: 0 0 50px var(--zing-glow); }

.card-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
}

/* Shake Animation */
.shake { animation: shake-anim 0.4s cubic-bezier(.36,.07,.19,.97) both; }
.shake-bg { background: rgba(255, 51, 51, 0.08); border: 1px solid rgba(255, 51, 51, 0.2); }

@keyframes shake-anim {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Sections Common */
.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 44px;
    margin-bottom: 60px;
    text-align: center;
}

/* Manifesto Section */
.seo-section { padding: 120px 0; background: rgba(0, 0, 0, 0.3); border-top: 1px solid rgba(255,255,255,0.03); }
.manifesto-grid { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-grid p { font-size: 18px; color: var(--text-dim); margin-bottom: 32px; font-weight: 500; line-height: 1.8; }
.manifesto-grid strong { color: var(--zing); }

/* Prowess Section */
.prowess-section { padding: 120px 0; background: #000; }
.prowess-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.prowess-item h3 { font-size: 20px; color: var(--zing); margin-bottom: 16px; letter-spacing: 1px; }
.prowess-item p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* Features */
.features { padding: 120px 0; background: #000; }
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #080808;
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 32px;
    transition: 0.4s;
    text-align: center;
}

.feature-card:hover { border-color: var(--zing); transform: scale(1.02); box-shadow: 0 0 30px rgba(204, 255, 0, 0.05); }
.f-icon { font-size: 36px; margin-bottom: 24px; display: block; filter: drop-shadow(0 0 10px rgba(255,255,255,0.1)); }
.feature-card h4 { font-size: 18px; margin-bottom: 12px; letter-spacing: 1px; }
.feature-card p { font-size: 13px; color: var(--text-dim); font-weight: 600; }

/* FAQ */
.faq { padding: 120px 0; background: #000; }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    color: var(--cyber-white);
    font-size: 16px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header span { color: var(--zing); font-size: 20px; transition: 0.3s; }
.accordion-item.active .accordion-header span { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: all 0.4s ease; padding: 0 30px; color: var(--text-dim); font-size: 14px; }
.accordion-item.active .accordion-body { max-height: 200px; padding-bottom: 24px; }

/* Footer */
.footer { padding: 100px 0 40px; background: #050505; border-top: 1px solid rgba(255,255,255,0.03); }
.grid-footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-dim); font-size: 13px; margin-top: 20px; max-width: 280px; }
.footer h4 { font-size: 10px; color: var(--zing); letter-spacing: 2px; margin-bottom: 20px; }
.footer a { display: block; color: var(--text-dim); text-decoration: none; font-size: 13px; font-weight: 700; margin-bottom: 10px; transition: 0.3s; }
.footer a:hover { color: var(--zing); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.02); padding-top: 40px; display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; color: rgba(255, 255, 255, 0.1); }

/* Chat Overlay */
.chat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: #000;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

.chat-overlay.active { transform: translateY(0); }
.chat-top-bar { height: 80px; background: #080808; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.chat-info { display: flex; align-items: center; gap: 12px; }
.chat-z { width: 38px; height: 38px; background: rgba(204, 255, 0, 0.1); border: 1px solid rgba(204, 255, 0, 0.2); color: var(--zing); display: flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 900; }
.chat-status { font-size: 11px; font-weight: 900; color: var(--zing); letter-spacing: 1px; }
.chat-node { font-size: 9px; font-weight: 700; color: var(--text-dim); letter-spacing: 1px; }
.btn-disconnect { background: var(--red); color: white; border: none; padding: 12px 24px; border-radius: 12px; font-weight: 900; font-size: 11px; cursor: pointer; transition: 0.2s; }
.btn-disconnect:hover { transform: scale(1.05); opacity: 0.9; }
.iframe-container { flex: 1; position: relative; background: #000; }
#chat-iframe { width: 100%; height: 100%; border: none; }
.chat-loader { position: absolute; inset: 0; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; transition: opacity 1s; }
.loader-spinner { width: 60px; height: 60px; border: 3px solid rgba(204, 255, 0, 0.1); border-top-color: var(--zing); border-radius: 50%; animation: spin 0.8s linear infinite; margin-bottom: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.chat-loader p { font-size: 13px; font-weight: 900; color: var(--zing); letter-spacing: 3px; margin-bottom: 6px; }
.loader-subtext { font-size: 9px; font-weight: 700; color: var(--text-dim); letter-spacing: 1px; }

/* Responsive Adjustments */
@media (max-width: 900px) {
    .grid-footer { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 600px) {
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .hero-status-bar { flex-wrap: wrap; }
}
