/* ====================================
   RESET AND BASE STYLES
==================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #3D2914;
    background-color: #FDFBF7;
    overflow-x: hidden;
}

/* ====================================
   COLOR VARIABLES
==================================== */

:root {
    /* Primary Brown Palette */
    --primary-dark: #3D2914;      /* Dark chocolate brown */
    --primary-medium: #6B4423;    /* Medium brown */
    --primary-light: #A0673B;     /* Light brown */
    --primary-pale: #D4B896;      /* Pale brown */
    
    /* Warm Accent Colors */
    --accent-warm: #E8D5B7;       /* Warm cream */
    --accent-light: #F5F0E8;      /* Light cream */
    --accent-white: #FDFBF7;      /* Off-white */
    --accent-gold: #D4A574;       /* Warm gold accent */
    
    /* Semantic Colors */
    --text-dark: #3D2914;
    --text-medium: #6B4423;
    --text-light: #8B6F47;
    --background: #FDFBF7;
    --background-alt: #F5F0E8;
    
    /* Interactive Colors */
    --link-color: #A0673B;
    --link-hover: #6B4423;
    --button-primary: #6B4423;
    --button-hover: #3D2914;
    
    /* Shadows and Borders */
    --shadow-light: rgba(61, 41, 20, 0.1);
    --shadow-medium: rgba(61, 41, 20, 0.2);
    --border-color: #E8D5B7;
}

/* ====================================
   TYPOGRAPHY
==================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.large-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-medium);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* ====================================
   LAYOUT UTILITIES
==================================== */

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ====================================
   BUTTONS
==================================== */

.btn-primary,
.btn-secondary,
.btn-tertiary {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--button-primary);
    color: white;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.btn-primary:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-medium);
    border: 2px solid var(--primary-medium);
}

.btn-secondary:hover {
    background: var(--primary-medium);
    color: white;
    transform: translateY(-2px);
}

.btn-tertiary {
    background: var(--accent-warm);
    color: var(--primary-dark);
    border: 1px solid var(--border-color);
}

.btn-tertiary:hover {
    background: var(--primary-pale);
    transform: translateY(-2px);
}

/* ====================================
   NAVIGATION
==================================== */

.navbar {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow-light);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(253, 251, 247, 0.98);
    box-shadow: 0 2px 20px var(--shadow-medium);
}

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

.nav-center {
    display: flex;
    justify-content: center;
    flex: 1;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: var(--primary-medium);
    text-decoration: none;
}

.nav-logo i {
    font-size: 1.25rem;
    color: var(--primary-medium);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-connect-btn {
    background: var(--primary-medium);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.nav-connect-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-medium);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-medium);
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-medium);
    transition: 0.3s;
    border-radius: 2px;
}

/* ====================================
   HERO SECTION
==================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-white) 0%, var(--accent-light) 100%);
    position: relative;
    padding-top: 80px;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Subtle glowing gold effect with seamless shine */
.hero-question .highlight-gold {
    color: #D4A574; /* Warm gold color */
    font-weight: 700;
    position: relative;
    text-shadow: 0 0 8px rgba(212, 165, 116, 0.3), 0 0 12px rgba(212, 165, 116, 0.2);
    animation: subtleGlow 4s ease-in-out infinite alternate;
    /* Removed display: inline-block to keep natural flow */
}

/* Very gentle glow animation */
@keyframes subtleGlow {
    from {
        text-shadow: 0 0 8px rgba(212, 165, 116, 0.3), 0 0 12px rgba(212, 165, 116, 0.2);
    }

    to {
        text-shadow: 0 0 12px rgba(212, 165, 116, 0.4), 0 0 16px rgba(212, 165, 116, 0.25);
    }
}

/* Moving shine effect - seamless with background */
.hero-question .highlight-gold::after {
    content: '';
    position: absolute;
    top: -2px; /* Slightly extend beyond text */
    bottom: -2px; /* Slightly extend beyond text */
    left: -30%;
    width: 30%;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.1) 80%, rgba(255, 255, 255, 0) 100% );
    animation: shineBackAndForth 5s infinite;
    pointer-events: none;
    border-radius: 2px; /* Soft rounded edges */
    mix-blend-mode: overlay; /* Blend with background seamlessly */
}

/* Back and forth shine animation */
@keyframes shineBackAndForth {
    0% {
        left: -30%;
    }

    25% {
        left: 100%;
    }

    50% {
        left: 100%;
    }

    75% {
        left: -30%;
    }

    100% {
        left: -30%;
    }
}

/* For users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-question .highlight-gold {
        animation: subtleGlow 4s ease-in-out infinite alternate;
    }

        .hero-question .highlight-gold::after {
            animation: none;
            display: none;
        }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 5rem; /* This value might be 2rem or 5rem */
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.scroll-indicator {
    position: absolute;
    bottom: 7rem; /* Increased to lift it above the mobile UI */
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ====================================
   GOOD PERSON TEST SECTION
==================================== */

.good-person-section {
    background: linear-gradient(135deg, var(--background) 0%, var(--accent-light) 100%);
}

.good-person-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.commandments-test {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.test-question {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

    .test-question:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px var(--shadow-medium);
    }

.question-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #c74440, #d95f5b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(199, 68, 64, 0.3);
}

    .question-icon i {
        font-size: 1.75rem;
        color: white;
    }

.test-question h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.test-question p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

.verdict-section {
    margin: 4rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.verdict-card {
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

    .verdict-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
    }

.bad-news {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border: 2px solid #ffcccc;
}

    .bad-news::before {
        background: linear-gradient(90deg, #c74440, #d95f5b);
    }

.good-news {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
}

    .good-news::before {
        background: linear-gradient(90deg, #2563eb, #3b82f6);
    }

.verdict-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.bad-news .verdict-icon {
    background: linear-gradient(135deg, #c74440, #d95f5b);
    box-shadow: 0 4px 15px rgba(199, 68, 64, 0.3);
}

.good-news .verdict-icon {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.verdict-icon i {
    font-size: 1.5rem;
    color: white;
}

.verdict-card h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.verdict-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.verdict-warning {
    background: rgba(199, 68, 64, 0.1);
    padding: 1rem 1.5rem;
    border-left: 4px solid #c74440;
    border-radius: 6px;
    font-weight: 500;
    color: #8b3a3a;
}

.gospel-highlight {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e40af;
    background: rgba(37, 99, 235, 0.1);
    padding: 1rem 1.5rem;
    border-left: 4px solid #2563eb;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.response-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

    .response-section h4 {
        color: var(--text-dark);
        margin-bottom: 1rem;
        font-size: 1.25rem;
    }

    .response-section ul {
        list-style: none;
        padding: 0;
        margin-bottom: 1.5rem;
    }

        .response-section ul li {
            padding: 0.75rem 0;
            color: var(--text-medium);
            position: relative;
            padding-left: 2rem;
            line-height: 1.6;
        }

            .response-section ul li::before {
                content: '→';
                position: absolute;
                left: 0;
                color: #2563eb;
                font-weight: bold;
                font-size: 1.25rem;
            }

            .response-section ul li strong {
                color: var(--primary-dark);
                font-weight: 600;
            }

.final-appeal {
    background: linear-gradient(135deg, var(--accent-warm), var(--primary-pale));
    padding: 1.25rem;
    border-radius: 8px;
    font-style: italic;
    font-weight: 500;
    color: var(--primary-dark);
    border: 1px solid var(--border-color);
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}
    
/* New rule to create the shine effect on the Final Appeal card */
    .final-appeal::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        /* Same gradient and animation as the conclusion card */
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
        animation: shine 3s infinite;
        pointer-events: none; /* Ensures the shine doesn't interfere with interaction/selection */
    }

.heaven-question {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

    .heaven-question h2 {
        color: var(--text-dark);
        margin-bottom: 1.5rem;
        font-size: 2rem;
    }

    .heaven-question p {
        font-size: 1.125rem;
        color: var(--text-medium);
        margin-bottom: 2rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .heaven-question .btn-primary {
        font-size: 1.125rem;
        padding: 1.25rem 2.5rem;
    }

/* Responsive Design for Good Person Section */
@media (max-width: 768px) {
    .commandments-test {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .verdict-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .verdict-card {
        padding: 2rem;
    }

    .gospel-highlight {
        font-size: 1.1rem;
    }

    .heaven-question {
        padding: 2rem;
        margin-top: 3rem;
    }

        .heaven-question h2 {
            font-size: 1.5rem;
        }
}

/* ====================================
   EXISTENCE OF GOD SECTION
==================================== */

.existence-visual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 4rem 0;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(61, 41, 20, 0.1);
    border: 1px solid rgba(212, 184, 150, 0.2);
}

/* Architect Quote Box */
.architect-quote-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 5px solid var(--accent-gold);
    border-radius: 12px;
    padding: 3rem;
    margin: 4rem auto;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(61, 41, 20, 0.15);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

    .quote-icon i {
        font-size: 1.25rem;
        color: white;
    }

.architect-quote {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 1.5rem;
}

    .architect-quote:last-child {
        margin-bottom: 0;
    }

/* Arguments Subtitle */
.arguments-subtitle {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin: 4rem 0 2rem 0;
    font-family: 'Crimson Text', serif;
}

/* Enhanced content cards for arguments */
.content-card h4 {
    color: var(--primary-medium);
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.content-card strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .architect-quote-box {
        padding: 2rem;
        margin: 3rem 1rem;
    }

    .architect-quote {
        font-size: 1rem;
    }

    .arguments-subtitle {
        font-size: 1.5rem;
        margin: 3rem 0 1.5rem 0;
    }
}

/* Panel styling */
.visual-panel {
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

    .visual-panel:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

/* Building Panel */
.building-panel {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    border: 1px solid rgba(212, 184, 150, 0.3);
}

    /* Blueprint grid background */
    .building-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(rgba(108, 117, 125, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 117, 125, 0.1) 1px, transparent 1px);
        background-size: 20px 20px;
        z-index: 1;
        border-radius: 13px;
    }

.building-illustration {
    position: relative;
    z-index: 2;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
    /* SVG Image Styling */
    .building-illustration img,
    .nature-scene img {
        transition: transform 0.3s ease, filter 0.3s ease;
    }

        .building-illustration img:hover,
        .nature-scene img:hover {
            transform: scale(1.05);
            filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
        }
/* Nature Panel */
.nature-panel {
    background: linear-gradient(180deg, #1a237e 0%, #283593 20%, #3949ab 40%, #2e7d32 70%, #388e3c 100%);
    color: white;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(46, 125, 50, 0.3);
}

.nature-scene {
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

/* Panel Labels */
.panel-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 3;
}

.nature-panel .panel-label {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.panel-sublabel {
    font-size: 1rem;
    color: var(--text-medium);
    font-style: italic;
    position: relative;
    z-index: 3;
}

.nature-panel .panel-sublabel {
    color: rgba(255, 255, 255, 0.9);
}

/* Center Connector - cleaner design */
.analogy-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(61, 41, 20, 0.1);
    border: 1px solid rgba(212, 184, 150, 0.3);
    min-width: 200px;
}

.analogy-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #f5f0e8, #e8d5b7);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(61, 41, 20, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .analogy-item:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(61, 41, 20, 0.15);
    }

.analogy-arrow {
    font-size: 1.1rem;
    color: var(--primary-medium);
    font-weight: bold;
    animation: arrowPulse 3s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: scale(1);
        color: var(--primary-medium);
    }

    50% {
        transform: scale(1.2);
        color: #D4A574;
        text-shadow: 0 0 8px rgba(212, 165, 116, 0.4);
    }
}

.analogy-highlight {
    color: #D4A574;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(212, 165, 116, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .existence-visual {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .analogy-connector {
        order: 2;
        min-width: unset;
        width: 100%;
    }

    .nature-panel {
        order: 3;
    }

    .visual-panel {
        min-height: 260px;
        padding: 2rem;
    }

    .opera-house {
        width: 160px;
        height: 100px;
    }

    .building-illustration,
    .nature-scene {
        height: 140px;
    }
}

/* Conclusion Statement */
.conclusion-statement {
    margin-top: 4rem;
    text-align: center;
}

.conclusion-card {
    background: var(--primary-dark);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.conclusion-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

.conclusion-card h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.conclusion-card .large-text {
    color: white;
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.conclusion-cta {
    position: relative;
    z-index: 2;
}

.conclusion-cta .btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 1rem 2rem;
}

.conclusion-cta .btn-primary:hover {
    background: #E8C589;
    transform: translateY(-2px);
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ====================================
   CONTENT SECTIONS
==================================== */

.content-section {
    padding: 6rem 0;
    position: relative;
}

.content-section.alt-bg {
    background: var(--background-alt);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.content-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.content-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.content-card ul {
    list-style: none;
    padding: 0;
}

.content-card ul li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 1.5rem;
}

.content-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-medium);
    font-weight: bold;
}

/* ====================================
   COMPARISON SECTION
==================================== */

.comparison-content {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.comparison-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.comparison-item h3 i {
    color: var(--primary-medium);
    margin-right: 0.5rem;
}

.comparison-item p {
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ====================================
   EVIDENCE TIMELINE
==================================== */

.evidence-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.evidence-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-medium), var(--primary-light));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 18px;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-medium);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary-pale);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.evidence-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.evidence-tag {
    background: var(--accent-warm);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ====================================
   CTA SECTION
==================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-dark);
}

.cta-section .btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-dark);
}

.cta-section .btn-tertiary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ====================================
   FOOTER
==================================== */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-pale);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-pale);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-pale);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-pale);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-pale);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 0.75rem 1rem;
    background: var(--primary-pale);
    color: var(--primary-dark);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* ====================================
   RESPONSIVE DESIGN
==================================== */

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }
    
    .nav-center {
        order: 3;
        width: 100%;
        flex: none;
    }
    
    .nav-right {
        order: 2;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(253, 251, 247, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow-light);
        padding: 2rem 0;
        gap: 1rem;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-connect-btn {
        margin-left: 0;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

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

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

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

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

    .timeline-item {
        padding-left: 60px;
    }

    .evidence-timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 8px;
    }

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

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary,
    .cta-buttons .btn-tertiary {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
    
    /* Existence section mobile styles */
    .existence-visual {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .analogy-connector {
        order: 2;
    }
    
    .visual-side.nature {
        order: 3;
    }
    
    .analogy-item {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    .visual-icon {
        font-size: 3rem;
    }
    
    .conclusion-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .conclusion-card .large-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .content-section {
        padding: 4rem 0;
    }

    .content-card {
        padding: 2rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .footer {
        padding: 2rem 0 1rem;
    }
}

/* ====================================
   UTILITY CLASSES
==================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* ====================================
   ANIMATIONS
==================================== */

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

/* ====================================
   ACCESSIBILITY
==================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-medium);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-medium: #333333;
        --background: #ffffff;
        --primary-medium: #4a3728;
        --border-color: #666666;
    }
}

/* ====================================
   RESOURCES SECTION
==================================== */

.resources-section .large-text {
    margin-bottom: 4rem; /* Add more space after the intro text */
}

.resource-grid {
    display: grid;
    /* Creates a responsive grid that shows 1 column on small screens and up to 2 on larger screens */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.resource-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .resource-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px var(--shadow-medium);
    }

    .resource-card .card-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1.5rem;
    }

        .resource-card .card-header i {
            font-size: 1.75rem;
            color: var(--primary-medium);
            width: 40px;
            text-align: center;
        }

        .resource-card .card-header h3 {
            margin-bottom: 0;
            font-size: 1.5rem;
            color: var(--text-dark);
        }

.resource-group {
    margin-bottom: 2rem;
}

    .resource-group:last-child {
        margin-bottom: 0;
    }

    .resource-group h4 {
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--primary-medium);
        margin-bottom: 1rem;
        font-family: 'Inter', sans-serif; /* Use sans-serif for UI-like subheading */
    }

    .resource-group ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .resource-group ul li {
            margin-bottom: 0.75rem;
            position: relative;
            padding-left: 1.5rem;
            color: var(--text-medium);
        }

            /* Add a custom bullet point for a polished look */
            .resource-group ul li::before {
                content: '→';
                position: absolute;
                left: 0;
                top: 0;
                color: var(--primary-light);
                font-weight: bold;
            }

            .resource-group ul li a {
                color: var(--link-color);
                text-decoration: none;
                font-weight: 500;
                transition: all 0.2s ease;
                border-bottom: 1px solid transparent;
            }

                .resource-group ul li a:hover {
                    color: var(--link-hover);
                    border-bottom: 1px solid var(--primary-pale);
                }

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    .resource-grid {
        grid-template-columns: 1fr; /* Stack cards vertically on very small screens */
    }

    .resource-card {
        padding: 2rem;
    }
}