/* ===== Tipografía global (Inter) ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300..900&display=swap');

/* Variables de color y estilos */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f6f8;
    --text-primary: #1c1c1c;
    --text-secondary: #6c757d;
    --accent: #2a74e6;
    --accent-light: #5a95f5;
    --gradient: linear-gradient(135deg, #1e2a38 0%, #2a74e6 100%);
    --card-bg: rgba(255, 255, 255, 0.9);
    --header-bg: rgba(255, 255, 255, 0.75);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header y navegación estilo macOS */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.btn-download {
    background: var(--accent);
    color: rgb(255, 255, 255);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-download:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

:root {
    --header-height: 64px;
}

.hero {
    min-height: calc(100svh - var(--header-height));
    margin: 0;
    border-radius: 0;
    display: grid;
    place-content: center;
    padding: calc(1.5rem + var(--header-height)) 2rem 2.5rem;
}


.hero-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #1e2a38, #970000, #4d77ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}


.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3.5rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 105, 209, 0.288);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.05);
    transform: translateY(-2px);
}

/* ===== Sección: Pantallas principales ===== */
.screens-section {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    padding: 3rem 2rem;
}

.screens-section h2 {
    margin-bottom: .5rem;
    font-size: 2rem;
}

.screens-section p {
    margin: 0 auto 2rem;
    max-width: 720px;
    color: #333;
}

/* Contenedor con perspectiva */
.phones {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    flex-wrap: wrap;
    perspective: 1200px;
}

/* ====== Pantallas principales — mockups estilo ANDROID ====== */

/* Contenedor con perspectiva (lo puedes dejar igual si ya lo tienes) */
.phones {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    flex-wrap: wrap;
    perspective: 1200px;
}

/* Teléfono base: bisel DELGADO */
.phone {
    width: 210px;
    height: 400px;
    position: relative;
    border-radius: 25px;
    padding: 7px;
    /* antes 10px: más delgado */
    background: #14161a;
    /* chasis neutro */
    box-shadow: 0 18px 36px rgba(0, 0, 0, .22);
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Eliminamos el brillo metálico lateral (era muy marcado) */
.phone::before {
    content: none;
}

/* Botón lateral discreto */
.phone::after {
    content: "";
    position: absolute;
    top: 120px;
    right: -2px;
    width: 2px;
    height: 44px;
    border-radius: 2px;
    background: #1a1d22;
}

/* Pantalla (zona de la imagen) */
.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    /* radio más acorde al chasis */
    overflow: hidden;
    background: #fff;
    position: relative;
}

/* --- Barra de estado Android (sin notch) --- */
.phone-screen::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 22px;
    /* 20–24px típico */
    background: linear-gradient(to bottom, rgba(0, 0, 0, ), rgba(0, 0, 0, 0.25));
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    pointer-events: none;
    opacity: .85;
}

/* Imagen dentro de la pantalla */
.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Perspectiva ligera */
.phone-left {
    transform: rotateY(15deg) rotatex(0deg);
}

.phone-center {
    transform: rotateY(0deg) rotateZ(0deg);
}

.phone-right {
    transform: rotateY(-15deg) rotatex(0deg);
}

/* Hover */
.phone:hover {
    transform: translateY(-6px) rotateY(0);
    box-shadow: 0 28px 52px rgba(0, 0, 0, .28);
}


/* ---------------------termina principales---------------*/

/* Features Grid */
.features {
    padding: 5rem 0;
    background: var(--bg-secondary);
    border-radius: 40px;
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    color: white;
    font-size: 1.8rem;
}

/* ============================= */
/* Características principales   */
/* ============================= */
.features {
    /* mismo degrade RGB que el home */
    background: linear-gradient(135deg, #B88EFA 0%, #639CFF 45%, #99DDEC 100%);
    padding: 4rem 2rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: #000;
}

.features h2 {
    font-size: 2.2rem;
    color: #000;
    margin-bottom: 1rem;
}

.features p {
    color: #222;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Tarjetas */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.features-grid .card,
.feature-card {
    /* por compatibilidad con tu markup */
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* Círculo + ícono (mismo look “azul/violeta” del site) */
.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: #fff;
    font-size: 1.4rem;
    /* borde suave + gradiente del site */
    background:
        radial-gradient(closest-side, rgba(255, 255, 255, 0.08) 60%, rgba(255, 255, 255, 0.15) 61%),
        linear-gradient(135deg, #B88EFA 0%, #639CFF 45%, #99DDEC 100%);
    box-shadow: 0 6px 16px rgba(99, 156, 255, .25);
}



/* -----------------------Nuestras aplicaciones -----------------------------*/
.apps-section {
    padding: 5rem 0;
    text-align: center;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.app-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.app-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.app-card img {
    max-width: 100%;
    border-radius: 12px;
}

/* Footer */

/* ==== Footer: SIN bordes redondeados + gris profesional ==== */
footer,
.footer {
    background: #f3f4f6 !important;
    /* plano */
    background: linear-gradient(180deg, #f7f8fa 0%, #eef1f4 100%) !important;
    /* gris sutil */
    border-radius: 0 !important;
    /* sin curvas */
    border-top: 1px solid rgba(0, 0, 0, .06);
    /* delineado suave */
    color: #0f1115 !important;
    /* texto oscuro */
}

/* Mejor contraste en títulos/enlaces dentro del footer */
footer h2,
footer h3,
.footer h2,
.footer h3 {
    color: #0f1115 !important;
}

footer a,
.footer a {
    color: #0f1115 !important;
}

footer a:hover,
.footer a:hover {
    color: #6E8BD7 !important;
}

/* tu acento */

/* Línea y texto del bloque inferior */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, .08) !important;
    color: #475569 !important;
}

footer {
    background: var(--bg-secondary);
    padding: 5rem 0 2rem;
    border-radius: 40px 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 2;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-primary);
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .showcase-container {
        flex-direction: column;
        gap: 2rem;
    }

    .showcase-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .app-badges {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ===== Misión & Visión — centrar título/subtítulo y dos columnas ===== */
/* El bloque de intro ocupa todo el ancho del card y se centra */
.mission-vision .mv-intro {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
    font-family: var(--font-family, 'Montserrat', sans-serif);
}

/* Reusa el look global del index para títulos y subtítulos */
.mission-vision .section-title {
    margin-bottom: 0.8rem;
    font-family: var(--font-family, 'Montserrat', sans-serif);
}

.mission-vision .section-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    font-family: var(--font-family, 'Montserrat', sans-serif);
}

/* Dos columnas internas: Misión (izq) | Visión (der) */
.mission-vision .mv-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    /* más aire entre columnas */
    align-items: start;
    /* que comiencen a la misma altura */
    max-width: 1200px;
    margin: 0 auto;
}

/* Ajuste de cada columna */
.mission-vision .mv-item {
    text-align: justify;
    /* justificar texto */
    line-height: 1.7;
    max-width: 520px;
    /* mismo ancho para simetría */
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--text-primary);
    font-family: var(--font-family, 'Montserrat', sans-serif);
}

/* Títulos de Misión y Visión */
.mission-vision .mv-item h3 {
    text-align: center;
    /* centrado solo el título */
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
    font-family: var(--font-family, 'Montserrat', sans-serif);
    color: var(--text-primary);
}

/* Responsive: apila en móvil */
@media (max-width: 968px) {
    .mission-vision .mv-items {
        grid-template-columns: 1fr;
    }
}


/* Responsive específico para la sección de Apps */
@media (max-width: 768px) {
    .apps-section {
        padding: 3.5rem 0;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        /* apila en vertical */
        gap: 1.25rem;
        /* espacio entre tarjetas */
    }

    .app-card {
        padding: 1.5rem;
    }

    .app-card img {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }

    .app-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.6rem;
    }

    .app-card p {
        font-size: 0.95rem;
        line-height: 1.55;
    }
}

/* ===== Apps en acción (tres tarjetas inclinadas) ===== */
.apps-hero {
    padding: 5rem 0;
    text-align: center;
}

.poster-deck {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 4vw, 2rem);
    perspective: 1200px;
    flex-wrap: wrap;
    /* por si el viewport es pequeño */
}

.poster {
    width: clamp(200px, 24vw, 280px);
    aspect-ratio: 3 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
    transform-style: preserve-3d;
    transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, .06);
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poster--left {
    transform: rotateY(18deg) rotateZ(-6deg) translateX(-6%);
}

.poster--center {
    z-index: 2;
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .16);
}

.poster--right {
    transform: rotateY(-18deg) rotateZ(6deg) translateX(6%);
}

/* Hover/Focus: resaltado */
.poster:hover {
    z-index: 3;
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 32px 70px rgba(0, 0, 0, .18);
    filter: saturate(108%);
}

/* Etiqueta */
.poster__tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid #ECF5F9;
    padding: .35rem .6rem;
    border-radius: 10px;
    font-size: .9rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.deck-note {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: .95rem;
}

/* Responsive: centra y reduce inclinación en pantallas chicas */
@media (max-width: 968px) {

    .poster--left,
    .poster--right {
        transform: rotateZ(0) rotateY(0) translateX(0);
    }

    .poster--center {
        transform: translateY(-4px) scale(1.02);
    }
}

/* Un pequeño ajuste para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    /* ajusta a gusto */
}

/* Dropdown Navbar */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 2000;
}

.nav-links .dropdown-menu li {
    margin: 0;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.nav-links .dropdown-menu a:hover {
    background: var(--accent);
    color: #fff;
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

/* Botón especial para Framet */
.framet-btn {
    background: var(--accent);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.framet-btn:hover {
    background: var(--accent-light);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

/* Botón regresar en login */
.back-btn {
    background: var(--accent);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--accent-light);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(131, 167, 202, 0.2);
}

/*aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa*/
/* ============ Variables & Reset ============ */
:root {
    --bg: #f5f7f9;
    --text: #1d1d1f;
    --text-2: #6b7280;
    --accent: #556be6;
    --accent-hover: #1d5ed8;
    --accent-light: #a7c7ff;
    --radius: 16px;
    --shadow: 0 8px 30px rgba(0, 0, 0, .08);
    --transition: .25s ease;
    --gradient: linear-gradient(135deg, #1900fd, #e4b0b0, #06b6d4);
    --logo-gradient: linear-gradient(90deg, #0f172a, #038096, #3bb2e0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text)
}

/* ============ Layout Login Split ============ */
.login-split {
    display: flex;
    min-height: 100vh;
    padding-top: 6rem;
    /* espacio navbar */
}

/* Panels (comparten base flex) */
.login-info,
.login-form-container {
    flex: 1;
    display: flex;
    align-items: center;
}

/* Left */
.login-info {
    background: var(--gradient);
    color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem;
}

.login-info h1,
.login-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.login-info .slogan {
    font-size: 1.3rem;
    max-width: 420px;
    line-height: 1.6;
    font-weight: 400;
    opacity: .95;
}

/* Right */
.login-form-container {
    justify-content: center;
    background: var(--bg-secondary, #eef2f7);
}

.login-card {
    background: #fff;
    width: 100%;
    max-width: 380px;
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    animation: fadeIn .6s ease-in-out;
}

.login-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--text);
}

.login-card .login-subtitle {
    font-size: 1rem;
    color: var(--text-2);
    margin-bottom: 2rem;
}

/* ============ Form ============ */
.login-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left
}

.login-form label {
    font: 500 .85rem/1 var(--font, inherit);
    color: var(--text-2);
    margin-bottom: .4rem;
    display: block;
}

.login-form input {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.login-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
}

/* Button */
.btn-login {
    background: var(--accent);
    color: #fff;
    border: 0;
    width: 100%;
    padding: .9rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}

.btn-login:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Registro link */
.register-text {
    margin-top: 1.5rem;
    font-size: .95rem;
    color: var(--text-2);
}

.register-text a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.register-text a:hover {
    text-decoration: underline
}

/* ============ Navbar (login) ============ */
header {
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 0;
    width: 100%;
    background: transparent;
    border-bottom: none;
    padding: 1rem 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Botón regresar (reutiliza variables) */
.back-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: .6rem 1.4rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.back-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

/* ============ Hero Azul (si lo usas como alternativa al split) ============ */
.login-hero {
    flex: 1;
    background: var(--gradient);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    margin-top: -80px;
    /* cubre bajo navbar */
    min-height: 100vh;
}

.login-hero p {
    font-size: 1.2rem;
    max-width: 400px;
    line-height: 1.6;
    opacity: .9;
}

/* ============ Animations ============ */
@keyframes gradientMove {
    0% {
        background-position: 0% center
    }

    100% {
        background-position: 200% center
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* ===== Override de paleta (Index + Login) ===== */
/* Pega este bloque AL FINAL de styles.css */
:root {
    /* -------- Index (tus primeras variables) -------- */
    --bg-primary: #FFFFFF;
    /* mantiene fondo general blanco */
    --bg-secondary: #0582b8;
    /* secciones/hero suaves */
    --text-primary: #1D1D1F;
    --text-secondary: #A890AC;

    --accent: #639CFF;
    /* CTA principal, links, hovers */
    --accent-light: #6E8BD7;
    /* hover más profundo */
    --gradient: linear-gradient(135deg, #B88EFA 0%, #639CFF 45%, #99DDEC 100%);

    /* -------- Login (tus segundas variables) -------- */
    --bg: #ECF5F9;
    /* fondo para html/body del login */
    --text: #1D1D1F;
    --text-2: #A890AC;

    /* Para .btn-login:hover y .back-btn:hover */
    --accent-hover: #6E8BD7;

    /* Deja tu --logo-gradient tal como está */
}

/* ==== FONDO TECH HYPERGRID+ (mejorado) ==== */

body {
    background: var(--bg, var(--bg-primary));
    /* login usa --bg, index usa --bg-primary */
    position: relative;
    isolation: isolate;
    /* asegura que las capas queden debajo del contenido */
}

/* Capa 1 — Grid isométrico sutil (tecnológico) */
html::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        /* 60° */
        repeating-linear-gradient(60deg,
            color-mix(in oklab, var(--accent) 20%, transparent) 0 1px,
            transparent 1px 28px),
        /* 120° */
        repeating-linear-gradient(120deg,
            color-mix(in oklab, var(--accent) 20%, transparent) 0 1px,
            transparent 1px 28px),
        /* líneas horizontales muy finas */
        repeating-linear-gradient(0deg,
            color-mix(in oklab, var(--accent) 8%, transparent) 0 1px,
            transparent 1px 24px);
    opacity: .38;
    mask-image: radial-gradient(90% 75% at 50% 40%, #000 60%, transparent 100%);
}

/* Capa 2 — Glow de color (profundidad) */
html::after {
    content: "";
    position: fixed;
    inset: -10%;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(700px 600px at 18% 22%, color-mix(in oklab, #B88EFA 26%, transparent), transparent 60%),
        radial-gradient(680px 560px at 84% 18%, color-mix(in oklab, #99DDEC 24%, transparent), transparent 60%),
        radial-gradient(560px 520px at 72% 82%, color-mix(in oklab, #6E8BD7 22%, transparent), transparent 62%);
    filter: saturate(112%) blur(0.3px);
    opacity: .42;
    mask-image: radial-gradient(80% 70% at 50% 45%, #000 55%, transparent 100%);
}

/* ====== GetCoMind — Términos & Condiciones (paleta oficial) ====== */
:root {
    --terms-max: 920px;
}

.terms-hero {
    position: relative;
    height: 500px;
    /* ajusta la altura si quieres más o menos espacio */
    background: linear-gradient(135deg, #B88EFA, #639CFF, #99DDEC);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.terms-hero h1 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    color: #fff;
    /* 🔹 blanco puro */
    padding: 10px 20px;
}



.collage {
    opacity: 0.5;
    /* 🔹 opacidad al 50% */
    position: absolute;
    inset: 0;
    /* ocupa todo el espacio */
    overflow: hidden;
    z-index: 1;
}

/* Fallback si el navegador no soporta color-mix */
@supports not (color: color-mix(in oklab, #000 50%, #fff 50%)) {
    .terms-hero h1 {
        background: linear-gradient(90deg, #7A5ED2, #556ECC, #3F62C7, #3C84A0, #B05E75);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

.terms-hero p {
    opacity: .92;
}

/* Contenedor general */
.terms-wrap {
    max-width: var(--terms-max);
    margin: 0 auto;
    padding: 2rem;
}

/* Layout con índice lateral */
.terms-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

@media (max-width:1024px) {
    .terms-layout {
        grid-template-columns: 1fr;
    }
}

/* Índice (sticky) */
.terms-toc {
    position: sticky;
    top: calc(64px + 1rem);
    align-self: start;
    background: #FFFFFF;
    /* surface */
    border: 1px solid #ECF5F9;
    /* borde suave */
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    padding: 1rem;
}

.terms-toc h3 {
    font-size: 1rem;
    margin-bottom: .5rem;
    color: #1D1D1F;
}

.terms-toc ul {
    list-style: none;
    padding-left: 0;
}

.terms-toc li {
    margin: .35rem 0;
}

.terms-toc a {
    color: #A890AC;
    /* texto secundario */
    text-decoration: none;
    font-size: .95rem;
    display: block;
    padding: .38rem .6rem;
    border-radius: 10px;
    transition: .25s ease;
}

.terms-toc a:hover {
    background: #ECF5F9;
    /* bg-app */
    color: #1D1D1F;
    box-shadow: 0 0 0 2px rgba(99, 156, 255, .15);
    /* halo del accent */
}

/* Contenido legal */
.terms-content {
    background: #FFFFFF;
    /* surface */
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    padding: 2rem;
    border-top: 4px solid #639CFF;
    /* acento */
}

.terms-content h2 {
    font-size: 1.4rem;
    margin: 1.25rem 0 .5rem;
    color: #1D1D1F;
}

.terms-content p,
.terms-content li {
    color: #A890AC;
    line-height: 1.75;
}

.terms-content ol {
    padding-left: 1.25rem;
}

.terms-content ul {
    padding-left: 1.25rem;
    list-style: disc;
}

/* Nota */
.alert-note {
    background: #ECF5F9;
    border-left: 4px solid #B88EFA;
    /* morado de la paleta */
    border-radius: 12px;
    padding: .9rem 1rem;
    margin: 1rem 0;
    font-size: .95rem;
    color: #A890AC;
}

/* Aceptación */
.terms-accept {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: #ECF5F9;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.terms-accept label {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #1D1D1F;
}

.terms-accept input[type="checkbox"] {
    width: 18px;
    height: 18px;
    appearance: none;
    outline: none;
    cursor: pointer;
    border: 2px solid #639CFF;
    border-radius: 6px;
    position: relative;
    background: #FFFFFF;
    transition: .2s ease;
}

.terms-accept input[type="checkbox"]:checked {
    background: #639CFF;
    border-color: #639CFF;
}

.terms-accept input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    inset: 3px 5px 5px 3px;
    transform: rotate(45deg);
    width: 6px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.terms-accept .btn-primary {
    background: #639CFF;
    border: none;
    color: #fff;
    border-radius: 12px;
    padding: .8rem 1.4rem;
    font-weight: 600;
    transition: .25s ease;
    min-width: 160px;
}

.terms-accept .btn-primary:hover {
    background: #6E8BD7;
    transform: translateY(-2px);
}

/* Tamaño igual al título del home */
.terms-hero h1 {
    font-size: 5rem;
    /* igual que .hero h1 */
    line-height: 1.05;
    letter-spacing: -1px;
}

/* Breakpoints iguales a los del home */
@media (max-width: 968px) {
    .terms-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .terms-hero h1 {
        font-size: 2.2rem;
        text-align: center;
    }
}

/* Navbar más transparente con blur marcado (solo Términos) */
header {
    background: rgba(255, 255, 255, 0.567) !important;
    /* antes ~.85 */
    backdrop-filter: blur(20px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(120%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, .06) !important;
    padding: .8rem 0 !important;
}

/* Mantén buena legibilidad de los links sobre el gradiente */
.nav-links a {
    color: var(--text-secondary) !important;
}

.nav-links a:hover {
    color: var(--text-primary) !important;
}

/* (opcional) Dropdown coherente con el header translúcido */
.nav-links .dropdown-menu {
    background: rgba(255, 255, 255, 0.686);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, .06);
}

/* -----------------Comienza hoy mismo -------------------------*/
.cta {
    padding: 4rem 2rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.cta h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color, #0f1115);
    /* oscuro o el primario de tu paleta */
}

.cta p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    /* texto gris oscuro para legibilidad */
}


/* ============================= */
/* Footer tranquilo con texto negro */
/* ============================= */
.footer {
    background: linear-gradient(180deg, #99DDEC 0%, #A890AC 100%);
    color: #000;
    /* ahora texto negro */
    padding: 3rem 1rem 1rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer h2 {
    font-size: 1.6rem;
    color: #000;
    /* negro */
    margin-bottom: 0.5rem;
}

.footer h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #000;
    /* negro */
}

.footer p,
.footer ul li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #000;
    /* negro */
}

.footer a {
    color: #000;
    /* enlaces en negro */
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #639CFF;
    /* azul de la paleta para hover */
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding-top: 1rem;
    font-size: 0.8rem;
    color: #000;
    /* negro */
}

/* ===== Overrides de tamaño de títulos mision y vision y nuestras aplicaicones (poner AL FINAL del archivo) ===== */
.mission-vision h2.section-title {
    font-size: 2.6rem !important;
    line-height: 1.15;
}

.apps-section h2.section-title {
    font-size: 2.6rem !important;
    line-height: 1.15;
}

/* Subtítulo de Misión & Visión un poco más grande */
.mission-vision .section-subtitle {
    font-size: 1.35rem !important;
    max-width: 680px;
}

/* Ajustes responsivos (opcional) */
@media (max-width: 968px) {

    .mission-vision h2.section-title,
    .apps-section h2.section-title {
        font-size: 2.2rem !important;
    }

    .mission-vision .section-subtitle {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 768px) {

    .mission-vision h2.section-title,
    .apps-section h2.section-title {
        font-size: 2rem !important;
    }
}

/* ===== Misión & Visión con estilo de "Características", sin cards ===== */
.mission-vision {
    background: linear-gradient(180deg, #99DDEC 0%, #A890AC 100%);
    padding: 4rem 2rem;
    border-radius: 40px;
    margin: 4rem 0;
    text-align: center;
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

/* Título / subtítulo (ya los agrandaste; dejo coherencia y colores) */
.mission-vision h2.section-title {
    color: #000;
}

.mission-vision .section-subtitle {
    color: #222;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Dos columnas, sin recuadro blanco */
.mission-vision .mv-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.mission-vision .mv-item {
    background: transparent !important;
    /* ← sin card */
    box-shadow: none !important;
    padding: 0 !important;
    text-align: justify;
}

.mission-vision .mv-item h3 {
    margin-bottom: .6rem;
    color: #000;
}

.mission-vision .mv-item p {
    color: #222;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Responsive */
@media (max-width: 968px) {
    .mission-vision .mv-items {
        grid-template-columns: 1fr;
    }
}

/* ====== Product pages (video izq + texto der) ====== */
.product-page {
    padding-top: calc(var(--header-height, 64px) + 2rem);
}

.product-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2rem;
    align-items: start;
    padding: 1rem 0 3rem;
}

/* Video responsivo 16:9 */
.product-media {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.product-media iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Texto */
.product-info h2 {
    font-size: 1.6rem;
    margin-bottom: .6rem;
}

.product-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.product-info .bullets {
    margin: 0 0 1rem 1.25rem;
}

.product-info .bullets li {
    margin: .4rem 0;
}

.cta-inline {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

@media (max-width: 1024px) {
    .product-split {
        grid-template-columns: 1fr;
    }
}

/* ====== Próximos lanzamientos (grid de ideas) ====== */

/* Próximos lanzamientos: centrar hero en pantalla */
.product-page .product-hero {
    min-height: calc(100svh - var(--header-height, 64px));
    display: grid;
    place-items: center;
    /* centra vertical y horizontal */
    padding-block: 0;
    /* sin relleno extra arriba/abajo */
}

.product-page .product-hero .product-header {
    text-align: center;
    /* centra el texto */
    margin: 0 auto;
    max-width: 70ch;
    /* ancho legible */
    display: grid;
    gap: .75rem;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 3rem;
}

.roadmap-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.roadmap-card .tag {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid #ECF5F9;
    padding: .28rem .55rem;
    border-radius: 10px;
    font-size: .8rem;
    margin-bottom: .4rem;
}

.roadmap-card h3 {
    margin: .25rem 0 .35rem;
}

.roadmap-card p {
    color: var(--text-secondary);
}

/* === Product pages — tipografía, color y look como el home === */

/* Hero con el mismo degradado ya definido */
.product-hero,
.product-hero * {
    color: #000;
}

/* Título grande y elegante */
.product-header .section-title {
    font-size: 3rem;
    /* ↑ más grande */
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-weight: 800;
    color: #000;
}

.product-header .section-subtitle {
    color: #000;
    /* negro, más elegante */
    opacity: .9;
    max-width: 820px;
    font-size: 1.1rem;
}

/* Cuerpo en tarjetas con texto negro */
.product-body {
    padding: 1rem 0 3rem;
}

.product-info,
.product-info * {
    color: #000;
}

/* todo negro */
.product-info h2 {
    font-size: 1.9rem;
    /* subtítulo más grande */
    margin-bottom: .6rem;
}

.product-info p {
    font-size: 1rem;
}

.product-info .bullets {
    margin: 0 0 1rem 1.25rem;
}

.product-info .bullets li {
    list-style: disc;
    margin: .4rem 0;
}

/* Si alguna página todavía tiene el bloque de CTAs, lo ocultamos */
.product-info .cta-inline {
    display: none !important;
}

/* Próximos lanzamientos también en negro */
.roadmap-card,
.roadmap-card * {
    color: #000;
}

/* Responsive */
@media (max-width: 968px) {
    .product-header .section-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .product-header .section-title {
        font-size: 2rem;
    }
}

/* ===== LOGIN ajustes visuales ===== */

/* 1) Quitar el “cuadro azul” de la derecha */
.login-form-container {
    background: transparent !important;
}

/* 2) Mantener el fondo global (mismo del home) visible */
body:has(.login-split) {
    /* usa el background general del sitio */
    --bg: var(--bg-primary);
}

/* 3) Hacer que el panel degradado (izquierdo) suba hasta el navbar */
:root {
    --header-height: 64px;
}

/* por si no estaba definido en tu build */

.login-split {
    /* seguimos respetando el header fijo, evitando solapar el contenido */
    padding-top: var(--header-height);
}

.login-info {
    /* el fondo del panel sube “por detrás” del header, quedando pegado a él */
    margin-top: calc(-1 * var(--header-height));
    padding-top: calc(4rem + var(--header-height));
    /* mantiene aire para el texto */
    min-height: calc(100vh + var(--header-height));
    /* llena el viewport + cabecera */
}

/* Opcional: un poquito más de aire lateral al formulario */
.login-card {
    margin: 1rem;
}

/* === Centrar el párrafo inmediatamente después del título en todas las secciones === */

/* Genérico para subtítulos comunes */
.section-subtitle {
    text-align: center;
    margin: 0 auto 1.5rem;
}

/* Casos donde el subtítulo es un <p> sin clase, justo tras el título */
.hero h1+p,
.mission-vision .section-title+p,
.apps-section .section-title+p,
.features .section-title+p,
.product-header h1+p,
.product-page .section-title+p {
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 820px;
    /* ancho legible */
}

/* Páginas de producto: asegurar centrado del bloque de encabezado */
.product-header,
.product-page .section-title,
.product-page .section-subtitle {
    text-align: center;
}

/* ===== Brand con barrido de color real ===== */
:root {
    /* mismo arranque y final para que el loop sea imperceptible */
    --logo-gradient-flow: linear-gradient(90deg,
            #B88EFA 0%,
            #639CFF 20%,
            #99DDEC 40%,
            #4BD3F5 60%,
            #639CFF 80%,
            #B88EFA 100%);
}

.logo a {
    display: inline-block;
    font-weight: 800;
    background-image: var(--logo-gradient-flow);
    background-size: 400% 100%;
    /* más ancho => efecto de “paso” claro */
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: logoFlow 7s linear infinite;
    /* flujo continuo, no “respirar” */
    will-change: background-position;
}

@keyframes logoFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }

    /* barrido de izq -> der */
}

/* ---------------------toda la primera parte de la pagina axol 01 en el index--------------------/*
/* Respeto a reduce-motion */
@media (prefers-reduced-motion: reduce) {
    .logo span {
        animation: none;
    }
}

.hero {
  padding-top: 100px;     /* espacio arriba */
  padding-bottom: 100px;  /* espacio abajo */
}

.logo-axol {
    display: block;
    margin: 0 auto 15px auto;
    margin-top: 0;
    /* margen negativo reduce el espacio */
    width: 350px;
    height: auto;
}

.titulo {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #7a0d0d, #9333ea);
    background-clip: text;
    /* versión estándar */
    -webkit-background-clip: text;
    /* versión Chrome/Safari */
    -webkit-text-fill-color: transparent;

    margin-top: 0;
    /* quita espacio arriba */
    margin-bottom: 15px;
}

/* En pantallas pequeñas (teléfonos) */
@media (max-width: 600px) {
    .titulo {
        font-size: 3.3rem !important;
    }
}

.descripcion {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
    max-width: 90%;
    /* que use casi todo el ancho en móvil */
    margin: 0 auto;
    padding: 0 10px;
    /* un poquito de aire a los lados */
}


/* Ajuste para pantallas grandes */
@media (min-width: 768px) {
    .descripcion {
        max-width: 600px;
        /* en PC el texto no se ve demasiado largo */
    }
}

/* Subtítulo del hero (debajo de "Axol 01") en negro */
.hero p {
    color: #000 !important;
    opacity: 1;
    /* por si había estilos con transparencia */
}


/* ===========================
   Tipografía global unificada
   =========================== */
:root {
    /* Cambia 'Inter' por la que quieras y listo */
    --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Asigna la misma fuente a todo el texto común */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
small,
button,
input,
textarea,
select,
label,
.navbar,
.nav-links a,
.footer,
.footer * {
    font-family: var(--font-ui) !important;
}

/* Forzamos también las secciones que antes usaban Montserrat */
.screens-section,
.features,
.cta,
.footer,
.mission-vision,
.apps-section,
.apps-hero {
    font-family: var(--font-ui) !important;
}

/* Mantén la fuente de los íconos de Font Awesome intacta */
.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-light,
.fa-brands {
    font-family: inherit !important;
}

/* (Opcional) El logo también con la misma familia */
.logo span {
    font-family: var(--font-ui) !important;
}

/* ===== Embeds de Drive (video / carpeta) ===== */
.video-embed,
.folder-embed {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
}

/* Video con relación 16:9 */
.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Player de Drive responsivo */
.folder-embed {
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    /* mantiene proporción video */
    border: 0;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
}

@supports not (aspect-ratio: 16 / 9) {

    /* fallback: 16:9 con padding */
    .folder-embed {
        height: 405px;
    }

    /* ~720x405 */
}

/* PECO: vista de carpeta de Drive */
.folder-embed iframe {
    width: 100%;
    height: 332px;
    /* ajusta si necesitas más/menos alto */
    border: 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

@media (max-width: 968px) {
    .folder-embed iframe {
        height: 340px;
    }
}

/* Asegura que el ícono se vea dentro del círculo */
.feature-icon i {
    font-size: 1.6rem;
    /* tamaño del ícono */
    line-height: 1;
    /* evita recortes verticales */
    display: inline-block;
}

/* ===== Modal iframe (panel) ===== */
.iframe-modal {
    position: fixed;
    inset: 0;
    display: none;
    /* se muestra al abrir */
    z-index: 4000;
}

.iframe-modal.is-open .iframe-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.iframe-modal.is-open .iframe-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.iframe-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 21, .42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .18s ease;
    pointer-events: none;
}

.iframe-dialog {
    position: relative;
    margin: 6vh auto;
    max-width: min(1100px, 92vw);
    height: min(72vh, 760px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
    overflow: hidden;
    transform: translateY(12px) scale(.98);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
    display: flex;
    flex-direction: column;
}

.iframe-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
}

.iframe-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.iframe-close {
    appearance: none;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    padding: .2rem .4rem;
    cursor: pointer;
    color: #1d1d1f;
    border-radius: 8px;
}

.iframe-close:hover {
    background: rgba(0, 0, 0, .06);
}

.iframe-body {
    position: relative;
    flex: 1;
    background: #fafafa;
}

.iframe-body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Error + shake ===== */
.login-error {
    margin-top: .75rem;
    color: #d12f2f;
    font-size: .95rem;
}

@keyframes shake {

    10%,
    90% {
        transform: translateX(-1px);
    }

    20%,
    80% {
        transform: translateX(2px);
    }

    30%,
    50%,
    70% {
        transform: translateX(-4px);
    }

    40%,
    60% {
        transform: translateX(4px);
    }
}

.shake {
    animation: shake .45s linear;
}

.mini-footer {
    padding: 50px;
}

/* ==== Misión & Visión: fondo gris profesional (override) ==== */
.mission-vision {
    background: #f3f4f6 !important;
    /* sólido limpio */
    background: linear-gradient(180deg, #f7f8fa 0%, #eef1f4 100%) !important;
    /* gris sutil */
    border: 1px solid rgba(0, 0, 0, 0.06);
    /* delineado suave para “card” */
    color: #0f1115;
    /* buen contraste */
}

/* Misión & Visión: sin esquinas redondeadas */
.mission-vision {
    border-radius: 0 !important;
}

/* ==== Características principales: fondo gris y SIN esquinas redondeadas ==== */
.features {
    background: #f3f4f6 !important;
    /* plano y limpio */
    background: linear-gradient(180deg, #f7f8fa 0%, #eef1f4 100%) !important;
    /* gris sutil */
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0 !important;
    /* quita la curva */
    color: #0f1115;
}

@media (max-width: 1024px) {
    .terms-toc {
        display: none;
    }
}

@media (max-width: 768px) {
    .terms-toc {
        display: none;
    }
}

/* Estilos base del botón hamburguesa */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
}

/* Media queries para el menú responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        /* Ajusta según la altura de tu header */
        left: 0;
        right: 0;
        background: var(--header-bg);
        backdrop-filter: blur(10px);
        padding: 1rem;
        flex-direction: column;
        width: 100%;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    /* Ajustes para el dropdown en móvil */
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        padding-left: 1rem;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* axol overrides – app-link clickable cards */
.app-link {
    display: block;
    /* que ocupe todo el card */
    text-decoration: none;
    /* sin subrayado */
    color: inherit;
    /* texto hereda el color */
}

.app-link .app-card {
    cursor: pointer;
    /* mano al pasar */
    transition: transform .2s ease, box-shadow .2s ease;
}

.app-link .app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}


/* axol overrides – logos en apps-section */
.apps-section .app-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    /* evita que el logo se estire demasiado */
    object-fit: contain;
    /* mantiene proporciones correctas */
    display: block;
    margin: 0 auto 1rem;
    /* centra el logo y deja espacio antes del título */
}

/* axol overrides – logo GetCoMind en hero */
.product-header .logo-app {
    max-width: 300px;
    /* tamaño del logo */
    margin: 1rem auto;
    /* centra el logo y agrega espacio */
    display: block;
    /* asegura centrado */
}

/* Iconos SVG del footer (independientes de CDNs) */
.social-icons svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
    /* usa el color del <a> */
}