/* 
 * Estilos principales para nudeai.download
 * Sitio web en polaco optimizado para SEO
 * Diseño responsivo para todos los dispositivos
 */

/* Variables y reseteo */
:root {
    --primary: #7000FF;
    --secondary: #FF00A8;
    --accent: #00C3FF;
    --dark: #121212;
    --light: #FFFFFF;
    --gray: #7A7A7A;
    --background: #F8F9FF;
    
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: var(--background);
    color: var(--dark);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botones */
.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--light);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(112, 0, 255, 0.4);
    color: var(--light);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.2);
}

/* Header y navegación */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--dark);
}

.logo svg {
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: var(--dark);
    font-weight: 600;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--light);
}

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

.feature-card {
    background: var(--background);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-icon {
    margin-bottom: 20px;
}

/* How it works */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.03), rgba(255, 0, 168, 0.03));
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--light);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.step-content {
    background: var(--light);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

.cta-container {
    text-align: center;
    margin-top: 50px;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.benefit-item {
    padding: 25px;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.03), rgba(255, 0, 168, 0.03));
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.benefit-item h3 {
    color: var(--primary);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.05), rgba(255, 0, 168, 0.05));
}

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

.testimonial {
    background: var(--light);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
}

.quote:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: 20px;
    top: 10px;
    color: var(--primary);
    opacity: 0.1;
}

.author {
    font-weight: 600;
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 70px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links-group h4 {
    color: var(--light);
    margin-bottom: 20px;
    position: relative;
}

.footer-links-group h4:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--secondary);
    left: 0;
    bottom: -8px;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 15px;
}

.footer-links-group a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links-group a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.6rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin: 0 auto 15px;
    }
    
    .step-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background: var(--light);
        box-shadow: var(--shadow-md);
        padding: 50px 20px;
        transition: var(--transition);
        z-index: 99;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 0;
        margin-bottom: 20px;
    }
    
    .menu-toggle {
        display: block;
        z-index: 100;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 130px 0 60px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    section {
        padding: 70px 0;
    }
    
    .testimonial {
        padding: 20px;
    }
}
