/* Object Sans Font Face */
@font-face {
    font-family: 'Object Sans';
    src: url('../font/object-sans/ObjectSansRegular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Object Sans';
    src: url('../font/object-sans/ObjectSansSlanted.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Object Sans';
    src: url('../font/object-sans/ObjectSansHeavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Object Sans';
    src: url('../font/object-sans/ObjectSansHeavySlanted.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
}

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

:root {
    /* Colores extraídos de Figma */
    --color-bg-light: #f6f4f1;
    --color-bg-dark: #191919;
    --color-text-primary: #292b2d;
    --color-text-secondary: #505050;
    --color-pink: #ecb3d5;
    --color-cyan: #0097b2;
    --color-dark-cyan: #0097bf;
    --color-dark-text: #223843;
    --color-white: #ffffff;
    
    /* Tipografía de Figma */
    --font-primary: 'Object Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-object-sans: 'Object Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-primary);
    background: var(--color-bg-light);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    /* Mejor renderizado de fuentes en Safari/iOS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Utilidades */
.bold {
    font-weight: 900;
}

.pink {
    color: var(--color-pink);
}

.cyan {
    color: var(--color-cyan);
}

.dark {
    color: var(--color-dark-text);
}

.centered {
    text-align: center;
}

.underline {
    text-decoration: underline;
}

/* Secciones Base */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    position: relative;
}

.section-title {
    font-size: clamp(48px, 6vw, 70.627px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 60px;
    font-family: var(--font-object-sans);
    text-transform: uppercase;
}

h1 {
    font-family: var(--font-object-sans);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

h2 {
    font-family: var(--font-object-sans);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

h3 {
    font-family: var(--font-object-sans);
    letter-spacing: -0.02em;
}

/* Section 1: Hero */
.hero-section {
    background: var(--color-bg-light);
    /* El fondo del hero siempre visible, solo el contenido se anima */
}

.hero-content {
    text-align: center;
    max-width: 1400px;
}

.logo-container {
    margin-bottom: 20px;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 2s ease-out 0.3s, filter 2s ease-out 0.3s;
}

.logo-container.loaded {
    opacity: 1;
    filter: blur(0);
}

.logo-img {
    width: 150px;
    height: auto;
}

.hero-title {
    font-size: clamp(48px, 8vw, 56.32px);
    font-weight: 400;
    letter-spacing: -2.816px;
    margin-bottom: 15px;
}

.hero-title .noa {
    font-family: var(--font-object-sans);
    color: var(--color-text-primary);
}

.hero-title .memory {
    font-family: var(--font-object-sans);
    font-weight: 900;
    color: var(--color-pink);
}

.hero-title .app {
    font-family: var(--font-object-sans);
    font-weight: 900;
    color: var(--color-cyan);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-text-secondary);
    max-width: 100%;
    margin: 0 auto;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 2s ease-out 0.8s, filter 2s ease-out 0.8s;
    white-space: nowrap;
}

.hero-subtitle.loaded {
    opacity: 1;
    filter: blur(0);
}

/* Section 2: Problema */
.problem-section {
    background: var(--color-bg-light);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1600px;
    align-items: center;
    width: 100%;
}

.text-content {
    padding: 40px;
}

.problem-title {
    font-family: var(--font-object-sans);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.problem-title .bold {
    font-weight: 900;
}

.stats-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.stat-text {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-family: var(--font-object-sans);
    color: var(--color-text-primary);
}

.stat-text .bold {
    font-weight: 900;
}

.illustration {
    width: 100%;
    max-width: 516px;
    height: auto;
    object-fit: cover;
}

/* Section 3: Soledad y Problemas */
.loneliness-section {
    background: var(--color-bg-light);
}

.loneliness-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.loneliness-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.loneliness-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: var(--font-object-sans);
    color: var(--color-text-primary);
}

.loneliness-title .bold {
    font-weight: 900;
}

.underline-hand {
    position: relative;
    display: inline-block;
}

.underline-hand::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 12px;
    background: #FFD700;
    opacity: 0.7;
}

.solo-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-top: 40px;
}

.loneliness-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.loneliness-text {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-family: var(--font-object-sans);
    color: var(--color-text-primary);
}

.loneliness-text .bold {
    font-weight: 900;
}

/* Section 4: Solución */
.solution-section {
    background: var(--color-bg-light);
}

.solution-content {
    max-width: 1400px;
    text-align: center;
}

.decorative-elements {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.deco {
    width: auto;
    height: 100px;
    object-fit: contain;
    opacity: 0.8;
}

.deco-left {
    height: 109px;
}

.deco-center {
    height: 341px;
}

.deco-right {
    height: 207px;
}

/* Section 5: Features */
.features-section {
    background: var(--color-bg-light);
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    max-width: 1600px;
    align-items: center;
}

.features-text {
    padding: 40px;
}

.features-description {
    font-size: clamp(18px, 2vw, 24.36px);
    line-height: 1.8;
}

.features-description p {
    margin-bottom: 20px;
}

.features-description strong {
    font-weight: 900;
}

.phone-mockup {
    width: 100%;
    max-width: 800px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* Section 6: Tecnología */
.technology-section {
    background: var(--color-bg-light);
    padding: 100px 40px;
    display: block;
    align-items: initial;
}

.technology-section .section-title {
    text-align: left;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 120px;
    position: relative;
    padding-bottom: 40px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    grid-auto-rows: auto auto 1fr;
}

.tech-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: grid;
    grid-template-rows: 70px 250px 1fr;
    align-items: start;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.tech-title {
    font-size: clamp(12px, 1.1vw, 16px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-align: center;
    grid-row: 1;
}

.tech-icon {
    position: relative;
    width: 180px;
    height: 250px;
    margin: 0 auto;
    padding-top: 50px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    grid-row: 2;
}

.tech-card:first-child .tech-icon {
    padding-top: 70px;
}

.icon-decoration {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    z-index: 2;
}

.icon-decoration::after {
    content: 'IA';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: 900;
    color: #000;
    font-family: var(--font-object-sans);
    z-index: 3;
}

.icon-main {
    width: auto;
    max-width: 190px;
    max-height: 190px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.tech-description {
    font-size: clamp(11px, 1vw, 14px);
    line-height: 1.4;
    color: var(--color-text-primary);
    font-weight: 400;
    letter-spacing: 0.2px;
    margin-top: 0;
    text-align: center;
    grid-row: 3;
}

/* Section 7: Video */
.video-section {
    background: var(--color-bg-dark);
    padding: 0;
    min-height: auto;
    display: block;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Section 8: Validación */
.validation-section {
    background: var(--color-bg-light);
    padding: 100px 60px;
    display: block;
    align-items: initial;
}

.validation-title {
    text-align: left;
    max-width: 1400px;
    margin: 0 auto 80px;
}

.validation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.validation-card {
    background: #fff;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.validation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.validation-logo {
    width: auto;
    max-width: 130px;
    height: 80px;
    object-fit: contain;
    margin: 40px auto 30px;
}

.validation-article {
    font-size: clamp(18px, 1.2vw, 21.37px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-text-primary);
    margin: 0 30px 20px;
}

.validation-institution {
    font-size: clamp(16px, 1.1vw, 18.65px);
    font-weight: 400;
    color: var(--color-text-primary);
    margin: 0 30px 20px;
}

.validation-description {
    font-size: clamp(12px, 0.85vw, 14px);
    font-weight: 400;
    line-height: 1.35;
    color: var(--color-text-primary);
    margin: 0 30px;
    flex-grow: 1;
}

.validation-link {
    font-size: clamp(16px, 1.1vw, 18.65px);
    font-weight: 400;
    color: var(--color-text-primary);
    margin: 20px 30px 40px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.validation-link:hover {
    color: var(--color-cyan);
}

/* Section 9: Forma Parte del Cambio */
.community-section {
    background: var(--color-bg-light);
    padding: 100px 60px;
}

.community-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.community-title {
    margin-bottom: 20px;
}

.community-subtitle {
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--color-text-secondary);
    margin-bottom: 80px;
    font-weight: 400;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.community-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.community-card-title {
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 900;
    color: var(--color-text-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-card-text {
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.6;
    color: var(--color-text-primary);
    font-weight: 400;
}

/* Responsive community section */
@media (max-width: 1024px) {
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .community-section {
        padding: 60px 20px;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .community-card {
        padding: 30px 20px;
    }
    
    .community-subtitle {
        margin-bottom: 40px;
    }
}

/* Section 10: CTA */
.cta-section {
    background: var(--color-bg-light);
    text-align: center;
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-text {
    font-family: var(--font-object-sans);
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.cta-text .bold {
    font-weight: 900;
}

.cta-sparkle {
    position: absolute;
    width: 80px;
    height: auto;
    opacity: 0.4;
}

.cta-sparkle-left {
    left: 8%;
    top: 25%;
}

.cta-sparkle-right {
    right: 8%;
    bottom: 25%;
}

/* Section 10: Final - Dark */
.final-section {
    background: var(--color-bg-dark);
    color: var(--color-white);
    min-height: 100vh;
}

.final-content {
    max-width: 800px;
    width: 100%;
}

.final-title {
    font-size: clamp(48px, 8vw, 66.627px);
    font-weight: 400;
    letter-spacing: -3.3313px;
    margin-bottom: 2px;
}

.final-subtitle {
    font-size: clamp(24px, 3vw, 33.733px);
    margin-bottom: 100px;
}

.form-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 300;
    color: var(--color-white);
    margin-bottom: 60px;
    text-align: center;
}

/* Formulario */
.contact-form {
    margin-bottom: 80px;
}

.form-group {
    margin-bottom: 30px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--color-white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #333;
    background: transparent;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 400;
    font-family: var(--font-primary);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    accent-color: var(--color-pink);
}

.checkbox-label:has(input[type="checkbox"]:checked) {
    background: var(--color-pink);
    border-color: var(--color-pink);
    color: #000;
}

.btn-submit {
    width: 100%;
    padding: 18px 40px;
    background: var(--color-cyan);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--color-pink);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 151, 178, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.privacy-notice {
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.privacy-link {
    color: var(--color-cyan);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--color-pink);
}

.privacy-checkbox-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.privacy-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: color 0.3s ease;
}

.privacy-checkbox {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.privacy-text {
    flex: 1;
}

.privacy-checkbox-label.error {
    color: #ff4444;
}

.privacy-checkbox-label.error .privacy-link {
    color: #ff4444;
}

.form-message {
    display: none;
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.form-message.success {
    background: rgba(0, 151, 178, 0.2);
    border: 2px solid var(--color-cyan);
    color: var(--color-cyan);
}

.form-message.error {
    background: rgba(236, 179, 213, 0.2);
    border: 2px solid var(--color-pink);
    color: var(--color-pink);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social Section */
.social-section {
    text-align: center;
    padding-top: 60px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-email {
    font-family: var(--font-primary);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: var(--color-cyan);
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-white);
    color: var(--color-bg-dark);
    transform: translateY(-3px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    padding-top: 60px;
    margin-top: 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-link {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-white);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .section {
        padding: 60px 30px;
    }
    
    .content-wrapper,
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .validation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 20px;
        min-height: auto;
    }
    
    /* Hero: centrado perfecto con más aire */
    .hero-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 80px 20px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .logo-container {
        margin-bottom: 40px;
    }
    
    .logo-img {
        width: 100px;
        height: auto;
    }
    
    .hero-title {
        font-size: clamp(36px, 12vw, 48px);
        letter-spacing: -1.5px;
        margin-bottom: 24px;
    }
    
    .hero-subtitle {
        white-space: normal;
        font-size: clamp(14px, 4vw, 18px);
        line-height: 1.6;
        padding: 0 10px;
    }
    
    /* Sección El Olvido: stats más compactas */
    .problem-section {
        padding: 60px 20px;
    }
    
    .stat-text {
        font-size: clamp(16px, 4.5vw, 20px);
        line-height: 1.7;
        margin-bottom: 25px;
    }
    
    /* Sección Solos: stack vertical */
    .loneliness-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .loneliness-title {
        font-size: clamp(28px, 7vw, 36px);
        margin-bottom: 20px;
    }
    
    .solo-illustration {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .underline-hand::after {
        height: 10px;
        bottom: -4px;
    }
    
    /* Video: aspect ratio controlado */
    .video-container {
        margin: 30px 0;
    }
    
    .video-container video {
        max-height: 60vh;
        object-fit: contain;
    }
    
    /* Tarjetas tecnología: más compactas */
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-card {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .tech-icon {
        height: 120px;
        padding-top: 10px;
    }
    
    .tech-icon img {
        max-width: 80px;
        max-height: 80px;
    }
    
    .icon-decoration {
        width: 50px;
        height: 50px;
        top: -25px;
    }
    
    .tech-title {
        font-size: clamp(18px, 5vw, 22px);
        margin-bottom: 15px;
    }
    
    .tech-description {
        font-size: clamp(14px, 3.5vw, 16px);
        line-height: 1.6;
    }
    
    /* iPhone Layout: tamaño controlado */
    .features-image img {
        max-width: min(400px, 90vw);
        height: auto;
    }
    
    /* Tarjetas validación: más compactas */
    .validation-grid {
        gap: 30px;
    }
    
    .validation-card {
        padding: 30px 20px;
    }
    
    .validation-logo img {
        max-width: 100px;
        max-height: 50px;
    }
    
    .validation-title {
        font-size: clamp(18px, 5vw, 22px);
        margin: 15px 20px;
    }
    
    .validation-institution {
        font-size: clamp(14px, 3.5vw, 16px);
        margin: 0 20px 15px;
    }
    
    .validation-description {
        font-size: clamp(11px, 3vw, 13px);
        line-height: 1.4;
        margin: 0 20px;
    }
    
    /* CTA Section: optimizada */
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-text {
        font-size: clamp(20px, 6vw, 32px);
        line-height: 1.3;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .cta-sparkle {
        display: none; /* Ocultar en móvil para evitar clutter */
    }
    
    .decorative-elements {
        gap: 20px;
    }
    
    .deco {
        height: 60px;
    }
    
    .deco-center {
        height: 200px;
    }
    
    /* Formulario: mejor usabilidad móvil */
    .final-section {
        padding: 60px 20px;
    }
    
    .final-title {
        font-size: clamp(36px, 10vw, 48px);
        margin-bottom: 5px;
    }
    
    .final-subtitle {
        font-size: clamp(20px, 5vw, 28px);
        margin-bottom: 80px;
    }
    
    .form-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 40px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-group label {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Evita zoom en iOS */
        padding: 14px;
    }
    
    .checkbox-label {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .btn-submit {
        font-size: 17px;
        padding: 16px 30px;
    }
    
    .privacy-notice {
        font-size: 11px;
        line-height: 1.6;
        margin-top: 12px;
    }
    
    .privacy-checkbox-label {
        font-size: 11px;
        line-height: 1.6;
    }
    
    .privacy-checkbox {
        width: 16px;
        height: 16px;
    }
    
    .contact-email {
        font-size: clamp(18px, 5vw, 22px);
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .social-icons {
        gap: 20px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
    }
}

/* Safari iOS: fuentes más gruesas para mejor legibilidad */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-text-stroke: 0.2px;
    }
    
    .hero-title,
    .section-title,
    .problem-title,
    .loneliness-title,
    .tech-title,
    .validation-title,
    .final-title,
    .form-title {
        font-weight: 500;
    }
    
    .hero-title .memory,
    .bold {
        font-weight: 900;
        -webkit-text-stroke: 0.3px;
    }
    
    .stat-text,
    .tech-description,
    .validation-description,
    .form-group label,
    .checkbox-label {
        -webkit-text-stroke: 0.15px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .logo-img {
        width: 90px;
        height: auto;
    }
    
    .logo-container {
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: clamp(32px, 11vw, 42px);
        letter-spacing: -1px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: clamp(13px, 3.8vw, 16px);
        line-height: 1.7;
    }
    
    /* Secciones más compactas */
    .section {
        padding: 50px 16px;
    }
    
    .problem-section,
    .loneliness-section,
    .cta-section,
    .final-section {
        padding: 50px 16px;
    }
    
    /* Stats más pequeñas */
    .stat-text {
        font-size: clamp(15px, 4vw, 18px);
        margin-bottom: 20px;
    }
    
    /* Ilustración solo más pequeña */
    .solo-illustration {
        max-width: 240px;
    }
    
    /* Tarjetas tech más compactas */
    .tech-card {
        padding: 25px 16px;
    }
    
    /* Tarjetas validación ultra compactas */
    .validation-card {
        padding: 25px 16px;
    }
    
    .validation-description {
        font-size: 11px;
    }
    
    /* CTA texto más pequeño */
    .cta-text {
        font-size: clamp(18px, 5.5vw, 28px);
    }
    
    /* Formulario optimizado */
    .form-group {
        margin-bottom: 20px;
    }
    
    .checkbox-label {
        font-size: 13px;
        padding: 10px 14px;
    }
    
    .privacy-notice {
        font-size: 10px;
    }
    
    .privacy-checkbox-label {
        font-size: 10px;
    }
    
    .privacy-checkbox {
        width: 14px;
        height: 14px;
    }
}

/* Animaciones de scroll - solo para contenido, no fondos */
/* Animaciones unificadas - Experiencia elegante tipo Steve Jobs */
/* Secciones intermedias: solo fade + parallax suave */
.section-title,
.content-wrapper,
.features-wrapper,
.loneliness-content,
.solution-content,
.tech-grid,
.validation-grid,
.community-content,
.cta-text,
.video-container,
.problems-list,
.decorative-elements {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-title.visible,
.content-wrapper.visible,
.features-wrapper.visible,
.loneliness-content.visible,
.solution-content.visible,
.tech-grid.visible,
.validation-grid.visible,
.community-content.visible,
.cta-text.visible,
.video-container.visible,
.problems-list.visible,
.decorative-elements.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Community cards animation */
.community-card {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.community-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.community-card:nth-child(1) { transition-delay: 0.1s; }
.community-card:nth-child(2) { transition-delay: 0.2s; }
.community-card:nth-child(3) { transition-delay: 0.3s; }
.community-card:nth-child(4) { transition-delay: 0.4s; }

/* Sección final (formulario): con blur elegante */
.final-content {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(15px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.final-content.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Tarjetas con efecto escalonado suave (sin blur) */
.tech-card,
.validation-card {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tech-card.visible,
.validation-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays escalonados suaves */
.tech-card:nth-child(1) { transition-delay: 0.15s; }
.tech-card:nth-child(2) { transition-delay: 0.3s; }
.tech-card:nth-child(3) { transition-delay: 0.45s; }

.validation-card:nth-child(1) { transition-delay: 0.15s; }
.validation-card:nth-child(2) { transition-delay: 0.3s; }
.validation-card:nth-child(3) { transition-delay: 0.45s; }
.validation-card:nth-child(4) { transition-delay: 0.6s; }

/* Sparkles del CTA con fade suave (sin blur) */
.cta-sparkle {
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.cta-sparkle.visible {
    opacity: 0.4;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form message */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: rgba(0, 151, 178, 0.2);
    border: 2px solid var(--color-cyan);
    color: var(--color-cyan);
}

.form-message.error {
    background: rgba(236, 179, 213, 0.2);
    border: 2px solid var(--color-pink);
    color: var(--color-pink);
}
