/* ============================================
   ZyOS Quantum Design System — css/quantum.css
   ============================================ */

/* --- Base --- */
body {
    background-color: #07070F;
    color: #e5e2e3;
    overflow-x: hidden;
}

/* --- Parallax Sections --- */
section {
    position: relative;
    z-index: 1;
}

/* Hero section (primeira section de cada página) com imagem de fundo */
section:first-of-type {
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

section:first-of-type::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        rgba(5, 67, 124, 0.5),
        radial-gradient(ellipse 600px 400px at 15% 30%, rgba(138, 235, 255, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 500px 300px at 85% 60%, rgba(221, 183, 255, 0.04) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 600px 400px at 15% 30%, rgba(138, 235, 255, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 500px 300px at 85% 60%, rgba(221, 183, 255, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 300px 300px at 50% 80%, rgba(34, 211, 238, 0.03) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

::selection {
    background: rgba(138, 235, 255, 0.3);
    color: #fff;
}

/* --- Material Symbols --- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- Glass Card --- */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card-strong {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(34, 211, 238, 0.15);
}

/* --- Glass Panel (Dashboard) --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 211, 238, 0.1);
}

/* --- Glow Border (animated gradient border) --- */
.glow-border {
    position: relative;
}

.glow-border::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #8aebff 0%, #ddb7ff 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.glow-border:hover::after {
    opacity: 0.4;
}

/* --- Border Glow (simple) --- */
.border-glow {
    border: 1px solid rgba(34, 211, 238, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.border-glow:hover {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

/* --- Text Gradient --- */
.text-gradient {
    background: linear-gradient(135deg, #8aebff 0%, #ddb7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Gradient Text (alias) --- */
.gradient-text {
    background: linear-gradient(90deg, #8aebff 0%, #ddb7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Luminous Text --- */
.luminous-text {
    background: linear-gradient(to right, #8aebff, #ddb7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Glow Effects --- */
.glow-cyan {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.luminous-glow {
    box-shadow: 0 0 40px 5px rgba(138, 235, 255, 0.05);
}

.primary-glow {
    box-shadow: 0 0 20px 0 rgba(34, 211, 238, 0.15);
}

.active-glow {
    box-shadow: 0 0 20px rgba(138, 235, 255, 0.15);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(138, 235, 255, 0.15);
}

/* --- Buttons --- */
.primary-btn-glow {
    background: linear-gradient(135deg, #22d3ee 0%, #6f00be 100%);
    transition: all 0.3s ease;
}

.primary-btn-glow:hover {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
    transform: translateY(-1px);
}

.glow-button-primary {
    background: linear-gradient(135deg, #22d3ee 0%, #6f00be 100%);
    transition: all 0.3s ease;
}

.glow-button-primary:hover {
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.4);
    transform: translateY(-2px);
}

.primary-gradient {
    background: linear-gradient(135deg, #8aebff 0%, #ddb7ff 100%);
}

/* --- Code Block --- */
.code-block {
    background: #050505;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
}

/* --- Nav Active State --- */
.nav-item-active {
    position: relative;
}

.nav-item-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #8aebff;
}

/* --- Animations --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 85%; }
    100% { width: 68%; }
}

@keyframes sync-flow {
    to { left: 200%; }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.animate-pulse-soft {
    animation: pulse-soft 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* --- Sync Line (E-commerce) --- */
.sync-line {
    background: linear-gradient(90deg, transparent, #8aebff, transparent);
    height: 2px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sync-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 10px #fff;
    animation: sync-flow 2s infinite linear;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #131314; }
::-webkit-scrollbar-thumb { background: #353436; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #859397; }

/* --- FAQ Content --- */
.faq-content {
    transition: max-height 0.3s ease;
}

