/* Estilos Globales */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #10343a;
    --text-color: #ffffff;
    --secondary-text: #b0b0b0;
    --bg-color: #040c18;
    --card-bg: #1a2130;
    --gradient-bg: linear-gradient(144.39deg, #c4a1a1 -278.56%, #440808 -78.47%, #11101d 91.61%);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle, #0a1b2f 0%, #040c18 100%);
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

ul {
    list-style: none;
}

.get-started-btn {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.get-started-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(51, 187, 207, 0.3);
}

/* Estilos de Navegación */
header {
    padding: 20px 0;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

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

.logo img {
    height: 30px;
    margin-right: 10px;
}

.logo span {
    font-size: 24px;
    font-weight: 700;
}

.nav-links ul {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links a i {
    margin-left: 5px;
    font-size: 12px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

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

.secure-login {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.secure-login:before {
    content: "\f023";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
}

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

/* Estilos de sección Hero */
.hero {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.hero-content {
    width: 50%;
}

.offer-badge {
    background: rgba(51, 187, 207, 0.1);
    border: 1px solid rgba(51, 187, 207, 0.5);
    border-radius: 30px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.offer-badge i {
    color: var(--primary-color);
    font-size: 14px;
}

.offer-badge span {
    font-size: 14px;
    font-weight: 500;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

.hero p {
    color: var(--secondary-text);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.stats-container {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.stat h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat p {
    font-size: 16px;
    margin-bottom: 0;
}

.hero-image {
    width: 50%;
    position: relative;
    height: 500px;
}

.card-stack {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 180px;
    perspective: 1000px;
}

.card-stack::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(51, 187, 207, 0.8), rgba(51, 187, 207, 0.2));
    border-radius: 20px;
    transform: rotateY(-15deg) rotateX(10deg) translateZ(20px);
    box-shadow: var(--card-shadow);
}

.card-stack::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #333a45;
    border-radius: 20px;
    transform: rotateY(-5deg) rotateX(3deg) translateZ(10px);
    box-shadow: var(--card-shadow);
}

.robot-hand {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: url('../images/robot-hand.png');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(20%);
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(51, 187, 207, 0.6);
    filter: blur(20px);
}

.floating-circle.top {
    width: 80px;
    height: 80px;
    top: 0;
    right: 20%;
}

.floating-circle.bottom {
    width: 60px;
    height: 60px;
    bottom: 30%;
    right: 45%;
}

/* Estilos para la sección "You do the business" */
.business-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.business-content {
    width: 40%;
}

.business-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.business-content p {
    color: var(--secondary-text);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.features {
    width: 50%;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.feature:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feature-icon.rewards {
    background: linear-gradient(135deg, #ff6b6b, #ffb762);
}

.feature-icon.secure {
    background: linear-gradient(135deg, #33bbcf, #4ab8e0);
}

.feature-icon.transfer {
    background: linear-gradient(135deg, #5d75f1, #9f94fb);
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--secondary-text);
    font-size: 14px;
    line-height: 1.6;
}

/* Estilos para la sección de facturación */
.billing-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.billing-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.payment-demo {
    width: 50%;
    position: relative;
}

.payment-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-header img {
    height: 30px;
}

.balance {
    font-size: 24px;
    font-weight: 700;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.card-actions button {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.charge-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.make-payment-btn {
    background-color: rgba(51, 187, 207, 0.8);
    color: var(--text-color);
}

.transaction-list {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.transaction-list h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
}

.transaction {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.transaction-icon img {
    width: 20px;
    height: 20px;
}

.transaction-info {
    flex: 1;
}

.transaction-info h5 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.transaction-info span {
    font-size: 12px;
    color: var(--secondary-text);
}

.transaction-amount {
    font-size: 16px;
    font-weight: 600;
}

.transaction-amount.negative {
    color: #ff6b6b;
}

.transaction-amount.positive {
    color: #2ecc71;
}

.transaction-success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.transaction-success i {
    color: #2ecc71;
}

.transaction-success span {
    font-size: 14px;
    font-weight: 500;
}

.billing-text {
    width: 40%;
}

.billing-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.billing-text p {
    color: var(--secondary-text);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.app-downloads {
    display: flex;
    gap: 20px;
}

.app-downloads a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.app-downloads a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.app-downloads img {
    height: 30px;
}

/* Estilos para la sección de tratos de tarjetas */
.card-deal-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.card-deal-content {
    width: 40%;
}

.card-deal-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.card-deal-content p {
    color: var(--secondary-text);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.card-deal-image {
    width: 50%;
    position: relative;
    height: 400px;
}

.analytics-card {
    position: absolute;
    width: 350px;
    height: 250px;
    background-color: #0c1425;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.analytics-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #0f1a2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Menú móvil */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-btn i {
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active i {
    transform: rotate(90deg);
}

/* Media Queries para Responsive */
@media (max-width: 1200px) {
    .hero, .business-section, .billing-section, .card-deal-section {
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {
    .hero, .business-section, .billing-content, .card-deal-section {
        flex-direction: column;
        gap: 60px;
    }

    .hero-content, .business-content, .billing-text, .card-deal-content,
    .hero-image, .features, .payment-demo, .card-deal-image {
        width: 100%;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .business-content h2, .billing-text h2, .card-deal-content h2 {
        font-size: 36px;
    }
    
    .card-stack {
        transform: translate(-50%, -50%) scale(0.9);
    }
    
    .floating-circle {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 3;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        padding: 20px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }
    
    .nav-links.active {
        display: block;
    }
    
    .nav-links ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        justify-content: center;
        padding: 10px;
    }
    
    .hero h1 {
        font-size: 38px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .stats-container {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: space-around;
    }
    
    .stat {
        text-align: center;
        min-width: 120px;
    }
    
    .billing-content {
        flex-direction: column-reverse;
        gap: 60px;
    }
    
    .payment-demo, .billing-text {
        width: 100%;
    }
    
    .app-downloads {
        justify-content: center;
    }
    
    .card-stack {
        transform: translate(-50%, -50%) scale(0.8);
    }
    
    .robot-hand {
        transform: translateY(20%) scale(0.8);
    }
    
    .feature {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .logo {
        order: 1;
        margin-right: auto;
    }
    
    .nav-actions {
        order: 2;
        margin-left: auto;
    }
    
    .mobile-menu-btn {
        order: 3;
        margin-left: 15px;
    }
    
    .nav-links {
        order: 4;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-content, .business-content, .billing-text, .card-deal-content {
        text-align: center;
    }
    
    .offer-badge {
        margin: 0 auto 30px;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .get-started-btn {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .transaction {
        flex-wrap: wrap;
    }
    
    .transaction-icon {
        margin-bottom: 10px;
    }
    
    .transaction-info, .transaction-amount {
        width: 100%;
        text-align: center;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .secure-login {
        display: none;
    }
    
    .hero-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .card-stack {
        transform: translate(-50%, -50%) scale(0.7);
    }
    
    .robot-hand {
        transform: translateY(20%) scale(0.6);
        right: -20px;
    }
    
    .business-content h2, .billing-text h2, .card-deal-content h2 {
        font-size: 28px;
    }
    
    .stat h2 {
        font-size: 28px;
    }
    
    .app-downloads {
        flex-direction: column;
        align-items: center;
    }
    
    .app-downloads a {
        width: 80%;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .offer-badge span {
        font-size: 12px;
    }
    
    .card-stack {
        transform: translate(-50%, -50%) scale(0.6);
    }
}