@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500;700&display=swap');

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* Text Gradients */
.text-gradient-primary {
    background: linear-gradient(135deg, #e5bbdc 0%, #c6beea 70%, #2c3882 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-active {
    background: linear-gradient(135deg, #b4a9d0 0%, #7c7cb1 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Switch Glow Animation */
@keyframes switch-pulse {
    0% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.2);
    }
}

.switch-active {
    animation: switch-pulse 3s infinite;
}

/* Button Glow */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
    pointer-events: none;
}

.btn-glow:hover::after {
    transform: scale(1);
}

.btn-glow:hover {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.btn-gradient-brand {
    background: linear-gradient(135deg, #e5bbdc 0%, #c6beea 70%, #2c3882 100%);
    color: #0f172a;
    /* Slate 900 for contrast on light lilac */
}

.btn-gradient-brand:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(198, 190, 234, 0.4);
}

/* Hero Switch Animation */
.hero-switch-container {
    position: relative;
    width: 100px;
    height: 60px;
    background: #0f172a;
    border-radius: 50px;
    border: 2px solid #334155;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-switch-handle {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 46px;
    height: 46px;
    background: #475569;
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-switch-container.active {
    border-color: #60a5fa;
    /* Brighter blue */
    background: linear-gradient(180deg, #2c3882 0%, #7c7cb1 100%);
    /* Strong blue gradient */
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8), inset 0 0 10px rgba(59, 130, 246, 0.5);
    /* Outer and inner glow */
}

.hero-switch-container.active .hero-switch-handle {
    left: 45px;
    top: 5px;
    background: linear-gradient(135deg, #e5bbdc, #c6beea);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
}

/* Network Nodes Animation */
.network-grid {
    background-image:
        radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0, transparent 2px),
        linear-gradient(to right, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 1rem 0;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #0f172a;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

/* Modal View Transitions */
.modal-view {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wizard Steps */
.wizard-step {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Controls */
.form-radio:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
    border-color: transparent;
    background-color: currentColor;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    margin-top: -6px;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #334155;
    border-radius: 4px;
}

/* Chaos to Order Diagram Animations */

/* Floating animation for chaos elements */
@keyframes float-chaos {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(10px, -10px) rotate(5deg);
    }

    50% {
        transform: translate(-5px, 15px) rotate(-5deg);
    }

    75% {
        transform: translate(-15px, -5px) rotate(3deg);
    }
}

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

.animate-float-chaos-delayed {
    animation: float-chaos 7s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-float-chaos-reverse {
    animation: float-chaos 8s ease-in-out infinite reverse;
}

/* Particle Flow Animation */
@keyframes particle-flow {
    0% {
        transform: translateX(-20px) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    90% {
        opacity: 1;
        transform: translateX(100%) scale(1);
    }

    100% {
        transform: translateX(120%) scale(0);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #60a5fa;
    border-radius: 50%;
    opacity: 0;
}

.animate-flow-1 {
    animation: particle-flow 3s linear infinite;
    animation-delay: 0s;
}

.animate-flow-2 {
    animation: particle-flow 3s linear infinite;
    animation-delay: 1s;
}

.animate-flow-3 {
    animation: particle-flow 3s linear infinite;
    animation-delay: 2s;
}

/* Pulse Core Animation */
@keyframes pulse-core {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.animate-pulse-core {
    animation: pulse-core 2s infinite;
}

/* Vertical Scroll Transformation Styles */

.vertical-section-container {
    position: relative;
    padding: 4rem 0;
}

.connector-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(51, 65, 85, 0.5);
    /* slate-700/50 */
    transform: translateX(-50%);
    z-index: 0;
    transition: background 1s ease;
}

.connector-line.active {
    background: linear-gradient(to bottom, rgba(51, 65, 85, 0) 0%, #c6beea 70%, #2c3882 100%);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.central-switch-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    margin: 4rem 0;
}

.pain-item,
.solution-item {
    position: relative;
    z-index: 5;
    transition: all 0.6s ease-out;
}

.pain-item {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateX(0);
}

.pain-item.visible {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateX(0);
}

.solution-item {
    opacity: 0;
    transform: translateY(20px);
}

.solution-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hide the previous chaos diagram styles if needed, or reuse them */
/* Training Page Styles */

/* Curriculum Cards */
.curriculum-card {
    position: relative;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.curriculum-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
}

.level-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.faq-button {
    width: 100%;
    padding: 1.5rem 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-button:hover {
    color: #60a5fa;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content p {
    padding-bottom: 1.5rem;
    color: #94a3b8;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-button[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-button[aria-expanded="true"]+.faq-content {
    max-height: 200px;
    /* Adjust as needed */
}

/* Methodology Section Enhancements */
.methodology-feature-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.methodology-feature-card:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
}

.donut-chart-container {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(#3b82f6 0% 80%,
            /* Blue for Practice */
            rgba(30, 41, 59, 0.5) 80% 100%
            /* Dark for Theory */
        );
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.donut-chart-inner {
    width: 160px;
    height: 160px;
    background: #0f172a;
    /* Match section bg */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.donut-label-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.donut-label-text {
    font-size: 0.875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}



/* Enhanced Journey Styles */
.journey-container {
    position: relative;
    padding: 4rem 0;
}

/* Gradient Connector Line */
.journey-line {
    position: absolute;
    top: 4.5rem;
    /* Perfectly aligned with center of 5rem numbers (2rem padding + 2.5rem half-height) */
    left: 10%;
    width: 80%;
    height: 4px;
    background: linear-gradient(to right, #e5bbdc 0%, #c6beea 40%, #7c7cb1 70%, #2c3882 100%);
    border-radius: 4px;
    z-index: 0;
    opacity: 0.3;
}

.journey-step {
    position: relative;
    z-index: 10;
    padding-top: 2rem;
    /* Space for the number to overlap */
}

.step-number {
    width: 5rem;
    height: 5rem;
    background: #0f172a;
    /* Match section bg */
    border: 3px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto -2.5rem auto;
    /* Pull card up to overlap */
    position: relative;
    z-index: 20;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 50px var(--glow-color);
}

.journey-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 4rem 2rem 2rem 2rem;
    /* Extra top padding for number */
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.journey-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, var(--glow-color), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.journey-step:hover .journey-card {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.journey-step:hover .journey-card::after {
    opacity: 0.1;
}

/* Level Specifics */
.level-1 {
    --glow-color: #e5bbdc;
}

.level-1 .step-number {
    border-color: #3b82f6;
    color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.level-2 {
    --glow-color: #c6beea;
}

.level-2 .step-number {
    border-color: #8b5cf6;
    color: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.level-3 {
    --glow-color: #7c7cb1;
}

.level-3 .step-number {
    border-color: #10b981;
    color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

/* Target Audience Section Styles */
.audience-card {
    position: relative;
    padding: 3rem;
    border-radius: 1.5rem;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.audience-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.5);
}

.audience-card.strategic:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.15);
}

.audience-card.operational:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.15);
}

.audience-icon-bg {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    font-size: 12rem;
    opacity: 0.03;
    transform: rotate(-15deg);
    transition: all 0.5s ease;
    pointer-events: none;
}

.audience-card:hover .audience-icon-bg {
    opacity: 0.08;
    transform: rotate(0deg) scale(1.1);
}

.audience-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.audience-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.strategic .audience-icon-wrapper {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.operational .audience-icon-wrapper {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.audience-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

.audience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.strategic .audience-list li::before {
    background: #60a5fa;
}

.operational .audience-list li::before {
    background: #a78bfa;
}

/* Enhanced FAQ Styles */
.faq-item {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(96, 165, 250, 0.3);
}

.faq-button {
    padding: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.faq-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.faq-button[aria-expanded="true"] .faq-icon {
    background: #3b82f6;
    color: white;
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-button[aria-expanded="true"]+.faq-content {
    max-height: 300px;
    /* Adjust based on content */
    padding-bottom: 1.5rem;
}

/* Enhanced CTA Styles */
.cta-container {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-button {
    background: linear-gradient(135deg, #e5bbdc 0%, #c6beea 70%, #2c3882 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
    filter: brightness(1.1);
}