/* ===================================
   BIBLIA PARA MUJERES - STYLES
   Mobile-first, elegant, spiritual
   =================================== */

/* CSS Variables - Brand Colors */
:root {
    /* Primary Colors */
    --primary-pink: #DA73B4;
    --primary-pink-hover: #C55A9F;
    --primary-pink-light: #F5E6EF;

    /* Background Colors */
    --bg-cream: #F5F1E8;
    --bg-white: #FFFFFF;
    --bg-light: #FDFCFA;

    /* Text Colors */
    --text-dark: #2D2D2D;
    --text-medium: #5A5A5A;
    --text-light: #8B8B8B;

    /* Accent Colors */
    --accent-orange: #E68B2C;
    --accent-orange-light: #FFF4E6;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 64px;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: var(--line-height-base);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.hidden {
    display: none !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ===================================
   LANGUAGE TOGGLE
   =================================== */

.language-toggle {
    position: fixed;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    z-index: 1000;
    background: var(--bg-white);
    border-radius: 100px;
    padding: 4px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 4px;
}

.lang-btn {
    padding: 8px 16px;
    border-radius: 100px;
    background: transparent;
    color: var(--text-medium);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--primary-pink);
}

.lang-btn.active {
    background: var(--primary-pink);
    color: var(--bg-white);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-icon {
    width: 100px;
    height: 100px;
    margin-bottom: var(--spacing-md);
    border-radius: 22%;
    box-shadow: var(--shadow-lg);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
}

.download-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: var(--spacing-sm);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    max-width: 210px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   CTA BUTTONS
   =================================== */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button.primary {
    background: var(--primary-pink);
    color: var(--bg-white);
}

.cta-button.primary:hover {
    background: var(--primary-pink-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.primary:active {
    transform: translateY(0);
}

.cta-button.large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.apple-icon {
    flex-shrink: 0;
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.section-intro {
    font-size: 1.125rem;
    color: var(--text-medium);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.feature-icon.morning {
    background: var(--accent-orange-light);
    color: var(--accent-orange);
}

.feature-icon.bible {
    background: var(--primary-pink-light);
    color: var(--primary-pink);
}

.feature-icon.heart {
    background: #FFE6EA;
    color: #E63946;
}

.feature-icon.woman {
    background: #E6F3FF;
    color: #4A90E2;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===================================
   WHY SECTION
   =================================== */

.why-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-cream);
}

.why-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.why-text {
    flex: 1;
}

.why-description {
    font-size: 1.0625rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.why-list {
    list-style: none;
    margin-top: var(--spacing-lg);
}

.why-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    font-size: 1rem;
    color: var(--text-medium);
}

.why-list li svg {
    flex-shrink: 0;
    color: var(--primary-pink);
}

.why-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-pink-light) 0%, var(--bg-white) 100%);
    text-align: center;
}

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

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
}

.cta-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    padding: var(--spacing-lg) 0;
    background: var(--bg-white);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xs);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===================================
   RESPONSIVE - TABLET (768px+)
   =================================== */

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }

    .hero-title {
        font-size: 3.5rem;
    }

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

    .app-icon {
        width: 120px;
        height: 120px;
    }

    .phone-mockup {
        max-width: 245px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

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

    .cta-title {
        font-size: 2.5rem;
    }
}

/* ===================================
   RESPONSIVE - DESKTOP (1024px+)
   =================================== */

@media (min-width: 1024px) {
    .hero .container {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-xl);
    }

    .hero-content {
        flex: 1;
        text-align: left;
        align-items: flex-start;
    }

    .hero-image {
        flex: 1;
    }

    .phone-mockup {
        max-width: 280px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .why-content {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-xl);
    }

    .why-text {
        flex: 1.2;
    }

    .why-image {
        flex: 0.8;
    }
}

/* ===================================
   RESPONSIVE - LARGE DESKTOP (1440px+)
   =================================== */

@media (min-width: 1440px) {
    .hero-title {
        font-size: 4rem;
    }

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

    .phone-mockup {
        max-width: 315px;
    }
}

/* ===================================
   ACCESSIBILITY & FOCUS STATES
   =================================== */

.cta-button:focus,
.lang-btn:focus {
    outline: 3px solid var(--primary-pink);
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */

/* Use hardware acceleration for transforms */
.cta-button,
.feature-card,
.lang-btn {
    will-change: transform;
}

/* Optimize for mobile devices */
@media (hover: none) and (pointer: coarse) {
    .cta-button:hover,
    .feature-card:hover {
        transform: none;
    }
}
