/* home.css - the front page: colourful hero with a phone preview, feature cards,
   steps, the Meet people spotlight, a faith row and a closing call to action. */

/* Hero */
.home-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(160deg, #0a1d4f 0%, #071338 55%, #050b22 100%); }
.home-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; animation: home-float 14s ease-in-out infinite alternate; }
.home-blob-a { width: 460px; height: 460px; left: -120px; top: -140px; background: #2563eb; }
.home-blob-b { width: 380px; height: 380px; right: -80px; top: 40px; background: #ec4899; animation-delay: -5s; }
.home-blob-c { width: 340px; height: 340px; left: 40%; bottom: -200px; background: #f2b01e; opacity: .35; animation-delay: -9s; }
@keyframes home-float { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .home-blob { animation: none; } }

.home-hero-inner { display: grid; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
@media (min-width: 960px) { .home-hero-inner { grid-template-columns: 1.15fr .85fr; padding-top: 80px; padding-bottom: 96px; } }
.home-hero h1 { color: #fff; font-family: var(--display); font-size: clamp(2.1rem, 5.8vw, 3.9rem); line-height: 1.05; letter-spacing: -.035em; margin: 14px 0 16px; }
.home-gradient { background: linear-gradient(100deg, #ffd873 0%, #f472b6 50%, #7dd3fc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-lead { font-size: 1.15rem; line-height: 1.6; color: rgba(229, 236, 255, .88); max-width: 52ch; margin: 0 0 26px; }
.home-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #ffe7a3; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.home-pill-light { color: #fff; background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .3); }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-btn-lg { padding: 15px 26px; font-size: 1.02rem; border-radius: 16px; }
.home-btn-glass { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.home-btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.home-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 24px 0 0; font-size: .9rem; color: rgba(229, 236, 255, .85); }
.home-stats { display: flex; gap: 12px; margin-top: 26px; }
.home-stats div { padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.home-stats strong { display: block; font-family: var(--display); font-size: 1.5rem; }
.home-stats span { font-size: .8rem; color: rgba(229, 236, 255, .75); }

/* Phone preview (illustration) */
.home-phone { justify-self: center; width: min(320px, 86vw); padding: 12px; border-radius: 44px; background: linear-gradient(160deg, #1f2b52, #0b1330); box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: rotate(-3deg); }
.home-phone-screen { border-radius: 34px; padding: 16px 14px 20px; background: #f5f6fa; color: #0e1526; display: grid; gap: 12px; }
.home-phone-bar { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.05rem; }
.home-phone-icons { margin-left: auto; font-size: .95rem; }
.home-dot { width: 22px; height: 22px; border-radius: 7px; background: var(--grad-brand); }
.home-mock-card { border-radius: 18px; min-height: 150px; display: grid; place-items: center; text-align: center; padding: 18px; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.3; }
.home-mock-text { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.home-mock-row { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.home-mock-row b { display: block; font-size: .88rem; }
.home-mock-row small { color: #6b7489; font-size: .78rem; }
.home-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; }
.home-avatar.a1 { background: linear-gradient(135deg, #1e4fd8, #22d3ee); }
.home-avatar.a2 { background: linear-gradient(135deg, #f43f5e, #f472b6); }
.home-avatar.a3 { background: linear-gradient(135deg, #15803d, #a3e635); }

/* Section heads */
.home-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.home-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); letter-spacing: -.02em; margin: 4px 0 8px; }

/* Feature cards: each with its own colour */
.home-features { padding-top: 64px; }
.home-feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .home-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .home-feature-grid { grid-template-columns: repeat(4, 1fr); } }
.home-feature { --c1: #2563eb; --c2: #22d3ee; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; color: var(--text); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.home-feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.home-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); text-decoration: none; }
.home-feature h3 { margin: 6px 0 0; font-size: 1.12rem; }
.home-feature p { margin: 0; color: var(--text-2); font-size: .93rem; line-height: 1.5; flex: 1; }
.home-feature-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 22px color-mix(in srgb, var(--c1) 35%, transparent); }
.home-go { font-weight: 700; font-size: .9rem; color: var(--c1); }
.f-share { --c1: #f97316; --c2: #facc15; }
.f-chat { --c1: #2563eb; --c2: #22d3ee; }
.f-love { --c1: #e11d48; --c2: #f472b6; }
.f-connect { --c1: #7c3aed; --c2: #a78bfa; }
.f-shop { --c1: #059669; --c2: #34d399; }
.f-earn { --c1: #d97706; --c2: #fbbf24; }
.f-fun { --c1: #db2777; --c2: #8b5cf6; }
.f-media { --c1: #0891b2; --c2: #6366f1; }

/* Steps */
.home-step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .home-step-list { grid-template-columns: repeat(3, 1fr); } }
.home-step-list li { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.home-step-list li > span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--grad-brand); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.15rem; box-shadow: var(--shadow-brand); }
.home-step-list h3 { margin: 14px 0 6px; }
.home-step-list p { margin: 0; color: var(--text-2); }

/* Meet people spotlight */
.home-spotlight { position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center; padding: 36px 28px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #be185d 0%, #7c3aed 55%, #4338ca 100%); box-shadow: 0 30px 60px rgba(124, 58, 237, .3); }
@media (min-width: 860px) { .home-spotlight { grid-template-columns: 1.4fr .6fr; padding: 48px; } }
.home-spotlight h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 14px 0 10px; }
.home-spotlight p { color: rgba(255, 255, 255, .9); font-size: 1.05rem; max-width: 56ch; }
.home-spotlight ul { margin: 0 0 22px; padding-left: 20px; color: rgba(255, 255, 255, .92); line-height: 1.8; }
.home-spotlight-art { display: flex; justify-content: center; gap: 14px; font-size: 3rem; }
.home-spotlight-art span { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 28px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.home-spotlight-art span:nth-child(2) { transform: translateY(-18px); }

/* Faith row */
.home-faith-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .home-faith-grid { grid-template-columns: .9fr 1.1fr; } }
.home-verse { background: linear-gradient(160deg, #0b2a6b, #06122f); color: #fff; }
.home-faith h2 { margin: 4px 0 16px; }

/* Closing call to action */
.home-final { text-align: center; padding: 48px 24px; border-radius: 28px; color: #fff; background: radial-gradient(600px 300px at 15% 0%, rgba(236, 72, 153, .45), transparent 60%), radial-gradient(600px 300px at 90% 100%, rgba(242, 176, 30, .4), transparent 60%), linear-gradient(135deg, #1747b5, #0b2a6b); }
.home-final h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 8px; }
.home-final p { color: rgba(255, 255, 255, .88); margin: 0 0 22px; }

/* Real app screenshots in the hero */
.home-shots { position: relative; justify-self: center; width: min(420px, 92vw); aspect-ratio: 1 / 1.15; }
.home-shot { position: absolute; width: 56%; height: auto; border-radius: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 6px #0b1330, 0 0 0 7px rgba(255, 255, 255, .14); background: #0b1330; }
.home-shot-front { left: 22%; top: 0; z-index: 3; }
.home-shot-back { left: -2%; top: 9%; z-index: 1; transform: rotate(-6deg); opacity: .92; }
.home-shot-side { right: -2%; top: 12%; z-index: 2; transform: rotate(6deg); opacity: .95; }
@media (max-width: 480px) { .home-shot { border-radius: 20px; } }
.home-hero .store-badges { margin: 4px 0 18px; }
