:root {
    --primary-blue: #1a73e8;
    --primary-dark: #0d47a1;
    --accent-green: #34a853;
    --accent-green-hover: #2d8f46;
    --bg-white: #ffffff;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --border-light: #e8eaed;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --glass-border: rgba(255, 255, 255, 0.3);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

html::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: env(safe-area-inset-top);
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    z-index: 998;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    padding-top: 0;
}

/* Scrollbar casi invisible */
body::-webkit-scrollbar {
    width: 8px;
    /* puedes dejarlo así o 4px para hacerlo aún más discreto */
}

body::-webkit-scrollbar-track {
    background: #14192d;
    /* el track no se ve */
}

body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    /* thumb completamente invisible */
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
    /* solo un ligero efecto al pasar el mouse */
}

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

/* ==================== HEADER ==================== */
/* ===========================================
   GLOBAL CONTAINER
=========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================================
   HEADER FLOTANTE GLASS-MORPHISM
=========================================== */
.header {
    position: fixed;
    top: calc(20px + env(safe-area-inset-top) / 3);
    /* flotante separado */
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1250px;
    z-index: 1000;

    background: rgba(12, 25, 40, 0.35);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);

    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);

    transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

/* Cuando haces scroll, más sólido */
.header.scrolled {
    background: rgba(17, 25, 40, 0.65);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(17, 25, 40, 0.45);
    border-radius: inherit;
    z-index: -1;
}

/* ===========================================
   NAV INTERNO
=========================================== */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

/* ===========================================
   LOGO
=========================================== */
.logo {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

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

.logo i {
    font-size: 1.8rem;
}

/* ===========================================
   NAV CENTER (links)
=========================================== */
.nav-center {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-center a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 4px;
    transition: color 0.3s ease;
}

.nav-center a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-secondary, rgba(255, 255, 255, .4));
    transition: width 0.3s ease;
}

.nav-center a:hover {
    color: white;
}

.nav-center a:hover::before {
    width: 100%;
}

/* ===========================================
   NAV RIGHT (botón login)
=========================================== */
.nav-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-login {
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}


.btn-login:hover {
    transform: scale(1.05);
}


/* ==================== HERO ==================== */

.btn-primary {
    background: var(--accent-green);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-green-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: #1e1e1e;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-block;
    background: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: black;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-primary {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.hero .btn-secondary {
    padding: 14px 34px;
    font-size: 1.05rem;
}

/* ==================== SOCIAL PROOF ==================== */
.social-proof {
    padding: 48px 0;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    text-align: center;
}

.social-proof p {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logos i {
    font-size: 2.5rem;
    color: white;
}

/* ==================== FEATURES ==================== */
.features {
    padding: 80px 0;
    background: transparent;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: black;
}

.section-subtitle {
    font-size: 1.1rem;
    color: black;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 40px 32px;
    border-radius: 14px;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(8px);
}

.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.30);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #1e1e1e;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 24px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e1e1e;
}

.feature-card p {
    color: black;
    line-height: 1.6;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    padding: 80px 0;
    background: transparent;

}



.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: #1e1e1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e1e1e;
}

.step p {
    color: black;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Arrow between steps */
.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 32px;
    font-size: 2rem;
    color: var(--primary-blue);
    opacity: 0.9;
}

/* ==================== STATS ==================== */
.stats {
    padding: 60px 0;
    background: transparent;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ==================== FINAL CTA ==================== */
.final-cta {
    padding: 100px 0;
    background: #14192d;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.final-cta p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .btn-primary {
    padding: 18px 42px;
    font-size: 1.1rem;
}

/* ==================== FOOTER ==================== */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer {
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: whitesmoke;
}

.footer-section {
    color: whitesmoke;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-section p {
    color: whitesmoke;
    line-height: 1.6;
    font-size: 0.9rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, .4);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    text-align: center;
    color: whitesmoke;
    font-size: 0.85rem;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== VIDEO MODAL ==================== */

.video-container {
    width: 95%;
    max-width: 100%;
}

.video-close {
    top: 10px;
    right: 10px;
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-container {
    transform: scale(1);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    color: var(--text-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10000;
}

.video-close:hover {
    background: var(--primary-blue);
    transform: rotate(90deg);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {

    .logo {
        font-size: 1.2rem;
        font-weight: 500;
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: transform 0.3s ease;
    }

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

    .logo i {
        font-size: 1.5rem;
    }

    /* Ajuste de texto */
    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    /* ------------------------------------------
       GRIDS → Mantener 3 columnas comodamente
       ------------------------------------------ */

    .features-grid,
    .steps-grid,
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding: 0 10px;
    }

    /* Evitar que las tarjetas se aplasten */
    .features-grid>div,
    .steps-grid>div,
    .stats-grid>div {
        min-width: 0;
        /* evita overflow */
        padding: 14px;
        border-radius: 8px;
    }

    /* Texto más compacto para que no “rompa” */
    .features-grid h3,
    .steps-grid h3,
    .stats-grid h3 {
        font-size: 1.1rem;
    }

    .features-grid p,
    .steps-grid p,
    .stats-grid p {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    /* Flecha de steps → en 3 columnas NO se usa */
    .step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {

    /* Footer en 4 columnas */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        padding: 0 10px;
        text-align: left;
        /* opcional */
    }

    /* Para que las columnas no se aprieten */
    .footer-content>div {
        min-width: 0;
        padding: 10px;
    }

    /* Ajuste tipografía para que no se vea demasiado grande */
    .footer-content h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .footer-content p,
    .footer-content a,
    .footer-content li {
        font-size: 0.9rem;
        line-height: 1.25;
    }
}



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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-right .btn-login {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .nav-right .btn-login {
        display: none;
    }
}

@media (max-width: 450px) {
    .hero h1 {
        font-size: 2.3rem;
    }

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

    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-right .btn-login {
        display: none;
    }
}

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

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 8px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .nav-right .btn-login {
        display: none;
    }
}


/* ================================
   📱 Breakpoint 450px
   ================================ */
@media (max-width: 450px) {

    .nav-center {
        font-size: 0.9rem;
        gap: 1px;
    }

    .logo {
        font-size: 0.9rem;
        gap: 2px;
    }

    .logo i {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1;
    }

    /* Mantener 3 columnas pero más compactas */
    .features-grid,
    .steps-grid,
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        padding: 0 8px;
    }

    .features-grid>div,
    .steps-grid>div,
    .stats-grid>div {
        padding: 12px;
        border-radius: 8px;
    }

    .features-grid h3,
    .steps-grid h3,
    .stats-grid h3 {
        font-size: 1rem;
    }

    .features-grid p,
    .steps-grid p,
    .stats-grid p {
        font-size: 0.9rem;
        line-height: 1.25;
    }

    /* Flechas desactivadas */
    .step:not(:last-child)::after {
        display: none;
    }

    /* Footer en 4 columnas más compacto */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        padding: 0 8px;
    }

    .footer-content>div {
        padding: 8px;
    }

    .footer-content h3 {
        font-size: 0.95rem;
    }

    .footer-content p,
    .footer-content a,
    .footer-content li {
        font-size: 0.85rem;
        line-height: 1.2;
    }
}

/* ================================
   📱 Breakpoint 430px
   ================================ */
@media (max-width: 430px) {

    .nav-center {
        font-size: 1rem;
        gap: 4px;
    }

    .logo {
        font-size: 0.8rem;
    }

    .logo i {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    /* Aún 3 columnas pero más estrechas */
    .features-grid,
    .steps-grid,
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 0 6px;
    }

    .features-grid>div,
    .steps-grid>div,
    .stats-grid>div {
        padding: 10px;
        border-radius: 7px;
    }

    .features-grid h3,
    .steps-grid h3,
    .stats-grid h3 {
        font-size: 0.95rem;
    }

    .features-grid p,
    .steps-grid p,
    .stats-grid p {
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        padding: 0 6px;
    }

    .footer-content>div {
        padding: 6px;
    }

    .footer-content h3 {
        font-size: 0.9rem;
    }

    .footer-content p,
    .footer-content a,
    .footer-content li {
        font-size: 0.8rem;
    }
}

/* ======================================
   📱 Breakpoint 390px (iPhone Pro)
   ====================================== */
@media (max-width: 390px) {

    /* ------------------------------
       LOGO
       ------------------------------ */
    .logo {
        font-size: 0.95rem;
        gap: 4px;
    }

    .logo i {
        font-size: 1.1rem;
    }

    /* ------------------------------
       HERO
       ------------------------------ */
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    /* ------------------------------
       GRIDS (mantener 3 columnas)
       ------------------------------ */
    .features-grid,
    .steps-grid,
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 0 5px;
    }

    .features-grid>div,
    .steps-grid>div,
    .stats-grid>div {
        padding: 9px;
        border-radius: 6px;
        min-width: 0;
    }

    .features-grid h3,
    .steps-grid h3,
    .stats-grid h3 {
        font-size: 0.9rem;
    }

    .features-grid p,
    .steps-grid p,
    .stats-grid p {
        font-size: 0.78rem;
        line-height: 1.25;
    }

    /* Desactivar flecha en steps */
    .step:not(:last-child)::after {
        display: none;
    }

    /* ------------------------------
       FOOTER (4 columnas)
       ------------------------------ */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0 5px;
    }

    .footer-content>div {
        padding: 6px;
        min-width: 0;
    }

    .footer-content h3 {
        font-size: 0.85rem;
    }

    .footer-content p,
    .footer-content a,
    .footer-content li {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

/* iPhones con isla dinámica (14 Pro en adelante) */
@media (max-width: 440px) {

    /* ------------------------------
       AJUSTES PARA ISLA DINÁMICA
       ------------------------------ */
    /* Espaciado superior para evitar interferencia con la isla */
    body {
        padding-top: env(safe-area-inset-top);
    }

    header,
    nav {
        padding-top: max(env(safe-area-inset-top), 12px);
    }

    /* ------------------------------
       LOGO
       ------------------------------ */
    .logo {
        font-size: 0.95rem;
        gap: 4px;
    }

    .logo i {
        font-size: 1.1rem;
    }

    /* ------------------------------
       HERO
       ------------------------------ */
    .hero {
        padding-top: 20px;
        /* Espacio adicional bajo la isla */
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    /* ------------------------------
       GRIDS (mantener 3 columnas)
       ------------------------------ */
    .features-grid,
    .steps-grid,
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 0 5px;
    }

    .features-grid>div,
    .steps-grid>div,
    .stats-grid>div {
        padding: 9px;
        border-radius: 6px;
        min-width: 0;
    }

    .features-grid h3,
    .steps-grid h3,
    .stats-grid h3 {
        font-size: 0.9rem;
    }

    .features-grid p,
    .steps-grid p,
    .stats-grid p {
        font-size: 0.78rem;
        line-height: 1.25;
    }

    /* Desactivar flecha en steps */
    .step:not(:last-child)::after {
        display: none;
    }

    /* ------------------------------
       FOOTER (4 columnas)
       ------------------------------ */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0 5px;
    }

    .footer-content>div {
        padding: 6px;
        min-width: 0;
    }

    .footer-content h3 {
        font-size: 0.85rem;
    }

    .footer-content p,
    .footer-content a,
    .footer-content li {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

/* Ajustes específicos para modelos Pro Max (pantallas más grandes) */
@media (min-width: 415px) and (max-width: 440px) {
    .hero h1 {
        font-size: 1.85rem;
        /* Ligeramente más grande en Pro Max */
    }

    .features-grid p,
    .steps-grid p,
    .stats-grid p {
        font-size: 0.8rem;
        /* Mejor legibilidad */
    }
}

@media (min-width: 415px) and (max-width: 440px) {
    .hero h1 {
        font-size: 1.85rem;
        /* Ligeramente más grande en Pro Max */
    }

    .features-grid p,
    .steps-grid p,
    .stats-grid p {
        font-size: 0.8rem;
        /* Mejor legibilidad */
    }
}

@supports (padding-top: env(safe-area-inset-top)) {
    body {
        padding-top: max(0px, calc(env(safe-area-inset-top) / 2));
    }

    .header {
        top: calc(env(safe-area-inset-top) + 6px);
    }
}

@media (max-width: 440px) {

    body {
        padding-top: max(0px, env(safe-area-inset-top));
    }

    .hero {
        padding-top: calc(env(safe-area-inset-top) + 20px);
    }
}

@supports (padding-top: env(safe-area-inset-top)) {
    html::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: env(safe-area-inset-top);
        background: rgba(12, 25, 40, 0.85);
        /* mismo look que tu header */
        z-index: 900;
        pointer-events: none;
    }
}