:root {
    --primary-color: #111111;
    --secondary-color: #1a1a1a;
    --text-color: #e2e8f0;
    --light-bg: #2d2d2d;
    --dark-bg: #111111;
    --accent-color: #f8d749;
    --accent-hover: #ffeb3b;
    --button-color: #1a1a1a;
    --button-hover: #2d2d2d;
    --card-bg: #0f0f0f;
    --card-hover-bg: #1a1a1a;
    --card-border: rgba(248, 215, 73, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #000000;
}

.main-header {
    background: var(--primary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(248, 215, 73, 0.1);
}

.main-nav {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo-container {
    height: 38px;
    display: flex;
    align-items: center;
}

.logo {
    height: 100%;
    width: auto;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 100%;
    width: auto;
    max-height: 38px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tools-dropdown {
    position: relative;
}

.dropdown-toggle {
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 200px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
    margin-top: 0.5rem;
}

.dropdown-menu.show {
    display: block;
    animation: dropdownFade 0.2s ease-out;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: var(--text-color);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: all 0.15s ease-in-out;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    padding-left: 2rem;
}

.main-content {
    margin-top: 90px;
    min-height: calc(100vh - 90px);
    padding: 2rem 0;
}

.hero {
    text-align: center;
    padding: 1.5rem 1rem 1rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(248, 215, 73, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.main-footer {
    background: var(--primary-color);
    padding: 2rem 1rem;
    text-align: center;
    color: #a0aec0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.footer-links a:hover {
    color: white;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
}

.tool-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

.tool-card h3 {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tool-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0 auto;
    max-width: 90%;
}

.tool-card .btn-primary {
    align-self: center;
    margin-top: auto;
    position: relative;
    z-index: 1;
    background-color: var(--accent-color);
    color: #000000;
    border: none;
}

.tool-card .btn-primary:hover {
    background-color: var(--accent-hover);
}

@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Estilos para la sección de GPTs */
.gpts-section {
    margin-top: 4rem;
    text-align: center;
}

.gpts-section h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
}

.gpts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gpt-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    height: 100%;
}

.gpt-card:hover {
    transform: translateY(-5px);
}

.gpt-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.75rem;
}

.gpt-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.gpt-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    text-align: center;
}

.gpt-description {
    font-size: 0.9rem;
    color: #a0aec0;
    text-align: center;
    margin: 0 auto;
    max-width: 90%;
}

/* Estilos para el botón de cerrar sesión */
.logout-btn {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Estilos para el menú móvil */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }
    
    .nav-right .menu-items {
        display: none;
    }
    
    .mobile-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--secondary-color);
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .mobile-menu .menu-items {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mobile-menu .menu-item {
        padding: 0.75rem 1rem;
    }
    
    .mobile-menu .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        box-shadow: none;
    }
}

.settings-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .settings-btn {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
}

.menu-items {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-item {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media screen and (max-width: 768px) {
    .menu-items {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .menu-item {
        width: 100%;
        text-align: left;
        padding: 0.5rem 0;
    }

    .mobile-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--secondary-color);
        padding: 1rem;
        min-width: 200px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu.show {
        display: block;
    }

    .tools-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 0.5rem;
        background-color: var(--card-bg);
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
        color: white !important;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        color: rgba(255, 255, 255, 0.8) !important;
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* Estilos específicos para la página principal */
.home .hero {
    padding: 3rem 1rem 2rem;
    margin-bottom: 2rem;
}

.home .hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.home .hero p {
    font-size: 1.5rem;
}

/* Media queries para responsive */
@media (max-width: 768px) {
    .home .hero h1 {
        font-size: 2.5rem;
    }
    
    .home .hero p {
        font-size: 1.25rem;
    }
}

/* Formularios */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background-color: var(--secondary-color);
    border: 1px solid var(--card-border);
    border-radius: 0.375rem;
    color: var(--text-color);
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(248, 215, 73, 0.2);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23e2e8f0' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Mejorar contraste en desplegables */
select.form-control option {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 0.5rem;
}

select.form-control:hover {
    border-color: var(--accent-color);
}

/* Asegurar que los desplegables sean consistentes en todos los navegadores */
@-moz-document url-prefix() {
    select.form-control {
        background-color: var(--secondary-color);
        color: var(--text-color);
    }
    
    select.form-control option {
        background-color: var(--secondary-color);
        color: var(--text-color);
    }
}

/* Para navegadores basados en Webkit (Chrome, Safari) */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    select.form-control option {
        background-color: var(--secondary-color);
        color: var(--text-color);
    }
} 