* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --accent-primary: #fb923c;
    --accent-secondary: #ea580c;
    --border-color: rgba(148, 163, 184, 0.1);
    --hover-bg: rgba(251, 146, 60, 0.1);
    --success: #22c55e;
}

body.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: rgba(226, 232, 240, 0.5);
    --hover-bg: rgba(251, 146, 60, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Navigation */
nav {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

body.light-theme nav {
    background: rgba(248, 250, 252, 0.95);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fb923c, #ea580c);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #fb923c;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section con imagen de fondo */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: brightness(0.5);
    transition: filter 0.3s ease;
}

body.light-theme .hero-background {
    filter: brightness(0.7);
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.server-logo {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 20px 60px rgba(251, 146, 60, 0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, hsl(27, 100%, 55%) 0%, #ffbe18 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    color: #fbbf24;
    font-weight: 600;
    margin-top: 1rem;
}

/* Botones con diferentes estilos */
.button-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

/* Botón Neón con efecto radial */
.btn-neon {
    margin-top: 3rem;
    background: transparent;
    color: #ea580c;
    border: 2px solid #ea580c;
    box-shadow: 0 0 10px #ea580c;
    transition: all 0.3s;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-neon:hover::before {
    width: 300px;
    height: 300px;
}

.btn-neon:hover {
    color: #000;
    box-shadow: 0 0 20px #ea580c, 0 0 40px #fb923c;
}

/* Content Sections */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
    padding: 2rem 0;
}

.section:nth-child(even) .section-content {
    order: 2;
}

.section:nth-child(even) .section-image {
    order: 1;
}

.section-content h2 {
    font-size: 3rem;
    color: #fb923c;
    margin-bottom: 1.5rem;
}

.section-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.section-content .btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.section-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 146, 60, 0.4);
}

.section-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body.light-theme .section-image {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.section-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-tertiary);
}

.alert-box {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
}

.alert-box strong {
    color: #fbbf24;
}

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: auto;
    transition: background 0.3s ease, border-color 0.3s ease;
}

body.light-theme footer {
    background: rgba(248, 250, 252, 0.95);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    flex: 1;
}

.footer-text {
    color: #22c55e;
    font-size: 0.95rem;
}

.footer-contact {
    color: var(--text-primary);
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    width: fit-content;
    transition: all 0.3s;
}

.footer-contact::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff8819, #ea580c);
    transition: width 0.3s;
}

.footer-contact:hover {
    color: #fb923c;
}

.footer-contact:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(251, 146, 60, 0.2);
    border-color: rgba(251, 146, 60, 0.5);
}

.social-icon {
    width: 28px;
    height: 28px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        position: static;
    }

    .nav-content {
        width: 100%;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .section:nth-child(even) .section-content,
    .section:nth-child(even) .section-image {
        order: initial;
    }

    .section-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        align-items: center;
    }

    .footer-contact::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Estilos del Botón FADEN - Agregar al final de index-style.css */

/* Botón FADEN con estilo moderno y minimalista */
.btn-faden {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin-top: 3rem;
    background: transparent;
    color: #ea580c;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    border: 2px solid #ea580c;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #ea580c;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

/* Efecto radial circular como el botón neón */
.btn-faden::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn-faden:hover::before {
    width: 300px;
    height: 300px;
}

.btn-faden:hover {
    box-shadow: 0 0 20px #fb923c, 0 0 40px #ea580c;
}

/* Solo el texto "Descubrir" cambia a negro en hover */
.btn-faden:hover .descubrir-text {
    color: #000000;
}

/* Asegurar que el texto esté por encima del fondo */
.btn-faden > * {
    position: relative;
    z-index: 1;
}

/* Estilo para FADEN con gradiente - siempre mantiene sus colores */
.faden-brand {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.05em;
    display: inline-block;
}

/* El texto "Descubrir" con transición suave */
.descubrir-text {
    transition: color 0.3s ease;
}

/* Ajuste responsive para el botón FADEN */
@media (max-width: 768px) {
    .btn-faden {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

/* Variación para tema claro */
body.light-theme .btn-faden {
    box-shadow: 0 0 10px rgba(251, 146, 60, 0.6);
}

body.light-theme .btn-faden:hover {
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.8), 0 0 40px rgba(234, 88, 12, 0.6);
}