/* ========================================
   MSPE Psychology-Enhanced UI v1.0
   Optimized for psychological attractiveness
   and conversion optimization
   ======================================== */

/* ==================== TRUST & CREDIBILITY ENHANCEMENTS ==================== */

/* Trust Badges - High Impact */
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-badge:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-3px);
}

.trust-badge i {
    color: var(--neon-cyan);
    font-size: 1.25rem;
}

.trust-badge span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Security Guarantee Badge */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 200, 136, 0.1));
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.guarantee-badge i {
    color: var(--neon-green);
    font-size: 2rem;
}

.guarantee-text {
    text-align: left;
}

.guarantee-text strong {
    display: block;
    color: var(--neon-green);
    font-size: 1rem;
    font-weight: 700;
}

.guarantee-text span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* ==================== SOCIAL PROOF ENHANCEMENTS ==================== */

/* Live Visitor Counter */
.visitor-counter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.visitor-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.visitor-count {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
}

.visitor-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Recent Activity Ticker */
.activity-ticker {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-track {
    display: flex;
    gap: 4rem;
    animation: scrollActivity 30s linear infinite;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.activity-item i {
    color: var(--neon-green);
    font-size: 0.875rem;
}

.activity-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.activity-item strong {
    color: var(--neon-cyan);
    font-weight: 600;
}

@keyframes scrollActivity {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Testimonial Enhancement */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--neon-cyan);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.3;
}

.testimonial-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.testimonial-verified i {
    color: var(--neon-green);
    font-size: 0.75rem;
}

.testimonial-verified span {
    color: var(--neon-green);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ==================== URGENCY & SCARCITY ==================== */

/* Limited Time Banner */
.urgency-banner {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 0, 110, 0.1));
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.urgency-content h3 {
    color: var(--neon-orange);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.urgency-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

.urgency-timer {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.timer-unit {
    text-align: center;
    min-width: 60px;
}

.timer-value {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-orange);
    margin-bottom: 0.25rem;
}

.timer-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* Available Spots Indicator */
.spots-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 107, 53, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.spots-bars {
    display: flex;
    gap: 0.25rem;
    flex-direction: column;
}

.spots-bar {
    width: 8px;
    height: 30px;
    background: rgba(255, 107, 53, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.spots-bar.filled {
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.spots-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.spots-text strong {
    color: var(--neon-orange);
    font-weight: 700;
}

/* ==================== EMOTIONAL CONNECTION ==================== */

/* Story Section Enhancement */
.story-emotional {
    background: linear-gradient(180deg, #050810 0%, #0a1628 100%);
    position: relative;
    overflow: hidden;
}

.story-emotional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(13, 148, 136, 0.05) 0%, transparent 40%);
}

.emotional-lead {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
}

.emotional-lead::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -30px;
    font-size: 4rem;
    color: var(--neon-cyan);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.pain-point {
    background: rgba(255, 107, 53, 0.1);
    border-left: 4px solid var(--neon-orange);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
}

.pain-point h4 {
    color: var(--neon-orange);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pain-point p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.solution-point {
    background: rgba(0, 255, 136, 0.1);
    border-left: 4px solid var(--neon-green);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
}

.solution-point h4 {
    color: var(--neon-green);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.solution-point p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Transformation Journey */
.transformation-journey {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.journey-step {
    text-align: center;
    position: relative;
}

.journey-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.3), rgba(0, 255, 136, 0.3));
    z-index: 0;
}

.journey-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 0, 110, 0.1));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.journey-step:nth-child(2) .journey-icon {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(181, 55, 242, 0.1));
    border-color: rgba(0, 245, 255, 0.3);
}

.journey-step:nth-child(3) .journey-icon {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 200, 136, 0.1));
    border-color: rgba(0, 255, 136, 0.3);
}

.journey-icon i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.journey-step:hover .journey-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

.journey-step:nth-child(2):hover .journey-icon {
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

.journey-step:nth-child(3):hover .journey-icon {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.journey-step h4 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.journey-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==================== RISK REVERSAL ==================== */

/* Money Back Guarantee */
.risk-free-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 200, 136, 0.05));
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.risk-free-badge::before {
    content: '✓';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    color: rgba(0, 255, 136, 0.1);
    font-weight: 700;
}

.risk-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--neon-green), rgba(0, 200, 136, 0.8));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.4);
}

.risk-icon i {
    font-size: 2.5rem;
    color: #050810;
}

.risk-content h3 {
    color: var(--neon-green);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.risk-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Free Trial Badge */
.free-trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(181, 55, 242, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

.free-trial-badge i {
    font-size: 1.25rem;
    color: #ffffff;
}

.free-trial-badge span {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(181, 55, 242, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(181, 55, 242, 0.6);
    }
}

/* ==================== ANCHORING & PRICING PSYCHOLOGY ==================== */

/* Price Anchor Display */
.price-anchor {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-original {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

.price-savings {
    background: rgba(255, 107, 53, 0.2);
    color: var(--neon-orange);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Value Stack */
.value-stack {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.value-stack h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.value-item:last-child {
    border-bottom: none;
}

.value-item i {
    color: var(--neon-green);
    font-size: 1rem;
}

.value-item span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.value-item strong {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-left: auto;
}

/* ==================== MICRO-INTERACTIONS ==================== */

/* Button Hover Effects - Enhanced */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

/* Card Hover - Magnetic Effect */
.service-card, .news-card, .portfolio-item {
    transform: perspective(1000px) rotateX(0) rotateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover, .news-card:hover, .portfolio-item:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-12px) scale(1.02);
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceScroll 2s ease-in-out infinite;
    z-index: 10;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-decoration: none;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes bounceScroll {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 6px;
    }
    100% {
        opacity: 0;
        top: 20px;
    }
}

/* ==================== PROGRESSIVE DISCLOSURE ==================== */

/* Expandable Content */
.expandable-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.expandable-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expandable-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.expandable-header h4 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.expandable-header i {
    color: var(--neon-cyan);
    transition: transform 0.3s ease;
}

.expandable-section.active .expandable-header i {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.expandable-section.active .expandable-content {
    max-height: 500px;
}

.expandable-body {
    padding: 0 2rem 2rem;
}

.expandable-body p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

/* Tooltip Enhancement - Rich */
.tooltip-rich {
    position: relative;
}

.tooltip-rich::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(5, 8, 16, 0.95);
    border: 1px solid rgba(0, 245, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--neon-cyan);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.tooltip-rich:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 8px);
}

/* ==================== AUTHORITY SIGNALS ==================== */

/* Certification Badges */
.certification-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 245, 255, 0.2);
    transform: translateY(-3px);
}

.cert-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(181, 55, 242, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon img {
    max-width: 40px;
    max-height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.cert-info h5 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cert-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Partner Logos with Trust Signals */
.partner-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.partner-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 245, 255, 0.2);
    transform: translateY(-5px);
}

.partner-logo {
    height: 60px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.partner-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
}

.partner-rating {
    color: var(--neon-gold);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ==================== COLOR PSYCHOLOGY OPTIMIZATION ==================== */

/* Success State */
.success-state {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 200, 136, 0.05));
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.success-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
}

.success-state h3 {
    color: var(--neon-green);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-state p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* Warning State */
.warning-state {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 0, 110, 0.05));
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 2rem;
}

.warning-state h3 {
    color: var(--neon-orange);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.warning-state p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* Info State */
.info-state {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(181, 55, 242, 0.05));
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
}

.info-state h3 {
    color: var(--neon-cyan);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-state p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .urgency-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .transformation-journey {
        grid-template-columns: 1fr;
    }
    
    .journey-step:not(:last-child)::after {
        display: none;
    }
    
    .risk-free-badge {
        flex-direction: column;
        text-align: center;
    }
    
    .partner-trust {
        grid-template-columns: repeat(2, 1fr);
    }
}