/* MTrading.com Clean Style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    line-height: 1.6;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo img {
    height: 24px;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.link-login {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.link-login:hover {
    color: var(--primary);
}

.btn-signup {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-signup:hover {
    background: var(--primary-dark);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    padding-top: 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-subtitle {
    color: var(--primary);
}

.hero-desc {
    font-size: 22px;
    color: #e5e7eb;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Hero Login Card */
.hero-login-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-login-card h3 {
    font-size: 28px;
    margin-bottom: 28px;
    color: #1a1f2e;
    font-weight: 700;
    text-align: center;
}

.hero-cta {
    margin-top: 32px;
}

.btn-start {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 48px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s;
}

.btn-start:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* Hero Login Form Styles */
.hero-login-card input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 18px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.hero-login-card input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.hero-login-card input::placeholder {
    color: #9ca3af;
}

.hero-login-card .btn-login {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.hero-login-card .btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.hero-login-card .login-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 15px;
    color: #6b7280;
}

.hero-login-card .login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.hero-login-card .login-footer a:hover {
    color: var(--primary-dark);
}

/* Trust Badges */
.trust-badges {
    background: #f9fafb;
    padding: 50px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.trust-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

.trust-item p {
    font-size: 14px;
    color: #6b7280;
}

/* Bonus Features */
.bonus-features {
    background: #000000;
    padding: 80px 0;
    position: relative;
}

.bonus-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.bonus-features .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.3;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.bonus-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.bonus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

.bonus-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.bonus-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.bonus-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bonus-item h4 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.bonus-item p {
    font-size: 15px;
    color: #d1d5db;
    line-height: 1.6;
}

.bonus-cta {
    text-align: center;
    margin-top: 40px;
}

/* Section Separator */
.section-separator {
    width: 100%;
    overflow: hidden;
}

.section-separator img {
    width: 100%;
    display: block;
}

/* Features */
.features {
    background: #ffffff;
    padding: 80px 0;
}

.features .section-title {
    color: #1a1f2e;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1f2e;
}

.feature-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* Awards */
.awards {
    background: #f9fafb;
    padding: 80px 0;
}

.section-title-dark {
    font-size: 36px;
    font-weight: 800;
    color: #1a1f2e;
    text-align: center;
    margin-bottom: 48px;
}

.awards-image {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.awards-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.15));
}

/* Stats */
.stats {
    background: #f9fafb;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

/* Payments */
.payments {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.payments h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #1a1f2e;
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 20px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
    flex-shrink: 0;
}

.payment-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.payment-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    background: #ffffff;
}

.payment-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.payment-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1f2e;
    text-align: center;
    line-height: 1.3;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 18px 56px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: #1a1f2e;
    color: white;
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 28px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-col p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.risk-warning {
    font-size: 12px;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
}

/* Registration Page */
.register-page {
    min-height: calc(100vh - 60px);
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.register-benefits {
    padding: 40px 0;
}

.register-benefits h1 {
    font-size: 48px;
    font-weight: 900;
    color: #1a1f2e;
    margin-bottom: 16px;
    line-height: 1.1;
}

.register-subtitle {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 48px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1f2e;
    margin-bottom: 6px;
}

.benefit-text p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.5;
}

.register-form-card {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.register-form-header {
    margin-bottom: 32px;
}

.register-form-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1f2e;
    margin-bottom: 8px;
}

.register-form-header p {
    font-size: 16px;
    color: #6b7280;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 8px;
}

.form-group .optional {
    font-weight: 400;
    color: #9ca3af;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.form-checkbox label a:hover {
    text-decoration: underline;
}

.btn-register {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    margin-top: 8px;
}

.btn-register:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.error-message {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 14px;
    margin-top: 16px;
}

.register-footer {
    margin-top: 24px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.register-footer p {
    font-size: 15px;
    color: #6b7280;
}

.register-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.register-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-login-card {
        max-width: 500px;
        margin: 0 auto;
        padding: 40px 32px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bonus-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Payment methods - scroll on mobile */
    .payment-methods {
        gap: 30px;
        justify-content: flex-start;
        padding: 0 10px;
    }

    .payment-method {
        min-width: 120px;
    }

    .payment-icon {
        width: 80px;
        height: 80px;
    }

    .payment-icon img {
        width: 55px;
        height: 55px;
    }

    .payment-label {
        font-size: 13px;
    }

    /* Registration page mobile */
    .register-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .register-benefits {
        padding: 0;
    }

    .register-benefits h1 {
        font-size: 36px;
    }

    .register-subtitle {
        font-size: 20px;
    }

    .register-form-card {
        padding: 32px 24px;
    }

    .register-form-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 80px 0 50px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 18px;
    }

    .hero-image img {
        max-width: 300px;
    }

    .section-title {
        font-size: 28px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Registration page small mobile */
    .register-page {
        padding: 40px 0;
    }

    .register-benefits h1 {
        font-size: 28px;
    }

    .register-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .benefits-list {
        gap: 24px;
    }

    .benefit-icon {
        width: 40px;
        height: 40px;
    }

    .benefit-text h4 {
        font-size: 16px;
    }

    .benefit-text p {
        font-size: 14px;
    }

    .register-form-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .register-form-header h2 {
        font-size: 24px;
    }

    .register-form-header p {
        font-size: 14px;
    }
}
