/* Custom Global Styles for Ariannex */

html,
body {
    font-family: 'Inter', sans-serif;
    background-color: #0b1326;
    color: #dae2fd;
    overflow-x: hidden;
}

/* Material symbols override */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Glassmorphism Panel (Home & Common) */
.glass-panel {
    background: rgba(23, 31, 51, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(141, 144, 156, 0.1);
    box-shadow: inset 0 1px 1px rgba(170, 199, 255, 0.05);
}

/* Glow effects */
.ai-glow {
    box-shadow: 0 0 30px 2px rgba(0, 219, 233, 0.15);
}

.text-gradient {
    background: linear-gradient(135deg, #aac7ff 0%, #00dbe9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-mesh {
    background-image: radial-gradient(circle at 50% 50%, rgba(15, 70, 136, 0.15) 0%, transparent 70%);
}

.glow-text {
    text-shadow: 0 0 15px rgba(0, 219, 233, 0.3);
}

.glow-accent {
    filter: drop-shadow(0 0 8px rgba(0, 219, 233, 0.4));
}

.animated-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.data-stream {
    background: linear-gradient(90deg, transparent, rgba(0, 219, 233, 0.2), transparent);
    background-size: 200% 100%;
    animation: flow 3s infinite linear;
}

@keyframes flow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Page-specific Glass Card styling to avoid collisions */

/* About Page Glass Cards */
.template-about .glass-card {
    background: rgba(23, 31, 51, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(141, 144, 156, 0.2);
    transition: all 0.3s ease;
}

.template-about .glass-card:hover {
    border-color: rgba(0, 219, 233, 0.4);
    box-shadow: 0 0 20px rgba(0, 219, 233, 0.1);
}

.template-about .gradient-border-mask {
    position: relative;
}

.template-about .gradient-border-mask::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(to bottom right, rgba(170, 199, 255, 0.5), transparent, rgba(0, 219, 233, 0.5));
    -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;
    pointer-events: none;
}

/* Solutions Page Glass Cards */
.template-solutions .glass-card {
    background: rgba(23, 31, 51, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(141, 144, 156, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.template-solutions .glass-card:hover {
    border-color: rgba(0, 219, 233, 0.5);
    box-shadow: 0 0 30px rgba(0, 219, 233, 0.15);
    transform: translateY(-4px);
}

/* Contact Page Glass Cards */
.template-contact .glass-card {
    background: rgba(23, 31, 51, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(141, 144, 156, 0.2);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}
