/* Variables principales */
:root {
    --primary: #FF5E3A;
    --secondary: #FF2A68;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --accent: #F9C80E;
    --dark: #222222;
    --text: #333333;
    --light-text: #777777;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --gray: #eeeeee;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-main: 'Montserrat', 'Segoe UI', sans-serif;
}

/* Reset básico */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 2rem;
}

h1 {
    font-size: 4rem;
    line-height: 1.2;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

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

ul {
    list-style: none;
}

p {
    margin-bottom: 1.8rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.main-container {
    position: relative;
    overflow: hidden;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.8rem;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.nav-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -0.6rem;
    left: 0;
    width: 0;
    height: 0.2rem;
    background: var(--gradient);
    transition: var(--transition);
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 1rem 2rem;
    border-radius: 5rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Sección Hero */
.hero-section {
    padding: 15rem 0 8rem;
    position: relative;
    background: linear-gradient(170deg, #fff8f6 0%, #fff 70%);
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.etiqueta {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 0.8rem 1.6rem;
    border-radius: 5rem;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.hero-description {
    font-size: 1.8rem;
    color: var(--light-text);
    margin-bottom: 3.5rem;
}

.cta-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 5rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-lg {
    padding: 1.7rem 3.4rem;
    font-size: 1.8rem;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tags-container span {
    background-color: rgba(255, 94, 58, 0.1);
    color: var(--primary);
    padding: 0.7rem 1.5rem;
    border-radius: 5rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.hero-visual {
    flex: 1;
}

.visual-container {
    position: relative;
    z-index: 1;
}

/* Interfaz AI */
.ai-interface {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 450px;
    margin: 0 auto;
    border: 1px solid var(--gray);
}

.interface-header {
    background: var(--gradient);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    font-size: 1.7rem;
    font-weight: 600;
}

.interface-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.content-options {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--gray);
    padding-bottom: 1.5rem;
}

.content-options .option {
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--light-text);
    cursor: pointer;
    transition: var(--transition);
}

.content-options .option.active {
    background: rgba(255, 94, 58, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.content-prompts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.prompt-input {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.5rem 0.5rem 2rem;
}

.prompt-input input {
    flex: 1;
    border: none;
    background: none;
    padding: 1rem 0;
    font-size: 1.5rem;
    outline: none;
    color: var(--text);
}

.generate-btn {
    background: var(--gradient);
    border: none;
    color: var(--white);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.prompt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.prompt-tags span {
    background: var(--gray);
    color: var(--light-text);
    font-size: 1.2rem;
    padding: 0.5rem 1.2rem;
    border-radius: 5rem;
}

.content-result {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.result-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: var(--light-text);
    padding: 3rem;
    text-align: center;
}

.visual-shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.visual-shape-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -150px;
    background: linear-gradient(135deg, rgba(255, 94, 58, 0.1) 0%, rgba(255, 42, 104, 0.1) 100%);
    animation: float 10s ease-in-out infinite;
}

.visual-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 30px;
    left: -100px;
    background: linear-gradient(135deg, rgba(255, 42, 104, 0.1) 0%, rgba(249, 200, 14, 0.1) 100%);
    animation: float 8s ease-in-out infinite alternate;
}

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

/* Features Section */
.features-section {
    padding: 10rem 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-icon {
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* How Section */
.how-section {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.how-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(170deg, rgba(255, 94, 58, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 5rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-indicator {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    flex-grow: 1;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-sm);
}

.step::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 30px;
    width: 2px;
    height: calc(100% - 50px);
    background: linear-gradient(to bottom, var(--primary), rgba(255, 94, 58, 0.1));
    z-index: 1;
}

.step:last-child::after {
    display: none;
}

/* CTA Section */
.cta-section {
    padding: 10rem 0;
    background-color: var(--light-bg);
}

.cta-box {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    color: var(--white);
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-box::before, .cta-box::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-box::before {
    top: -150px;
    right: -100px;
}

.cta-box::after {
    bottom: -150px;
    left: -100px;
}

.cta-box h2 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box p {
    font-size: 1.8rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-box .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.disclaimer {
    font-size: 1.4rem;
    opacity: 0.7;
    margin-top: 3rem;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 6rem 0 3rem;
}

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

.footer-brand {
    flex: 1;
    max-width: 350px;
}

.footer-brand p {
    margin-top: 2rem;
    font-size: 1.4rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.link-group h4 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.link-group ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    font-size: 1.4rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .cta-area {
        align-items: center;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-indicator {
        margin-bottom: 2rem;
    }
    
    .step::after {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand {
        margin: 0 auto;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
    }
    
    .link-group h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .cta-box {
        padding: 4rem 2rem;
    }
    
    .cta-box h2 {
        font-size: 2.6rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 3rem;
    }
}
