/* ==========================================================================
   RESET & CONFIGURACIÓN VARIABLES PREMIUM
   ========================================================================== */
:root {
    --bg-main: #f8fafc;
    --text-main: #334155;
    --text-heading: #0f172a;
    --border-color: #e2e8f0;
    
    /* Paleta de Acentos */
    --primary: #10b981;       /* Verde Financiero */
    --blue-accent: #3b82f6;   /* Azul Corporativo */
    --indigo-accent: #6366f1; /* Índigo Premium */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

/* ==========================================================================
   HEADER / HERO SECTION
   ========================================================================== */
.hero-section {
    text-align: center;
    margin-bottom: 5rem;
}

.badge {
    display: inline-block;
    background-color: #e6f4ea;
    color: #0d652d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.hero-section h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-section p {
    color: #64748b;
    font-size: 1.15rem;
    max-width: 760px;
    margin: 0 auto;
}

/* ==========================================================================
   GRID DE HERRAMIENTAS (TARJETAS)
   ========================================================================== */
.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
}

@media (min-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* LA TARJETA PREMIUM */
.tool-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

/* Efectos de Hover interactivos */
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 10px 10px -5px rgba(15, 23, 42, 0.03);
    border-color: #cbd5e1;
}

/* Iconos de las Tarjetas */
.card-header-icon {
    font-size: 2.25rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 1.5rem;
}

/* CLASES DE COLOR DE ICONOS DE LAS TARJETAS */
.color-blue { background-color: #eff6ff; }
.color-emerald { background-color: #ecfdf5; }
.color-indigo { background-color: #e0e7ff; }
.color-cyan { background-color: #ecfeff; color: #0891b2; }
.color-orange { background-color: #fff7ed; color: #ea580c; }
.color-purple { background-color: #f5f3ff; color: #4f46e5; }
.color-rose { background-color: #fff1f2; color: #f43f5e; }
.color-amber { background-color: #fffbeb; color: #d97706; }
.color-violet { background-color: #faf5ff; color: #7c3aed; }

.tool-card h2 {
    font-size: 1.25rem;
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.tool-card p {
    color: #64748b;
    font-size: 0.92rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

/* Botón falso inferior */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-heading);
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
    transition: color 0.2s ease;
}

.card-footer .arrow {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.tool-card:hover .card-footer {
    color: var(--indigo-accent);
}

.tool-card:hover .card-footer .arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   ESTILOS SECCIÓN TRANSPARENCIA (PRIVACIDAD Y MONETIZACIÓN)
   ========================================================================== */
.transparency-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 4rem 0 2rem 0;
    padding: 2rem;
    background-color: #ffffff; /* Modificado a blanco puro para crear contraste real sobre el fondo grisáceo */
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
}

@media (min-width: 768px) {
    .transparency-container {
        grid-template-columns: 1fr 1fr;
    }
}

.transparency-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.transparency-icon {
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.5rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.transparency-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.transparency-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.transparency-card strong {
    color: #475569;
}

/* Estilos personalizados para el botón Buy Me a Coffee integrado */
.bmc-wrapper {
    margin-top: 1.25rem;
}

.bmc-wrapper a {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), filter 0.2s ease;
}

.bmc-wrapper a:hover {
    transform: scale(1.04);
    filter: brightness(1.04);
}

.bmc-wrapper img {
    height: 38px; /* Tamaño optimizado y proporcionado para no pisar el texto */
    width: auto;
    display: block;
}

/* ==========================================================================
   SECCIÓN DE TEXTO DE AUTORIDAD (SEO PERFECTO)
   ========================================================================== */
.seo-section {
    border-top: 1px solid var(--border-color);
    padding-top: 4.5rem;
    max-width: 880px;
    margin: 0 auto;
}

.seo-section h2 {
    font-size: 1.6rem;
    color: var(--text-heading);
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.seo-section h3 {
    font-size: 1.18rem;
    color: var(--text-heading);
    margin-top: 2.5rem;
    margin-bottom: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.seo-section p {
    font-size: 0.98rem;
    color: #475569;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.seo-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.75rem;
    color: #475569;
    font-size: 0.98rem;
}

.seo-section li {
    margin-bottom: 0.65rem;
}

.seo-section strong {
    color: var(--text-heading);
}

/* ==========================================================================
   FOOTER (PIE DE PÁGINA)
   ========================================================================== */
footer {
    text-align: center;
    font-size: 0.82rem;
    color: #94a3b8;
    border-top: 1px solid var(--border-color);
    padding-top: 2.5rem;
    margin-top: 6rem;
}

footer p {
    margin-bottom: 0.35rem;
}

/* ==========================================================================
   NUEVA SECCIÓN DE LOGO TRANSPARENTE ULTRA AGRANDADO
   ========================================================================== */
.logo-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
}

/* Controlamos el tamaño mediante ancho máximo para asegurar el escalado perfecto */
.logo-container img.site-logo {
    width: 100% !important;
    max-width: 320px !important; /* ← Ajusta este número (ej: 360px o 400px) si lo quieres aún más gigante */
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    user-select: none;
    
    /* Elegante sombra difuminada que sigue las letras transparentes */
    filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.06));
    
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.3s ease;
}

/* Efecto hover interactivo */
.logo-container img.site-logo:hover {
    transform: translateY(-5px) scale(1.02) !important;
    filter: drop-shadow(0 16px 32px rgba(16, 185, 129, 0.18)); 
}