/* ==========================================================================
   VIO X AI — Global Theme (matches home banner)
   Electric Green · Cyber Blue · Purple · Deep Midnight
   ========================================================================== */

:root {
    --bg-deep: #000000;
    --bg-base: #000000;
    --bg-midnight: #000000;
    --bg-ref: #000000;
    --neon-green: #00ff88;
    --neon-green-dim: #22c55e;
    --cyber-blue: #00b4ff;
    --cyber-blue-bright: #38bdf8;
    --neon-purple: #9333ea;
    --neon-violet: #a855f7;
    --neon-magenta: #c026d3;
    --cyan: var(--cyber-blue);
    --electric-cyan: var(--cyber-blue-bright);
    --magenta: var(--neon-purple);
    --deep-violet: var(--neon-violet);
    --brand-blue: var(--cyber-blue);
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.55);
    --text-soft: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --border-neon: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 255, 136, 0.25);
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.35), 0 0 50px rgba(0, 255, 136, 0.12);
    --glow-blue: 0 0 20px rgba(0, 180, 255, 0.35), 0 0 50px rgba(0, 180, 255, 0.12);
    --glow-purple: 0 0 20px rgba(147, 51, 234, 0.35), 0 0 50px rgba(147, 51, 234, 0.12);
    --glow-cyan: var(--glow-blue);
    --glow-pink: var(--glow-purple);
    --neon-glow-magenta: var(--glow-purple);
    --neon-glow-cyan: var(--glow-blue);
    --neon-glow-purple: var(--glow-purple);
}

/* ── Background: solid black ── */
body.theme-neon {
    background: #000000 !important;
    color: var(--text-soft);
}

body.theme-neon #js-bg-effects {
    display: block;
}

body.theme-neon::before {
    display: none;
}

body.theme-neon::after {
    display: none;
}

/* ── Ambient orbs: green / blue / purple ── */
.neon-orb-1 {
    background: radial-gradient(circle, rgba(0, 255, 136, 0.5), transparent 70%) !important;
    opacity: 0.22 !important;
}

.neon-orb-2 {
    background: radial-gradient(circle, rgba(0, 180, 255, 0.45), transparent 70%) !important;
    opacity: 0.2 !important;
}

.neon-orb-3 {
    background: radial-gradient(circle, rgba(147, 51, 234, 0.4), transparent 70%) !important;
    opacity: 0.18 !important;
}

.neon-orb-4 {
    background: radial-gradient(circle, rgba(0, 255, 136, 0.25), rgba(147, 51, 234, 0.2)) !important;
    opacity: 0.15 !important;
}

/* ── Logo & nav (logo styles in branding.css) ── */
body.theme-neon .nav-link:hover,
body.theme-neon .nav-link.neon-nav-active,
body.theme-neon .nav-link.text-brand-blue {
    color: var(--neon-green) !important;
    text-shadow: 0 0 14px rgba(0, 255, 136, 0.45);
}

body.theme-neon .nav-link::after {
    background: linear-gradient(90deg, var(--neon-green), var(--cyber-blue)) !important;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

body.theme-neon .site-header {
    background: rgba(3, 5, 8, 0.85) !important;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1) !important;
    backdrop-filter: blur(20px);
}

body.theme-neon .site-header.scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 255, 136, 0.15);
    background: rgba(3, 5, 8, 0.95) !important;
}

/* ── Neon highlights → branding.css ── */

/* ── Buttons: green → blue gradient ── */
body.theme-neon .btn-neon-primary,
body.theme-neon .premium-btn-cta,
body.theme-neon .btn-primary-sm,
body.theme-neon .ref-btn-cart {
    background: linear-gradient(135deg, #059669, #00b4ff, #6366f1) !important;
    background-size: 200% auto !important;
    border: 1px solid rgba(0, 255, 136, 0.3) !important;
    box-shadow: var(--glow-green) !important;
}

body.theme-neon .btn-neon-primary:hover,
body.theme-neon .premium-btn-cta:hover,
body.theme-neon .btn-primary-sm:hover,
body.theme-neon .ref-btn-cart:hover {
    background-position: right center !important;
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.35), 0 0 60px rgba(0, 180, 255, 0.2) !important;
}

body.theme-neon .bg-rose-600,
body.theme-neon .hover\:bg-rose-700:hover {
    background: linear-gradient(135deg, #059669, #00b4ff) !important;
    box-shadow: var(--glow-green) !important;
}

/* Ghost buttons */
.ref-btn-ghost,
body.theme-neon .hero-btn-secondary,
body.theme-neon .ab-btn-ghost {
    border: 1px solid rgba(0, 255, 136, 0.25) !important;
    background: rgba(0, 255, 136, 0.04) !important;
    backdrop-filter: blur(12px);
}

.ref-btn-ghost:hover,
body.theme-neon .hero-btn-secondary:hover,
body.theme-neon .ab-btn-ghost:hover {
    border-color: rgba(0, 255, 136, 0.45) !important;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}

/* ── Section headers ── */
body.theme-neon .section-eyebrow,
body.theme-neon .hero-badge,
body.theme-neon .ref-hero-badge {
    color: var(--neon-green) !important;
    background: rgba(0, 255, 136, 0.06) !important;
    border-color: rgba(0, 255, 136, 0.25) !important;
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.1);
}

body.theme-neon .section-title {
    color: #fff;
    letter-spacing: -0.02em;
}

body.theme-neon .text-brand-blue {
    color: var(--cyber-blue) !important;
}

/* ── Glass cards with tri-color borders ── */
body.theme-neon .ref-glass-card,
body.theme-neon .premium-process-card,
body.theme-neon .premium-feature-card,
body.theme-neon .premium-stat-card,
body.theme-neon .premium-audience-card,
body.theme-neon .portfolio-card,
body.theme-neon .card-hover,
body.theme-neon .premium-schedule-card,
body.theme-neon .faq-item,
body.theme-neon .premium-faq-item,
body.theme-neon .premium-testimonial,
body.theme-neon .ref-product-card,
body.theme-neon .hero-visual-card,
body.theme-neon .bg-white {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid var(--glass-border) !important;
}

body.theme-neon .ref-glass-card:hover,
body.theme-neon .premium-feature-card:hover,
body.theme-neon .card-hover:hover,
body.theme-neon .ref-product-card:hover,
body.theme-neon .portfolio-card:hover {
    border-color: rgba(0, 255, 136, 0.3) !important;
    box-shadow: var(--glow-green) !important;
}

/* ── Neon icons: green / blue / purple categories ── */
.ref-neon-icon-green,
.ref-neon-icon-pink {
    color: var(--neon-green) !important;
    background: rgba(0, 255, 136, 0.08) !important;
    border: 1px solid rgba(0, 255, 136, 0.25) !important;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.25) !important;
}

.ref-neon-icon-cyan,
.ref-neon-icon-blue {
    color: var(--cyber-blue) !important;
    background: rgba(0, 180, 255, 0.08) !important;
    border: 1px solid rgba(0, 180, 255, 0.25) !important;
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.25) !important;
}

.ref-neon-icon-purple,
.ref-neon-icon-indigo {
    color: var(--neon-violet) !important;
    background: rgba(147, 51, 234, 0.1) !important;
    border: 1px solid rgba(147, 51, 234, 0.3) !important;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.25) !important;
}

.ref-neon-icon-orange {
    color: #f97316 !important;
    background: rgba(249, 115, 22, 0.08) !important;
    border: 1px solid rgba(249, 115, 22, 0.25) !important;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.2) !important;
}

body.theme-neon .premium-trust-icon,
body.theme-neon .premium-stat-icon {
    background: rgba(0, 255, 136, 0.08) !important;
    color: var(--neon-green) !important;
    border-color: rgba(0, 255, 136, 0.2) !important;
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.15);
}

/* ── Trust bar & strips ── */
.ref-trust-bar {
    background: #000000 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.ref-trust-bar::before {
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.4), rgba(0, 180, 255, 0.4), transparent) !important;
}

body.theme-neon .premium-trust-strip,
body.theme-neon .ref-perks-strip {
    background: #000000 !important;
    border-color: rgba(0, 180, 255, 0.08) !important;
}

body.theme-neon .premium-marquee {
    background: #000000;
    border-color: rgba(0, 255, 136, 0.06);
}

body.theme-neon .marquee-item i {
    color: var(--neon-green) !important;
    filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.5));
}

/* ── Process / flow lines ── */
body.theme-neon .process-flow-line,
body.theme-neon .process-flow-line {
    background: linear-gradient(90deg, transparent, var(--neon-green), var(--cyber-blue), transparent) !important;
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.3);
}

body.theme-neon .process-step-num {
    background: linear-gradient(135deg, var(--neon-green), var(--cyber-blue)) !important;
    box-shadow: var(--glow-green);
}

/* ── Product cards ── */
.ref-product-badge-hot {
    background: var(--neon-green) !important;
    color: #030508 !important;
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.5) !important;
}

.ref-product-badge-new {
    background: linear-gradient(135deg, #00b4ff, #9333ea) !important;
    color: #fff !important;
    box-shadow: 0 0 18px rgba(0, 180, 255, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ── Hero visual card ── */
body.theme-neon .hero-visual-card {
    border-color: rgba(0, 255, 136, 0.15) !important;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.1), 0 0 80px rgba(0, 180, 255, 0.06) !important;
}

body.theme-neon .hero-visual-float {
    color: var(--neon-green);
    border-color: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.15);
}

/* ── Page heroes (inner pages) ── */
body.theme-neon .page-hero-glow,
body.theme-neon .ab-hero-bg {
    background: #000000 !important;
}

body.theme-neon .page-hero-photo::before {
    border-color: rgba(0, 255, 136, 0.35) !important;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2) !important;
}

body.theme-neon .page-hero-photo::after {
    border-color: rgba(0, 180, 255, 0.2) !important;
    box-shadow: 0 0 40px rgba(0, 180, 255, 0.12) !important;
}

body.theme-neon .page-hero-photo-img {
    border-color: rgba(0, 255, 136, 0.15) !important;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.12) !important;
}

/* ── FAQ / forms / footer ── */
body.theme-neon .faq-item.open,
body.theme-neon .premium-faq-item.open {
    border-color: rgba(0, 255, 136, 0.35) !important;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.1) !important;
}

body.theme-neon .form-input:focus {
    border-color: rgba(0, 255, 136, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1), 0 0 20px rgba(0, 180, 255, 0.1) !important;
}

body.theme-neon .site-footer {
    background: #000000 !important;
}

body.theme-neon .site-footer::before {
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.4), rgba(0, 180, 255, 0.4), transparent) !important;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}

body.theme-neon .social-icon:hover {
    color: var(--neon-green);
    border-color: rgba(0, 255, 136, 0.35);
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.2);
}

/* ── Stats glow ── */
body.theme-neon .premium-stat-value {
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.25);
}

/* ── Seats widget ── */
body.theme-neon .premium-seats-widget {
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.06), rgba(0, 180, 255, 0.04)) !important;
    border-color: rgba(0, 255, 136, 0.15) !important;
}

body.theme-neon .seats-progress-bar {
    background: linear-gradient(90deg, var(--neon-green), var(--cyber-blue)) !important;
}

/* ── Sparkles ── */
.neon-sparkle {
    box-shadow: 0 0 10px var(--neon-green), 0 0 20px var(--cyber-blue) !important;
}

/* ── Links hover ── */
body.theme-neon a:not([class*="btn"]):not(.footer-link):not(.nav-link):hover {
    color: var(--neon-green) !important;
}

body.theme-neon .text-green-500,
body.theme-neon .text-green-600 {
    color: var(--neon-green) !important;
}

body.theme-neon .text-rose-400,
body.theme-neon .text-rose-500 {
    color: var(--neon-green) !important;
}

/* ── About page accents ── */
body.page-about .ab-hero-badge {
    color: var(--neon-green) !important;
    border-color: rgba(0, 255, 136, 0.3) !important;
}

body.page-about .ab-hero-stat-icon,
body.page-about .ab-story-card-icon,
body.page-about .ab-platform-icon {
    background: rgba(0, 255, 136, 0.1) !important;
    color: var(--neon-green) !important;
}

body.page-about .ab-story-card-tag,
body.page-about .ab-exp-card-tag {
    color: var(--cyber-blue) !important;
}

/* ── System showcase grid ── */
.system-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .system-showcase-grid { gap: 1.25rem; }
}

@media (min-width: 1024px) {
    .system-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .system-showcase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.system-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.system-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.12), 0 0 60px rgba(0, 180, 255, 0.08);
}

.system-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000000;
}

.system-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.system-card:hover .system-card-img {
    transform: scale(1.05);
}

.system-card-badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 136, 0.35);
}

.system-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(3, 5, 8, 0.55);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.system-card:hover .system-card-overlay {
    opacity: 1;
}

.system-card-body {
    padding: 1rem 1rem 1.15rem;
}

.system-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.15rem;
    line-height: 1.3;
}

.system-card-title-th {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.35rem;
}

.system-card-desc {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-bottom: 0.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.system-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.system-card-tags span {
    font-size: 0.6rem;
    padding: 0.2rem 0.45rem;
    border-radius: 9999px;
    background: rgba(0, 180, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* About platform thumbnails */
.ab-platform-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 0.65rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ab-platform-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.ab-platform-card:hover .ab-platform-thumb img {
    transform: scale(1.06);
}

body.page-about .ab-platform-card {
    padding: 0.85rem 0.85rem 1rem;
}

/* Portfolio card images */
.portfolio-card-media {
    background: #000000;
}

.portfolio-card-img {
    display: block;
}

.portfolio-card:hover .portfolio-card-img {
    transform: scale(1.06);
}
