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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0f14;
    color: #fff;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #10b981;
}

.btn-register {
    background: #10b981;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-register:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Hero/Slider Section */
.hero-slider {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 60px;
    overflow: hidden;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 47, 31, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 60px;
    filter: drop-shadow(0 10px 40px rgba(16, 185, 129, 0.3));
    animation: float 6s ease-in-out infinite;
}

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #d1d5db;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Invest Stocks Section */
.invest-stocks {
    background: #0f1419;
    padding: 80px 40px;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.invest-stocks h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #10b981;
}

.stocks-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.stocks-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
}

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

.stock-logo {
    height: 80px;
    width: 200px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s;
    flex-shrink: 0;
}

.stock-logo:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
    cursor: default;
}

/* Register Section */
.register-section {
    background: #0f1419;
    padding: 80px 40px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.register-container {
    max-width: 800px;
    margin: 0 auto;
}

.register-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #10b981;
}

.register-subtitle {
    text-align: center;
    color: #d1d5db;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.register-form {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

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

.form-group.full {
    grid-column: 1 / -1;
}

label {
    color: #9ca3af;
    margin-bottom: 8px;
    font-weight: 400;
    font-size: 0.95rem;
}

input, select {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(75, 85, 99, 0.5);
    color: #fff;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

input::placeholder {
    color: #6b7280;
}

input:focus, select:focus {
    outline: none;
    border-color: #10b981;
    background: rgba(15, 23, 42, 1);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.btn-submit {
    width: 100%;
    background: #10b981;
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

/* About Section */
.about-section {
    background: #0f1419;
    padding: 100px 40px;
}

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

.about-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #10b981;
}

.video-container {
    max-width: 1100px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    background: #000;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-wrapper:hover .video-thumbnail {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.video-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.play-button {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.play-button:hover {
    transform: scale(1.15);
}

.play-button svg {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.7));
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 10;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #10b981;
    color: #fff;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid #10b981;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    max-width: 800px;      /* Máximo ancho */
    width: 100%;           /* Para que sea responsivo */
    box-sizing: border-box; /* Incluye padding en el ancho */
}

.btn-cta-primary:hover {
    background: #059669;
    border-color: #059669;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: #10b981;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid #10b981;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-3px);
}

/* Solutions Section */
.solutions-section {
    background: linear-gradient(135deg, #0a2f1f 0%, #0d3b27 100%);
    padding: 100px 40px;
}

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

.solutions-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.solutions-subtitle {
    text-align: center;
    color: #d1d5db;
    margin-bottom: 60px;
    font-size: 1.2rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.solution-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.solution-card h3 {
    background: rgba(16, 185, 129, 0.2);
    padding: 30px;
    color: #10b981;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.solution-card h3 i {
    font-size: 2rem;
}

.solution-card p {
    padding: 30px;
    color: #d1d5db;
    line-height: 1.6;
}

.solution-card .btn-solution {
    margin: 0 30px 30px;
    width: calc(100% - 60px);
    background: transparent;
    color: #10b981;
    padding: 12px 24px;
    border: 2px solid #10b981;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.solution-card .btn-solution:hover {
    background: #10b981;
    color: #fff;
}

/* Footer */
footer {
    background: #0a0f14;
    padding: 60px 40px 30px;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #10b981;
    margin-bottom: 20px;
}

.footer-section p,         .footer-section a {
    color: #d1d5db;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-section a i {
    font-size: 1rem;
}

.footer-section a:hover {
    color: #10b981;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #10b981;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    color: #6b7280;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .nav-links {
        display: none;
    }

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

    .hero-slider {
        padding: 100px 20px 40px;
    }
}













/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

/* Modal Content */
.modal-content {
    background: linear-gradient(135deg, #1a2f2a 0%, #0f1f1a 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

/* Efecto de brillo en el borde */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}

/* Temas de modal */
.modal-success-theme::before {
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.modal-error-theme::before {
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

/* Modal Icon */
.modal-icon {
    margin-bottom: 30px;
}

.modal-icon i {
    font-size: 80px;
    animation: scaleIn 0.5s ease;
}

.modal-success-theme .modal-icon i {
    color: #10b981;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.5));
}

.modal-error-theme .modal-icon i {
    color: #ef4444;
    filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.5));
}

/* Modal Body */
.modal-body {
    margin-bottom: 35px;
}

.modal-body h3 {
    margin: 0 0 20px 0;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.modal-success-theme .modal-body h3 {
    color: #10b981;
}

.modal-error-theme .modal-body h3 {
    color: #ef4444;
}

.modal-body p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Modal Button */
.modal-btn {
    width: 100%;
    padding: 16px;
    border: 2px solid #10b981;
    background: transparent;
    color: #10b981;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-success-theme .modal-btn {
    border-color: #10b981;
    color: #10b981;
}

.modal-error-theme .modal-btn {
    border-color: #ef4444;
    color: #ef4444;
}

.modal-success-theme .modal-btn:hover {
    background: #10b981;
    color: #0f1f1a;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.modal-error-theme .modal-btn:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.modal-btn:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 92%;
        padding: 40px 30px;
    }
    
    .modal-icon i {
        font-size: 64px;
    }
    
    .modal-body h3 {
        font-size: 24px;
    }
    
    .modal-body p {
        font-size: 14px;
    }
    
    .modal-btn {
        padding: 14px;
        font-size: 14px;
    }
}