/* ============================================
   Carpenter Bible Commentary — Website Styles
   Color Palette: Brown & Sage Green
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Browns */
    --brown-900: #3E2723;
    --brown-800: #4E342E;
    --brown-700: #5C4033;
    --brown-600: #6D4C41;
    --brown-500: #795548;
    --brown-400: #8D6E63;
    --brown-300: #A1887F;
    --brown-200: #BCAAA4;
    --brown-100: #D7CCC8;
    --brown-50:  #EFEBE9;

    /* Sage Greens */
    --sage-900: #3D4F2F;
    --sage-800: #4A6038;
    --sage-700: #5A7247;
    --sage-600: #6B8455;
    --sage-500: #7D9668;
    --sage-400: #8FA87B;
    --sage-300: #A8C686;
    --sage-200: #C5D9A8;
    --sage-100: #DCE8C8;
    --sage-50:  #F0F5E8;

    /* Neutrals */
    --cream:    #FAF8F5;
    --cream-dark: #F2EDE7;
    --text:     #2C2420;
    --text-secondary: #5C5450;
    --text-light: #8A8280;

    /* Functional */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(62, 39, 35, 0.08);
    --shadow-md: 0 4px 12px rgba(62, 39, 35, 0.1);
    --shadow-lg: 0 8px 30px rgba(62, 39, 35, 0.12);
    --shadow-xl: 0 20px 60px rgba(62, 39, 35, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

em {
    font-style: italic;
    color: var(--sage-600);
}

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

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

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


/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brown-700);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--brown-700);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sage-500);
    transition: width var(--transition);
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--brown-700) !important;
    color: white !important;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-weight: 500 !important;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--brown-800) !important;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--brown-700);
    border-radius: 2px;
    transition: var(--transition);
}


/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brown-700);
    color: white;
    box-shadow: 0 4px 14px rgba(92, 64, 51, 0.3);
}

.btn-primary:hover {
    background: var(--brown-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 64, 51, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--brown-700);
    border: 2px solid var(--brown-200);
}

.btn-secondary:hover {
    border-color: var(--brown-700);
    background: var(--brown-50);
    transform: translateY(-2px);
}


/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 60px;
    overflow: hidden;
    background: linear-gradient(180deg,
        #6d7f5e 0%,
        #7f9170 15%,
        #92a585 35%,
        #a8b89c 50%,
        #c2ceb8 65%,
        #dce4d4 80%,
        var(--cream) 100%
    );
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(120, 145, 100, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 15%, rgba(100, 130, 80, 0.25) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 70%, rgba(92, 64, 51, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

/* ===========================================
   Heavenly Light Rays — Jaw-Dropping Edition
   Sweeping beams, bloom glows, floating dust motes
   =========================================== */

.light-rays {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* --- BASE RAY STYLE --- */
.ray {
    position: absolute;
    top: -30%;
    height: 160%;
    transform-origin: 50% 0%;
    will-change: transform, opacity;
}

/* --- INDIVIDUAL RAYS with sweep + bloom + fade animations --- */

/* Ray 1 — Hero beam, center-left, wide & bright */
.ray-1 {
    left: 12%;
    width: 200px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 230, 0.0) 0%,
        rgba(255, 255, 220, 0.6) 8%,
        rgba(255, 250, 205, 0.4) 25%,
        rgba(255, 248, 200, 0.15) 55%,
        rgba(255, 245, 195, 0.03) 80%,
        transparent 100%
    );
    filter: blur(6px);
    animation: sweep-1 18s ease-in-out infinite, bloom-1 8s ease-in-out infinite;
}

/* Ray 2 — Right side, medium width */
.ray-2 {
    left: 58%;
    width: 140px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 235, 0.0) 0%,
        rgba(255, 255, 225, 0.5) 10%,
        rgba(255, 252, 215, 0.3) 30%,
        rgba(255, 248, 200, 0.1) 60%,
        transparent 100%
    );
    filter: blur(8px);
    animation: sweep-2 22s ease-in-out infinite, bloom-2 10s ease-in-out infinite;
    animation-delay: -4s, -2s;
}

/* Ray 3 — Far left accent, thin & sharp */
.ray-3 {
    left: -2%;
    width: 80px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 240, 0.0) 0%,
        rgba(255, 255, 230, 0.55) 6%,
        rgba(255, 250, 210, 0.3) 25%,
        rgba(255, 245, 190, 0.08) 55%,
        transparent 100%
    );
    filter: blur(4px);
    animation: sweep-3 25s ease-in-out infinite, bloom-3 12s ease-in-out infinite;
    animation-delay: -8s, -6s;
}

/* Ray 4 — Wide atmospheric wash, center */
.ray-4 {
    left: 28%;
    width: 280px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 230, 0.0) 0%,
        rgba(255, 252, 220, 0.35) 10%,
        rgba(255, 248, 205, 0.18) 35%,
        rgba(255, 245, 195, 0.05) 65%,
        transparent 100%
    );
    filter: blur(22px);
    animation: sweep-4 28s ease-in-out infinite, bloom-4 14s ease-in-out infinite;
    animation-delay: -3s, -7s;
}

/* Ray 5 — Bright narrow beam, right-center */
.ray-5 {
    left: 72%;
    width: 100px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 235, 0.0) 0%,
        rgba(255, 255, 225, 0.6) 7%,
        rgba(255, 250, 210, 0.35) 22%,
        rgba(255, 245, 195, 0.1) 50%,
        transparent 100%
    );
    filter: blur(5px);
    animation: sweep-5 20s ease-in-out infinite, bloom-5 9s ease-in-out infinite;
    animation-delay: -12s, -4s;
}

/* Ray 6 — Far right, wide & soft */
.ray-6 {
    left: 85%;
    width: 220px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 230, 0.0) 0%,
        rgba(255, 252, 220, 0.3) 12%,
        rgba(255, 248, 205, 0.15) 35%,
        rgba(255, 245, 195, 0.04) 60%,
        transparent 100%
    );
    filter: blur(28px);
    animation: sweep-6 32s ease-in-out infinite, bloom-6 16s ease-in-out infinite;
    animation-delay: -15s, -9s;
}

/* Ray 7 — Thin beam, left-center gap filler */
.ray-7 {
    left: 42%;
    width: 65px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 240, 0.0) 0%,
        rgba(255, 255, 230, 0.5) 8%,
        rgba(255, 250, 215, 0.25) 28%,
        rgba(255, 245, 200, 0.06) 55%,
        transparent 100%
    );
    filter: blur(4px);
    animation: sweep-7 15s ease-in-out infinite, bloom-7 11s ease-in-out infinite;
    animation-delay: -6s, -3s;
}

/* --- SWEEP KEYFRAMES: rays slowly sway left/right from their origin point --- */

@keyframes sweep-1 {
    0%, 100% { transform: rotate(6deg)  scaleX(1); }
    30%      { transform: rotate(12deg) scaleX(1.15); }
    60%      { transform: rotate(2deg)  scaleX(0.9); }
    80%      { transform: rotate(9deg)  scaleX(1.05); }
}

@keyframes sweep-2 {
    0%, 100% { transform: rotate(-4deg)  scaleX(1); }
    25%      { transform: rotate(-10deg) scaleX(0.85); }
    55%      { transform: rotate(2deg)   scaleX(1.2); }
    75%      { transform: rotate(-7deg)  scaleX(1); }
}

@keyframes sweep-3 {
    0%, 100% { transform: rotate(16deg) scaleX(1); }
    35%      { transform: rotate(8deg)  scaleX(1.3); }
    65%      { transform: rotate(20deg) scaleX(0.8); }
    85%      { transform: rotate(12deg) scaleX(1.1); }
}

@keyframes sweep-4 {
    0%, 100% { transform: rotate(2deg)  scaleX(1); }
    40%      { transform: rotate(-3deg) scaleX(1.1); }
    70%      { transform: rotate(5deg)  scaleX(0.95); }
}

@keyframes sweep-5 {
    0%, 100% { transform: rotate(-8deg)  scaleX(1); }
    20%      { transform: rotate(-3deg)  scaleX(1.2); }
    50%      { transform: rotate(-14deg) scaleX(0.85); }
    80%      { transform: rotate(-6deg)  scaleX(1.1); }
}

@keyframes sweep-6 {
    0%, 100% { transform: rotate(-12deg) scaleX(1); }
    30%      { transform: rotate(-18deg) scaleX(1.15); }
    60%      { transform: rotate(-8deg)  scaleX(0.9); }
}

@keyframes sweep-7 {
    0%, 100% { transform: rotate(5deg)  scaleX(1); }
    25%      { transform: rotate(10deg) scaleX(1.25); }
    55%      { transform: rotate(0deg)  scaleX(0.85); }
    80%      { transform: rotate(8deg)  scaleX(1.1); }
}

/* --- BLOOM KEYFRAMES: dramatic opacity breathing --- */

@keyframes bloom-1 {
    0%, 100% { opacity: 0.75; }
    30%      { opacity: 0.4; }
    60%      { opacity: 0.85; }
    80%      { opacity: 0.55; }
}

@keyframes bloom-2 {
    0%, 100% { opacity: 0.55; }
    40%      { opacity: 0.25; }
    70%      { opacity: 0.7; }
}

@keyframes bloom-3 {
    0%, 100% { opacity: 0.4; }
    25%      { opacity: 0.65; }
    50%      { opacity: 0.15; }
    75%      { opacity: 0.5; }
}

@keyframes bloom-4 {
    0%, 100% { opacity: 0.35; }
    35%      { opacity: 0.12; }
    65%      { opacity: 0.45; }
    85%      { opacity: 0.2; }
}

@keyframes bloom-5 {
    0%, 100% { opacity: 0.6; }
    30%      { opacity: 0.3; }
    55%      { opacity: 0.75; }
    80%      { opacity: 0.45; }
}

@keyframes bloom-6 {
    0%, 100% { opacity: 0.25; }
    50%      { opacity: 0.1; }
    80%      { opacity: 0.35; }
}

@keyframes bloom-7 {
    0%, 100% { opacity: 0.45; }
    20%      { opacity: 0.7; }
    50%      { opacity: 0.2; }
    75%      { opacity: 0.55; }
}

/* --- GROUND BLOOM: warm glow pools where rays hit --- */

.ray-bloom {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

.bloom-1 {
    bottom: 8%;
    left: 10%;
    width: 450px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(255, 248, 200, 0.25) 0%, rgba(255, 245, 190, 0.08) 40%, transparent 70%);
    filter: blur(40px);
    animation: ground-bloom-1 18s ease-in-out infinite;
}

.bloom-2 {
    bottom: 5%;
    left: 45%;
    width: 350px;
    height: 160px;
    background: radial-gradient(ellipse, rgba(255, 250, 210, 0.2) 0%, rgba(255, 245, 195, 0.06) 45%, transparent 70%);
    filter: blur(35px);
    animation: ground-bloom-2 22s ease-in-out infinite;
    animation-delay: -8s;
}

.bloom-3 {
    bottom: 10%;
    left: 70%;
    width: 380px;
    height: 180px;
    background: radial-gradient(ellipse, rgba(255, 252, 220, 0.18) 0%, rgba(255, 248, 200, 0.05) 40%, transparent 70%);
    filter: blur(45px);
    animation: ground-bloom-3 26s ease-in-out infinite;
    animation-delay: -14s;
}

@keyframes ground-bloom-1 {
    0%, 100% { opacity: 0.7; transform: scale(1) translateX(0); }
    30%      { opacity: 0.35; transform: scale(1.15) translateX(30px); }
    60%      { opacity: 0.8; transform: scale(0.9) translateX(-20px); }
}

@keyframes ground-bloom-2 {
    0%, 100% { opacity: 0.5; transform: scale(1) translateX(0); }
    40%      { opacity: 0.2; transform: scale(1.2) translateX(-25px); }
    75%      { opacity: 0.6; transform: scale(0.95) translateX(15px); }
}

@keyframes ground-bloom-3 {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    35%      { opacity: 0.65; transform: scale(1.1); }
    65%      { opacity: 0.2; transform: scale(0.85); }
}

/* --- FLOATING DUST MOTES: tiny particles drifting in the light --- */

.dust-field {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.dust {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 230, 0.9);
    will-change: transform, opacity;
}

.dust-1 {
    width: 4px; height: 4px;
    top: 20%; left: 15%;
    animation: float-1 12s ease-in-out infinite, twinkle 4s ease-in-out infinite;
}
.dust-2 {
    width: 3px; height: 3px;
    top: 35%; left: 45%;
    animation: float-2 16s ease-in-out infinite, twinkle 5s ease-in-out infinite;
    animation-delay: -3s, -1s;
}
.dust-3 {
    width: 5px; height: 5px;
    top: 15%; left: 60%;
    animation: float-3 14s ease-in-out infinite, twinkle 3.5s ease-in-out infinite;
    animation-delay: -7s, -2s;
}
.dust-4 {
    width: 3px; height: 3px;
    top: 50%; left: 25%;
    animation: float-4 18s ease-in-out infinite, twinkle 6s ease-in-out infinite;
    animation-delay: -5s, -3s;
}
.dust-5 {
    width: 4px; height: 4px;
    top: 40%; left: 75%;
    animation: float-5 13s ease-in-out infinite, twinkle 4.5s ease-in-out infinite;
    animation-delay: -9s, -1.5s;
}
.dust-6 {
    width: 2px; height: 2px;
    top: 25%; left: 35%;
    animation: float-6 20s ease-in-out infinite, twinkle 5.5s ease-in-out infinite;
    animation-delay: -11s, -2.5s;
}
.dust-7 {
    width: 5px; height: 5px;
    top: 60%; left: 55%;
    animation: float-1 15s ease-in-out infinite, twinkle 3s ease-in-out infinite;
    animation-delay: -4s, -1s;
}
.dust-8 {
    width: 3px; height: 3px;
    top: 10%; left: 80%;
    animation: float-3 17s ease-in-out infinite, twinkle 6.5s ease-in-out infinite;
    animation-delay: -13s, -4s;
}
.dust-9 {
    width: 4px; height: 4px;
    top: 45%; left: 10%;
    animation: float-5 11s ease-in-out infinite, twinkle 4s ease-in-out infinite;
    animation-delay: -2s, -2s;
}
.dust-10 {
    width: 2px; height: 2px;
    top: 55%; left: 68%;
    animation: float-2 19s ease-in-out infinite, twinkle 5s ease-in-out infinite;
    animation-delay: -8s, -3s;
}
.dust-11 {
    width: 3px; height: 3px;
    top: 30%; left: 90%;
    animation: float-4 14s ease-in-out infinite, twinkle 3.5s ease-in-out infinite;
    animation-delay: -6s, -1s;
}
.dust-12 {
    width: 4px; height: 4px;
    top: 65%; left: 40%;
    animation: float-6 16s ease-in-out infinite, twinkle 4.5s ease-in-out infinite;
    animation-delay: -10s, -2s;
}

/* Dust float paths — gentle wandering arcs */
@keyframes float-1 {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(40px, -60px); }
    50%      { transform: translate(-20px, -120px); }
    75%      { transform: translate(30px, -70px); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0); }
    30%      { transform: translate(-50px, -45px); }
    60%      { transform: translate(25px, -100px); }
    80%      { transform: translate(-15px, -55px); }
}

@keyframes float-3 {
    0%, 100% { transform: translate(0, 0); }
    20%      { transform: translate(30px, -80px); }
    50%      { transform: translate(-40px, -40px); }
    75%      { transform: translate(20px, -110px); }
}

@keyframes float-4 {
    0%, 100% { transform: translate(0, 0); }
    35%      { transform: translate(-35px, -70px); }
    65%      { transform: translate(45px, -30px); }
    85%      { transform: translate(-10px, -90px); }
}

@keyframes float-5 {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(25px, -50px); }
    50%      { transform: translate(-30px, -95px); }
    75%      { transform: translate(15px, -60px); }
}

@keyframes float-6 {
    0%, 100% { transform: translate(0, 0); }
    30%      { transform: translate(-20px, -85px); }
    55%      { transform: translate(35px, -45px); }
    80%      { transform: translate(-25px, -105px); }
}

/* Dust twinkle — appears and disappears */
@keyframes twinkle {
    0%, 100% { opacity: 0; }
    15%      { opacity: 0.9; }
    50%      { opacity: 0.3; }
    75%      { opacity: 0.8; }
    90%      { opacity: 0.1; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .ray, .ray-bloom, .dust {
        animation: none !important;
    }
    .ray-1 { opacity: 0.7; transform: rotate(8deg); }
    .ray-2 { opacity: 0.5; transform: rotate(-5deg); }
    .ray-3 { opacity: 0.4; transform: rotate(14deg); }
    .ray-4 { opacity: 0.3; transform: rotate(3deg); }
    .ray-5 { opacity: 0.55; transform: rotate(-8deg); }
    .ray-6 { opacity: 0.2; transform: rotate(-12deg); }
    .ray-7 { opacity: 0.4; transform: rotate(5deg); }
    .dust { opacity: 0.5; }
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-content h1 {
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 2px 20px rgba(60, 50, 30, 0.2);
}

.hero-content h1 em {
    color: var(--cream-dark);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.7;
    text-shadow: 0 1px 8px rgba(60, 50, 30, 0.15);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-actions .btn-primary {
    background: white;
    color: var(--brown-800);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-actions .btn-primary:hover {
    background: var(--cream);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.hero-actions .btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

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

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 280px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.1) inset;
    position: relative;
}

.phone-frame-small {
    width: 240px;
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.phone-screen {
    background: var(--cream);
    border-radius: 26px;
    overflow: hidden;
}

.screen-img {
    width: 100%;
    height: auto;
    display: block;
}

.phone-frame-small .phone-screen {
}

.screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px 12px;
    background: var(--brown-700);
    color: white;
}

.screen-back {
    font-size: 1.2rem;
    cursor: default;
}

.screen-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.screen-icon {
    color: var(--sage-300);
    font-size: 1.1rem;
}

.screen-verse {
    padding: 16px;
    border-bottom: 1px solid var(--brown-100);
}

.verse-number {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sage-600);
    margin-bottom: 4px;
}

.verse-text {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: var(--brown-800);
    line-height: 1.6;
    font-style: italic;
}

.screen-commentary {
    padding: 16px;
}

.commentary-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage-700);
    margin-bottom: 8px;
}

.commentary-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.screen-list {
    padding: 8px 0;
}

.list-item {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background var(--transition);
}

.list-item.active {
    background: var(--sage-50);
    color: var(--sage-800);
    font-weight: 600;
}

.list-abbr {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brown-500);
    background: var(--brown-50);
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 36px;
    text-align: center;
}

.list-item.active .list-abbr {
    background: var(--sage-200);
    color: var(--sage-900);
}

.screen-notes {
    padding: 12px;
}

.note-item {
    padding: 12px;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border-left: 3px solid var(--sage-400);
}

.note-ref {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sage-700);
    display: block;
    margin-bottom: 4px;
}

.note-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hero-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    animation: bounce 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}


/* --- Section Shared Styles --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: var(--sage-100);
    color: var(--sage-800);
    padding: 5px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.7;
}


/* --- Features Section --- */
.features {
    padding: 100px 0;
    background: white;
}

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

.feature-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--cream);
    border: 1px solid var(--brown-100);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sage-200);
}

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

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    color: var(--brown-700);
    margin-bottom: 10px;
}

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


/* --- About Section --- */
.about {
    padding: 100px 0;
    background: var(--cream);
}

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

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

.about-image-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background: linear-gradient(145deg, var(--sage-50), var(--brown-50));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--brown-100);
}

.about-cross {
    margin-bottom: 40px;
}

.about-cross svg {
    width: 140px;
    height: auto;
}

.about-quote {
    text-align: center;
    padding: 0 32px;
}

.about-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--brown-700);
    margin-bottom: 12px;
}

.about-quote cite {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content h2 {
    margin-bottom: 24px;
    color: var(--brown-800);
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-icon {
    width: 28px;
    height: 28px;
    background: var(--sage-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sage-700);
}

.value-icon svg {
    width: 14px;
    height: 14px;
}

.value span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brown-700);
}


/* --- Preview Section --- */
.preview {
    padding: 100px 0;
    background: linear-gradient(180deg, white 0%, var(--sage-50) 100%);
}

.preview-phones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    perspective: 1000px;
}

.preview-phone {
    transition: transform var(--transition);
}

.preview-phone-left {
    transform: rotateY(8deg) scale(0.9);
    opacity: 0.85;
}

.preview-phone-right {
    transform: rotateY(-8deg) scale(0.9);
    opacity: 0.85;
}

.preview-phone-center {
    transform: scale(1.05);
    z-index: 2;
}

.preview-phone:hover {
    transform: scale(1.02);
    opacity: 1;
}

.preview-phone-center:hover {
    transform: scale(1.08);
}


/* --- Testimonials Section --- */
.testimonials {
    padding: 100px 0;
    background: var(--brown-800);
    color: white;
}

.testimonials .section-tag {
    background: rgba(168, 198, 134, 0.2);
    color: var(--sage-300);
}

.testimonials h2 {
    color: white;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--sage-300);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--sage-700);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.author-detail {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}


/* --- Download / CTA Section --- */
.download {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(145deg, var(--sage-50) 0%, var(--cream) 50%, var(--brown-50) 100%);
    text-align: center;
    overflow: hidden;
}

.download-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 30% 50%, rgba(168, 198, 134, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(92, 64, 51, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

.download h2 {
    color: var(--brown-800);
    margin-bottom: 16px;
}

.download p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--brown-800);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.store-badge:hover {
    background: var(--brown-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.store-badge-sub {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    text-align: left;
}

.store-badge-main {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
}


/* --- Support Page --- */
.support-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.support-header {
    text-align: center;
    margin-bottom: 60px;
}

.support-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--brown-800);
    margin: 16px 0;
}

.support-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.support-section {
    max-width: 720px;
    margin: 0 auto 48px;
}

.support-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--brown-800);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sage-200);
}

.support-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--brown-700);
    margin: 24px 0 12px;
}

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

.support-section ul {
    list-style: none;
    padding: 0;
}

.support-section ul li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.support-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--sage-400);
    border-radius: 50%;
}

.premium-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--sage-100);
    color: var(--sage-800);
    padding: 4px 10px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 8px;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: white;
    border: 1px solid var(--brown-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 18px 20px;
    font-weight: 500;
    color: var(--brown-800);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--sage-600);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item p {
    padding: 0 20px 18px;
    margin: 0;
}

/* Contact Cards */
.support-contact p {
    margin-bottom: 20px;
}

.contact-methods {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: white;
    border: 1px solid var(--brown-100);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    flex: 1;
}

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

.contact-card svg {
    color: var(--sage-600);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-weight: 500;
    color: var(--brown-700);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .support-header h1 {
        font-size: 2rem;
    }

    .contact-methods {
        flex-direction: column;
    }
}


/* --- Footer --- */
.footer {
    background: var(--brown-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer .nav-logo {
    color: white;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--sage-300);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}


/* --- Animations (scroll reveal) --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        order: -1;
    }

    .about-image-frame {
        max-width: 300px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .preview-phone-left,
    .preview-phone-right {
        display: none;
    }

    .preview-phone-center {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--brown-100);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .phone-frame {
        width: 260px;
    }

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

    .about-values {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        text-align: center;
    }

    .footer .nav-logo {
        justify-content: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
