:root {
    --primary-color: #0f172a;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER ELEGANT & STICKY */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--accent-color);
    font-size: 1.6rem;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* BOTÓN CTA PROFESIONAL */
.btn-cta {
    background: var(--primary-color);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-login {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.badge-tag {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* SECCIÓN DE CATEGORÍAS PRINCIPALES (TARJETAS) */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 50px;
}

.category-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.icon-box {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.category-card p {
    font-size: 0.92rem;
    color: #64748b;
    margin-bottom: 20px;
    flex: 1;
    line-height: 1.5;
}

.card-link {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* GRID DE TIENDAS Y MARCAS */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-bottom: 32px;
}

.store-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    text-decoration: none;
}

.store-btn:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.1);
}

.store-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.store-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary-color);
}

/* CONTENEDOR SEO / TEXTO ENRIQUECIDO */
.seo-content-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.seo-content-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.seo-content-section p {
    margin-bottom: 15px;
    color: #475569;
    line-height: 1.7;
}

/* CONTENEDOR DE ANUNCIOS */
.ad-container-top {
    margin: 40px auto;
    text-align: center;
}

.ad-placeholder {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    padding: 25px;
    color: #64748b;
    font-size: 0.9rem;
    border-radius: 8px;
}

/* FOOTER */
.main-footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding: 60px 0 20px 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #94a3b8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    color: #64748b;
}