/* 
 * solutions.css
 * Consolidated design system stylesheet for Octaboo Solutions.
 */

/* ================= Custom Variables & Imports ================= */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
    --primary-purple: #8b5cf6;
    --primary-orange: #ec5b13;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-emerald: #10b981;
    --background-dark: #05010d;
}

/* ================= Base Styling Overrides ================= */
body {
    font-family: 'Public Sans', sans-serif;
}

/* ================= Animations & Keyframes ================= */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(168, 85, 247, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

@keyframes progress-glow {
    0% {
        box-shadow: 0 0 5px rgba(139, 92, 246, 0.5);
    }

    100% {
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
    }
}

@keyframes draw {
    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.shimmer-line {
    animation: shimmer 2s infinite;
}

.pulse-badge {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7);
    animation: pulse-glow 2s infinite;
}

.progress-pulse {
    animation: progress-glow 2s infinite alternate ease-in-out;
}

.animate-draw-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw 2s ease-out forwards;
}

/* ================= Background Patterns ================= */
.grid-bg {
    background-image: radial-gradient(circle at 2px 2px, rgba(139, 92, 246, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

.grid-pattern {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(124, 58, 237, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
}

/* ================= Glow & Text Shadows ================= */
.glow-text {
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.4);
}

.text-glow-primary {
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}

.text-glow-orange {
    filter: drop-shadow(0 0 8px rgba(236, 91, 19, 0.5));
}

.glow-purple {
    box-shadow: 0 0 25px -5px rgba(139, 92, 246, 0.3);
}

.btn-glow {
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

.btn-glow-primary {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    transition: all 0.3s ease;
}

.btn-glow-primary:hover {
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.7);
}

.bar-glow {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

/* Neon buttons */
.btn-neon-purple {
    background-color: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-neon-purple:hover {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.7);
    transform: translateY(-2px);
}

/* ================= Glassmorphism Core ================= */
.glass-shape {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-glass {
    background: rgba(139, 92, 246, 0.1);
    box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Glass Panel Scoping */
.page-sales-team .glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-growth-strategy .glass-panel {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.page-sub-solution .glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Page-specific overrides for glass-card hover interaction */
.page-main-solutions .glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(168, 85, 247, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-main-solutions .glass-card:hover {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.08);
    /* Increased background opacity/brightness matching primary purple theme */
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4), 0 20px 40px rgba(139, 92, 246, 0.15);
    /* Distinct purple border glow */
    transform: translateY(-8px) scale(1.02);
    /* Smooth translateY and subtle scale-up */
}

/* Card inner icon and geometric elements on hover */
.page-main-solutions .glass-card:hover .material-symbols-outlined {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.page-main-solutions .glass-card .material-symbols-outlined {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.page-main-solutions .glass-card:hover .w-48 .absolute {
    border-color: rgba(168, 85, 247, 0.6);
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.3));
    transition: border-color 0.4s ease, filter 0.4s ease;
}

.page-main-solutions .glass-card .w-48 .absolute {
    transition: border-color 0.4s ease, filter 0.4s ease;
}

.page-sub-solution .glass-card,
.page-sales-team .glass-card,
.page-growth-strategy .glass-card {
    transform-style: preserve-3d;
}

.page-sub-solution .glass-card:hover,
.page-sales-team .glass-card:hover,
.page-growth-strategy .glass-card:hover {
    transform: translateY(-12px) rotateX(2deg) rotateY(2deg);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.25);
}

/* Material Symbols config */
.material-fill-300 {
    font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 48;
}

.material-empty-300 {
    font-variation-settings: 'FILL' 0, 'wght' 300;
}

/* ================= CTA & Footer Custom Utilities ================= */
.cta-box {
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.05), inset 0 0 30px rgba(163, 230, 53, 0.03);
}