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

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-card: #111111;
    --text-white: #ffffff;
    --text-light: #d0d0d0;
    --text-muted: #888888;
    --accent-gold: #cb9925;
    --accent-green: #2d503b;
    --accent-violet: #98139d;
    --accent-green-light: #3a6b4e;
    --accent-violet-glow: rgba(152, 19, 157, 0.3);
    --accent-gold-soft: rgba(203, 153, 37, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(152, 19, 157, 0.12) 0%, var(--bg-darker) 70%);
    padding: 40px 20px;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    width: 100%;
}

.app-logo {
    max-width: 160px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 28px;
    filter: drop-shadow(0 0 30px rgba(152, 19, 157, 0.4));
}

.app-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
    color: var(--text-white);
}

.tagline {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-weight: 400;
    color: var(--text-light);
}

.hero-verse {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.store-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.store-link {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.store-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.store-badge {
    display: block;
    width: 200px;
    height: auto;
}

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--text-white);
}

/* Screenshots Section */
.screenshots-section {
    padding: 60px 20px;
    background: var(--bg-darker);
}

.screenshots-section .section-title {
    color: var(--accent-gold);
}

.slideshow-container {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(152, 19, 157, 0.15), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(45, 80, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(203, 153, 37, 0.3);
    color: var(--accent-gold);
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slideshow-btn:hover {
    background: rgba(45, 80, 59, 0.9);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--accent-gold);
}

.slideshow-btn.prev {
    left: 10px;
}

.slideshow-btn.next {
    right: 10px;
}

.slideshow-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--accent-gold);
    transform: scale(1.2);
}

/* Description Section */
.description-section {
    padding: 60px 20px;
    background: var(--bg-dark);
}

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

.intro-text {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.9;
    color: var(--text-light);
}

.feature-section {
    margin-bottom: 3rem;
}

.feature-section h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.feature-section p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-light);
}

.feature-list li::before {
    content: "\271A";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.feature-list li strong {
    color: var(--text-white);
}

/* Scripture highlight block */
.scripture-highlight {
    background: var(--accent-gold-soft);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 12px 12px 0;
    padding: 2rem;
    margin-top: 2rem;
}

.scripture-highlight blockquote {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.9;
    color: var(--text-white);
}

.scripture-highlight cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--accent-gold);
    font-style: normal;
    font-weight: 600;
}

/* CTA Section */
.cta-section-standalone {
    padding: 60px 20px;
    background: radial-gradient(ellipse at center, rgba(45, 80, 59, 0.15) 0%, var(--bg-darker) 70%);
    text-align: center;
}

.cta-section-standalone .cta-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
    line-height: 1.8;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--accent-gold);
}

.footer-text {
    color: var(--text-muted);
    opacity: 0.6;
    font-size: 0.85rem;
}

/* Privacy, Terms, Support Pages */
.content-page {
    min-height: 100vh;
    padding: 40px 20px;
    background: var(--bg-dark);
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--accent-gold);
}

.content-page h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-green-light);
}

.content-page h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.content-page a {
    color: var(--accent-gold);
    text-decoration: none;
}

.content-page a:hover {
    text-decoration: underline;
}

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

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(203, 153, 37, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: var(--accent-green);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(45, 80, 59, 0.4);
    background: var(--accent-green-light);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(45, 80, 59, 0.3);
    border: 1px solid rgba(45, 80, 59, 0.6);
    color: var(--accent-green-light);
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
    display: block;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .app-logo {
        max-width: 200px;
    }

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

    .tagline {
        font-size: 1.3rem;
    }

    .hero-verse {
        font-size: 1.2rem;
    }

    .store-links {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .store-badge {
        width: auto;
        height: 60px;
    }

    .slideshow-container {
        max-width: 500px;
    }

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

    .intro-text {
        font-size: 1.25rem;
    }

    .feature-section h3 {
        font-size: 1.8rem;
    }

    .feature-section p,
    .feature-list li {
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 60px 20px;
    }

    .app-logo {
        max-width: 220px;
    }

    .slideshow-container {
        max-width: 600px;
    }

    .description-section,
    .screenshots-section {
        padding: 80px 20px;
    }
}
