@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    /* Official App Colors */
    --color-bg: #FDFBF7;
    --color-bg-soft: #E8E4D9;
    --color-gold: #D4AF37;
    --color-text: #2D2D2D;
    --color-text-light: #757575;

    /* Design Tokens */
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --container-width: 1100px;
    --container-narrow: 700px;
    --border-radius: 20px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 500;
    line-height: 1.2;
}

.text-light {
    color: var(--color-text-light);
}

.text-center {
    text-align: center;
}

.italic {
    font-style: italic;
}

.serif {
    font-family: var(--font-serif);
}

/* Components */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 1.2rem;
}

.logo img {
    height: 48px;
    width: auto;
    border-radius: 10px;
}

.btn-app-store img {
    height: 44px;
    width: auto;
    transition: var(--transition);
}

.btn-app-store:hover img {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    min-height: calc(85vh - 100px);
}

.hero-content {
    flex: 1.2;
}

.hero h1 {
    font-size: 4rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    letter-spacing: -1px;
}

.hero .subheadline {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 580px;
}

.cta-wrapper {
    margin-bottom: var(--spacing-md);
}

.cta-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    opacity: 0.8;
}

.hero-mockup {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* iPhone Mockup (V2 Refined) */
.iphone-v2 {
    width: 300px;
    height: 620px;
    background: #1a1a1a;
    border-radius: 50px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), 0 0 0 4px #2a2a2a;
    position: relative;
}

.iphone-v2::before {
    /* Dynamic Island */
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #000;
    border-radius: 100px;
    z-index: 10;
}

.iphone-screen-v2 {
    width: 100%;
    height: 100%;
    background: #FDFBF7;
    border-radius: 38px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mock-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    text-align: center;
}

.mock-ref {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 600;
}

.mock-verse {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.3;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.mock-divider {
    width: 40px;
    height: 1px;
    background: var(--color-bg-soft);
    margin: 0 auto 2rem auto;
}

.mock-reflection {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Verse Section (Emotional Anchor) */
.verse-anchor {
    background: #FFFEFA;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.featured-verse-block {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.featured-verse-block h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.featured-citation {
    font-size: 1.2rem;
    color: var(--color-gold);
    letter-spacing: 1px;
    font-weight: 500;
}

/* How it Works Section */
.how-it-works {
    background: var(--color-bg);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.how-item {
    text-align: left;
}

.how-item h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.how-item p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* App Preview Section */
.app-preview {
    background: var(--color-bg-soft);
    padding-bottom: 0;
}

.preview-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    overflow: hidden;
    padding-top: var(--spacing-lg);
}

.preview-mockup {
    transform: translateY(40px);
    transition: var(--transition);
}

.preview-mockup:hover {
    transform: translateY(20px);
}

.app-screenshot {
    width: 280px;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 8px solid #1a1a1a;
    background: #1a1a1a;
}

/* Why Section */
.why-section {
    background: var(--color-bg-soft);
}

.why-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.why-list li {
    font-size: 1.25rem;
    color: var(--color-text-light);
    font-weight: 300;
}

/* Premium Section */
.premium-section {
    background: var(--color-bg);
}

.premium-content h2 {
    font-weight: 400;
    margin-bottom: var(--spacing-md);
}

.premium-content p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Utility classes */
.bg-soft {
    background-color: var(--color-bg-soft);
}

/* Responsive V2 */
@media (max-width: 900px) {
    section {
        padding: var(--spacing-lg) 0;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: var(--spacing-lg);
        min-height: auto;
    }

    .hero-mockup {
        justify-content: center;
        margin-bottom: var(--spacing-lg);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .subheadline {
        margin: 0 auto var(--spacing-lg) auto;
    }

    .featured-verse-block h2 {
        font-size: 2.5rem;
    }

    .how-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }

    .how-item {
        text-align: center;
    }

    .preview-grid {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    .preview-mockup {
        transform: none;
    }

    .why-list {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }
}