/* Custom styles for roadmap page */

/* Enhanced text readability and contrast */
.hero-subtitle, .lead, p {
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.hero-subtitle {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.6;
}

.lead {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.2rem;
}

.section-title {
    color: #ffffff !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
    font-weight: 700;
}

/* Special styling for TRISK TRIFECTA heading */
.text-psychedelic {
    background: linear-gradient(135deg, 
        #8b5cf6 0%, 
        #ec4899 25%, 
        #3b82f6 50%, 
        #10b981 75%, 
        #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: none;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.text-psychedelic::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.3), 
        rgba(236, 72, 153, 0.3),
        rgba(59, 130, 246, 0.3),
        rgba(16, 185, 129, 0.3),
        rgba(245, 158, 11, 0.3));
    border-radius: 15px;
    filter: blur(20px);
    z-index: -1;
    opacity: 0.6;
}

.text-psychedelic i {
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    margin-right: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

/* Enhance the trifecta section */
.trifecta-section {
    background: radial-gradient(circle at center, 
        rgba(139, 92, 246, 0.1) 0%,
        transparent 50%);
    padding: 4rem 0;
    border-radius: 30px;
    margin: 3rem 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

/* Enhanced trifecta cards with better contrast */
.trifecta-card {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.4), 
        rgba(236, 72, 153, 0.4), 
        rgba(59, 130, 246, 0.3));
    border: 2px solid rgba(139, 92, 246, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Dark background overlay for better text contrast */
.trifecta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    z-index: -1;
}

.trifecta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -2;
}

.trifecta-card:hover::before {
    opacity: 1;
}

.trifecta-card:hover {
    transform: translateY(-12px);
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
}

.trifecta-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.trifecta-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.scarcity-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
    color: white;
}

.hedge-fund-icon {
    background: linear-gradient(135deg, #10b981, #059669, #047857);
    color: white;
}

.utility-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed, #6d28d9);
    color: white;
}

.trifecta-card:hover .trifecta-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.trifecta-title {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.trifecta-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

.trifecta-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
    padding: 0.5rem 0;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding-left: 1rem;
    margin-left: -1rem;
}

.highlight-item i {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

/* Enhanced AMM pools section */
.amm-pools-section {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.25), 
        rgba(236, 72, 153, 0.25),
        rgba(59, 130, 246, 0.2));
    border-radius: 25px;
    padding: 3.5rem 2.5rem;
    border: 2px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.amm-pools-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    z-index: -1;
}

.amm-pools-section .lead {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
    font-size: 1.25rem;
    line-height: 1.7;
}

.amm-pools-section h3 {
    color: #ffffff !important;
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.amm-cta-container {
    margin: 2.5rem 0;
}

.amm-cta-container .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

/* Enhanced value proposition section */
.value-proposition-section {
    margin-top: 4rem;
}

.advantage-card {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.3), 
        rgba(236, 72, 153, 0.3));
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    z-index: -1;
}

.advantage-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.7);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed, #6d28d9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.7rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.advantage-card h5 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
    font-size: 1.3rem;
}

.advantage-card p {
    color: #ffffff;
    line-height: 1.7;
    font-weight: 600;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
    font-size: 1.05rem;
}

/* Enhanced gradient text styling */
.gradient-text {
    background: linear-gradient(135deg, 
        #8b5cf6 0%, 
        #ec4899 25%, 
        #3b82f6 50%, 
        #10b981 75%, 
        #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: none;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.gradient-text::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2), 
        rgba(236, 72, 153, 0.2),
        rgba(59, 130, 246, 0.2),
        rgba(16, 185, 129, 0.2),
        rgba(245, 158, 11, 0.2));
    border-radius: 12px;
    filter: blur(15px);
    z-index: -1;
    opacity: 0.7;
}

/* AMM Pool Strategy heading enhancement */
.amm-pools-section h3.text-psychedelic {
    background: linear-gradient(135deg, 
        #3b82f6 0%, 
        #10b981 35%, 
        #06b6d4 70%, 
        #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 2.3rem;
    font-weight: 800;
    text-shadow: none;
    letter-spacing: 1.2px;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.amm-pools-section h3.text-psychedelic::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.25), 
        rgba(16, 185, 129, 0.25),
        rgba(6, 182, 212, 0.25),
        rgba(139, 92, 246, 0.25));
    border-radius: 12px;
    filter: blur(18px);
    z-index: -1;
    opacity: 0.6;
}

.amm-pools-section h3.text-psychedelic i {
    background: linear-gradient(135deg, #3b82f6, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 2rem;
    margin-right: 1rem;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

/* Enhanced call-to-action section */
.cta-buttons .btn {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-width: 2px;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Enhanced overall page readability */
body {
    line-height: 1.7;
}

.container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.container h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Developer Cards Styling */
.developer-card {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.35), 
        rgba(236, 72, 153, 0.35), 
        rgba(59, 130, 246, 0.3));
    border: 2px solid rgba(139, 92, 246, 0.6);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.developer-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    z-index: -1;
}

.developer-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -2;
}

.developer-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.9);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
}

.developer-card:hover::after {
    opacity: 1;
}

.developer-icon-wrapper {
    margin-bottom: 1.5rem;
}

.developer-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
}

.developer-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #3b82f6);
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.developer-card:hover .developer-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
}

.developer-card:hover .developer-icon::before {
    opacity: 0.7;
}

.developer-name {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

.developer-social {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.developer-card:hover .developer-social {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.developer-bio {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.developer-cta {
    margin-top: 1.5rem;
}

.follow-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.developer-card:hover .follow-btn {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-psychedelic {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .text-psychedelic i {
        font-size: 2rem;
        margin-right: 0.75rem;
    }

    .trifecta-section {
        padding: 2.5rem 0;
        margin: 2rem 0;
    }

    .trifecta-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .trifecta-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .trifecta-title {
        font-size: 1.5rem;
    }

    .trifecta-description {
        font-size: 1.1rem;
    }

    .amm-pools-section {
        padding: 2.5rem 1.5rem;
    }

    .amm-pools-section h3 {
        font-size: 1.7rem;
    }

    .amm-pools-section h3.text-psychedelic {
        font-size: 1.9rem;
        letter-spacing: 1px;
    }

    .amm-pools-section h3.text-psychedelic i {
        font-size: 1.6rem;
        margin-right: 0.75rem;
    }

    .gradient-text {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .advantage-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .highlight-item {
        font-size: 1rem;
        padding-left: 0.75rem;
    }

    .developer-card {
        padding: 2.5rem 1.5rem;
        margin-bottom: 2rem;
    }

    .developer-icon {
        width: 85px;
        height: 85px;
        font-size: 2.2rem;
    }

    .developer-name {
        font-size: 1.6rem;
    }

    .developer-social {
        font-size: 1rem;
        padding: 0.5rem 1.2rem;
    }

    .developer-bio {
        font-size: 1.1rem;
    }

    .follow-btn {
        font-size: 1rem;
        padding: 0.7rem 1.8rem;
    }
}

@media (max-width: 576px) {
    .text-psychedelic {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }

    .text-psychedelic i {
        font-size: 1.6rem;
        margin-right: 0.5rem;
    }

    .trifecta-section {
        padding: 2rem 0;
        margin: 1.5rem 0;
    }

    .trifecta-card {
        padding: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .amm-pools-section {
        padding: 2rem 1rem;
    }

    .amm-pools-section h3.text-psychedelic {
        font-size: 1.6rem;
        letter-spacing: 0.8px;
    }

    .amm-pools-section h3.text-psychedelic i {
        font-size: 1.4rem;
        margin-right: 0.5rem;
    }

    .gradient-text {
        font-size: 1.7rem;
        letter-spacing: 0.8px;
    }

    .developer-card {
        padding: 2rem 1.2rem;
    }

    .developer-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }

    .developer-name {
        font-size: 1.4rem;
    }

    .developer-social {
        font-size: 0.95rem;
        padding: 0.4rem 1rem;
    }

    .developer-bio {
        font-size: 1rem;
    }

    .follow-btn {
        font-size: 0.95rem;
        padding: 0.6rem 1.5rem;
    }
}
