/* ==========================================================================
   DESIGN SYSTEM & GLOBAL STYLES (Orion Digital)
   ========================================================================== */

body {
    background-color: #101415;
    color: #e0e3e5;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #101415;
}
::-webkit-scrollbar-thumb {
    background: #323537;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #44474d;
}

/* ==========================================================================
   SURFACES & EFFECTS
   ========================================================================== */

/* Glassmorphism */
.glass {
    background: rgba(16, 20, 21, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-panel {
    background: rgba(17, 34, 64, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(189, 244, 255, 0.1);
}

/* Glow effects & transitions */
.text-gradient-cyan {
    background: linear-gradient(135deg, #bdf4ff, #00daf3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-hover:hover {
    border-color: #00daf3;
    box-shadow: 0 0 20px rgba(0, 218, 243, 0.1);
    transform: translateY(-4px);
}

.glow-hover:hover {
    box-shadow: 0 0 20px rgba(0, 218, 243, 0.2);
    border-color: #00daf3;
}

/* Connection Node Dots & Lines */
.connection-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #44474d, transparent);
}

.node-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00daf3;
    box-shadow: 0 0 8px #00daf3;
}

.process-line {
    background: linear-gradient(90deg, #00daf3 0%, rgba(0, 218, 243, 0) 100%);
}

.node-line-accent {
    background-image: radial-gradient(circle, #00daf3 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.1;
}

/* Case cards — dark overlay so text stays legible over any screenshot */
.case-overlay-gradient {
    background: linear-gradient(
        to top,
        rgba(16, 20, 21, 0.97) 0%,
        rgba(16, 20, 21, 0.9) 38%,
        rgba(16, 20, 21, 0.55) 62%,
        rgba(16, 20, 21, 0.12) 88%,
        rgba(16, 20, 21, 0) 100%
    );
    transition: background 0.5s ease;
}
.group:hover .case-overlay-gradient {
    background: linear-gradient(
        to top,
        rgba(16, 20, 21, 0.97) 0%,
        rgba(16, 20, 21, 0.92) 55%,
        rgba(16, 20, 21, 0.75) 80%,
        rgba(16, 20, 21, 0.45) 100%
    );
}
/* Reforço de legibilidade do texto sobre qualquer screenshot */
.case-overlay-gradient h3,
.case-overlay-gradient p,
.case-overlay-gradient > span {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
/* Chip da tag: fundo com blur para contraste garantido mesmo sobre áreas claras */
.case-overlay-gradient .rounded-full {
    background-color: rgba(0, 218, 243, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-shadow: none;
}

/* Mantém títulos longos dentro dos cards de diferenciais. */
.case-feature-title-long {
    max-width: 100%;
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
}

/* Accordion Animation (Contact FAQ) */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-open .accordion-content {
    max-height: 200px;
}

.accordion-open .accordion-icon {
    transform: rotate(180deg);
}
