:root {
    --bg-color: #05050A;
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --accent-primary: #6366F1;
    --accent-secondary: #EC4899;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

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

html {
    font-size: 15px; /* Reducción general de tipografía */
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

p, li {
    text-align: justify;
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Glassmorphism Utilities */
.glass-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 10, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 2rem;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-primary), #818cf8);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding-top: 20px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(236, 72, 153, 0.1);
    color: var(--accent-secondary);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 16px;
}

.text-gradient {
    background: linear-gradient(to right, #6366f1, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-premium {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: shine-btn 3s infinite;
}

@keyframes shine-btn {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

/* Mockup Animation */
.mockup-card {
    padding: 24px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    font-family: 'Inter', monospace;
    font-size: 0.9rem;
}

.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent-primary);
    animation: typing 3s steps(30, end) infinite, blink-caret .75s step-end infinite;
}

@keyframes typing {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-primary); }
}

.progress-bar {
    height: 6px;
    background: var(--glass-border);
    border-radius: 3px;
    margin: 16px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-primary);
    width: 0%;
    animation: load 3s infinite ease-in-out;
}

@keyframes load {
    50% { width: 100%; }
    100% { width: 100%; }
}

.success-text {
    color: #4ade80;
    opacity: 0;
    animation: fadeInOut 3s infinite;
}

@keyframes fadeInOut {
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Tools Section */
.tools-section {
    padding: 30px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tool-card {
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.tool-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.tool-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.price-tag {
    font-weight: 600;
    color: var(--text-primary);
}

/* Footer */
.glass-footer {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.disclaimer {
    font-size: 0.8rem;
    max-width: 400px;
    text-align: right;
}

/* Newsletter / Lead Magnet */
.newsletter-section { padding: 50px 24px; }
.newsletter-card { background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(236,72,153,0.05)); border: 1px solid var(--accent-primary); border-radius: 24px; padding: 50px; text-align: center; position: relative; overflow: hidden; }
.newsletter-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 60%); z-index: 0; pointer-events: none; }
.newsletter-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.newsletter-title { font-size: 2.2rem; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 12px; margin-top: 30px; }
.form-input { flex-grow: 1; padding: 14px 20px; border-radius: 12px; border: 1px solid var(--glass-border); background: rgba(0,0,0,0.3); color: white; font-size: 1rem; outline: none; transition: border-color 0.3s; }
.form-input:focus { border-color: var(--accent-primary); }

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .nav-links {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .disclaimer {
        text-align: center;
    }
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    padding: 24px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item .faq-content {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
    margin-top: 10px;
    padding-top: 16px;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: float-btn 3s infinite ease-in-out;
}

.floating-cta:hover {
    background: rgba(99, 102, 241, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.6);
}

.floating-icon {
    font-size: 1.5rem;
}

.floating-text {
    font-weight: 700;
    color: var(--text-primary);
}

@keyframes float-btn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
    }
    .floating-text {
        display: none;
    }
}

/* --- SEO & UI Improvements --- */

/* Sticky Banner */
.sticky-banner {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #EC4899, #F59E0B);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.sticky-banner a {
    text-decoration: underline;
    font-weight: 800;
}

/* Social Proof */
.social-proof {
    text-align: center;
    padding: 30px 24px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
}
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 15px;
}
.trust-badge {
    background: var(--glass-bg);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Pulse Animation for Floating CTA */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(236, 72, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}
.pulse {
    animation: pulse-glow 2s infinite;
}

/* Scroll Fade In Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Hover for Cards */
.tool-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}
.tool-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
}

/* SEO Text Block */
.seo-text-block {
    padding: 40px 24px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}
.seo-text-block h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}



/* --- Phase 2 UX/SEO --- */

/* Scroll Progress */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease;
    border-radius: 0 2px 2px 0;
}

/* Tool Card Filtering Transitions */
.tool-card.hide {
    display: none !important;
}
.tool-card.filtering-out {
    opacity: 0;
    transform: scale(0.8);
}
.tool-card.filtering-in {
    opacity: 0;
    transform: scale(0.8);
}
