/* 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.875rem 1.75rem; 
    background: rgba(10, 37, 64, 0.9); 
    color: white; 
    text-decoration: none; 
    border-radius: 12px; 
    font-weight: 600; 
    font-size: 1rem; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.2);
}
.install-btn:hover { 
    background: rgba(10, 37, 64, 1); 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.3); 
}
.install-btn.chrome { 
    background: linear-gradient(135deg, #4285f4, #357ae8); 
    border-color: #357ae8;
}
.install-btn.chrome:hover { 
    background: linear-gradient(135deg, #357ae8, #2a5fc9); 
}
.install-btn.firefox { 
    background: linear-gradient(135deg, #ff7139, #e65a00); 
    border-color: #e65a00;
}
.install-btn.firefox:hover { 
    background: linear-gradient(135deg, #e65a00, #cc4f00); 
}
.install-btn.edge { 
    background: linear-gradient(135deg, #0078d4, #005a9e); 
    border-color: #005a9e;
}
.install-btn.edge:hover { 
    background: linear-gradient(135deg, #005a9e, #004578); 
}
.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: 20px; 
    padding: 2rem 1.75rem 2.25rem; 
    box-shadow: 0 4px 20px rgba(10,37,64,.08); 
    position: relative; 
    overflow: hidden; 
    transition: all 0.3s ease;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(10,37,64,.12);
    border-color: rgba(212,175,55,0.3);
}
.value-card:before { 
    content: ""; 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(135deg,rgba(212,175,55,.08),rgba(118,75,162,.05)); 
    opacity: 0.4; 
    mix-blend-mode: normal; 
    pointer-events: none; 
}
.value-card h3 { 
    margin: 0.25rem 0 1rem; 
    font-size: 1.25rem; 
    font-weight: 700; 
    letter-spacing: 0.3px; 
    color: #0A2540;
    position: relative;
}
.value-card h3:after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, transparent);
    margin-top: 0.5rem;
}
.value-card p, .value-card li { 
    font-size: 0.95rem; 
    line-height: 1.6rem; 
    color: #374151;
}
/* Dark mode readability for value cards */
.dark .value-card { 
    background: #0f2740; 
    border: 1px solid rgba(212,175,55,.25); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.dark .value-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    border-color: rgba(212,175,55,0.4);
}
.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.2rem 1.35rem 1.35rem; border-radius:20px; margin:2.2rem 0; position:relative; overflow:hidden; box-shadow:0 10px 26px rgba(10,37,64,.18), inset 0 0 0 1px rgba(212,175,55,.12); }
/* Decorative calligraphic watermark (Basmala) — correct CSS escape sequence */
.verse-box:before { content:"\FDFD"; position:absolute; font-family:'Amiri', 'Scheherazade New', serif; font-size:4rem; opacity:.05; top:.35rem; right:.7rem; line-height:1; pointer-events:none; }
/* Light-mode readability for meta lines */
html:not(.dark) .verse-box .opacity-80 { opacity:1 !important; color:#e5e7eb !important; }
/* Typography refinements without changing markup */
.verse-box p:first-child { text-align:center; font-weight:700; letter-spacing:.15px; }
.verse-box p:first-child .block { display:block; margin-top:.15rem; opacity:.9; }
.verse-box p + p { text-align:center; font-size:.83rem; opacity:.9; }
@media (max-width: 640px){
    .verse-box { padding:1rem 1rem 1.1rem; border-radius:18px; }
    .verse-box:before { font-size:3.25rem; top:.25rem; right:.5rem; }
}
/* Optional: hide decorative glyph on high-contrast user preferences */
@media (prefers-contrast: more){ .verse-box:before { display:none; } }
.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 Section Enhancements */
.product-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
    border: 1px solid rgba(10, 37, 64, 0.06);
    transition: all 0.3s ease;
}
.dark .product-section {
    background: #0f2740;
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.product-section:hover {
    box-shadow: 0 8px 30px rgba(10, 37, 64, 0.12);
    transform: translateY(-2px);
}
.dark .product-section:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.product-links { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.75rem; 
    margin: 1.5rem 0 0; 
}
.product-links a { 
    background: linear-gradient(135deg, #0A2540, #133554); 
    color: #fff; 
    padding: 0.7rem 1.2rem; 
    border-radius: 12px; 
    font-size: 0.85rem; 
    letter-spacing: 0.3px; 
    font-weight: 600; 
    text-decoration: none; 
    display: inline-flex; 
    gap: 0.5rem; 
    align-items: center; 
    transition: all 0.25s ease; 
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.15);
}
.product-links a:hover { 
    background: linear-gradient(135deg, #133554, #1c4667); 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.25);
    border-color: #D4AF37;
}
.dark .product-links a { 
    background: linear-gradient(135deg, #173553, #234b6a); 
}
.dark .product-links a:hover { 
    background: linear-gradient(135deg, #234b6a, #2d5e82); 
}
.feature-list { 
    list-style: none; 
    padding-left: 0; 
    margin: 1rem 0 0; 
}
.feature-list li { 
    margin-bottom: 0.75rem; 
    font-size: 0.95rem; 
    line-height: 1.5rem; 
    padding-left: 1.75rem;
    position: relative;
}
.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: 700;
    font-size: 1.1rem;
}
.product-section p { 
    font-size: 1.05rem; 
    line-height: 1.7rem; 
    margin-bottom: 1rem;
}
html:not(.dark) .product-section p { 
    color: #1f2937; 
}
.dark .product-section p {
    color: #e2e8f0;
}
/* Global paragraph fallback within DeenShield main content (light mode) */
html:not(.dark) .main-container p { color: #1f2937; }
/* 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; }
html:not(.dark) .main-container .text-gray-500,
html:not(.dark) .main-container .text-gray-600 { color: #374151 !important; }
html:not(.dark) .main-container .text-gray-700,
html:not(.dark) .main-container .text-gray-800 { color: #0f172a !important; }
/* Product headers */
.product-header { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    margin: 0 0 1.25rem; 
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}
.product-header i { 
    color: #D4AF37; 
    font-size: 1.5rem; 
}
.product-title { 
    font-weight: 700; 
    color: #0A2540; 
    font-size: 1.75rem;
}
.dark .product-title {
    color: #f1f5f9;
}
/* Sticky Product Navigation Footer */
.sticky-product-nav {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 2px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(10, 37, 64, 0.08);
    z-index: 100;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}
.dark .sticky-product-nav {
    background: rgba(15, 39, 64, 0.95);
    border-top-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
.sticky-nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.current-product-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.product-label {
    color: #6b7280;
    font-weight: 500;
}
.dark .product-label {
    color: #9ca3af;
}
.product-name {
    font-weight: 700;
    color: #0A2540;
    background: linear-gradient(90deg, #D4AF37, #0A2540);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.dark .product-name {
    background: linear-gradient(90deg, #D4AF37, #f1f5f9);
    -webkit-background-clip: text;
    background-clip: text;
}
.quick-nav-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.quick-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.quick-nav-btn:hover {
    background: #eef2f7;
    border-color: #D4AF37;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}
.quick-nav-btn.active {
    background: #0A2540;
    color: white;
    border-color: #0A2540;
}
.dark .quick-nav-btn {
    background: #1a3a54;
    border-color: rgba(212, 175, 55, 0.3);
    color: #e2e8f0;
}
.dark .quick-nav-btn:hover {
    background: #234b6a;
    border-color: #D4AF37;
}
.dark .quick-nav-btn.active {
    background: #D4AF37;
    color: #0A2540;
    border-color: #D4AF37;
}
.quick-nav-btn i {
    font-size: 1rem;
}
@media (max-width: 768px) {
    .sticky-nav-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    .current-product-indicator {
        width: 100%;
        justify-content: center;
    }
    .quick-nav-buttons {
        width: 100%;
        justify-content: center;
    }
    .quick-nav-btn span {
        display: none;
    }
    .quick-nav-btn {
        padding: 0.7rem;
        min-width: 44px;
        justify-content: center;
    }
}
