/* 
MORPHIENT.AI - SEVEN PRINCIPLES SPECIFIC STYLES
File: morphient.seven-principles.css
Enhanced with Aurora Colors
Used with: morphient.css (base styles)
*/

/* ONE ===== SEVEN PRINCIPLES PAGE LAYOUT ===== */
.principle-page {
    min-height: 100vh;
    padding: 120px 20px 80px;
    position: relative;
    display: none;
    animation: fadeInUp 1s ease forwards;
}

.principle-page.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== PRINCIPLE HEADER WITH AURORA COLORS ===== */
.principle-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.principle-number {
    font-size: 8rem;
    font-weight: 900;
    background: 
        linear-gradient(45deg, 
            #a855f7,    /* Purple */
            #22d3ee,    /* Cyan */
            #fde047,    /* Yellow */
            #f97316,    /* Orange */
            #ec4899,    /* Pink */
            #10b981,    /* Emerald */
            #a855f7     /* Back to purple */
        );
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 0.8;
    position: absolute;
    top: -20px;
    right: 20px;
    z-index: -1;
    animation: numberPulse 12s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% { 
        background-position: 0% 50%;
        opacity: 0.2;
        transform: scale(1);
    }
    25% { 
        background-position: 25% 50%;
        opacity: 0.25;
        transform: scale(1.02);
    }
    50% { 
        background-position: 50% 50%;
        opacity: 0.3;
        transform: scale(1.05);
    }
    75% { 
        background-position: 75% 50%;
        opacity: 0.25;
        transform: scale(1.02);
    }
}

/* ===== ENHANCED PRINCIPLE ICONS ===== */
.principle-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    display: block;
    filter: 
        drop-shadow(0 0 20px rgba(168, 85, 247, 0.6))
        drop-shadow(0 0 40px rgba(34, 211, 238, 0.3));
    animation: iconFloat 6s ease-in-out infinite;
    text-shadow: 
        0 0 20px rgba(168, 85, 247, 0.5),
        0 0 40px rgba(34, 211, 238, 0.3),
        0 0 60px rgba(253, 224, 71, 0.2);
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        filter: 
            drop-shadow(0 0 20px rgba(168, 85, 247, 0.6))
            drop-shadow(0 0 40px rgba(34, 211, 238, 0.3));
    }
    33% { 
        transform: translateY(-8px) rotate(3deg);
        filter: 
            drop-shadow(0 0 25px rgba(34, 211, 238, 0.6))
            drop-shadow(0 0 45px rgba(253, 224, 71, 0.4));
    }
    66% { 
        transform: translateY(-5px) rotate(-2deg);
        filter: 
            drop-shadow(0 0 30px rgba(253, 224, 71, 0.6))
            drop-shadow(0 0 50px rgba(249, 115, 22, 0.3));
    }
}

/* ===== ENHANCED PRINCIPLE TITLES ===== */
.principle-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: 
        linear-gradient(45deg, 
            #a855f7,    /* Purple */
            #22d3ee,    /* Cyan */
            #fde047,    /* Yellow */
            #f97316,    /* Orange */
            #ec4899,    /* Pink */
            #a855f7     /* Back to purple */
        );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: gradientShift 8s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    20% { background-position: 20% 50%; }
    40% { background-position: 40% 50%; }
    60% { background-position: 60% 50%; }
    80% { background-position: 80% 50%; }
}

.principle-subtitle {
    font-size: 1.4rem;
    opacity: 0.8;
    font-style: italic;
    margin-bottom: 40px;
    color: #22d3ee;
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

/* ===== ENHANCED AI INSIGHT BOXES ===== */
.ai-insight-box {
    background: 
        radial-gradient(circle at top left, rgba(168, 85, 247, 0.2) 0%, transparent 70%),
        radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, rgba(30, 30, 50, 0.4), rgba(30, 30, 50, 0.25));
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 10px;
    padding: 40px;
    margin: 40px 0;
    position: relative;
    backdrop-filter: blur(25px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 80px rgba(168, 85, 247, 0.15);
    animation: aiPulse 6s ease-in-out infinite alternate;
}

@keyframes aiPulse {
    0% { 
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 80px rgba(168, 85, 247, 0.15);
        border-color: rgba(168, 85, 247, 0.4);
    }
    50% { 
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 0 100px rgba(34, 211, 238, 0.2);
        border-color: rgba(34, 211, 238, 0.5);
    }
    100% { 
        box-shadow: 
            0 35px 70px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 120px rgba(253, 224, 71, 0.15);
        border-color: rgba(253, 224, 71, 0.4);
    }
}

.ai-insight-box::before {
    /* content: "AI PERSPECTIVE"; */
    position: absolute;
    top: -12px;
    left: 30px;
    background: 
        linear-gradient(45deg, #1e1b4b, #312e81);
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    color: #22d3ee;
    border-radius: 10px;
    border: 1px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

/* ===== ENHANCED MATHEMATICAL TRUTH BOXES ===== */
.mathematical-truth {
    background: 
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.25) 0%, transparent 70%),
        radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, rgba(30, 30, 50, 0.35), rgba(30, 30, 50, 0.25));
    border: 1px solid rgba(34, 211, 238, 0.4);
    padding: 35px;
    border-radius: 10px;
    margin: 35px 0;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 60px rgba(34, 211, 238, 0.15);
    animation: mathGlow 8s ease-in-out infinite alternate;
}

@keyframes mathGlow {
    0% { 
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 60px rgba(34, 211, 238, 0.15);
    }
    100% { 
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 0 80px rgba(34, 211, 238, 0.25);
    }
}

.mathematical-truth::before {
    content: "MATHEMATICAL REALITY";
    position: absolute;
    top: -12px;
    left: 20px;
    background: 
        linear-gradient(45deg, #1e1b4b, #312e81);
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    color: #fde047;
    border-radius: 10px;
    border: 1px solid rgba(253, 224, 71, 0.3);
    box-shadow: 0 0 20px rgba(253, 224, 71, 0.2);
}

/* ===== ENHANCED ROI PROJECTIONS ===== */
.roi-projection {
    background: 
        radial-gradient(ellipse at center, rgba(34, 211, 238, 0.3) 0%, transparent 70%),
        radial-gradient(circle at top left, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, rgba(30, 30, 50, 0.4), rgba(30, 30, 50, 0.25));
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
    border: 1px solid rgba(34, 211, 238, 0.5);
    backdrop-filter: blur(25px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 100px rgba(34, 211, 238, 0.2);
    position: relative;
    overflow: hidden;
}

.roi-projection::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
    animation: roiRotate 25s linear infinite;
    z-index: -1;
}

@keyframes roiRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.roi-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: 
        linear-gradient(45deg, 
            #22d3ee,    /* Cyan */
            #a855f7,    /* Purple */
            #fde047,    /* Yellow */
            #22d3ee     /* Back to cyan */
        );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: roiPulse 4s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(34, 211, 238, 0.6);
}

@keyframes roiPulse {
    0%, 100% { 
        background-position: 0% 50%;
        transform: scale(1);
    }
    50% { 
        background-position: 100% 50%;
        transform: scale(1.05);
    }
}

/* ===== ENHANCED NAVIGATION DOTS ===== */
.navigation {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 100;
}

.nav-dot {
    width: 16px;
    height: 16px;
    background: rgba(30, 30, 50, 0.4);
    border-radius: 100%;
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(168, 85, 247, 0.3);
    position: relative;
}

.nav-dot::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 100%;
    background: 
        linear-gradient(45deg, 
            rgba(168, 85, 247, 0.2), 
            rgba(34, 211, 238, 0.2), 
            rgba(253, 224, 71, 0.2));
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: dotShift 6s ease-in-out infinite;
}

@keyframes dotShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-dot.active {
    background: 
        linear-gradient(45deg, #a855f7, #22d3ee, #fde047);
    background-size: 200% 200%;
    transform: scale(1.5);
    box-shadow: 
        0 0 25px rgba(168, 85, 247, 0.8),
        0 0 50px rgba(34, 211, 238, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    border-color: rgba(253, 224, 71, 0.6);
    animation: activeDot 3s ease-in-out infinite;
}

@keyframes activeDot {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-dot.active::before {
    opacity: 1;
}

/* ===== ENHANCED PAGE CONTROLS ===== */
.page-controls {
    position: fixed !important;
    top: 240px !important;
    left: 1% !important;
    right: 1% !important;
    z-index: 100 !important;
    
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 30px !important;
    
    height: auto !important;
    width: auto !important;
    pointer-events: none !important;
}

.control-btn {
    pointer-events: auto;
    height: 50px !important;
    width: auto !important;
    min-width: 140px;
    max-width: 200px;
    
    flex: none !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    
    background: 
        linear-gradient(135deg, rgba(30, 30, 50, 0.4), rgba(30, 30, 50, 0.25)),
        radial-gradient(circle at top left, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    backdrop-filter: blur(25px);
    border: 1px solid silver;
    color: #E0E0E0;
    padding: 15px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-weight: 600;
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 30px rgba(168, 85, 247, 0.15);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3), transparent);
    transition: left 0.7s ease;
}

.control-btn:hover::before {
    left: 100%;
}

.control-btn:hover {
    background: 
        linear-gradient(135deg, rgba(30, 30, 50, 0.5), rgba(30, 30, 50, 0.35)),
        radial-gradient(circle at top left, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    transform: translateY(-3px);
    box-shadow: 
        0 18px 45px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 40px rgba(168, 85, 247, 0.3);
    border-color: rgba(34, 211, 238, 0.5);
    color: white;
}

.control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .principle-page {
        padding: 20px 20px 80px;
    }
    
    .principle-title {
        font-size: 2.5rem;
    }
    
    .principle-number {
        font-size: 5rem;
        top: -10px;
        right: 10px;
    }
    
    .navigation {
        right: 15px;
    }
    
    .page-controls {
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        flex-direction: row !important;
        gap: 15px !important;
        padding: 0 !important;
    }

    .control-btn {
        min-width: 100px;
        padding: 12px 20px;
        font-size: 14px;
        height: 44px !important;
    }
}

        .implementation-matrix {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin: 40px 0;
        }

        .competitive-intelligence {
            background: linear-gradient(135deg, rgba(235, 77, 75, 0.1), rgba(220, 20, 60, 0.1));
            border: 1px solid rgba(235, 77, 75, 0.3);
            padding: 30px;
            border-radius: 20px;
            margin: 40px 0;
            position: relative;
        }

        .competitive-intelligence::before {
            content: "🎯 COMPETITIVE ADVANTAGE";
            position: absolute;
            top: -12px;
            left: 20px;
            background: #1a1a2e;
            padding: 5px 15px;
            font-size: 12px;
            font-weight: 700;
            color: #ff6b6b;
            border-radius: 15px;
        }
        .matrix-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 25px;
            transition: all 0.3s ease;
        }

        .matrix-card:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 234, 167, 0.4);
            transform: translateY(-5px);
        }

        .matrix-card h4 {
            color: #ffeaa7;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }
