/* Variables de color */
:root {
    --bg-dark: #000000; /* Ajustamos el fondo al negro puro para recuperar el diseño previo */
    --text-light: #E6E6E6;
    --accent-ai: #00BFFF;
    --accent-tools: #FF0066;
    --transition: 0.3s ease;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 1rem 2rem;
    overflow: hidden;
}

.ad-banner-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 728px;
    padding: 1rem;
}

.ad-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.ad-728x90 {
    height: 90px;
}

.ad-300x250 {
    width: 300px;
    height: 250px;
    margin: 2rem auto;
}

.ad-label {
    color: rgba(230, 230, 230, 0.5);
    font-size: 0.75rem;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 90px;
}

.logo {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 0;
}

/* Animación de fondo */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 0, 102, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Secciones */
.section {
    padding: 2rem 0;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    flex-shrink: 0;
}

.ai-icon {
    color: var(--accent-ai);
}

.tools-icon {
    color: var(--accent-tools);
}

/* AI Tools Section */
.ai-tools-section {
    background: transparent;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 0;
}

.tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all var(--transition);
    height: 300px;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    border-color: var(--accent-ai);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
    transform: translateY(-2px);
}

.ad-card {
    border-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.ad-text {
    font-size: 2rem;
    color: var(--text-light);
    opacity: 0.6;
}

.ad-dimensions {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.4;
}

.tool-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 1rem;
    color: var(--accent-ai);
    flex-shrink: 0;
}

.tool-icon-emoji {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1;
    display: block;
}

.ai-icon-svg {
    width: 24px;
    height: 24px;
}

.tool-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 400;
}

.tool-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    line-height: 1.5;
    flex-grow: 1;
}

.tool-link {
    color: var(--accent-ai);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    margin-top: auto;
}

.tool-link:hover {
    opacity: 0.8;
}

/* Quick Tools Section */
.quick-tools-section {
    background: transparent;
}

.quick-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 0;
}

.quick-tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 0, 102, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all var(--transition);
    height: 300px;
    display: flex;
    flex-direction: column;
}

.quick-tool-card:hover {
    border-color: var(--accent-tools);
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.2);
    transform: translateY(-2px);
}

.quick-tool-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 1rem;
    color: var(--accent-tools);
    flex-shrink: 0;
}

.tools-icon-svg {
    width: 24px;
    height: 24px;
}

/* Estilos para iconos emoji en quick tools también */
.quick-tool-card .tool-icon-emoji {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1;
    display: block;
}

.quick-tool-name {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: auto;
}

/* CTA container */
.cta-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.cta-section-right {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    transition: var(--transition);
    opacity: 0.8;
}

.cta-section-right:hover {
    opacity: 1;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-text {
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tools-grid,
    .quick-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .ad-300x250 {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

