/* Sion: Leche y Miel - Landing Page Styles
   Theme: Restored, Divine, Editorial
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&family=Merriweather:ital,wght@0,300;0,400;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --color-bg: #FDFBF7;
    /* Crema papel antiguo */
    --color-bg-secondary: #F2EFE9;
    --color-accent: #B8860B;
    /* Oro Oscuro / Miel Real */
    --color-accent-dark: #8B6508;
    --color-text-main: #2A2A2A;
    --color-text-secondary: #555555;
    --color-dark-section: #121212;
    --color-white: #FFFFFF;
    --color-red-biblical: #800000;
    /* Para enfatizar palabras de Cristo/Advertencias */

    /* Typography */
    --font-heading: 'Cinzel', serif;
    /* Títulos solemnes */
    --font-serif: 'Merriweather', serif;
    /* Textos de lectura */
    --font-sans: 'Inter', sans-serif;
    /* UI */

    /* Spacing & Layout */
    --container-width: 1100px;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Effects */
    --shadow-soft: 0 15px 40px rgba(184, 134, 11, 0.1);
    --shadow-card: 0 5px 20px rgba(0, 0, 0, 0.05);
    --radius-main: 8px;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    color: var(--color-accent-dark);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

/* Buttons */
/* Buttons - Copied from Site 1 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    /* Pill shape from Site 1 */
    font-weight: 600;
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 10px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 2px solid var(--color-accent);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-text {
    color: var(--color-text-secondary);
    padding: 10px 20px;
    border-radius: 50px;
    /* Consistent shape */
}

.btn-text:hover {
    color: var(--color-accent);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #444;
    /* Dark text for visibility on light bg */
    border-color: #aaa;
    border-radius: 50px;
}

.btn-outline-light:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* Secondary Button (Old Primary) */
.btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border: 2px solid #ccc;
    box-shadow: none;
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Download Button (New Emphasis) */
.btn-download {
    background: linear-gradient(135deg, #222 0%, #000 100%);
    /* Premium Black */
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    padding: 14px 36px;
}

.btn-download:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Header */
.header {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(184, 134, 11, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-accent-dark);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-accent-dark);
}

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

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--color-accent);
}


.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    /* Reduced from 180px */
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, #fbf7ec 0%, #FDFBF7 60%);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-gold {
    background: rgba(184, 134, 11, 0.1);
    color: var(--color-accent-dark);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.highlight {
    color: var(--color-accent);
    font-style: italic;
    font-family: var(--font-serif);
}

.hero-subtitle {
    font-family: var(--font-serif);
    color: var(--color-text-secondary);
    font-size: 1.15rem;
}

/* Phone Mockup & App Content */
.phone-mockup {
    width: 300px;
    /* Slightly tighter width */
    height: auto;
    /* Allow height to adapt to aspect ratio */
    aspect-ratio: 9/19;
    /* Typical modern phone ratio */
    background: #111;
    border-radius: 36px;
    border: 8px solid #111;
    /* Thinner border per request */
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    position: relative;
}

.phone-screen {
    background: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-simulation-header {
    background: var(--color-accent);
    color: white;
    padding: 25px 20px 15px;
    text-align: center;
}

.app-simulation-body {
    padding: 30px 20px;
    font-family: var(--font-serif);
    color: #333;
}

.verse-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.divine-name {
    color: var(--color-accent-dark);
    font-weight: 700;
    font-variant: small-caps;
}

.quote {
    color: var(--color-red-biblical);
}

.verse-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-style: italic;
}

/* Contrast Section */
.section {
    padding: var(--spacing-xl) 0;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-text-secondary);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.card-contrast {
    padding: 40px;
    border-radius: var(--radius-main);
    background: white;
    box-shadow: var(--shadow-card);
}

.card-contrast h3 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.card-contrast ul {
    list-style: none;
}

.card-contrast li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.card-contrast li::before {
    content: "•";
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

.warning {
    border-left: 4px solid #cc0000;
}

.warning h3 {
    color: #cc0000;
}

.success {
    border-left: 4px solid var(--color-accent);
    background: #fffcf5;
}

.success h3 {
    color: var(--color-accent-dark);
}

/* Names Section */
.names-section {
    background-color: var(--color-dark-section);
    color: white;
    text-align: center;
}

.names-content {
    max-width: 800px;
    margin: 0 auto;
}

.names-content h2 {
    color: var(--color-accent);
}

.names-content p {
    color: rgba(255, 255, 255, 0.8);
}

.name-definition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
    font-size: 1.2rem;
}

.hebrew {
    font-family: 'Times New Roman', serif;
    font-size: 1.8rem;
    color: var(--color-accent);
}

.transliteration {
    font-weight: 600;
}

.translation {
    font-style: italic;
    color: #ddd;
}

.arrow {
    color: #555;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-main);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    margin-bottom: 20px;
}

/* Authority Section */
.authority {
    background: #F2EFE9;
    text-align: center;
    padding: var(--spacing-xl) 0;
    /* Expanded vertical spacing */
}

.authority-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Footer */
.footer {
    background: var(--color-dark-section);
    color: #888;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.footer-verse {
    font-style: italic;
    font-size: 0.9rem;
    max-width: 400px;
}

.social-links a {
    color: #888;
    font-size: 1.5rem;
    margin-left: 20px;
}

.social-links a:hover {
    color: var(--color-accent);
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Mobile */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 2rem;
    }

    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(253, 251, 247, 0.98);
        backdrop-filter: blur(10px);
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-bottom: 1px solid rgba(184, 134, 11, 0.1);
        gap: 20px;
        animation: slideDown 0.3s ease-out;
    }

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

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

    /* Stack Hero Buttons & Add spacing */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        /* Fix "muy pegados" */
    }

    .hero-buttons .btn {
        width: 100%;
        /* Full width for easier tapping */
        max-width: 320px;
        /* Don't stretch too wide on tablets */
    }

    /* Stack Contact Actions (Author Section) */
    .contact-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .contact-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}