/* Variables de Color y Diseño */
:root {
    --color-navy: #0A1F44;
    --color-navy-dark: #071733;
    --color-navy-darker: #051024;
    --color-teal: #00C2CB;
    --color-teal-hover: #00A6AE;
    --color-white: #FFFFFF;
    --color-light-gray: #F5F7FA;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-pink-light: #FFF5F5;
    --color-red: #FF4D4D;
    
    --font-primary: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

/* Reset y Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-light-gray); /* Fondo general claro */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Tipografía */
h1, h2, h3, h4 {
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.2;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn--primary:hover {
    background-color: var(--color-teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 194, 203, 0.3);
}

.btn--full {
    width: 100%;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(0, 194, 203, 0.1);
}

/* Encabezado y Navegación */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 32px;
}
.logo-img--small {
    height: 24px;
    filter: brightness(0) invert(1);
}

.nav {
    display: none;
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--color-teal);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-navy);
    transition: var(--transition);
}

@media (min-width: 992px) {
    .nav, .header__actions {
        display: block;
    }
    .mobile-menu-btn {
        display: none;
    }
}

/* Menú móvil activo */
.nav.is-active {
    display: block;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.nav.is-active .nav__list {
    flex-direction: column;
}
.header__actions.is-active {
    display: block;
    position: absolute;
    top: calc(80px + 160px);
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: 0 24px 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero--dark {
    background-color: var(--color-navy);
    padding: 140px 0 80px;
    color: var(--color-white);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.hero__title {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero__description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
}

/* Waitlist Card */
.waitlist-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 32px;
    color: var(--color-text);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.waitlist-card h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

@media (min-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr 400px;
        align-items: center;
    }
    .hero__title {
        font-size: 3.5rem;
    }
}

/* Clients */
.clients {
    background-color: var(--color-navy-dark);
    padding: 40px 0;
    text-align: center;
}

.clients__title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.clients__logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.client-logo {
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
    opacity: 0.8;
}

/* Comparison Section */
.comparison {
    padding: 80px 0;
    background-color: var(--color-white);
}

.comparison__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.compare-card {
    padding: 40px;
    border-radius: 16px;
}

.compare-card--chaos {
    background-color: var(--color-pink-light);
}

.compare-card--clarity {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.compare-card h2 {
    font-size: 1.75rem;
    margin-bottom: 32px;
}

.compare-card--clarity h2 {
    color: var(--color-white);
}

.compare-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.compare-list li {
    display: flex;
    gap: 16px;
}

.compare-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

.compare-icon--red {
    background-color: rgba(255, 77, 77, 0.1);
    color: var(--color-red);
}

.compare-icon--teal {
    background-color: rgba(0, 194, 203, 0.2);
    color: var(--color-teal);
}

.compare-text h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.compare-card--clarity .compare-text h4 {
    color: var(--color-white);
}

.compare-text p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.compare-card--clarity .compare-text p {
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 992px) {
    .comparison__container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Features Grid Section */
.features-grid-section {
    padding: 80px 0;
    background-color: var(--color-white);
    border-top: 1px solid #E2E8F0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-box {
    padding: 32px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background-color: var(--color-white);
    transition: var(--transition);
}

.feature-box:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-4px);
}

.feature-box__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-light-gray);
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.feature-box h4 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Reality Section */
.reality-section {
    background-color: var(--color-teal);
    padding: 80px 0;
    color: var(--color-white);
    overflow: hidden;
}

.reality-section__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.reality-content h2 {
    color: var(--color-white);
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.reality-content p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.reality-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reality-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Simple CSS mockup for right side */
.reality-mockup {
    position: relative;
    width: 100%;
}

.mockup-ui {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mockup-header {
    margin-bottom: 24px;
}
.mockup-logo {
    width: 80px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}
.mockup-cards {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.m-card {
    height: 60px;
    flex: 1;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}
.mockup-chart {
    height: 120px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    gap: 8px;
}
.mockup-chart .bar {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 4px 4px 0 0;
    height: 20%;
}

@media (min-width: 992px) {
    .reality-section__container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Final CTA Section */
.final-cta {
    background-color: var(--color-navy);
    padding: 100px 0;
    color: var(--color-white);
}

.final-cta__header {
    text-align: center;
    margin-bottom: 48px;
}

.final-cta__header h2 {
    color: var(--color-white);
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.final-cta__header p {
    opacity: 0.8;
}

.final-cta__form-wrapper {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.full-form .form-group label {
    color: var(--color-text-light);
}

.full-form .form-input {
    border-color: #E2E8F0;
    color: var(--color-text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer New */
.footer {
    background-color: var(--color-navy-darker);
    padding: 24px 0;
    color: var(--color-white);
}

.footer__container-new {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer__left p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer__right {
    display: flex;
    gap: 24px;
}

.footer__right a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer__right a:hover {
    color: var(--color-white);
}

@media (min-width: 768px) {
    .footer__container-new {
        flex-direction: row;
    }
    .footer__left {
        flex-direction: row;
        gap: 24px;
    }
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 -4px 20px rgba(10, 31, 68, 0.1);
    z-index: 9999;
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--color-navy);
    margin: 0;
}

.cookie-banner__link {
    color: var(--color-teal);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.cookie-banner .btn--small {
    padding: 10px 20px;
    font-size: 0.875rem;
    flex: 1;
}

@media (min-width: 768px) {
    .cookie-banner__content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    
    .cookie-banner p {
        flex: 1;
        max-width: 700px;
    }
    
    .cookie-banner__actions {
        width: auto;
        flex-shrink: 0;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
*:focus-visible {
    outline: 3px solid var(--color-teal);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline-offset: 4px;
}

a:focus-visible {
    border-radius: 4px;
}
