* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e91e63;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #e91e63;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: #e91e63;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border-radius: 10px;
    margin: 0.5rem 2rem 0 0;
    min-width: 200px;
    z-index: 1000;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid #fce4ec;
}

.mobile-nav-links li:last-child {
    border-bottom: none;
}

.mobile-nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    display: block;
    transition: all 0.3s;
}

.mobile-nav-links a:hover {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    color: #e91e63;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.85), rgba(255, 105, 180, 0.75)), 
                url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=1600&h=900&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ad008d, #b800d9);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.cta-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.cta-button:hover::after {
    left: 100%;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f8bbd0;
}

/* Formulario */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 10px;
}

.section {
    background: white;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: none;
}

.section.active {
    display: block;
}

h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 16px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px 16px;
    border: none;
    background-color: #f0f0f0;
    border-radius: 25px;
    font-size: 13px;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    background-color: #e8e8e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

input.error,
select.error,
textarea.error {
    background-color: #ffe8e8;
    border: 2px solid #ff4444;
}

.upload-area.error {
    border-color: #ff4444;
    background-color: #fff5f5;
}

input:disabled,
select:disabled,
textarea:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

textarea {
    border-radius: 15px;
    min-height: 80px;
    resize: vertical;
}

select {
    cursor: pointer;
}

/* Mensajes de error */
.error-message {
    display: block;
    color: #ff4444;
    font-size: 11px;
    margin-top: 4px;
    padding-left: 16px;
    font-weight: 500;
    min-height: 14px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.radio-group {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    font-size: 13px;
    text-transform: none;
}

.radio-group input[type="radio"] {
    width: auto;
    margin-right: 6px;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.btn-submit {
    background-color: #4CAF50;
}

.btn-submit:hover {
    background-color: #45a049;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Información de tarjeta detectada */
.card-info-display {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-type,
.bank-detected {
    display: inline-block;
    padding: 4px 12px;
    background-color: #e3f2fd;
    color: #1976d2;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.bank-detected {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #fafafa;
}

.upload-area:hover {
    border-color: #2196F3;
    background-color: #f5f9ff;
}

.upload-area input[type="file"] {
    display: none;
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.upload-text {
    color: #2196F3;
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 13px;
}

.upload-hint {
    font-size: 11px;
    color: #999;
}

.file-uploaded {
    color: #4CAF50;
    margin-top: 8px;
    font-weight: 500;
    font-size: 12px;
}

.summary-box {
    background-color: #f9f9f9;
    padding: 18px;
    border-radius: 10px;
    margin-top: 15px;
}

.summary-box h3 {
    margin-bottom: 12px;
    color: #333;
    font-size: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.summary-row:last-child {
    border-bottom: none;
    font-weight: bold;
    font-size: 15px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid #ddd;
}

.note-text {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        max-width: 100%;
    }
    
    .section {
        padding: 20px;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
        gap: 8px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}