* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #e8f5e9;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========== HEADER FONDO BLANCO ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-img {
    height: 35px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* Botón menú hamburguesa */
.menu-btn {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1001;
    border-radius: 12px;
}

.menu-icon {
    width: 24px;
    height: 2px;
    background: #000000;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: #000000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon::before {
    top: -7px;
}

.menu-icon::after {
    top: 7px;
}

.menu-btn.active .menu-icon {
    background: transparent;
}

.menu-btn.active .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-btn.active .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Navegación móvil */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 300px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 999;
    padding-top: 70px;
}

.nav-menu.active {
    right: 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 24px;
    padding: 0 24px;
}

.nav-link {
    text-decoration: none;
    color: #111827;
    font-weight: 500;
    font-size: 18px;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2be47e;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    min-height: 100vh;
    padding: 85px 12px 30px;
}

/* Card - Contenedor principal */
.card {
    background: white;
    border-radius: 24px;
    padding: 16px 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Espacios para fotos */
.photo-spot {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.spot-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 16px;
}

.photo-top {
    margin-bottom: 8px;
}

.title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 6px;
}

.highlight {
    background: linear-gradient(135deg, #2be47e, #1fb86a);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 12px;
    padding: 0 8px;
}

/* ========== INPUT TELÉFONO ========== */
.form-group {
    margin-bottom: 0;
}

.phone-input {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: white;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.phone-input:focus-within {
    border-color: #2be47e;
    box-shadow: 0 0 0 3px rgba(43, 228, 126, 0.2);
}

.country-code {
    background: #f3f4f6;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    border-right: 1px solid #e5e7eb;
}

.phone-field {
    flex: 1;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    outline: none;
    font-family: inherit;
    background: white;
}

.phone-field::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* ========== BOTONES - CON FLECHAS PROFESIONALES ========== */
.btn {
    background: #2be47e;
    color: white;
    border: none;
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 220px;
    max-width: 280px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(43, 228, 126, 0.3);
    letter-spacing: 0.5px;
}

.btn:active {
    transform: scale(0.97);
}

.btn-otp {
    background: #2be47e;
    color: white;
    border: none;
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 220px;
    max-width: 280px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(43, 228, 126, 0.3);
    letter-spacing: 0.5px;
}

.btn-otp:active {
    transform: scale(0.97);
}

/* Flecha profesional para ambos botones */
.btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow,
.btn-otp:hover .btn-arrow {
    transform: translateX(6px);
}

/* Flecha derecha profesional */
.arrow-right {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid white;
}

/* ========== NIP INPUTS ========== */
.otp-container {
    display: none;
    margin-top: 12px;
}

.otp-label {
    font-size: 12px;
    color: #374151;
    margin-bottom: 12px;
    font-weight: 500;
}

.otp-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.otp-input {
    width: 62px;
    height: 54px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    outline: none;
    background: white;
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: #2be47e;
    box-shadow: 0 0 0 3px rgba(43, 228, 126, 0.2);
}

/* Spinner */
.spinner-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: #2be47e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-text {
    margin-top: 8px;
    color: #6b7280;
    font-size: 11px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.resend-code {
    font-size: 10px;
    color: #2ac971;
    cursor: pointer;
    text-decoration: underline;
    text-align: center;
    margin: 10px;
}

.resend-code:hover {
    color: #319e62;
}

.mensaje {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 500;
    min-height: 28px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mensaje.show {
    opacity: 1;
}

/* ========== SECCIÓN DE CARACTERÍSTICAS ========== */
.features-section {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.feature-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-text {
    padding: 24px 20px;
    text-align: center;
}

.feature-text h3 {
    font-size: 22px;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-text p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.5;
}

/* ========== FOOTER ========== */
.footer {
    background: #111827;
    color: #ffffff;
    margin-top: 40px;
    padding: 40px 20px 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo {
    text-align: center;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #9ca3af;
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2be47e;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #2be47e;
}

.footer-column ul li {
    color: #9ca3af;
    font-size: 13px;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 11px;
}

/* ========== PANTALLAS MÁS PEQUEÑAS ========== */
@media (max-width: 380px) {
    .main-content {
        padding: 80px 10px 25px;
    }
    
    .card {
        padding: 14px 16px;
    }
    
    .title {
        font-size: 20px;
    }
    
    .spot-img {
        max-width: 160px;
    }
    
    .phone-input {
        max-width: 300px;
    }
    
    .country-code {
        padding: 14px 14px;
        font-size: 15px;
    }
    
    .phone-field {
        padding: 14px 14px;
        font-size: 15px;
    }
    
    .btn,
    .btn-otp {
        padding: 16px 24px;
        font-size: 15px;
        min-width: 200px;
        max-width: 260px;
    }
    
    .otp-input {
        width: 55px;
        height: 48px;
        font-size: 18px;
    }
    
    .otp-group {
        gap: 8px;
    }
    
    .feature-image {
        height: 180px;
    }
    
    .feature-text {
        padding: 18px 16px;
    }
    
    .feature-text h3 {
        font-size: 18px;
    }
    
    .feature-text p {
        font-size: 13px;
    }
}

/* ========== TABLETAS Y PANTALLAS MÁS GRANDES ========== */
@media (min-width: 768px) {
    .main-content {
        padding: 90px 20px 35px;
    }
    
    .card {
        max-width: 500px;
        margin: 0 auto;
        padding: 20px 24px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .description {
        font-size: 13px;
    }
    
    .phone-input {
        max-width: 380px;
    }
    
    .country-code {
        padding: 18px 22px;
        font-size: 17px;
    }
    
    .phone-field {
        padding: 18px 22px;
        font-size: 17px;
    }
    
    .btn,
    .btn-otp {
        padding: 20px 32px;
        font-size: 17px;
        min-width: 240px;
        max-width: 300px;
    }
    
    .otp-input {
        width: 68px;
        height: 58px;
        font-size: 22px;
    }
    
    .otp-group {
        gap: 12px;
    }
    
    .features-section {
        max-width: 800px;
        margin: 50px auto 0;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .feature-card {
        flex: 1;
        min-width: 300px;
        border-radius: 32px;
    }
    
    .feature-image {
        height: 240px;
    }
    
    .feature-text {
        padding: 28px 24px;
    }
    
    .feature-text h3 {
        font-size: 24px;
    }
    
    .feature-text p {
        font-size: 15px;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .footer-column {
        flex: 1;
        min-width: 160px;
    }
    
    .footer-content {
        max-width: 1000px;
        margin: 0 auto;
    }
}