/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Base Theme Variables (Default to Gold Theme) */
:root {
    --primary-color: #d4af37; /* Gold */
    --primary-glow: rgba(212, 175, 55, 0.4);
    --gold-gradient: linear-gradient(135deg, #f3e098 0%, #d4af37 50%, #aa820a 100%);
    --secondary-color: #ffffff;
    --dark-bg: #0b0b0b;
    --surface-color: #141414;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-muted: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(20, 20, 20, 0.7);
    --font-primary: 'Inter', sans-serif;
    --font-accent: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* Olive Green Theme Override */
html[data-theme="olive"] {
    --primary-color: #8fa87a;
    --primary-glow: rgba(143, 168, 122, 0.4);
    --gold-gradient: linear-gradient(135deg, #b9ceaa 0%, #8fa87a 50%, #687f54 100%);
}

/* Indigo Blue Theme Override */
html[data-theme="royal"] {
    --primary-color: #5d75a6;
    --primary-glow: rgba(93, 117, 166, 0.4);
    --gold-gradient: linear-gradient(135deg, #8ba1cf 0%, #5d75a6 50%, #3a507a 100%);
}

/* Rose/Wine Theme Override */
html[data-theme="rose"] {
    --primary-color: #b35a72;
    --primary-glow: rgba(179, 90, 114, 0.4);
    --gold-gradient: linear-gradient(135deg, #db889f 0%, #b35a72 50%, #85374c 100%);
}

body {
    background-color: var(--dark-bg);
    color: #ffffff;
    font-family: var(--font-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
}

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

/* Glowing Background Blur Effects */
.glow-bg-1, .glow-bg-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
    transition: background 0.5s ease;
}

.glow-bg-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
}

.glow-bg-2 {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
}

/* Header / Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: 0 4px 12px var(--primary-glow);
    transition: box-shadow 0.3s ease;
}

.logo-text {
    font-family: var(--font-accent);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Theme Selector Dots */
.theme-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.theme-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.theme-dot:hover {
    transform: scale(1.2);
}

.theme-dot.active {
    border-color: #ffffff;
    transform: scale(1.15);
}

.dot-gold { background-color: #d4af37; }
.dot-olive { background-color: #8fa87a; }
.dot-royal { background-color: #5d75a6; }
.dot-rose { background-color: #b35a72; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-accent);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary {
    background: var(--gold-gradient);
    color: #0b0b0b;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

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

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 17px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-family: var(--font-accent);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* App Mockup Rendering (Pure CSS) */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #1e1e1e;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 4px #2c2c2c;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    border-radius: 30px;
    overflow-y: hidden;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-header {
    margin-bottom: 20px;
}

.app-date {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1.5px;
}

.app-top-row {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.app-lang-tag {
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

.app-icons {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.app-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.app-verse {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 16px;
    text-align: center;
    line-height: 1.4;
}

.app-ref {
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

.app-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.app-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-sec-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.app-sec-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.app-notes {
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
}

.app-notes i {
    color: var(--primary-color);
    font-size: 14px;
}

/* App Reading Plan Section */
.app-reading-plan {
    margin-top: 14px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.app-reading-plan i {
    color: var(--primary-color);
    font-size: 16px;
}

.app-reading-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-reading-title {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-color);
}

.app-reading-ref {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin: 2px 0 0 0 !important;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #0d0d0d;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px auto;
}

.section-header h2 {
    font-family: var(--font-accent);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.feature-card h3 {
    font-family: var(--font-accent);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Preview Section Widget */
.preview {
    padding: 100px 0;
}

.preview-box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 48px;
    flex: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Nav Arrows */
.nav-arrow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-arrow:hover {
    background: var(--primary-color);
    color: #0b0b0b;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-glow);
}

.preview-header {
    text-align: center;
    margin-bottom: 32px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.live-indicator .dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

.animate-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.5; }
}

.preview-header h3 {
    font-family: var(--font-accent);
    font-size: 28px;
    font-weight: 800;
}

.preview-date-label {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 4px;
}

.preview-verse {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 26px;
    text-align: center;
    line-height: 1.45;
    margin-bottom: 16px;
}

.preview-ref {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 24px;
}

.preview-msg-box {
    margin-top: 24px;
}

.msg-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.preview-msg {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Mobile Preview Navigation Styles */
.preview-navigation-mobile {
    display: none;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: radial-gradient(circle at center, #161616 0%, var(--dark-bg) 100%);
    text-align: center;
}

.download-container {
    max-width: 700px;
    margin: 0 auto;
}

.download h2 {
    font-family: var(--font-accent);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.download p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 48px 0;
    text-align: center;
    background-color: #080808;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-subtext {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile navigation hidden */
    }
    
    .nav-arrow {
        display: none; /* Hide arrows on mobile */
    }

    .preview-navigation-mobile {
        display: flex; /* Display buttons instead */
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 24px;
    }

    .preview-verse {
        font-size: 20px;
    }
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
}

.lang-dropdown {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-accent);
}

.lang-dropdown:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown option {
    background: var(--surface-color);
    color: #ffffff;
}

