/* ========================================
   RECUERDOS APP - ESTILOS PRINCIPALES
   Colores cálidos, nostálgicos, acogedores
   ======================================== */

/* Variables de color */
:root {
    --color-primary: #D4A574;      /* Ámbar cálido */
    --color-primary-dark: #B8956A;
    --color-primary-light: #E8C9A8;
    --color-secondary: #8B7355;    /* Marrón suave */
    --color-accent: #E07B53;       /* Coral cálido */
    
    --color-bg: #FDF8F3;           /* Crema muy suave */
    --color-bg-alt: #F5EDE4;       /* Crema más oscuro */
    --color-bg-card: #FFFFFF;
    
    --color-text: #4A3F35;         /* Marrón oscuro */
    --color-text-light: #7A6F63;
    --color-text-muted: #9A8F83;
    
    --color-success: #7CB87C;
    --color-warning: #E8B44D;
    --color-error: #D66853;
    
    --shadow-sm: 0 2px 8px rgba(74, 63, 53, 0.08);
    --shadow-md: 0 4px 16px rgba(74, 63, 53, 0.12);
    --shadow-lg: 0 8px 32px rgba(74, 63, 53, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --font-main: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* Reset y base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

/* ========================================
   HEADER & NAVEGACIÓN
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--color-primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: 0.3s;
}

/* ========================================
   BOTONES
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
    color: white;
}

.btn-secondary {
    background: var(--color-bg-card);
    color: var(--color-text);
    border: 2px solid var(--color-primary-light);
}

.btn-secondary:hover {
    background: var(--color-primary-light);
    color: var(--color-text);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn img {
    width: 20px;
    height: 20px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-title .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.beta-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-warning);
}

.beta-badge {
    background: var(--color-warning);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.beta-notice p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 350px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   SECCIONES GENERALES
   ======================================== */

section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    background: var(--color-bg-card);
}

.about-content {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.about-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.about-icon-item .icon {
    font-size: 2.5rem;
}

.about-icon-item span {
    font-weight: 600;
    color: var(--color-text-light);
}

/* ========================================
   VIDEO SECTION
   ======================================== */

.video-section {
    background: var(--color-bg-alt);
}

.video-wrapper {
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 9/16;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.feature-card p {
    color: var(--color-text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.feature-link {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.feature-img {
    border-radius: var(--radius-md);
    margin-top: 15px;
    box-shadow: var(--shadow-sm);
}

/* ========================================
   INTERFACES SECTION
   ======================================== */

.interfaces {
    background: var(--color-bg-alt);
}

.interfaces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.interface-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.interface-card img {
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.interface-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.interface-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ========================================
   MORE FEATURES
   ======================================== */

.more-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.more-feature {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.more-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.more-feature h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.more-feature p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ========================================
   TESTERS SECTION
   ======================================== */

.testers {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #6B5D4D 100%);
    color: white;
}

.testers-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testers h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 15px;
}

.testers > .container > .testers-content > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.testers-access {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
}

.testers-access h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.testers-access p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.testers-access .btn-primary {
    margin-bottom: 15px;
}

.small-note {
    font-size: 0.85rem;
    opacity: 0.7;
}

.testers-info, .testers-how {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
}

.testers-info h3, .testers-how h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.testers-info ul, .testers-how ol {
    padding-left: 25px;
}

.testers-info li, .testers-how li {
    margin-bottom: 8px;
    opacity: 0.9;
}

.testers-contact {
    margin: 30px 0;
}

.testers-contact p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.email-link {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary-light);
    padding: 10px 25px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
}

.email-link:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.testers-note {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */

.download {
    text-align: center;
    background: var(--color-bg-card);
}

.play-store-badge {
    display: inline-block;
    margin-bottom: 30px;
}

.play-store-badge img {
    height: 60px;
}

.requirements {
    background: var(--color-bg-alt);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    display: inline-block;
}

.requirements h4 {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 5px;
}

.requirements p {
    font-weight: 600;
}

/* ========================================
   PAGES LINKS
   ======================================== */

.pages-links {
    background: var(--color-bg-alt);
}

.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.page-link-card {
    display: block;
    background: var(--color-bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    color: var(--color-text);
}

.page-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: var(--color-text);
}

.page-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.page-link-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.page-link-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--color-text);
    color: white;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 35px;
    border-radius: var(--radius-sm);
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ========================================
   PÁGINAS INTERNAS
   ======================================== */

.page-header {
    padding: 120px 0 40px;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.page-content {
    padding: 60px 0;
}

.page-content .container {
    max-width: 800px;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary-light);
}

.content-section h3 {
    font-size: 1.2rem;
    margin: 25px 0 15px;
    color: var(--color-secondary);
}

.content-section p {
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.content-section ul, .content-section ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.content-section li {
    margin-bottom: 10px;
    color: var(--color-text-light);
}

.content-image {
    margin: 25px 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.tip-box {
    background: var(--color-primary-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.tip-box h4 {
    margin-bottom: 10px;
}

.warning-box {
    background: #FFF3E0;
    border-left: 4px solid var(--color-warning);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb span {
    color: var(--color-text-light);
    margin: 0 8px;
}

/* ========================================
   FAQ STYLES
   ======================================== */

.faq-item {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-question:hover {
    background: var(--color-bg-alt);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--color-text-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-width: 280px;
    }
    
    .interfaces-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .more-features-list {
        grid-template-columns: 1fr;
    }
    
    .pages-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .about-icons {
        gap: 25px;
    }
    
    .pages-grid {
        grid-template-columns: 1fr;
    }
}
