/* ============================================
   interiCat - Main Stylesheet
   ============================================ */

/* ============================================
   VARIABLES DE COLOR
   ============================================ */
:root {
    /* Colores del logo */
    --logo-green: #3dcb2b;
    --logo-purple: #543ccd;
    --logo-orange: #f8571a;
    
    /* Gradiente completo arcoíris */
    --gradient-full: linear-gradient(90deg, 
        #FFEB3B 0%,    /* Amarillo */
        #8BC34A 20%,   /* Verde lima */
        #00BCD4 40%,   /* Cian */
        #5C6BC0 60%,   /* Azul */
        #9C27B0 80%,   /* Morado */
        #E91E63 100%   /* Rosa */
    );
    
    /* Gradiente suave para fondos */
    --gradient-soft: linear-gradient(135deg, 
        rgba(255, 235, 59, 0.1) 0%,
        rgba(139, 195, 74, 0.1) 33%,
        rgba(92, 107, 192, 0.1) 66%,
        rgba(233, 30, 99, 0.1) 100%
    );
    
    /* Colores base */
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
}

/* ============================================
   RESET Y BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    overflow-x: hidden;
}

/* ============================================
   TIPOGRAFÍA
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--logo-green);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--logo-green);
}

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

/* Selector de idioma */
.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: var(--light-gray);
    padding: 0.5rem;
    border-radius: 50px;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray);
}

.lang-btn.active {
    background: white;
    color: var(--logo-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn:hover:not(.active) {
    color: var(--logo-green);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    margin-top: 80px;
    padding: 6rem 2rem 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-content {
    animation: fadeInLeft 0.8s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-soft);
    color: var(--logo-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(61, 203, 43, 0.3);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-full);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ============================================
   PHONE MOCKUPS
   ============================================ */
.hero-phones {
    position: relative;
    height: 600px;
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phone-mockup {
    position: absolute;
    width: 280px;
    height: 570px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-10px) scale(1.02);
}

.phone-mockup:nth-child(1) {
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    z-index: 1;
}

.phone-mockup:nth-child(2) {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.phone-mockup:nth-child(3) {
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(5deg);
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: var(--dark);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.screen-content {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.screen-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;

}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 6rem 2rem;
    background: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
}

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

.feature-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--logo-green);
    box-shadow: 0 20px 40px rgba(61, 203, 43, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-image: url('../img/logo_sin_fondo.png');
    background-size: 170%;
    background-position: center;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 4rem 2rem;
    background: white;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid;
}

.testimonial-card:nth-child(1) {
    border-left-color: var(--logo-green);
}

.testimonial-card:nth-child(2) {
    border-left-color: var(--logo-purple);
}

.testimonial-card:nth-child(3) {
    border-left-color: var(--logo-orange);
}

.testimonial-card p:first-child {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 1rem;
}

.testimonial-card p:last-child {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.benefits-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.benefits-container h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.benefit-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-full);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-card p {
    color: var(--gray);
}

/* ============================================
   DISCLAIMER
   ============================================ */
.disclaimer {
    padding: 4rem 2rem;
    background: var(--dark);
    color: white;
}

.disclaimer-container {
    max-width: 900px;
    margin: 0 auto;
}

.disclaimer-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.disclaimer-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--logo-green);
    margin-bottom: 2rem;
}

.disclaimer-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--logo-green);
}

.disclaimer-box p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.disclaimer-box a {
    color: var(--logo-orange);
    text-decoration: none;
    font-weight: 600;
}

.disclaimer-box a:hover {
    text-decoration: underline;
}

.warning-box {
    background: rgba(255, 165, 0, 0.1);
    border-left-color: orange;
}

.warning-box h3 {
    color: orange;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--logo-green);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 2rem;
    }

    .hero-phones {
        height: 400px;
    }

    .phone-mockup {
        width: 200px;
        height: 410px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .phone-mockup:nth-child(1),
    .phone-mockup:nth-child(3) {
        display: none;
    }

    .phone-mockup:nth-child(2) {
        position: relative;
        margin: 0 auto;
    }

    .language-selector {
        margin-left: auto;
    }
}

/* ============================================
   UTILIDADES
   ============================================ */
.hidden {
    display: none !important;
}
