html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Compensa la altura del header sticky */
}

:root {
    --bg-color: #050505;
    --card-bg: #0f0f0f;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-gold: #d4af37;
    --accent-purple: #8b5cf6;
    --container-width: 1400px;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --glow-opacity: 0.15;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.5);
    --header-bg-rgb: 5, 5, 5;
}

[data-theme="light"] {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: #cbd5e1; /* Gris más visible */
    --glow-opacity: 0.06;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 20px 40px rgba(15, 23, 42, 0.08);
    --header-bg-rgb: 248, 250, 252;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(var(--header-bg-rgb, 5, 5, 5), 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-primary) !important;
    padding: 0.6rem 1.8rem;
    border: 1px solid var(--border-color);
    border-radius: 100px; /* Forma de cápsula asegurada */
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-link:hover {
    background: var(--border-color);
    transform: translateY(-2px);
    border-color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.2rem 2.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    width: fit-content;
}

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

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px);
}

.btn-primary span, .btn-secondary span {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
}

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

.btn-secondary:hover {
    background: var(--border-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    width: 100%;
    background: #050505;
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: var(--glow-opacity);
    z-index: 1;
    animation: heroGlow 10s infinite alternate ease-in-out;
}

.hero-section::before {
    top: -250px;
    right: -100px;
    background: var(--accent-blue);
}

.hero-section::after {
    bottom: -250px;
    left: -100px;
    background: var(--accent-purple);
    animation-delay: -5s;
}

[data-theme="light"] .hero-section {
    background: radial-gradient(circle at 50% 50%, #f0f7ff 0%, #ffffff 100%);
}

[data-theme="light"] .hero-section h1,
[data-theme="light"] .hero-section p {
    color: var(--text-primary);
}

[data-theme="light"] .hero-section::before,
[data-theme="light"] .hero-section::after {
    opacity: 0.1; /* Luces mucho más tenues en modo claro */
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); background: #3b82f6; } /* Azul */
    33% { transform: translate(-100px, 50px) scale(1.2); background: #22c55e; } /* Verde */
    66% { transform: translate(50px, -50px) scale(0.9); background: #f97316; } /* Naranja */
    100% { transform: translate(0, 0) scale(1); background: #3b82f6; } /* Regreso al Azul */
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin-bottom: 3.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.hero-btn-1 {
    opacity: 0;
    animation: fadeInUpButton 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

.hero-btn-2 {
    opacity: 0;
    animation: fadeInUpButton 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.85s;
}

.hero-image {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: center;
}

.floating-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.static-shadow-img {
    width: 100%;
    max-width: 600px;
    border-radius: 24px;
    box-shadow: none; /* Sin sombra en modo oscuro */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .static-shadow-img {
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.badge, .badge-outline {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-blue);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

@keyframes halo-pulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(37, 99, 235, 0.4), 0 0 20px rgba(37, 99, 235, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(37, 99, 235, 0.7), 0 0 40px rgba(37, 99, 235, 0.4), 0 0 80px rgba(37, 99, 235, 0.2);
    }
}

.badge-pilot {
    animation: halo-pulse 2s ease-in-out infinite;
}

[data-theme="light"] .badge-pilot {
    animation: halo-pulse 2s ease-in-out infinite;
}

.badge-static-halo {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.7), 0 0 40px rgba(37, 99, 235, 0.4), 0 0 80px rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .badge-static-halo {
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5), 0 0 25px rgba(37, 99, 235, 0.3);
}

[data-theme="light"] .badge, 
[data-theme="light"] .badge-outline {
    background: rgba(37, 99, 235, 0.15);
    color: #1e40af !important; /* Azul más oscuro para legibilidad */
    border-color: rgba(37, 99, 235, 0.3);
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Tabs */
.feature-tabs {
    padding: 6rem 0;
}

.rounded-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Feature Grid */
.features {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}

.feature-card iconify-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Personalization */
.security-section {
    padding: 8rem 0;
    display: flex;
    align-items: center;
    gap: 6rem;
}

.security-content {
    flex: 1;
}

.security-content h2 {
    line-height: 1.1;
}

.security-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

@media (max-width: 968px) {
    .security-section {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }
}

.color-options {
    display: flex;
    gap: 0.75rem;
    margin: 2rem 0;
}

.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-dot:hover {
    transform: scale(1.1);
}

.btn-text {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Bottom CTA */
.bottom-cta {
    padding: 6rem 0;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.theme-toggle:hover {
    color: var(--text-primary);
}

.theme-toggle .sun-icon { display: none; }
[data-theme="light"] .theme-toggle .sun-icon { display: block; }
[data-theme="light"] .theme-toggle .moon-icon { display: none; }

.cta-gradient-box {
    background: var(--card-bg);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, rgba(139, 92, 246, 0.1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, rgba(212, 175, 55, 0.1) 0, transparent 50%);
    border-radius: 32px;
    padding: 6rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contributors-wrapper {
    margin-top: 4rem;
}

.contributors-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.contributors-row {
    display: flex;
    width: max-content;
}

.scroll-left {
    animation: scroll-left 15s linear infinite;
}

.scroll-right {
    animation: scroll-right 15s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.contributor-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    margin-right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

[data-theme="light"] .contributor-chip {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.contributor-chip img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    filter: blur(2.5px) grayscale(100%);
    transition: all 0.4s ease;
}

.contributor-chip span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.cta-gradient-box::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 60%;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.badge-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.cta-gradient-box h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-gradient-box p {
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.contributors {
    margin-bottom: 2rem;
}

.avatar-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

/* Mocking the contributor wall from the image */
.avatar-list::after {
    content: "🧑‍💻 👨‍💻 👩‍💻 🧑‍🎨 👨‍🎨 👩‍🎨 🧑‍🔬 👨‍🔬 👩‍🔬 🧑‍🚀 👨‍🚀 👩‍🚀 🧑‍🚒 👨‍🚒 👩‍🚒 🧑‍⚖️ 👨‍⚖️ 👩‍⚖️";
    font-size: 2rem;
    letter-spacing: 15px;
    opacity: 0.5;
}

.stats {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-icons a {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: white;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex: 2;
    justify-content: flex-end;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.75rem;
}

.link-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.link-group a:hover {
    color: white;
}

/* Animations */
/* Spotlight / Showcase Section - Real Full Width */
.full-width-showcase {
    width: 100%;
    position: relative;
    background: var(--bg-color);
    padding: 10rem 0;
    margin: 6rem 0;
    overflow: hidden;
    transition: background 1s ease-in-out;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Efectos de Resplandor (Glows) al estilo Files.community */
.full-width-showcase::before,
.full-width-showcase::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: var(--glow-opacity);
    z-index: 1;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.full-width-showcase::before {
    top: -200px;
    right: -100px;
    background: var(--glow-1, #2563eb);
}

.full-width-showcase::after {
    bottom: -200px;
    left: -100px;
    background: var(--glow-2, #8b5cf6);
}

/* Clases para cambiar los colores de los resplandores */
.bg-lexnet { --glow-1: #2563eb; --glow-2: #1e3a8a; }
.bg-ai { --glow-1: #8b5cf6; --glow-2: #4c1d95; }
.bg-blockchain { --glow-1: #10b981; --glow-2: #064e3b; }

[data-theme="light"] .bg-lexnet { --glow-1: #3b82f6; --glow-2: #bfdbfe; }
[data-theme="light"] .bg-ai { --glow-1: #8b5cf6; --glow-2: #ddd6fe; }
[data-theme="light"] .bg-blockchain { --glow-1: #22c55e; --glow-2: #bbf7d0; }

.showcase-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2; /* Por encima de los glows */
}

.showcase-content {
    flex: 1;
    z-index: 2;
}

.showcase-visual {
    flex: 1.5;
    position: relative;
    z-index: 2;
}

.showcase-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Variantes de color para el fondo dinámico */
.bg-lexnet { background: radial-gradient(circle at 50% 50%, #0a192f 0%, #050505 100%); }
.bg-ai { background: radial-gradient(circle at 50% 50%, #1a0b2e 0%, #050505 100%); }
.bg-blockchain { background: radial-gradient(circle at 50% 50%, #0b2e1a 0%, #050505 100%); }

[data-theme="light"] .bg-lexnet { background: radial-gradient(circle at 50% 50%, #f0f7ff 0%, #ffffff 100%); }
[data-theme="light"] .bg-ai { background: radial-gradient(circle at 50% 50%, #f5f3ff 0%, #ffffff 100%); }
[data-theme="light"] .bg-blockchain { background: radial-gradient(circle at 50% 50%, #f0fdf4 0%, #ffffff 100%); }

[data-theme="light"] .full-width-showcase h2,
[data-theme="light"] .full-width-showcase p,
[data-theme="light"] .full-width-showcase h4 {
    color: var(--text-primary) !important;
}

[data-theme="light"] .full-width-showcase .showcase-tab p {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .full-width-showcase .showcase-tab {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .full-width-showcase .showcase-tab.active {
    background: white;
    box-shadow: var(--shadow-md);
}

.showcase-tabs {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.showcase-tab {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-tab.selected {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--border-color); /* Borde normal para la activa */
}

.showcase-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue); /* El azul solo aparece en hover */
    transform: translateY(-5px);
}

.showcase-tab h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.showcase-tab p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes fadeInUpButton {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-img {
    animation: float 6s ease-in-out infinite;
}

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

.reveal-left {
    opacity: 0 !important;
    transform: translateX(-100px) !important;
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Pricing Styles */
.pricing {
    padding: 8rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border-color: var(--accent-blue);
    background: var(--card-bg);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.popular::before {
    content: 'RECOMENDADO';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    margin-left: -0.6rem;
}

.pricing-features li:hover {
    background: rgba(37, 99, 235, 0.08);
    transform: translateX(8px);
    color: var(--text-primary);
}

[data-theme="light"] .pricing-features li:hover {
    background: rgba(37, 99, 235, 0.1);
}

.pricing-features li iconify-icon {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.plan-basic .pricing-features iconify-icon,
.popular .pricing-features iconify-icon {
    color: #22c55e;
    font-size: 1.45rem;
}

/* Plan Premium Iconos Específicos */
.popular .premium-feat iconify-icon[icon="solar:add-circle-linear"] {
    color: #22c55e;
}

.pricing-features li i {
    color: var(--accent-blue);
    margin-top: 4px;
}

.pricing-features li.premium-feat i {
    color: var(--accent-gold);
}

.pricing-card .btn {
    width: 100%;
}

/* Animación especial para los botones de planes */
.pricing.active .pricing-card .btn {
    animation: fadeInUpButton 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.login-link {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    h2 {
        font-size: 2.25rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

[data-theme="light"] .back-to-top {
    background: rgba(255, 255, 255, 0.8);
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .back-to-top:hover {
    background: var(--accent-blue);
}
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -300px; /* Más profundo para asegurar desaparición total */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    z-index: 2000;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    visibility: hidden; /* Oculto por defecto */
}

.cookie-banner.show {
    bottom: 2rem;
    visibility: visible;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-main-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.cookie-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-secondary);
}

.cookie-text a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

[data-theme="light"] .cookie-banner {
    background: rgba(255, 255, 255, 0.9);
    border-color: #cbd5e1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .cookie-banner {
        width: 95%;
        padding: 1.2rem;
    }
}

/* Modal de Contratación */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden; /* IMPORTANTE: Recorta el scroll interno */
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-body {
    padding: 3.5rem;
    max-height: 90vh;
    overflow-y: auto;
}

/* Personalización del Scrollbar del Modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    margin: 10px 0; /* Evita que toque los bordes curvos */
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

[data-theme="light"] .modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}

[data-theme="light"] .modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-main-icon {
    font-size: 3.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.modal-header h2 {
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Fix para visibilidad de opciones en modo oscuro */
select option {
    background-color: #1a1a1a;
    color: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.1);
}

.input-readonly {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    font-weight: 700;
    cursor: default;
}

.form-footer {
    margin-top: 2.5rem;
    text-align: center;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.form-note a {
    color: var(--accent-blue);
}

.form-status {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
    text-align: center;
}

.form-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

[data-theme="light"] .form-status.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #16a34a;
}

[data-theme="light"] .form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

/* Modo Claro */
[data-theme="light"] .modal-content {
    background: #ffffff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] input, 
[data-theme="light"] select, 
[data-theme="light"] textarea {
    background: #f8fafc;
    color: var(--text-primary);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
}
