/* =========================================================
   QuranAI Marketing Website — style.css
   Design tokens from iOS app DesignSystem.swift
   ========================================================= */

/* ── 1. CSS CUSTOM PROPERTIES ──────────────────────────── */
:root {
    --bg:           #F9F6F2;
    --primary:      #8D6E63;
    --primary-dk:   #6D4C41;
    --primary-lt:   #A1887F;
    --gold:         #CFB53B;
    --gold-soft:    #D7CCC8;
    --text-primary: #4E342E;
    --text-sec:     #8D7B68;
    --surface:      #F0EAE2;
    --white:        #FFFFFF;
    --green:        #4CAF50;
    --input-bg:     #FFFFFF;
    --shadow-sm:    0 2px 12px rgba(78,52,46,0.07);
    --shadow-md:    0 8px 32px rgba(78,52,46,0.12);
    --shadow-lg:    0 20px 60px rgba(78,52,46,0.16);
    --radius-sm:    10px;
    --radius-md:    16px;
    --radius-lg:    24px;
    --radius-xl:    32px;
    --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── 2. RESET & BASE ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── 3. LAYOUT UTILITIES ────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

.pill-badge {
    display: inline-block;
    background: rgba(141,110,99,0.12);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.pill-light {
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.9);
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.light-title { color: #fff; }

.section-subtitle {
    font-size: 17px;
    color: var(--text-sec);
    line-height: 1.6;
}

/* ── 4. BUTTONS ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(141,110,99,0.35);
}
.btn-primary:hover {
    background: var(--primary-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(141,110,99,0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #b8972d 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(207,181,59,0.4);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(207,181,59,0.55);
}

.btn-hero { font-size: 16px; padding: 16px 34px; }

/* ── 5. NAVIGATION ──────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(249,246,242,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(78,52,46,0.08), var(--shadow-sm);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-sec);
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--text-primary);
    background: var(--surface);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-nav-cta {
    background: var(--gold);
    color: var(--text-primary);
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}
.btn-nav-cta:hover {
    background: #b8972d;
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(249,246,242,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-nav-overlay.open { display: flex; }

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 300px;
}

.mobile-nav-link {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 16px;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}
.mobile-nav-link:hover { background: var(--surface); }

.mobile-cta {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
}

/* ── 6. HERO SECTION ────────────────────────────────────── */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 52px;
    align-items: center;
}

.hero-dot-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(141,110,99,0.12) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-arabic-bg {
    position: absolute;
    top: 50%;
    right: -80px;
    transform: translateY(-50%);
    font-size: clamp(80px, 15vw, 200px);
    color: rgba(141,110,99,0.05);
    font-family: 'Amiri', serif;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

/* Hero: single-column — text centered on top, demo full-width below */
.hero-text {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.hero-text .hero-subtitle { max-width: 540px; margin-left: auto; margin-right: auto; }
.hero-text .hero-buttons  { justify-content: center; }
.hero-text .hero-stats    { justify-content: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(207,181,59,0.15), rgba(141,110,99,0.1));
    border: 1px solid rgba(207,181,59,0.3);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dk);
    margin-bottom: 24px;
}

.badge-star { color: var(--gold); font-size: 12px; }

.hero-title {
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 22px;
}

.hero-title-gold {
    background: linear-gradient(135deg, var(--gold), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-sec);
    line-height: 1.65;
    max-width: 460px;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-sec);
    font-weight: 500;
}

.hero-stat-sep {
    color: var(--gold);
    font-size: 10px;
    opacity: 0.6;
}

/* Hero Demo Wrap — full width, centered below hero text */
.hero-demo-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.hero-demo-wrap .demo-window {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(141,110,99,0.1);
}

.hero-demo-wrap .demo-messages-area {
    height: 280px;
    min-height: unset;
    max-height: unset;
}

/* Q list shown as pill chips beneath the chat window */
.hero-q-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    justify-content: center;
}

.hero-q-list .demo-q-item {
    padding: 7px 14px;
    font-size: 12.5px;
    border-radius: 20px;
    flex: none;
}

/* Logo images */
.nav-logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.demo-logo-img {
    height: 18px;
    width: auto;
    display: block;
    filter: brightness(0.75);
}

.footer-logo-img {
    height: 26px;
    width: auto;
    display: block;
    filter: brightness(1.3);
}

/* Stat icon SVG color */
.stat-icon svg { color: var(--primary); }
.stat-card-item.gold .stat-icon svg { color: var(--gold); }

/* Learn feat icon SVG color */
.learn-feat-icon svg { color: var(--primary); }

/* Feature icon SVGs inside gradient backgrounds */
.feature-icon-wrap svg { color: #fff; }

/* Prayer emoji SVGs */
.prayer-emoji svg { color: rgba(255,255,255,0.85); }
.prayer-location-icon svg { color: var(--gold); }

/* Compass kaaba SVG */
.compass-kaaba svg { color: var(--gold); }

.phone-glow {
    position: absolute;
    width: 280px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(207,181,59,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: phoneGlowPulse 3s ease-in-out infinite alternate;
}

.phone-frame {
    position: relative;
    width: 260px;
    background: var(--text-primary);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(78,52,46,0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
    animation: phoneFloat 4s ease-in-out infinite;
}

.phone-notch {
    width: 80px;
    height: 22px;
    background: var(--text-primary);
    border-radius: 0 0 16px 16px;
    margin: 0 auto 8px;
    position: relative;
    z-index: 2;
}

.phone-screen {
    background: var(--bg);
    border-radius: 28px;
    overflow: hidden;
    height: 480px;
    display: flex;
    flex-direction: column;
}

.phone-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px 6px;
    background: var(--bg);
}

.phone-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.phone-status-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.phone-signal, .phone-wifi, .phone-battery {
    font-size: 9px;
    color: var(--text-primary);
    font-weight: 700;
    opacity: 0.7;
}

.phone-appbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.phone-logo-area {
    display: flex;
    align-items: center;
    gap: 5px;
}

.phone-crescent {
    font-size: 14px;
    color: var(--gold);
}

.phone-appname {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.phone-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.3;
}

.phone-chat-area {
    flex: 1;
    padding: 12px 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.phone-msg {
    display: flex;
    flex-direction: column;
    max-width: 82%;
    opacity: 0;
}

.phone-msg-anim {
    animation: msgAppear 0.4s ease forwards;
    animation-delay: var(--delay, 0s);
}

.ai-msg { align-self: flex-start; }
.user-msg { align-self: flex-end; }

.phone-msg-bubble {
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 10.5px;
    line-height: 1.4;
    font-weight: 500;
}

.ai-msg .phone-msg-bubble {
    background: var(--white);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.user-msg .phone-msg-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.phone-source-tag {
    font-size: 9px;
    color: var(--gold);
    font-weight: 600;
    margin-top: 3px;
    padding-left: 4px;
}

.phone-suggestions {
    display: flex;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.phone-chip {
    background: rgba(141,110,99,0.1);
    color: var(--primary);
    font-size: 9px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(141,110,99,0.2);
    white-space: nowrap;
}

.phone-inputbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: auto;
}

.phone-input {
    flex: 1;
    font-size: 9.5px;
    color: var(--text-sec);
    background: var(--surface);
    padding: 7px 12px;
    border-radius: 20px;
}

.phone-mic {
    font-size: 14px;
    cursor: default;
}

.phone-tabbar {
    display: flex;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: var(--white);
    padding: 6px 0 2px;
}

.phone-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 0;
    opacity: 0.4;
    font-size: 18px;
}

.active-tab { opacity: 1; }
.active-tab .tab-label { color: var(--primary); }

.tab-label {
    font-size: 8px;
    font-weight: 600;
    color: var(--text-sec);
    letter-spacing: 0.03em;
}

.phone-deco-star {
    position: absolute;
    font-size: 20px;
    color: var(--gold);
    opacity: 0.5;
    animation: starTwinkle 3s ease-in-out infinite;
    pointer-events: none;
}

.deco-1 { top: 10%; right: -15px; animation-delay: 0s; }
.deco-2 { bottom: 20%; left: -20px; animation-delay: 1.5s; font-size: 14px; }
.deco-3 { top: 40%; right: -30px; font-size: 24px; animation-delay: 0.8s; }

/* ── 7. FEATURES SECTION ────────────────────────────────── */
.features-section {
    background: var(--white);
}

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

.feature-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid rgba(141,110,99,0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(207,181,59,0.06), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(141,110,99,0.2);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--icon-bg, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(141,110,99,0.25);
}

.feature-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feature-tag {
    background: rgba(141,110,99,0.1);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── CTA logo ──────────────────────────────────────────── */
.cta-logo-img {
    height: 52px;
    width: auto;
    display: block;
    margin: 0 auto 28px;
    filter: brightness(10) saturate(0);
    opacity: 0.9;
}

/* ── App-screen mockup (AI section) ────────────────────── */
.app-screen-mockup {
    background: #F9F6F2;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(78,52,46,0.35), 0 0 0 1px rgba(255,255,255,0.12) inset;
    border: 10px solid #3a2420;
    max-width: 340px;
    margin: 0 auto;
}

.asm-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px 4px;
    background: #F9F6F2;
}

.asm-time {
    font-size: 12px;
    font-weight: 700;
    color: #4E342E;
}

.asm-status-right {
    display: flex;
    gap: 5px;
    font-size: 9px;
    color: #4E342E;
    font-weight: 700;
    opacity: 0.7;
}

.asm-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px 10px;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(78,52,46,0.07);
}

.asm-logo {
    height: 16px;
    width: auto;
    filter: brightness(0.85);
}

.asm-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8D6E63, #CFB53B);
    opacity: 0.4;
}

.asm-chat-area {
    padding: 14px 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 220px;
    background: #F9F6F2;
}

.asm-msg {
    display: flex;
    flex-direction: column;
    max-width: 82%;
}

.asm-ai  { align-self: flex-start; }
.asm-user { align-self: flex-end; }

.asm-bubble {
    padding: 9px 13px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 1.45;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
}

.asm-ai .asm-bubble {
    background: #FFFFFF;
    color: #4E342E;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 6px rgba(78,52,46,0.08);
}

.asm-user .asm-bubble {
    background: #8D6E63;
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}

.asm-typing-bubble {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
}

.asm-source {
    font-size: 9px;
    color: #CFB53B;
    font-weight: 600;
    margin-top: 3px;
    padding-left: 4px;
}

.asm-chips {
    display: flex;
    gap: 6px;
    padding: 0 12px 8px;
    flex-wrap: wrap;
}

.asm-chip {
    background: rgba(141,110,99,0.1);
    color: #8D6E63;
    font-size: 9px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid rgba(141,110,99,0.2);
    white-space: nowrap;
    font-family: 'Inter', system-ui, sans-serif;
}

.asm-inputbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 10px;
    background: #FFFFFF;
    border-top: 1px solid rgba(78,52,46,0.07);
}

.asm-input-text {
    flex: 1;
    background: #F0EAE2;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 10px;
    color: #8D7B68;
    font-family: 'Inter', system-ui, sans-serif;
}

.asm-mic-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(141,110,99,0.1);
    border: none;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8D6E63;
    flex-shrink: 0;
}

.asm-tabbar {
    display: flex;
    border-top: 1px solid rgba(78,52,46,0.07);
    background: #FFFFFF;
    padding: 6px 0 8px;
}

.asm-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 8px;
    font-weight: 600;
    color: #8D7B68;
    font-family: 'Inter', system-ui, sans-serif;
    opacity: 0.45;
    letter-spacing: 0.02em;
}

.asm-tab svg { opacity: 0.5; }

.asm-active {
    color: #8D6E63;
    opacity: 1;
}

.asm-active svg { opacity: 1; color: #8D6E63; }

/* ── 8. AI SPOTLIGHT SECTION ────────────────────────────── */
.ai-section {
    background: var(--text-primary);
    color: #fff;
    padding: 100px 0;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ai-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 36px;
}

.ai-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ai-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(207,181,59,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 12px;
    margin-top: 2px;
}

.ai-feature-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.ai-feature-item p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

/* ── iMessage-style chat (AI spotlight section) ─────────── */
.ai-imessage {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0;
}

/* Stagger-reveal each bubble row when section scrolls in */
.ai-imessage .aim-row {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.ai-imessage.visible .aim-row:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.ai-imessage.visible .aim-row:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.3s; }
.ai-imessage.visible .aim-row:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.6s; }
.ai-imessage.visible .aim-row:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.9s; }
.ai-imessage.visible .aim-row:nth-child(5) { opacity: 1; transform: none; transition-delay: 1.2s; }

.aim-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.aim-row-user {
    justify-content: flex-end;
}

.aim-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(30,18,16,0.6);
    border: 1px solid rgba(207,181,59,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.aim-avatar-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.aim-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 78%;
}

.aim-bubble {
    padding: 11px 16px;
    border-radius: 20px;
    font-size: 14.5px;
    line-height: 1.55;
}

.aim-bubble.aim-ai {
    background: rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.1);
    border-bottom-left-radius: 5px;
    max-width: 78%;
}

.aim-row-user .aim-bubble {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 5px;
    border: 1px solid rgba(255,255,255,0.08);
    max-width: 72%;
}

.aim-source {
    font-size: 11.5px;
    color: var(--gold);
    font-weight: 600;
    padding-left: 6px;
    opacity: 0.8;
}

.aim-thinking {
    display: flex;
    gap: 5px;
    align-items: center;
}

.aim-thinking .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    animation: typingBounce 1.2s ease-in-out infinite;
}

.aim-thinking .dot:nth-child(2) { animation-delay: 0.2s; }
.aim-thinking .dot:nth-child(3) { animation-delay: 0.4s; }

/* AI chat mockup */
.ai-chat-card {
    background: var(--bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08);
}

.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ai-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.ai-chat-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.ai-chat-status {
    font-size: 12px;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulseDot 2s ease-in-out infinite;
}

.ai-chat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 240px;
}

.ai-chat-msg { display: flex; flex-direction: column; max-width: 82%; }
.ai-side { align-self: flex-start; }
.user-side { align-self: flex-end; }

.ai-msg-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-bottom-left-radius: 4px;
}

.user-bubble {
    background: var(--primary);
    color: white;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 4px;
}

.ai-source-chip {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    margin-top: 4px;
    padding-left: 4px;
}

/* Typing dots */
.typing-bubble {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
    width: fit-content;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-sec);
    animation: typingBounce 1.2s ease-in-out infinite;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

.ai-chat-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.06);
}

.ai-chat-input {
    flex: 1;
    border: 1.5px solid rgba(141,110,99,0.2);
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-sec);
    background: var(--bg);
    outline: none;
    font-family: inherit;
}

.ai-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    flex-shrink: 0;
}
.ai-send-btn:hover { background: var(--primary-dk); transform: scale(1.05); }

/* ── 9. LEARN SECTION ───────────────────────────────────── */
.learn-section { background: var(--bg); }

.learn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.learn-feat-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(141,110,99,0.1);
}

.learn-feat-item:last-child { border-bottom: none; }

.learn-feat-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: 14px;
}

.learn-feat-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.learn-feat-text p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.6;
}

/* Stat cards */
.learn-stats-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.learn-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-card-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 14px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(141,110,99,0.1);
    transition: var(--transition);
}

.stat-card-item.gold {
    background: linear-gradient(135deg, #FFF8E1, #FFF3CD);
    border-color: rgba(207,181,59,0.3);
}

.stat-card-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(141,110,99,0.1);
    margin: 0 auto 12px;
}

.stat-card-item.gold .stat-icon {
    background: rgba(207,181,59,0.15);
}

.stat-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.stat-lbl {
    font-size: 11px;
    color: var(--text-sec);
    font-weight: 500;
    margin-top: 4px;
}

/* XP Bar */
.xp-progress-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(141,110,99,0.1);
}

.xp-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.xp-level {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.xp-amount {
    font-size: 14px;
    color: var(--gold);
    font-weight: 600;
}

.xp-bar-track {
    height: 10px;
    background: var(--surface);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}

.xp-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-sec);
}

/* Flashcard preview */
.flashcard-preview {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(207,181,59,0.25);
    cursor: default;
}

.flashcard-arabic {
    font-size: 38px;
    color: var(--text-primary);
    margin-bottom: 12px;
    direction: rtl;
}

.flashcard-hint {
    font-size: 13px;
    color: var(--text-sec);
    font-style: italic;
}

.flashcard-label {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    margin-top: 12px;
    letter-spacing: 0.04em;
}

/* ── 10. PRAYER SECTION ─────────────────────────────────── */
.prayer-section {
    position: relative;
    background: var(--text-primary);
    color: white;
    padding: 100px 0;
    overflow: hidden;
}

.prayer-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.prayer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.prayer-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 28px;
}

.prayer-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.12);
    overflow: hidden;
}

.prayer-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.prayer-location-icon { font-size: 14px; }

.prayer-date {
    margin-left: auto;
    background: rgba(207,181,59,0.25);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.prayer-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.prayer-row:last-child { border-bottom: none; }

.prayer-name-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.prayer-emoji { font-size: 16px; }

.prayer-name-text {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.prayer-time-txt {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    font-variant-numeric: tabular-nums;
}

.prayer-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(76,175,80,0.25);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.completed { opacity: 0.6; }

.next-prayer { background: rgba(207,181,59,0.1); }

.next-badge {
    background: var(--gold);
    color: var(--text-primary);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Compass area */
.compass-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.compass-title {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

.compass-wrap {
    position: relative;
    width: 240px;
    height: 240px;
}

/* SVG compass */
.compass-svg {
    width: 260px;
    height: 260px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.35));
}

.compass-degree {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold);
    text-align: center;
    margin-top: 16px;
}

.compass-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    font-size: 13px;
    color: var(--green);
    font-weight: 600;
}

.compass-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulseDot 2s ease-in-out infinite;
}

.prayer-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.prayer-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.prayer-feat-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(76,175,80,0.2);
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── 11. LANGUAGES SECTION ──────────────────────────────── */
.languages-section {
    padding: 80px 0 60px;
    background: var(--white);
    overflow: hidden;
}

.ticker-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 32px;
    padding: 6px 0;
}

.ticker-gradient-l,
.ticker-gradient-r {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.ticker-gradient-l {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.ticker-gradient-r {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.ticker-track {
    display: flex;
    gap: 0;
    animation: tickerScroll 35s linear infinite;
    width: max-content;
}

.ticker-item {
    background: var(--bg);
    border: 1px solid rgba(141,110,99,0.12);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    margin-right: 12px;
    flex-shrink: 0;
}

/* ── 12. PRICING SECTION ────────────────────────────────── */
.pricing-section { background: var(--bg); }

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 780px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    border: 2px solid rgba(141,110,99,0.12);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.premium-card {
    background: linear-gradient(160deg, var(--text-primary) 0%, #3E2723 100%);
    border-color: rgba(207,181,59,0.35);
}

.premium-most-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-sec);
    margin-bottom: 16px;
}

.gold-tier { color: var(--gold); }

.pricing-price-wrap {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 12px;
}

.pricing-dollar {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    padding-top: 6px;
}

.pricing-amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.04em;
}

.gold-price {
    font-size: 40px;
    color: var(--gold);
    background: linear-gradient(135deg, var(--gold), #e8c840);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-period {
    font-size: 14px;
    color: var(--text-sec);
    font-weight: 500;
    align-self: flex-end;
    padding-bottom: 8px;
    margin-left: 2px;
}

.pricing-tagline {
    font-size: 14px;
    color: var(--text-sec);
    margin-bottom: 24px;
    line-height: 1.5;
}

.premium-card .pricing-tagline,
.premium-card .feat-yes,
.premium-card .feat-no,
.premium-card .pricing-tier { color: rgba(255,255,255,0.7); }

.premium-card .pricing-dollar,
.premium-card .pricing-amount { color: white; }

.pricing-feat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.feat-yes, .feat-no {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
}

.feat-yes span {
    color: var(--green);
    font-weight: 700;
    width: 18px;
    flex-shrink: 0;
}

.feat-no {
    color: var(--text-sec);
    opacity: 0.6;
}

.feat-no span {
    color: #e57373;
    font-weight: 700;
    width: 18px;
    flex-shrink: 0;
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 15px 28px;
}

/* ── 13. DEMO SECTION ───────────────────────────────────── */
.demo-section {
    position: relative;
    padding: 100px 0;
    background: var(--surface);
    overflow: hidden;
}

.demo-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(141,110,99,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(207,181,59,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.demo-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
    margin-top: 48px;
}

/* Chat window */
.demo-window {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(141,110,99,0.1);
}

.demo-window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg);
    border-bottom: 1px solid rgba(141,110,99,0.1);
}

.demo-dots { display: flex; gap: 7px; }

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dot.red { background: #ff5f57; }
.demo-dot.yellow { background: #febc2e; }
.demo-dot.green { background: #28c840; }

.demo-window-title {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.demo-crescent { color: var(--gold); font-size: 14px; }

.demo-online {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--green);
    font-weight: 600;
}

.demo-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulseDot 2s ease-in-out infinite;
}

.demo-messages-area {
    height: 340px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.demo-messages-area::-webkit-scrollbar { width: 4px; }
.demo-messages-area::-webkit-scrollbar-track { background: transparent; }
.demo-messages-area::-webkit-scrollbar-thumb { background: var(--gold-soft); border-radius: 2px; }

.demo-welcome-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    text-align: center;
}

.demo-welcome-icon { font-size: 28px; }

.demo-welcome-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.demo-welcome-sub {
    font-size: 13px;
    color: var(--text-sec);
    display: block;
}

/* Demo message bubbles */
.demo-msg {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    animation: msgAppear 0.35s ease forwards;
}

.demo-msg.user { align-self: flex-end; }
.demo-msg.ai { align-self: flex-start; }

.demo-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.55;
}

.demo-msg.user .demo-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.demo-msg.ai .demo-bubble {
    background: var(--bg);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(141,110,99,0.1);
}

.demo-source {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    margin-top: 4px;
    padding-left: 4px;
}

/* Thinking dots */
.demo-thinking {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(141,110,99,0.1);
}

.demo-thinking .dot {
    background: var(--text-sec);
    animation: typingBounce 1.2s ease-in-out infinite;
}

.demo-thinking .dot:nth-child(2) { animation-delay: 0.2s; }
.demo-thinking .dot:nth-child(3) { animation-delay: 0.4s; }

/* Input section */
.demo-input-section {
    border-top: 1px solid rgba(141,110,99,0.08);
    padding: 8px 16px 16px;
}

.demo-typing-area {
    min-height: 20px;
    font-size: 12px;
    color: var(--text-sec);
    font-style: italic;
    padding: 4px 0 8px;
}

.demo-inputbar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1.5px solid rgba(141,110,99,0.2);
    border-radius: 28px;
    padding: 10px 14px;
}

.demo-input-field {
    flex: 1;
    font-size: 14px;
    color: var(--text-sec);
    min-height: 22px;
    outline: none;
    font-family: inherit;
    overflow: hidden;
}

.demo-send {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

.demo-send:hover { background: var(--primary-dk); transform: scale(1.05); }

/* Demo sidebar */
.demo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-sidebar-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.demo-q-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-q-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-sec);
    background: rgba(141,110,99,0.06);
    border: 1.5px solid transparent;
    cursor: default;
    transition: var(--transition);
    line-height: 1.4;
}

.demo-q-item.active {
    background: rgba(141,110,99,0.1);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.demo-cta-box {
    background: linear-gradient(135deg, var(--text-primary), #6D4C41);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
}

.demo-cta-text {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 16px;
    display: block;
}

.demo-dl-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
}

/* ── 14. CTA SECTION ────────────────────────────────────── */
.cta-section {
    position: relative;
    background: var(--primary);
    padding: 80px 0;
    overflow: hidden;
    text-align: center;
}

.cta-bg-arabic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    color: rgba(255,255,255,0.05);
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

.cta-content { position: relative; }

.cta-ornament {
    font-size: 20px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.cta-title {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
}

.btn-cta { font-size: 17px; padding: 18px 40px; }

.cta-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-top: 16px;
}

/* ── 15. FOOTER ─────────────────────────────────────────── */
.footer {
    background: #2E1B18;
    padding: 64px 0 0;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}

.footer-about {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    transition: var(--transition);
}

.footer-store-btn:hover { background: rgba(255,255,255,0.18); }

.footer-store-icon { font-size: 20px; }

.footer-store-line1 {
    display: block;
    font-size: 10px;
    font-weight: 400;
    opacity: 0.7;
}

.footer-store-line2 {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-divider-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    opacity: 0.2;
}

.footer-divider-line::before,
.footer-divider-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.3);
}

.footer-star { color: var(--gold); font-size: 10px; }

.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

/* ── 16. SCROLL ANIMATIONS ──────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 17. KEYFRAME ANIMATIONS ────────────────────────────── */
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

@keyframes phoneGlowPulse {
    0%   { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50%       { opacity: 0.7; transform: scale(1.2) rotate(15deg); }
}

@keyframes msgAppear {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%            { transform: translateY(-6px); opacity: 1; }
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76,175,80,0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(76,175,80,0); }
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes compassRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── 18. RESPONSIVE BREAKPOINTS ─────────────────────────── */
@media (max-width: 1100px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .section { padding: 70px 0; }
    .hero { padding: 120px 0 60px; }

    .ai-grid { grid-template-columns: 1fr; gap: 48px; }
    .ai-imessage { max-width: 480px; margin: 0 auto; width: 100%; }

    .learn-grid { grid-template-columns: 1fr; gap: 40px; }

    .prayer-grid { grid-template-columns: 1fr; gap: 48px; }
    .compass-area { order: -1; }

    .demo-layout { grid-template-columns: 1fr; }
    .demo-sidebar { order: -1; }
    .demo-q-list { display: grid; grid-template-columns: 1fr 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ══════════════════════════════════════════════════════════
   WALL OF HONOR
   ══════════════════════════════════════════════════════════ */
.supporters-section {
    position: relative;
    background: #1A100D;
    padding: 100px 0;
    overflow: hidden;
}

/* Top + bottom gold rule */
.supporters-section::before,
.supporters-section::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(207,181,59,0.45) 30%, rgba(207,181,59,0.45) 70%, transparent 100%);
}
.supporters-section::before { top: 0; }
.supporters-section::after  { bottom: 0; }

.supporters-section .container { position: relative; z-index: 1; }

.supporters-arabic-bg {
    position: absolute;
    font-size: clamp(90px, 16vw, 240px);
    font-weight: 900;
    color: rgba(255,255,255,0.018);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.supporters-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

/* ── Section divider label ──────────────────────────────── */
.honor-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 48px 0 32px;
    color: rgba(207,181,59,0.4);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}
.honor-divider::before,
.honor-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(207,181,59,0.2), transparent);
}
.honor-divider:first-child { margin-top: 52px; }

/* ── GOLD TIER — Benefactors ────────────────────────────── */
.honor-gold-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 8px;
}

.honor-gold-entry {
    text-align: center;
    padding: 28px 40px;
    position: relative;
}

.honor-gold-entry + .honor-gold-entry::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: rgba(207,181,59,0.25);
}

.honor-gold-name {
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(207,181,59,0.88);
    text-shadow:
        0 0 28px rgba(207,181,59,0.28),
        1px 3px 6px rgba(0,0,0,0.98),
        -1px -1px 1px rgba(255,255,255,0.04);
    margin-bottom: 7px;
    line-height: 1.2;
}

.honor-gold-name.honor-bold { font-weight: 900; letter-spacing: 0.12em; }

.honor-gold-meta {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(207,181,59,0.35);
}

/* ── FEATURED TIER ──────────────────────────────────────── */
.honor-featured-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 40px;
    margin-bottom: 8px;
}

.honor-featured-entry {
    text-align: center;
    padding: 14px 20px;
}

.honor-featured-name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(209,196,183,0.7);
    text-shadow:
        1px 2px 5px rgba(0,0,0,0.95),
        -1px -1px 1px rgba(255,255,255,0.05);
    margin-bottom: 5px;
}

.honor-featured-name.honor-bold { font-weight: 800; }

/* ── STANDARD TIER — grid ──────────────────────────────── */
.honor-standard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.supporter-entry {
    padding: 18px 22px;
    border-right: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s ease;
}

.supporter-entry:hover { background: rgba(255,255,255,0.025); }

.supporter-name {
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(209,196,183,0.5);
    text-shadow:
        1px 2px 4px rgba(0,0,0,0.92),
        -1px -1px 1px rgba(255,255,255,0.04);
    margin-bottom: 4px;
    line-height: 1.3;
}

.supporter-name.honor-bold { font-weight: 800; color: rgba(209,196,183,0.68); }

.supporter-meta {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.16);
}

/* ── Supporters wall wrapper ───────────────────────────── */
.supporters-wall { margin: 0 0 52px; }

/* ── Get Involved CTA ───────────────────────────────────── */
.supporters-join {
    text-align: center;
    padding-top: 4px;
}

.supporters-join-text {
    font-size: 14px;
    color: rgba(255,255,255,0.28);
    margin-bottom: 16px;
    font-style: italic;
}

.btn-outline-stone {
    display: inline-block;
    border: 1px solid rgba(207,181,59,0.32);
    color: rgba(207,181,59,0.6);
    padding: 11px 30px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.btn-outline-stone:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(207,181,59,0.07);
    box-shadow: 0 0 18px rgba(207,181,59,0.12);
}

@media (max-width: 768px) {
    .nav-links, .btn-nav-cta { display: none; }
    .hamburger { display: flex; }

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

    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }

    .learn-stats-row { grid-template-columns: repeat(3, 1fr); }

    .demo-q-list { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .phone-frame { width: 220px; }
    .phone-screen { height: 400px; }
    .learn-stats-row { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-bg-arabic { font-size: 80px; }
    .hero-title { font-size: 32px; }
    .supporters-wall { grid-template-columns: 1fr; }
}
