/* ==========================================
   FivePrayer — Premium Website Design
   Clean, modern, teal-accented light theme
   ========================================== */

:root {
    --teal: #2A9D8F;
    --teal-dark: #238077;
    --teal-light: #3BB5A6;
    --teal-50: #E8F6F4;
    --teal-100: #C5EBE6;
    --teal-glow: rgba(42, 157, 143, 0.12);
    --teal-glow-strong: rgba(42, 157, 143, 0.2);

    --bg: #FAFBFC;
    --bg-white: #FFFFFF;
    --bg-alt: #F3F5F7;
    --bg-dark: #0F1B19;

    --text-primary: #1A1E23;
    --text-secondary: #5A6370;
    --text-muted: #8B95A2;
    --text-white: #FFFFFF;

    --border: #E5E8EB;
    --border-hover: #D0D5DB;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-teal: 0 8px 32px rgba(42, 157, 143, 0.25);

    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ==========================================
   Navigation
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
    background: transparent;
}

.nav.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.nav-cta {
    padding: 9px 22px !important;
    background: var(--teal) !important;
    color: var(--text-white) !important;
    border-radius: var(--radius-full);
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: all 0.3s var(--ease-out) !important;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background: var(--teal-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-teal);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 28px;
}

.mobile-menu-inner a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.mobile-menu-inner a:hover {
    color: var(--teal);
}

.mobile-menu-cta {
    padding: 14px 36px;
    background: var(--teal);
    color: var(--text-white) !important;
    border-radius: var(--radius-full);
    font-size: 1.1rem !important;
}

/* ==========================================
   Hero
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
    background: var(--bg-white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, var(--teal-50) 0%, transparent 70%);
    opacity: 0.8;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 1px 1px, var(--teal) 1px, transparent 0);
    background-size: 32px 32px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s var(--ease-out) both;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.hero-title-accent {
    color: var(--teal);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 460px;
    margin-bottom: 32px;
    font-weight: 400;
    animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--teal);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    color: var(--teal);
    border-color: var(--teal);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    animation: fadeInUp 0.6s var(--ease-out) 0.4s both;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Phone Mockup */
.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.phone-frame {
    width: 300px;
    background: var(--bg-white);
    border-radius: 36px;
    border: 6px solid #1A1E23;
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.05);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1A1E23;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.phone-screen {
    background: linear-gradient(180deg, #E8F6F4 0%, #F8FAFB 30%);
    padding: 40px 16px 20px;
    min-height: 520px;
}

.phone-app {
    font-family: var(--font-body);
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 0 4px;
}

.phone-logo-small svg {
    width: 24px;
    height: 24px;
}

.phone-brand {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    flex: 1;
}

.phone-streak {
    background: #FF6B35;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 3px;
}

.phone-streak::before {
    content: "\01F525";
    font-size: 0.65rem;
}

.phone-prayer-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.phone-prayer-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}

.phone-prayer-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.phone-prayer-time {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.phone-prayer-streak-text {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.phone-pray-btn {
    width: 100%;
    padding: 10px;
    background: var(--teal);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: default;
}

.phone-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.phone-action {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.phone-action span {
    font-size: 0.6rem;
    color: var(--text-muted);
    display: block;
}

.phone-action strong {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.phone-schedule {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.phone-schedule-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.phone-schedule-item:last-child { border-bottom: none; }

.phone-schedule-item.active {
    background: var(--teal-50);
    color: var(--teal-dark);
    font-weight: 600;
}

.phone-schedule-item.done {
    color: var(--text-muted);
}

.prayer-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.prayer-dot.done {
    background: var(--teal);
    border-color: var(--teal);
}

.prayer-dot.active {
    border-color: var(--teal);
    background: transparent;
    box-shadow: 0 0 0 3px var(--teal-glow);
}

.prayer-time {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.phone-schedule-item.active .prayer-time {
    color: var(--teal);
}

/* ==========================================
   Social Proof Bar
   ========================================== */
.social-proof {
    padding: 24px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.social-proof-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.social-proof-item svg {
    color: var(--teal);
    flex-shrink: 0;
}

.social-proof-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
}

/* ==========================================
   Sections
   ========================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 56px;
}

.section-header-center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
    padding: 4px 12px;
    background: var(--teal-50);
    border-radius: var(--radius-full);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
    margin-top: 16px;
    font-weight: 400;
}

.section-header-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* Problem Section */
.section-problem {
    background: var(--bg-white);
}

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

.problem-card {
    padding: 36px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
}

.problem-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal);
    margin-bottom: 20px;
}

.problem-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.problem-card p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Features Section */
.section-features {
    background: var(--bg-alt);
}

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

.feature-card {
    padding: 32px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.feature-card:hover {
    border-color: var(--teal-100);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card-hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px 40px;
    background: linear-gradient(135deg, var(--teal-50), #F0FAF8);
    border-color: var(--teal-100);
    align-items: center;
}

.feature-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--teal-glow-strong);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--teal-dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.feature-card-hero h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-card-hero p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.feature-card-visual {
    display: flex;
    justify-content: center;
}

.lock-animation {
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    width: 260px;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.lock-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--teal-glow-strong), transparent 60%);
    animation: lockGlow 3s ease-in-out infinite;
}

@keyframes lockGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.lock-icon {
    position: relative;
    margin-bottom: 16px;
    color: var(--teal-light);
}

.lock-text {
    position: relative;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.lock-subtitle {
    position: relative;
    font-size: 0.8rem;
    opacity: 0.6;
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal);
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works */
.section-how {
    background: var(--bg-white);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 0 24px;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 56px;
    flex-shrink: 0;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border: 2px solid var(--teal-100);
    border-radius: 50%;
    color: var(--teal);
    margin: 0 auto 20px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Verse Section */
.section-verse {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teal-50), #F0FAF8);
}

.verse-block {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 32px;
}

.verse-decoration {
    color: var(--teal);
    margin-bottom: 20px;
}

.verse-text {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.verse-cite {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    color: var(--teal);
}

/* Testimonials */
.section-testimonials {
    background: var(--bg-alt);
}

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

.testimonial-card {
    padding: 32px 28px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: #F5A623;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--teal-50);
    color: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ Section */
.section-faq {
    background: var(--bg-white);
}

.faq-grid {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s var(--ease-out);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item[open] {
    border-color: var(--teal-100);
    background: var(--teal-50);
}

.faq-item summary {
    padding: 18px 24px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    transition: color 0.2s;
    user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--teal);
    transition: transform 0.3s var(--ease-out);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 18px;
}

.faq-answer p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Download Section */
.section-download {
    padding: 60px 0 100px;
    background: var(--bg);
}

.download-block {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(42, 157, 143, 0.2), transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(42, 157, 143, 0.15), transparent 50%);
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--text-white);
    margin-bottom: 16px;
}

.download-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 28px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-white);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}

.store-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.store-btn span {
    text-align: left;
    line-height: 1.3;
    font-size: 1rem;
    font-weight: 600;
}

.store-btn small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.7;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

.footer-logo .nav-logo-icon {
    width: 30px;
    height: 30px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--teal);
    color: var(--text-white);
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--teal-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.footer-bismi {
    font-size: 1.1rem !important;
    color: var(--teal) !important;
    opacity: 0.5;
}

/* ==========================================
   Legal Pages
   ========================================== */
.legal-page {
    padding: 140px 0 100px;
    min-height: 100vh;
    background: var(--bg-white);
}

.legal-page .container {
    max-width: 800px;
}

.legal-header {
    margin-bottom: 48px;
}

.legal-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.legal-header .accent-dot {
    color: var(--teal);
}

.legal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--teal-dark);
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-content ul {
    margin: 14px 0;
    padding-left: 24px;
}

.legal-content ul li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: var(--teal-dark);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 48px;
}

.contact-card {
    padding: 36px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out);
}

.contact-card:hover {
    border-color: var(--teal-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal);
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-card a {
    color: var(--teal);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--teal-dark);
    text-decoration: underline;
}

.contact-info-box {
    margin-top: 64px;
    padding: 48px 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.contact-info-box h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-info-box p {
    color: var(--text-secondary);
    line-height: 2;
    font-size: 0.95rem;
}

.contact-info-box a {
    color: var(--teal);
    font-weight: 500;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero-content { max-width: 100%; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-phone { order: -1; }
    .phone-frame { width: 260px; }
    .phone-screen { min-height: 460px; padding-top: 36px; }
    .phone-prayer-time { font-size: 1.8rem; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card-hero { grid-column: 1 / -1; }

    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid .testimonial-card:last-child { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; }

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

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu { display: block; }

    .section { padding: 72px 0; }
    .section-header { margin-bottom: 40px; }

    .hero { padding: 100px 0 48px; min-height: auto; }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }

    .problem-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card-hero {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
    .lock-animation { width: 100%; max-width: 240px; margin: 0 auto; }

    .steps-grid { flex-direction: column; gap: 32px; }
    .step-connector { transform: rotate(90deg); padding-top: 0; }

    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child { max-width: 100%; }

    .download-block { padding: 48px 24px; border-radius: var(--radius-lg); }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-box { padding: 32px 24px; }

    .social-proof-inner { gap: 16px; }
    .social-proof-divider { display: none; }
    .social-proof-item { font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
    .hero-stat-divider { width: 48px; height: 1px; }
    .hero-actions { flex-direction: column; }
    .btn { justify-content: center; width: 100%; }
    .download-buttons { flex-direction: column; align-items: center; }
    .store-btn { width: 100%; max-width: 280px; justify-content: center; }
    .phone-frame { width: 240px; }
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: all 0.7s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out);
}

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.56s; }
