* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    background: rgba(10,10,10,0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position:relative;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 50px;
    transition: transform 0.4s ease;
}

.logo img:hover {
    transform: rotate(10deg) scale(1.1);
}

.logo h3 a {
    color: white;
    text-decoration: none;
    position: relative;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    position: relative;
    transition: 0.3s;
    margin-right: 5px;
}

nav a::before {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: cyan;
    transition: width 0.3s ease;
}

nav a:hover::before {
    width: 100%;
}

nav a:hover {
    color: cyan;
}

nav a:active {
    transform: scale(0.95);
}

.hero {
    min-height: calc(100dvh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #050505, #111111);
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

.hero::before { 
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(0,255,255,0.08);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    filter: blur(100px);
    animation: floatGlow 6s infinite alternate ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    filter: blur(80px);
}

@keyframes floatGlow {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(40px);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeUp 1.2s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cccccc;
    animation: fadeUp 1.5s ease;
}

button {
    background: black;
    color: white;
    border: 2px solid cyan;
    padding: 14px 28px;
    cursor: pointer;
    border-radius: 12px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

button::before {
    content: '';
    position: absolute;
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background: cyan;
    z-index: -1;
    transition: width 0.4s ease;
}

button:hover::before {
    width: 100%;
}

button:hover {
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 0 20px cyan;
}

button:active {
    transform: scale(0.95);
}

section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature {
    background: #111;
    padding: 25px;
    border-radius: 16px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.feature::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: cyan;
    bottom: 0;
    left: -100%;
    transition: 0.4s;
}

.feature:hover::after {
    left: 0;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(0,255,255,0.15);
}

.testimonial {
    background: #111;
    margin-top: 20px;
    padding: 20px;
    border-left: 4px solid cyan;
    border-radius: 10px;
    transition: 0.3s;
}

.testimonial:hover {
    transform: scale(1.02);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    background: #111;
    border: 1px solid #333;
    color: white;
    padding: 12px;
    border-radius: 10px;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: cyan;
    outline: none;
    box-shadow: 0 0 10px rgba(0,255,255,0.2);
}

#lang-flag, #lang-flag_p {
    width: 55px;
    height: 35px;
    cursor: pointer;
}

.seo-content {
    padding: 80px 20px;
    background: #0f0f0f;
    color: #eaeaea;
}

.seo-content .container {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.seo-content h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #ffffff;
}

.seo-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #cfcfcf;
}

.seo-content ul {
    margin-top: 15px;
    padding-left: 20px;
}

.seo-content li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #dcdcdc;
}

.disclaimer {
    padding: 30px 20px;
    background: #0a0a0a;
    border-top: 1px solid #222;
    text-align: center;
}

.disclaimer p {
    max-width: 800px;
    margin: 0 auto;
    color: #888;
    line-height: 1.6;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #050505;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer nav {
    margin-top: 10px;
}

/* Añadir esto al final de vuestro archivo styles.css actual */

.stats-flex, .about-flex, .content-with-img {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
}

.rounded-img {
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,255,255,0.1);
}

.side-img {
    border-radius: 0px;
    width: 100%;
    max-width: 350px;
    opacity: 0.8;
}

.mini-icon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0%;
    margin-bottom: 15px;
    border: 2px solid cyan;
}

.stats-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.stats-text li {
    background: rgba(255,255,255,0.05);
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid cyan;
}

.highlight-text {
    color: cyan;
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 992px) {

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    nav a {
        margin-left: 15px;
    }

    section {
        padding: 80px 0;
    }

}

@media (max-width: 768px) {

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 10px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    button {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

    section {
        padding: 60px 0;
    }

    .stats-flex, .about-flex, .content-with-img {
        flex-direction: column;
        text-align: center;
    }
    
    .side-img, .rounded-img {
        max-width: 100%;
    }
    .hero {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    align-items: flex-start;
}

.hero .container {
    width: 100%;
}

.hero-content,
.chat-container,
.prompt-box,
.prompt-wrapper {
    width: 100%;
    max-width: 100%;
}

textarea,
input {
    width: 100%;
    max-width: 100%;
}
}

@media (max-width: 480px) {

    .logo img {
        width: 40px;
    }

    .logo h3 {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .container {
        width: 95%;
    }

    button {
        width: 100%;
    }

    input, textarea {
        font-size: 0.9rem;
    }

}

@media (max-width: 220px) {

    body {
        font-size: 10px;
    }

    .container {
        width: 100%;
        padding: 0 5px;
    }

    .header-container {
        flex-direction: column;
        gap: 5px;
    }

    .logo img {
        width: 30px;
    }

    .logo h3 {
        font-size: 0.7rem;
        text-align: center;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 20px 10px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1rem;
    }

    .hero p {
        font-size: 0.7rem;
    }

    button {
        width: 100%;
        padding: 8px;
        font-size: 0.7rem;
    }

    section {
        padding: 30px 0;
    }

}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100dvh;
}
