/* 
 * ═══════════════════════════════════════════════════════════════════════
 * PREMIUM CONTENT STYLES - "RAQUI" EDITION
 * Enhancing internal page sections with high-end aesthetics
 * ═══════════════════════════════════════════════════════════════════════
 */

/* 1. Global Section Enhancements */
.section-title-premium {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

/* 2. Advanced Glass Cards (Replacements for standard glass-card) */
.glass-card-premium {
    background: var(--mj-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--mj-border);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.glass-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.glass-card-premium:hover {
    transform: translateY(-10px);
    border-color: rgba(227, 27, 35, 0.3);
    /* Brand Red hint */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-card-premium:hover::before {
    opacity: 1;
}

.glass-card-premium h5 {
    color: var(--mj-text);
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.glass-card-premium p {
    color: var(--mj-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* 3. Neural Tabs - Futuristic Look */
.neural-tabs-outer {
    background: var(--mj-card);
    border: 1px solid var(--mj-border);
    border-radius: 100px;
    padding: 8px;
    display: inline-block;
    margin-bottom: 3rem;
}

.neural-tab-btn-premium {
    background: transparent;
    border: none;
    color: var(--mj-text-muted);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.neural-tab-btn-premium.active {
    background: #E31B23;
    color: white;
    box-shadow: 0 4px 15px rgba(227, 27, 35, 0.3);
}

.neural-tab-btn-premium:not(.active):hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* 4. Feature Highlights - Shine Effect */
.feature-highlight-card {
    background: linear-gradient(145deg, #0f172a, #07090c);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.feature-highlight-card:hover {
    transform: translateX(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

/* 5. Integration Flow Upgrade */
.integration-card-premium {
    background: #0f1217;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.integration-card-premium:hover {
    border-color: #00D9FF;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.integration-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
}

.integration-card-premium:hover .integration-icon-wrap {
    background: rgba(0, 217, 255, 0.1);
    color: #00D9FF;
    transform: scale(1.1) rotate(5deg);
}

/* 6. Market Heatmap Container */
.heatmap-container-premium {
    background: #07090c;
    border-radius: 24px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* 7. Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

/* 
 * -----------------------------------------------------------------------
 * PORTED SECTIONS FROM NEW1.HTML
 * Currency Strength, Smart Analysis, Live Results
 * -----------------------------------------------------------------------
 */

/* Common Effects */
.glow-red {
    box-shadow: 0 0 20px rgba(255, 46, 46, 0.2);
}

.glow-cyan {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

.dynamic-card {
    transition: all 0.3s ease;
}

.dynamic-card:hover {
    transform: translateY(-10px);
    border-color: var(--mj-cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1);
}

/* Currency Strength */
.strength-section {
    background: rgba(15, 18, 23, 0.3);
    border-top: 1px solid var(--mj-border);
    border-bottom: 1px solid var(--mj-border);
    padding: 6rem 0;
}

.strength-card {
    background: var(--mj-card);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--mj-border);
    text-align: center;
    transition: all 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-5px);
    border-color: var(--mj-cyan);
}

.strength-bar-container {
    width: 100%;
    height: 6rem;
    background: var(--mj-bg);
    border-radius: 0.5rem;
    display: flex;
    align-items: flex-end;
    padding: 0.25rem;
    gap: 0.25rem;
}

/* Smart Analysis */
.smart-analysis-section {
    padding: 6rem 0;
}

/* Live Results */
.live-results-section {
    padding: 6rem 1.5rem;
    background: var(--mj-accent-red);
    position: relative;
    overflow: hidden;
}

.live-results-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    pointer-events: none;
}

.result-stat-card {
    background: rgba(7, 9, 12, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(7, 9, 12, 0.2);
    text-align: center;
    color: var(--mj-bg);
}

.circle-check-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0.9;
}

.circle-check-list i {
    color: var(--mj-cyan);
    margin-left: 0.75rem;
}


/* 
 * -----------------------------------------------------------------------
 * HERO TERMINAL CARD (From new1.html)
 * -----------------------------------------------------------------------
 */

.terminal-card-premium {
    background: var(--mj-card);
    border: 1px solid var(--mj-border);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.7s ease;
}

.terminal-card-premium:hover {
    border-color: rgba(0, 242, 255, 0.3);
    transform: translateY(-5px);
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.terminal-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.terminal-dot.red {
    background: rgba(255, 46, 46, 0.4);
}

.terminal-dot.cyan {
    background: rgba(0, 242, 255, 0.4);
}

.terminal-dot.green {
    background: rgba(0, 255, 136, 0.4);
}

.power-indicator {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
}

.power-bar-wrapper {
    width: 100%;
    height: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    margin-top: 1rem;
    overflow: hidden;
}

.power-bar-fill {
    height: 100%;
    background: var(--mj-green);
    border-radius: 1rem;
    box-shadow: 0 0 15px #00ff88;
    width: 85%;
}

.recent-trades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.trade-mini-card {
    background: rgba(7, 9, 12, 0.5);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--mj-border);
}

.trade-label {
    font-size: 0.65rem;
    opacity: 0.5;
    font-style: italic;
    display: block;
    margin-bottom: 0.5rem;
}

/* Decorative Frame Behind Terminal */
.terminal-frame {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 46, 46, 0.2);
    border-radius: 2rem;
    z-index: -1;
    transition: all 0.5s ease;
}

.terminal-wrapper:hover .terminal-frame {
    top: 0;
    right: 0;
}


/* 
 * -----------------------------------------------------------------------
 * NEW2.HTML DESIGN SYSTEM PORT - THEME AWARE
 * -----------------------------------------------------------------------
 */

:root {
    /* Default Colors (Shared) */
    --mj-accent-red: #ff2e2e;
    --mj-cyan: #00f2ff;
    --mj-green: #00ff88;
}

[data-bs-theme="dark"],
.dark-mode,
.dark {
    --mj-bg: #07090c;
    --mj-card: #0f1217;
    --mj-border: rgba(255, 255, 255, 0.05);
    --mj-text: #f8fafc;
    --mj-text-muted: #94a3b8;
    --mj-glass: rgba(15, 18, 23, 0.7);
}

[data-bs-theme="light"],
.light {
    --mj-bg: #ffffff;
    --mj-card: #f8fafc;
    --mj-border: rgba(0, 0, 0, 0.08);
    --mj-text: #0f172a;
    --mj-text-muted: #475569;
    --mj-glass: rgba(255, 255, 255, 0.8);
}

body {
    background-color: var(--mj-bg) !important;
    color: var(--mj-text) !important;
    font-family: 'Tajawal', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Surgical Overrides for Landing Page Contents */
html.light .text-white {
    color: var(--mj-text) !important;
}

html.light .btn-outline-light {
    border-color: var(--mj-border) !important;
    color: var(--mj-text) !important;
}

html.light .glass-card,
html.light .glass-card-premium {
    background: var(--mj-glass) !important;
    border-color: var(--mj-border) !important;
}

html.light .strength-card-new2,
html.light .tool-card-new2,
html.light .pricing-card-new2 {
    background: var(--mj-card) !important;
}

/* Utilities */
.text-mj-cyan {
    color: var(--mj-cyan) !important;
}

.text-mj-green {
    color: var(--mj-green) !important;
}

.text-mj-red {
    color: var(--mj-accent-red) !important;
}

.bg-mj-card {
    background-color: var(--mj-card) !important;
}

.bg-premium-surface {
    background-color: var(--mj-bg) !important;
}

.border-mj-border {
    border-color: var(--mj-border) !important;
}

/* Effects */
.glow-red {
    box-shadow: 0 0 20px rgba(255, 46, 46, 0.2);
}

.glow-cyan {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

.glass-header-premium {
    background: var(--mj-glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mj-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.5rem 1.5rem;
}

.nav-link-premium {
    position: relative;
    transition: color 0.3s;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
    margin: 0 1rem;
    text-decoration: none;
}

.nav-link-premium:hover {
    color: white;
}

.nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--mj-accent-red);
    transition: width 0.3s;
}

.nav-link-premium:hover::after {
    width: 100%;
}

.dynamic-card {
    transition: all 0.3s ease;
    border: 1px solid var(--mj-border);
}

.dynamic-card:hover {
    transform: translateY(-10px);
    border-color: var(--mj-cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1);
}

/* Hero Section */
.hero-section-new2 {
    position: relative;
    padding: 6rem 1.5rem 8rem;
    overflow: hidden;
}

.blur-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
}

.blob-red {
    top: 5rem;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 46, 46, 0.05);
}

.blob-cyan {
    bottom: 2.5rem;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(0, 242, 255, 0.05);
}

.hero-title-large {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-title-large {
        font-size: 4.5rem;
    }
}

.hero-btn-primary {
    background: var(--mj-accent-red);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 900;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 0 20px rgba(255, 46, 46, 0.2);
    transition: all 0.3s;
    border: none;
}

.hero-btn-primary:hover {
    transform: scale(1.02);
}

/* Currency Strength */
.strength-card-new2 {
    background: var(--mj-card);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--mj-border);
    text-align: center;
    position: relative;
}

.strength-bar-container {
    width: 100%;
    height: 6rem;
    background: var(--mj-bg);
    border-radius: 0.25rem;
    display: flex;
    align-items: flex-end;
    padding: 0.25rem;
    gap: 0.25rem;
}

/* Analysis Tools */
.tool-card-new2 {
    background: var(--mj-card);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--mj-border);
    height: 100%;
}

.tool-icon {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Pricing */
.pricing-card-new2 {
    background: var(--mj-card);
    border: 1px solid var(--mj-border);
    padding: 2.5rem;
    border-radius: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pricing-card-pro {
    border: 2px solid var(--mj-accent-red);
    transform: scale(1.05);
    z-index: 10;
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--mj-accent-red);
    color: white;
    font-size: 9px;
    font-weight: 900;
    padding: 8px 32px;
    transform: rotate(-45deg) translate(-30px, 10px);
    text-transform: uppercase;
}

/* Footer */
.footer-new2 {
    background: var(--mj-bg);
    padding-top: 8rem;
    padding-bottom: 3rem;
    border-top: 1px solid var(--mj-border);
}