/* --------------------------
   Local Playfair Display
--------------------------- */

@font-face {
    font-family: "PlayfairDisplay";
    src: url("PlayfairDisplay-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PlayfairDisplay";
    src: url("PlayfairDisplay-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "PlayfairDisplay";
    src: url("PlayfairDisplay-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #050816;
    --bg-soft: #070c1f;
    --card: #0c1226;
    --accent: #f59e0b;
    --accent-soft: rgba(245, 158, 11, 0.1);
    --accent-strong: #fbbf24;
    --border-subtle: rgba(148, 163, 184, 0.4);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --danger: #f97373;
    --radius-xl: 1.5rem;
    --radius-lg: 1rem;
    --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.75);
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
}

body {
    --sb-track-color: #121d2e;
    --sb-thumb-color: #f7a30f;
    --sb-size: 6px;
}

body::-webkit-scrollbar {
    width: var(--sb-size);
}

body::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 3px;
}

@supports not selector(::-webkit-scrollbar) {
    body {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}

body {
    margin: 0;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    background: radial-gradient(
        circle at 50% 20%,
        #182235 0%,
        #0b1324 55%,
        #030712 100%
    );
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* SIMPLER BACKGROUND FOR MOBILE TO IMPROVE FCP/LCP */
@media (max-width: 600px) {
    body {
        background: #0b1324;
    }
}

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

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    position: relative;
    z-index: 1;
}

.shell {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem 1.1rem 3rem;
}

/* GLOBAL PARTICLE BACKDROP */

#global-particles {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -9999 !important;
    pointer-events: none;
}

/* GLOBAL CSS GLOW */

.global-glow {
    display: none !important;
}

/* Header & Nav */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.92),
        rgba(15, 23, 42, 0.7),
        transparent
    );
    border-bottom: 1px solid rgba(51, 65, 85, 0.6);
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.85rem 1.1rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* CLEAN LOGO WRAPPER (no badge) */
.logo-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-title {
    font-family: "PlayfairDisplay", serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 1.05rem;
}

.brand-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.nav-links {
    display: none;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.nav-links a {
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    transition:
        color 0.15s ease,
        background 0.15s ease;
}

.nav-links a:hover {
    background: rgba(15, 23, 42, 0.8);
    color: var(--accent-strong);
}

@media (min-width: 840px) {
    .nav {
        padding-inline: 1.25rem;
    }
    .nav-links {
        display: flex;
    }
}

main {
    flex: 1;
}

/* Hero */

.hero {
    position: relative;
    padding-top: 3.75rem;
    padding-bottom: 3.5rem;
    overflow: visible !important;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr);
    gap: 3rem;
    align-items: center;
}

@media (min-width: 880px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.15rem 0.65rem 0.15rem 0.25rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-strong);
}

.eyebrow-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: radial-gradient(
        circle at 50% 20%,
        #182235 0%,
        #0b1324 55%,
        #030712 100%
    );
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.7);
}

.hero-title {
    margin: 1.2rem 0 0.4rem;
    font-family: "PlayfairDisplay", serif;
    font-weight: 700;
    font-size: clamp(2.25rem, 3vw + 1.5rem, 3.4rem);
    letter-spacing: 0.02em;
    line-height: 1.08;
}

.hero-title span {
    background: radial-gradient(
            circle at 0px 0px,
            rgb(250, 204, 21),
            rgb(249, 115, 22) 40%,
            rgb(249, 115, 115) 105%
        )
        text;
    color: transparent;
}

.hero-sub {
    margin-top: 0.75rem;
    max-width: 34rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.hero-sub strong {
    color: #e5e7eb;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.9rem;
    align-items: center;
}

.btn {
    border-radius: 999px;
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.12s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316, #facc15);
    color: #0b1120;
    box-shadow: 0 18px 35px rgba(248, 250, 252, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 45px rgba(248, 250, 252, 0.35);
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-muted);
    border-color: rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
    background: radial-gradient(
        circle at 50% 20%,
        #182235 0%,
        #0b1324 55%,
        #030712 100%
    );
}

.hero-footnote {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 29rem;
}

/* Hero side card */

.hero-card {
    position: relative;
    border-radius: var(--radius-xl);
    background: radial-gradient(
        circle at 50% 20%,
        #182235 0%,
        #0b1324 55%,
        #030712 100%
    );
    padding: 1.4rem 1.45rem 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 20%,
        #182235 0%,
        #0b1324 55%,
        #030712 100%
    );
    opacity: 0.65;
    pointer-events: none;
}

.hero-card-inner {
    position: relative;
    z-index: 1;
}

.card-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.card-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}

.pill {
    font-size: 0.78rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.75);
    color: var(--text-muted);
}

.pill-accent {
    border-color: rgba(245, 158, 11, 0.8);
    color: var(--accent-strong);
    background: radial-gradient(
        circle at 50% 20%,
        #182235 0%,
        #0b1324 55%,
        #030712 100%
    );
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

@media (min-width: 520px) {
    .card-grid {
        grid-template-columns: 1.1fr 1.1fr;
    }
}

.mini-card {
    border-radius: var(--radius-lg);
    padding: 0.8rem 0.85rem;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(51, 65, 85, 0.8);
}

.mini-card h3 {
    margin: 0 0 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.mini-card p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.verses-list {
    margin: 0.6rem 0 0;
    padding-left: 0.95rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.verses-list li + li {
    margin-top: 0.2rem;
}

.tagline {
    margin-top: 0.6rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Sections layout */

section {
    margin-top: 1.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(30, 64, 175, 0.65);
}

section:first-of-type {
    border-top-color: transparent;
}

.section-heading {
    font-family: "PlayfairDisplay", serif;
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
}

.section-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.section-intro {
    font-size: 0.93rem;
    color: var(--text-muted);
    max-width: 44rem;
    line-height: 1.7;
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr);
    gap: 1.6rem;
    margin-top: 1.3rem;
}

@media (min-width: 880px) {
    .two-col {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    }
}

/* Cards */

.card {
    border-radius: var(--radius-xl);
    background: #0f1a32;
    border: 1px solid var(--border-subtle);
    padding: 1.15rem 1.15rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0.2rem 0;
}

.card ul {
    margin: 0.45rem 0 0.1rem;
    padding-left: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.card ul li + li {
    margin-top: 0.25rem;
}

/* Callouts */

.callout {
    margin-top: 1.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(59, 130, 246, 0.7);
    background: radial-gradient(
        circle at 50% 20%,
        #182235 0%,
        #0b1324 55%,
        #030712 100%
    );
    padding: 0.9rem 1rem;
    font-size: 0.86rem;
    color: #dbeafe;
}

.callout strong {
    color: #eff6ff;
}

.callout-danger {
    border-color: rgba(248, 113, 113, 0.75);
    background: radial-gradient(
        circle at 50% 20%,
        #182235 0%,
        #0b1324 55%,
        #030712 100%
    );
    color: #fee2e2;
}

.callout-extra-margin {
    margin-top: 1.3rem;
}

/* Q&A */

.qa-list {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.85rem;
}

.qa {
    padding: 0.85rem 0.95rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.94);
}

.qa h3 {
    margin: 0 0 0.45rem;
    font-size: 0.92rem;
}

.qa p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Paired response/question lists */

.paired-list {
    margin-top: 0.55rem;
    padding-left: 0;
    list-style: none;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.paired-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.paired-list li + li {
    margin-top: 0.5rem;
}

.pair-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    border-width: 1px;
    border-style: solid;
    background: rgba(15, 23, 42, 0.95);
}

.pair-content {
    flex: 1;
}

/* Color mappings for pairs (Option 1 palette) */
.pair-1 {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.7);
}

.pair-2 {
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.7);
}

.pair-3 {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.75);
}

.bullet-questions {
    margin-top: 0.55rem;
}

/* Resources */

.resource-list {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.resource-item {
    padding: 0.7rem 0.8rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(51, 65, 85, 0.9);
    background: rgba(15, 23, 42, 0.96);
}

.resource-item span {
    display: block;
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.resource-item small {
    display: block;
    color: var(--text-muted);
}

/* Badges */

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(107, 114, 128, 0.9);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.4rem;
}

.dot {
    width: 0.32rem;
    height: 0.32rem;
    border-radius: 999px;
    background: var(--accent);
}

#contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Footer */

footer {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding: 1.4rem 1.1rem 2.2rem;
    margin-top: 2.4rem;
    background: radial-gradient(
        circle at 50% 20%,
        #182235 0%,
        #0b1324 55%,
        #030712 100%
    );
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-byline a {
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: rgba(148, 163, 184, 0.8);
}

.footer-byline a:hover {
    color: var(--accent-strong);
    text-decoration-color: var(--accent-strong);
}

.footer-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.6);
}

.footer-links a:hover {
    color: var(--accent-strong);
    border-color: var(--accent-strong);
}

@media (min-width: 720px) {
    footer {
        padding-inline: 1.5rem;
    }
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Scroll animations */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

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

/* Global */

html {
    scroll-behavior: smooth;
}
