:root {
    --primary-neon: #00ff41;
    --secondary-neon: #00cc00;
    --accent-red: #ff003c;
    --accent-orange: #ff6a00;
    --bg-black: #000000;
    --glass-bg: rgba(0, 255, 65, 0.05);
    --glass-border: rgba(0, 255, 65, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 255, 65, 0.03) 50%, transparent 50%);
    background-size: 100% 4px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 9999;
}

/* ─── HEADER & NAV ─────────────────────────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}

.logo span {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
}

/* Desktop nav */
nav { display: flex; align-items: center; gap: clamp(10px, 1.5vw, 30px); }

nav a { color: #fff; text-decoration: none; font-size: 0.72rem; font-weight: 900; letter-spacing: 2.5px; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; border: 1px solid transparent; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); position: relative; white-space: nowrap; }

nav a:hover {
    color: var(--primary-neon);
    border-color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon), 0 0 25px rgba(0, 255, 65, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2), inset 0 0 10px rgba(0, 255, 65, 0.05);
    transform: translateY(-2px) scale(1.05);
    background: rgba(0, 255, 65, 0.06);
}

/* Hamburger button (mobile only) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-neon);
    transition: all 0.3s ease;
    box-shadow: 0 0 6px var(--primary-neon);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.97);
    border-bottom: 2px solid var(--primary-neon);
    padding: 20px 5%;
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
    display: block;
    transition: all 0.2s ease;
    transform: translateX(-10px);
    opacity: 0;
}

.mobile-nav.open a {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav.open a:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-nav.open a:nth-child(2) {
    transition-delay: 0.1s;
}

.mobile-nav.open a:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-nav.open a:nth-child(4) {
    transition-delay: 0.2s;
}

.mobile-nav.open a:nth-child(5) {
    transition-delay: 0.25s;
}

.mobile-nav.open a:nth-child(6) {
    transition-delay: 0.3s;
}

.mobile-nav.open a:nth-child(7) {
    transition-delay: 0.35s;
}

.mobile-nav a:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon), 0 0 25px rgba(0, 255, 65, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2), inset 0 0 10px rgba(0, 255, 65, 0.05);
    transform: translateY(-2px) scale(1.05);
    background: rgba(0, 255, 65, 0.06);
    padding-left: 16px;
    border-left: 2px solid var(--primary-neon);
    letter-spacing: 3px;
}

/* ─── HERO ──────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 120px 5% 60px;
    background: url('art/art11.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.45);
    /* Increased visibility from 0.72 */
    backdrop-filter: blur(2px);
    /* Reduced blur from 4px */
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.glitch-title {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    color: #fff;
    text-shadow: 3px 3px 0 var(--primary-neon), -1px -1px 0 rgba(255, 255, 255, 0.1);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 30px auto;
    opacity: 0.9;
    color: #ccc;
}

/* ─── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    display: inline-block;
    border: none;
    letter-spacing: 2px;
    font-family: inherit;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary-neon);
    color: #000;
    box-shadow: 0 0 0 var(--primary-neon);
}

.btn-primary:hover {
    background: #fff;
    color: var(--primary-neon);
    box-shadow: 0 0 40px var(--primary-neon);
    transform: translateY(-3px);
}

/* ─── SECTIONS ──────────────────────────────────────────────────────────── */
.nexus-section {
    padding: 130px 10%;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.nexus-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    pointer-events: none;
    opacity: 0.07;
    z-index: -1;
}

#why-ionkine::after {
    background-image: url('art/art3.png');
}

#vocal-superchat::after {
    background-image: url('art/art1.png');
    width: 30%;
}

#call-box::after {
    background-image: url('art/art12.png');
    opacity: 0.04;
}

#omega::after {
    background-image: url('art/art15.png');
    opacity: 0.18;
}

.section-tag {
    font-size: 0.85rem;
    color: var(--primary-neon);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    margin-bottom: 40px;
    line-height: 1;
    text-transform: uppercase;
}

.tech-description {
    font-size: 1.05rem;
    color: #bbb;
    max-width: 900px;
    margin-bottom: 40px;
}

.tech-highlight {
    color: var(--primary-neon);
    font-weight: 900;
}

/* ─── IONKINE LOGO MISSION SECTION — STICKY SCROLL ────────────────────── */
.mission-section {
    position: relative;
    background: #000;
    border-bottom: 1px solid var(--glass-border);
    /* No overflow:hidden — we need normal scroll to pass through */
}

/* The logo sticks while text scrolls over it */
.mission-logo-bg {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    background: url('ionkine-logo.jpg') no-repeat center center;
    background-size: contain;
    opacity: 0.09;
    filter: saturate(0.4) sepia(0.2);
    z-index: 0;
    /* Key: pull text up to overlap the sticky logo */
    margin-bottom: -100vh;
    pointer-events: none;
}

/* Content sits on top in z-axis, scrolls normally */
.mission-content {
    position: relative;
    z-index: 1;
    padding: 130px 10%;
    background: transparent;
}

.mission-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #fff;
}

.mission-headline em {
    font-style: normal;
    color: var(--primary-neon);
    text-shadow: 0 0 20px var(--primary-neon);
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.stat-block {
    border-left: 3px solid var(--primary-neon);
    padding-left: 20px;
}

.stat-block .stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-neon);
    text-shadow: 0 0 15px var(--primary-neon);
}

.stat-block .stat-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.7;
    text-transform: uppercase;
    margin-top: 5px;
}

/* ─── CARDS ─────────────────────────────────────────────────────────────── */
.nexus-card {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 4px;
    backdrop-filter: blur(20px);
    transition: 0.4s;
    position: relative;
}

.nexus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-neon);
    transform: scaleX(0);
    transition: 0.4s;
    transform-origin: left;
}

.nexus-card:hover::before {
    transform: scaleX(1);
}

.nexus-card:hover {
    border-color: rgba(0, 255, 65, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 65, 0.05);
}

/* ─── PRICING ────────────────────────────────────────────────────────────── */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.tier-card {
    background: #0a0a0a;
    border: 1px solid var(--glass-border);
    padding: 50px 30px;
    border-radius: 4px;
    text-align: center;
    transition: 0.4s;
    position: relative;
}

.tier-card:hover {
    border-color: var(--primary-neon);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.1);
    transform: translateY(-5px);
}

.tier-card.featured {
    border: 2px solid var(--primary-neon);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.setup-fee {
    font-size: 1rem;
    color: var(--primary-neon);
    margin-bottom: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

/* ─── FORM ───────────────────────────────────────────────────────────────── */
.form-wrapper {
    max-width: 900px;
    margin: 60px auto;
    background: #000;
    padding: 80px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.form-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    border-right: 4px solid var(--primary-neon);
    border-bottom: 4px solid var(--primary-neon);
    pointer-events: none;
}

input,
select {
    width: 100% !important;
    background: #111 !important;
    border: 1px solid #333 !important;
    padding: 18px !important;
    color: #fff !important;
    margin-bottom: 22px !important;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 3px;
}

input:focus {
    border-color: var(--primary-neon) !important;
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.15);
    outline: none;
}

/* ─── STREAMERS ──────────────────────────────────────────────────────────── */
.streamer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.streamer-card {
    background: #0a0a0a;
    border: 1px solid var(--glass-border);
    padding: 28px;
    position: relative;
    transition: 0.3s;
}

.streamer-card:hover {
    border-color: var(--primary-neon);
    background: #0f0f0f;
}

.live-status {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--primary-neon);
    color: #000;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 900;
    border-radius: 2px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 6px var(--primary-neon);
    }

    50% {
        opacity: 0.6;
        box-shadow: none;
    }
}

/* ─── WHY GRID ───────────────────────────────────────────────────────────── */
.why-choose {
    background: linear-gradient(to bottom, #050505, #111, #050505);
    padding: 130px 10%;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 70px;
}

/* ─── PARTNERS ───────────────────────────────────────────────────────────── */
.partner-item {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 3px;
    padding: 10px 18px;
    border: 1px solid rgba(0, 255, 65, 0.1);
    transition: all 0.3s ease;
    cursor: default;
    color: rgba(255, 255, 255, 0.4);
}

.partner-item:hover {
    color: var(--primary-neon);
    border-color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
    background: rgba(0, 255, 65, 0.04);
}

/* ─── SWARM TERMINAL ─────────────────────────────────────────────────────── */
#swarm {
    background: #000;
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(0, 255, 65, 0.1);
}

.swarm-container {
    width: 100%;
    max-width: 800px;
    margin-top: 40px;
}

.swarm-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(0, 255, 65, 0.2);
    padding: 10px 0;
    transition: all 0.3s ease;
}

.swarm-search-wrapper:focus-within {
    border-color: var(--primary-neon);
    box-shadow: 0 4px 15px -10px var(--primary-neon);
}

.swarm-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--primary-neon);
    font-size: 1.4rem;
    font-family: 'Space Grotesk', sans-serif;
    padding: 10px 20px;
    outline: none;
    letter-spacing: 1px;
}

.swarm-input::placeholder {
    color: rgba(0, 255, 65, 0.3);
}

.mic-btn {
    background: transparent;
    border: none;
    color: rgba(0, 255, 65, 0.5);
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.mic-btn:hover {
    color: var(--primary-neon);
    transform: scale(1.1);
}

.mic-btn.active {
    color: #ff0000;
    animation: phosphorPulse 1.5s infinite;
}

@keyframes phosphorPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.swarm-output {
    margin-top: 30px;
    padding: 25px;
    background: rgba(0, 255, 65, 0.02);
    border: 1px solid rgba(0, 255, 65, 0.08);
    min-height: 100px;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-neon);
    font-size: 0.95rem;
    line-height: 1.7;
    display: none;
    white-space: pre-wrap;
    text-shadow: 0 0 4px rgba(0, 255, 65, 0.4);
}

/* ─── PRANK OVERLAY ─────────────────────────────────────────────────────── */
.prank-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-red-label {
    color: var(--primary-neon);
    text-shadow: 0 0 50px var(--primary-neon);
    font-size: 3rem;
    font-weight: 900;
}

.terminal-window {
    border: 2px solid var(--primary-neon);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 400px;
    overflow: hidden;
}

.terminal-body {
    color: var(--primary-neon);
    font-size: 0.8rem;
    font-family: monospace;
}

/* ─── MOBILE RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .nexus-section,
    .mission-section,
    .why-choose {
        padding: 80px 5%;
    }

    .tier-grid,
    .why-grid,
    .mission-stats {
        grid-template-columns: 1fr;
    }

    .tier-card.featured {
        transform: scale(1);
    }

    h2 {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }

    .hero p {
        font-size: 1.1rem;
    }

    .form-wrapper {
        padding: 40px 25px;
    }

    .nexus-section [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .swarm-input {
        font-size: 1rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    header {
        padding: 14px 5%;
    }

    .logo {
        font-size: 1.1rem;
    }

    .glitch-title {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .nexus-card {
        padding: 30px 20px;
    }

    .tier-card {
        padding: 35px 20px;
    }
}

/* ─── MATRIX TEXT ─────────────────────────────────────────────────────────── */
.matrix-text {
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 3px;
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
    font-size: clamp(1rem, 3vw, 1.5rem);
}

.text-center {
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ─── MOBILE APP BUTTONS ────────────────────────────────────────────────── */
.app-button-container {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    min-width: 180px;
}

.app-btn:hover {
    border-color: var(--primary-neon);
    background: rgba(0, 255, 65, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.1);
}

.app-btn-icon {
    font-size: 1.8rem;
    margin-right: 12px;
}

.app-btn-text {
    text-align: left;
}

.app-btn-label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.app-btn-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.1;
}

/* ─── MOBILE TOP BANNER ─────────────────────────────────────────────────── */
.mobile-app-banner {
    display: none;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid var(--primary-neon);
    padding: 15px 5%;
    position: relative;
    z-index: 1001;
    margin-top: 75px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.banner-close {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    color: var(--primary-neon);
}

@media (max-width: 768px) {
    .mobile-app-banner {
        display: block;
    }
}
/* ─── IOS INSTALL MODAL ─────────────────────────────────────────────────── */
.pwa-modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.pwa-modal { background: #111; border: 1px solid var(--primary-neon); border-radius: 20px; padding: 30px; max-width: 400px; width: 100%; text-align: center; box-shadow: 0 0 50px rgba(0, 255, 65, 0.2); position: relative; }
.pwa-modal-close { position: absolute; top: 15px; right: 15px; color: #666; cursor: pointer; font-size: 1.2rem; }
.pwa-icon-large { width: 80px; height: 80px; border-radius: 18px; margin-bottom: 20px; }
.pwa-step { display: flex; align-items: center; gap: 15px; text-align: left; margin: 20px 0; }
.pwa-step-icon { width: 30px; height: 30px; background: #222; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary-neon); font-weight: 900; flex-shrink: 0; }

@media (max-width: 768px) {
    .hero::before { background: rgba(5, 5, 5, 0.1) !important; backdrop-filter: blur(1px) !important; }
}
