/* Extracted from deenshield/main.html inline <style> */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa; /* align with site base */
    color: #333333; /* site base text */
    margin: 0;
    line-height: 1.6; /* readability */
    font-size: 16px; /* base size */
    transition: background-color .3s, color .3s;
}
/* Light-mode readability tweaks */
html:not(.dark) .header .text-gray-300,
html:not(.dark) .header .text-gray-400 { color: #6b7280 !important; }
html:not(.dark) .main-description { color: #1f2937 !important; }
html:not(.dark) .ecosystem-section p { color: #0f172a; }
html:not(.dark) .value-card p,
html:not(.dark) .value-card li { color: #374151; }
html:not(.dark) .subtle { color: #475569; }
/* Support both html.dark and parent .dark for compatibility */
.dark body, html.dark body { background-color: #00172e; color: #f1f5f9; }
.bg-brand-blue { background-color: #0A2540; }
.text-brand-blue { color: #0A2540; }
.bg-brand-gold { background-color: #D4AF37; }
.text-brand-gold { color: #D4AF37; }
.border-brand-gold { border-color: #D4AF37; }
.backdrop-blur-nav {
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}
.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}
/* islamic-card styles are provided by the global site stylesheet */
.app-embed { border: none; border-radius: 16px; box-shadow: 0 20px 60px rgba(10, 37, 64, 0.15); }
.feature-icon { width: 60px; height: 60px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.feature-icon i { font-size: 1.8rem; color: white; }
.install-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; background: rgba(255, 255, 255, 0.2); color: white; text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 1rem; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); transition: all 0.3s ease; }
.install-btn:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.install-btn.chrome { background: rgba(66, 133, 244, 0.9); }
.install-btn.firefox { background: rgba(255, 149, 0, 0.9); }
.install-btn.edge { background: rgba(0, 120, 212, 0.9); }
.app-store-btn { background: linear-gradient(135deg, #000, #333); border: 1px solid #333; border-radius: 12px; padding: 12px 20px; color: white; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.app-store-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.google-play-btn { background: linear-gradient(135deg, #01875f, #4caf50); border: 1px solid #4caf50; }
.tab-button { padding: 1rem 2rem; border: none; background: rgba(255, 255, 255, 0.1); color: white; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; font-weight: 600; }
.tab-button.active { background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.integration-highlight { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 16px; position: relative; overflow: hidden; }
.hidden-section {
    display: none;
}
.main-container {
    text-align: center;
    margin-bottom: 2.5rem;
}
.header {
    text-align: center;
    margin-bottom: 2rem;
}
.nav-card {
        position: sticky;
        top: .5rem;
        z-index: 20;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        width: min(1100px, 94%);
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        padding: .6rem .75rem;
        box-shadow: 0 10px 24px rgba(10,37,64,.06);
}
.dark .nav-card { background: #0f2740; border-color: rgba(212,175,55,.25); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.brand-group { display:flex; align-items:center; gap:.6rem; }
@media (max-width: 1024px) {
    .nav-card { flex-wrap: wrap; row-gap: .5rem; justify-content: center; padding:.65rem; }
}
.logo {
    height: 60px;
    margin-bottom: 1rem;
}
.main-title {
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.02em;
    margin-top: .25rem;
}
.main-description {
    font-size: 1.2rem;
        color: #0f172a; /* near-black for max readability */
    max-width: 700px;
    margin: 0 auto;
}
.ecosystem-section { max-width: 1200px; margin: 0 auto 4rem; padding: 0 1.5rem; }
.ecosystem-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .ecosystem-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.value-card { background:#ffffff; border:1px solid rgba(10,37,64,0.08); border-radius: 18px; padding:1.5rem 1.4rem 1.7rem; box-shadow:0 4px 16px rgba(10,37,64,.06); position:relative; overflow:hidden; }
.value-card:before { content:""; position:absolute; inset:0; background:linear-gradient(135deg,rgba(212,175,55,.10),rgba(118,75,162,.06)); opacity:.35; mix-blend-mode:normal; pointer-events:none; }
.value-card h3 { margin:.2rem 0 0.75rem; font-size:1.05rem; font-weight:700; letter-spacing:.5px; }
.value-card p, .value-card li { font-size:.85rem; line-height:1.35rem; }
/* Dark mode readability for value cards */
.dark .value-card { background:#0f2740; border:1px solid rgba(212,175,55,.25); }
.dark .value-card h3 { color:#f1f5f9; }
.dark .value-card p, .dark .value-card li { color:#e2e8f0; }
.gold-accent { background:linear-gradient(90deg,#d4af37,#f5e6b3); -webkit-background-clip:text; background-clip:text; color:transparent; }
.section-heading { font-size:2.1rem; font-weight:800; letter-spacing:-.5px; margin:0 0 1.1rem; }
.section-divider { height: 2px; background: linear-gradient(90deg, #d4af37, #0A2540, #d4af37); opacity:.8; margin: .75rem auto 1.25rem; }
.timeline { position:relative; margin:2rem 0 3rem; padding-left:1.25rem; }
.timeline:before { content:""; position:absolute; top:0; bottom:0; left:6px; width:2px; background:linear-gradient(#d4af37,#764ba2); }
.timeline-item { position:relative; margin-bottom:1.4rem; padding-left:1.4rem; }
html:not(.dark) .timeline-item { color:#1f2937; }
.timeline-item:last-child { margin-bottom:0; }
.timeline-item:before { content:""; position:absolute; left:-1px; top:.3rem; width:14px; height:14px; background:#fff; border:3px solid #d4af37; border-radius:50%; box-shadow:0 0 0 2px #fff; }
.support-cta { display:flex; flex-wrap:wrap; gap: .9rem; margin-top:1.25rem; }
.support-btn { background:#0A2540; color:#fff; padding:.85rem 1.25rem; border-radius:12px; font-weight:600; font-size:.9rem; text-decoration:none; display:inline-flex; align-items:center; gap:.55rem; position:relative; overflow:hidden; }
.support-btn:before { content:""; position:absolute; inset:0; background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(212,175,55,.22)); opacity:0; transition:.35s; }
.support-btn:hover:before { opacity:1; }
.dual-grid { display:grid; gap:2rem; }
@media (min-width: 960px){ .dual-grid { grid-template-columns: 1fr 1fr; } }
.pillars-list { list-style:none; padding:0; margin:0; display:grid; gap:.9rem; }
.pillar { background:#f8fafc; border:1px solid #e3e8ef; border-radius:14px; padding:.9rem 1rem; font-size:.9rem; display:flex; gap:.65rem; align-items:flex-start; }
html:not(.dark) .pillar { color:#1f2937; }
.pillar i { color:#d4af37; margin-top:.15rem; }
.goals-cols { display:grid; gap:1.5rem; }
@media (min-width: 800px){ .goals-cols { grid-template-columns: repeat(2,1fr); } }
.goal-card { background:#0A2540; color:#f1f5f9; border-radius:18px; padding:1.4rem 1.4rem 1.7rem; position:relative; overflow:hidden; }
.goal-card:after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 30% 20%,rgba(212,175,55,.25),transparent 70%); pointer-events:none; }
.goal-card h3 { margin:0 0 .8rem; font-size:1.05rem; letter-spacing:.5px; font-weight:700; }
.goal-card ul { margin:0; padding-left:1.1rem; font-size:.85rem; line-height:1.3rem; }
.verse-box { background:#0A2540; color:#f1f5f9; padding:1.25rem 1.4rem 1.4rem; border-radius:18px; margin:2.2rem 0; position:relative; overflow:hidden; }
.verse-box:before { content:" \ufdfd "; position:absolute; font-family:'Amiri',serif; font-size:3.5rem; opacity:.07; top:.3rem; right:.6rem; }
html:not(.dark) .verse-box .opacity-80 { opacity:1 !important; color:#e5e7eb !important; }
.subtle { color:#64748b; font-size:.85rem; }
/* Dark mode readability for islamic cards */
.dark .islamic-card { background:linear-gradient(135deg, rgba(23,53,83,0.88), rgba(15,39,64,0.82)); border:1px solid rgba(212,175,55,.3); }
.dark .islamic-card h3 { color:#f1f5f9; }
.dark .islamic-card p { color:#e2e8f0; }
/* Top tabs for quick navigation */
.top-product-tabs { display:flex; gap:.45rem; flex-wrap:wrap; justify-content:flex-end; margin:0; position:static; }
@media (max-width: 1024px) { .top-product-tabs { justify-content:center; } }
.top-product-tabs button.top-tab { background:#eef2f7; border:1px solid #e5e7eb; color:#0A2540; font-weight:700; font-size:.78rem; letter-spacing:.3px; padding:.55rem .9rem; border-radius:999px; text-transform:uppercase; display:inline-flex; align-items:center; gap:.4rem; transition:.25s; box-shadow: 0 1px 0 rgba(10,37,64,.05) inset; }
.dark .top-product-tabs button.top-tab { background:#0f2740; color:#f1f5f9; }
.top-product-tabs button.top-tab:hover { background:#e7ecf4; border-color:#D4AF37; box-shadow:0 0 0 1px rgba(212,175,55,.35); }
.top-product-tabs button.top-tab:focus-visible { outline:2px solid #D4AF37; outline-offset:2px; }
.dark .top-product-tabs button.top-tab:hover { background:#173553; }
.top-product-tabs button.top-tab.border-brand-gold { border-color:#D4AF37; box-shadow:0 0 0 1px rgba(212,175,55,.4); }
.top-product-tabs button.top-tab i { font-size:.85rem; }
.top-product-tabs .top-tab.active,
.top-product-tabs .top-tab[aria-selected="true"] { border-color:#D4AF37; background:#fff; box-shadow:0 2px 10px rgba(10,37,64,.06); }
.dark .top-product-tabs .top-tab.active,
.dark .top-product-tabs .top-tab[aria-selected="true"] { background:#173553; border-color:#D4AF37; box-shadow:0 2px 10px rgba(0,0,0,.25); }
/* Secondary links bar (top): Privacy / Terms / Support */
.secondary-links-bar { display:flex; gap:.5rem; flex-wrap:wrap; justify-content:center; margin-top:.5rem; }
.secondary-links-bar .sec-link { background:#eef2f7; border:1px solid #e5e7eb; color:#0A2540; font-weight:700; font-size:.72rem; padding:.45rem .7rem; border-radius:999px; transition:.2s; text-decoration:none; }
.secondary-links-bar .sec-link:hover { background:#e7ecf4; border-color:#D4AF37; box-shadow:0 0 0 1px rgba(212,175,55,.25); }
.dark .secondary-links-bar .sec-link { background:#0f2740; color:#f1f5f9; border-color:rgba(212,175,55,.25); }
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .tab-button { padding: 0.75rem 1rem; font-size: 0.9rem; }
    .top-product-tabs button.top-tab { font-size:.6rem; padding:.45rem .7rem; }
}
/* Readability enhancements */
.value-card p, .value-card li { font-size:.95rem; line-height:1.45rem; }
.pillar { border-color:#dde3ea; padding:.85rem 1rem; font-size:.92rem; }
.goal-card ul { font-size:.9rem; line-height:1.4rem; }
.support-btn { padding:.85rem 1.15rem; font-size:.88rem; }
.product-links { display:flex; flex-wrap:wrap; gap:.6rem; margin:1.2rem 0 0; }
.product-links a { background:#0A2540; color:#fff; padding:.55rem .95rem; border-radius:10px; font-size:.7rem; letter-spacing:.5px; font-weight:600; text-decoration:none; text-transform:uppercase; display:inline-flex; gap:.4rem; align-items:center; transition:.25s; }
.product-links a:hover { background:#133554; }
.dark .product-links a { background:#173553; }
.dark .product-links a:hover { background:#23486d; }
.feature-list { list-style:disc; padding-left:1.1rem; margin:.75rem 0 0; }
.feature-list li { margin-bottom:.4rem; font-size:.9rem; line-height:1.4rem; }
.product-section p { font-size:.98rem; line-height:1.5rem; }
html:not(.dark) .product-section p { color:#374151; }
/* Make product section paragraphs crisper in light mode */
html:not(.dark) .product-section p { color:#0f172a; }
/* Global paragraph fallback within DeenShield main content (light mode) */
html:not(.dark) .main-container p { color:#0f172a; }
/* Header paragraph (hero/intro) in light mode */
html:not(.dark) .header p,
html:not(.dark) .header .main-description { color:#0f172a !important; }
/* Boost contrast for common gray utility classes within main content (light mode only) */
html:not(.dark) .main-container .text-gray-300,
html:not(.dark) .main-container .text-gray-400 { color:#6b7280 !important; } /* ~gray-600 */
html:not(.dark) .main-container .text-gray-500,
html:not(.dark) .main-container .text-gray-600 { color:#374151 !important; } /* ~gray-700 */
html:not(.dark) .main-container .text-gray-700,
html:not(.dark) .main-container .text-gray-800 { color:#0f172a !important; } /* near-black for body text */
/* Product headers */
.product-header { display:flex; align-items:center; gap:.6rem; margin:.2rem 0 .65rem; }
.product-header i { color:#d4af37; font-size:1.05rem; }
.product-title { font-weight:700; color:#0A2540; }
/* Bottom tabs spacing wrapper */
.bottom-tabs-wrap { margin-top: 1.25rem; }
.bottom-tabs-wrap .top-product-tabs { gap:.35rem; justify-content:center; }
.bottom-tabs-wrap .top-product-tabs .top-tab { font-size:.68rem; padding:.38rem .6rem; letter-spacing:.2px; font-weight:700; background:#f6f8fb; border:1px solid #e6e8ef; box-shadow:none; }
.bottom-tabs-wrap .top-product-tabs .top-tab:hover { background:#eef2f7; }
.bottom-tabs-wrap .top-product-tabs .top-tab i { font-size:.78rem; }
.dark .bottom-tabs-wrap .top-product-tabs .top-tab { background:#102a44; border-color:rgba(212,175,55,.25); color:#e5eef9; }
.dark .bottom-tabs-wrap .top-product-tabs .top-tab:hover { background:#163654; }
