/**
 * Crypto Exchange Dashboard Settings
 */

.wrap,
.wrap * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wrap {
    width: 100%;
    padding: 20px;
    margin: 20px auto;
    max-width: calc(100vw - 200px);
}

.folded .wrap {
    max-width: calc(100vw - 160px);
}

.wrap .mfcrex-header-info:first-child {
    margin-top: 0;
}

@media (max-width: 1200px) {
    .wrap {
        max-width: calc(100vw - 120px);
    }

    .folded .wrap {
        max-width: calc(100vw - 100px);
    }
}

@media (max-width: 960px) {
    .wrap {
        max-width: calc(100vw - 80px);
    }

    .folded .wrap {
        max-width: calc(100vw - 60px);
    }
}

@media (max-width: 768px) {
    .wrap {
        max-width: calc(100vw - 40px);
        margin: 15px auto;
        padding: 15px;
    }

    .folded .wrap {
        max-width: calc(100vw - 30px);
    }
}

@media (max-width: 600px) {
    .wrap {
        max-width: calc(100vw - 20px);
        margin: 10px auto;
        padding: 12px;
    }

    .folded .wrap {
        max-width: calc(100vw - 15px);
    }
}

@media (max-width: 480px) {
    .wrap {
        max-width: calc(100vw - 10px);
        margin: 5px auto;
        padding: 10px;
    }

    .folded .wrap {
        max-width: calc(100vw - 5px);
    }
}

.mfcrex-pro-showcase {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
}

.mfcrex-pro-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 16px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.mfcrex-pro-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotate(45deg);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 12px;
    opacity: 0.95;
    color: white;
}

.hero-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    color: white;
}

.hero-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-intro p {
    color: white;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

.cta-button.secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

.cta-button.large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-icon {
    font-size: 20px;
}

.features-section {
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: #718096;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
}

.feature-card p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    color: #4a5568;
    position: relative;
    padding-left: 24px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.advanced-modules-section {
    background: #f7fafc;
    padding: 60px 40px;
    border-radius: 16px;
    margin-bottom: 60px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.module-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.module-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.module-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.module-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.module-content p {
    color: #718096;
    line-height: 1.5;
    font-size: 14px;
}

.security-section {
    margin-bottom: 60px;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.security-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(102,126,234,0.3);
}

.security-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.security-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.security-card p {
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.5;
    color: white;
}

.blockchain-integration-section {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    padding: 60px 40px;
    border-radius: 16px;
    margin-bottom: 60px;
    color: #1a202c;
}

.integration-header {
    text-align: center;
    margin-bottom: 40px;
}

.integration-badge {
    display: inline-block;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.integration-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
}

.integration-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.integration-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.integration-card.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.integration-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.integration-card.highlight h3,
.integration-card.highlight p,
.integration-card.highlight strong {
    color: white;
}

.integration-card p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #4a5568;
}

.integration-benefits {
    list-style: none;
    padding: 0;
}

.integration-benefits li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: #4a5568;
}

.integration-benefits li::before {
    content: "✅";
    position: absolute;
    left: 0;
    font-size: 18px;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    color: white;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-section {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #e2e8f0;
    color: #718096;
}

.footer-section p {
    margin: 8px 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .integration-content {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button {
        text-align: center;
        justify-content: center;
    }

    .mfcrex-pro-hero {
        padding: 40px 20px;
    }

    .advanced-modules-section,
    .blockchain-integration-section,
    .cta-section {
        padding: 40px 20px;
    }
}