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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1E293B;
    background-color: #FAFAFC;
    line-height: 1.6;
}

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

/* TIPOGRAFÍAS Y CORES */
.text-orange { color: #FF6B00; }
h1, h2, h3 { font-weight: 800; color: #0F2C59; }

/* LOGO MULTICOLOR */
.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: -1px; }
.logo-nadie { color: #0F2C59; }
.logo-sin { color: #8A9AAB; }
.logo-web { color: #FF6B00; }

/* HEADER */
.header {
    background: #FFFFFF;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav a {
    text-decoration: none;
    color: #0F2C59;
    font-weight: 600;
    margin-left: 20px;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav a:hover { color: #FF6B00; }
.nav .btn-nav {
    background: #0F2C59;
    color: #FFF;
    padding: 8px 16px;
    border-radius: 6px;
}
.nav .btn-nav:hover { background: #FF6B00; color: #FFF; }

/* HERO */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-text h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 20px; }
.hero-text p { font-size: 1.1rem; color: #475569; margin-bottom: 30px; }

/* BOTONES */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s, background 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #FF6B00; color: #FFFFFF; box-shadow: 0 4px 15px rgba(255,107,0,0.3); }
.btn-primary:hover { background: #E05E00; }

/* MOCKUP VISUAL */
.hero-mockup { display: flex; justify-content: center; }
.mockup-box {
    width: 280px;
    height: 480px;
    background: #0F2C59;
    border-radius: 30px;
    border: 8px solid #1E293B;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
}
.mockup-header {
    width: 40%;
    height: 20px;
    background: #1E293B;
    margin: 0 auto;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.mockup-content {
    padding: 20px;
    color: white;
    text-align: center;
    margin-top: 40px;
}
.mockup-badge {
    background: #FF6B00;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}
.mockup-text-main { font-size: 1.8rem; font-weight: bold; margin-top: 40px; }
.mockup-button {
    background: #22C55E;
    padding: 12px;
    border-radius: 8px;
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    font-weight: bold;
}

/* CARACTERÍSTICAS */
.features { padding: 80px 0; background: #FFFFFF; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 50px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    background: #F8FAFC;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    transition: box-shadow 0.3s;
}
.feature-card:hover { box-shadow: 0 10px 20px rgba(15,44,89,0.05); }
.feature-icon { font-size: 2.5rem; margin-bottom: 15px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.feature-card p { color: #64748B; font-size: 0.95rem; }

/* PORTFOLIO */
.portfolio { padding: 80px 0; background: #F8FAFC; }
.section-subtitle { text-align: center; margin-top: -40px; margin-bottom: 40px; color: #64748B; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.portfolio-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid #E2E8F0;
}
.portfolio-img { height: 200px; background: #CBD5E1; } /* Gris por defecto si no hay foto */
/* Puedes añadir tus imágenes de fondo aquí */
.portfolio-info { padding: 20px; text-align: center; }
.portfolio-info h3 { font-size: 1.1rem; margin-bottom: 15px; }
.btn-secondary {
    display: inline-block;
    text-decoration: none;
    color: #0F2C59;
    border: 2px solid #0F2C59;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-secondary:hover { background: #0F2C59; color: #FFFFFF; }

/* CHECKOUT STRIPE */
.checkout { padding: 80px 0; background: #FFFFFF; }
.checkout-box {
    max-width: 700px;
    background: #0F2C59;
    color: #FFFFFF;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(15,44,89,0.2);
}
.checkout-box h2 { color: #FFFFFF; margin-bottom: 20px; font-size: 2rem; }
.price { font-size: 3.5rem; font-weight: 800; color: #FF6B00; margin-bottom: 10px; }
.pago-unico { display: block; font-size: 1rem; color: #8A9AAB; font-weight: 400; }
.checkout-desc { color: #E2E8F0; margin-bottom: 35px; font-size: 1rem; }
.btn-stripe {
    background: #FFFFFF;
    color: #0F2C59;
    width: 100%;
    max-width: 400px;
}
.btn-stripe:hover { background: #F1F5F9; }
.logos-pago { margin-top: 20px; font-size: 0.85rem; color: #8A9AAB; }

/* FOOTER */
.footer { background: #0A1E3D; color: #8A9AAB; text-align: center; padding: 40px 0; font-size: 0.9rem; }

/* MEDIA QUERIES (RESPONSIVE) */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; padding: 40px 0; }
    .hero-text h1 { font-size: 2rem; }
    .hero-mockup { display: none; } /* Ocultamos la maqueta en móvil para ahorrar espacio */
    .nav { display: none; } /* Simplificación de menú en móvil */
    .checkout-box { padding: 30px 20px; }
    .price { font-size: 2.8rem; }
}
