:root {
    --bg-color: #0d0d0d;
    --text-color: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent: #e63946;
    /* Red for urgency */
    --accent-light: #ff6b6b;
    --secondary: #457b9d;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo .highlight {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent);
}

.nav-button {
    padding: 0.6rem 1.8rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    background: var(--glass-bg);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Hero Section */
/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 5% 4rem;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('hero-bg-placeholder.jpg') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-split {
    display: flex;
    align-items: stretch;
    /* Change from center to stretch */
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 1;
    gap: 4rem;
}

.hero-content {
    flex: 1.5;
    text-align: left;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.visual-layout-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
    /* Reduced from 4rem */
    height: 100%;
}

.visual-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
}

.hero-image {
    width: 100%;
    max-width: 750px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: calc(2rem - 10px);
    border: 1px solid var(--glass-border);
}

.hero-image-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 750px;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Thermometer */
.thermometer-container {
    position: relative;
    width: 120px;
    height: 100%;
    /* Take full height of container */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center thermometer within the stretched area */
    flex-grow: 1;
}

.thermometer {
    position: relative;
    width: 60px;
    height: 100%;
    /* Fill container height */
    max-height: 600px;
    /* Prevent it from getting absurdly tall */
    min-height: 400px;
    /* Maintain a reasonable minimum */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thermometer-stem {
    width: 30px;
    flex-grow: 1;
    /* Grow to fill space */
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px 30px 0 0;
    position: relative;
    z-index: 1;
    border-bottom: none;
    display: flex;
    align-items: flex-end;
    /* Fill from bottom */
    justify-content: center;
    padding: 2px;
}

.thermometer-fill {
    width: 100%;
    background: linear-gradient(to top, var(--accent), var(--accent-light));
    border-radius: 20px 20px 0 0;
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--accent);
}

.thermometer-bulb {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px var(--accent);
    margin-top: -10px;
    /* Overlap with stem */
    z-index: 2;
}

.thermometer-labels {
    position: absolute;
    top: 0;
    right: -100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 40px;
    /* Align with top of bulb approx */
    padding-top: 10px;
}

.goal-label {
    background: var(--glass-bg);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
    font-weight: 700;
}

.current-label {
    background: var(--accent);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 700;
}

.visual-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 260px;
    /* Constrains width to match thermometer + labels */
}

.visual-caption {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--accent);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
}

.share-row {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.share-icon-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    padding: 0;
}

.share-icon-small:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
    border-color: white;
}

#share-x:hover {
    background: #000;
    color: white;
    border-color: #333;
}

#share-fb:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

#share-reddit:hover {
    background: #FF4500;
    color: white;
    border-color: #FF4500;
}

#share-wa:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

#copy-btn-inline:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.copy-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #2ecc71;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

.copy-tooltip.show {
    opacity: 1;
}

.thermometer-btn {
    display: block;
    /* Required for width and margin to work correctly on a tag */
    width: 100%;
    margin-top: 1.5rem;
    text-align: center;
    text-decoration: none !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .visual-layout-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hero-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        align-items: center;
    }

    .thermometer-container {
        margin-top: 3rem;
        height: auto;
        min-height: 400px;
    }
}

.hero-stats {
    /* Removed, but keeping definition empty just in case JS tries to find something, though we removed refs */
    display: none;
}

/* Sections */
.scroll-section {
    padding: 8rem 5%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}



/* Cards (Reality & Misconceptions) */
.lifecycle_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.stage-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0;
    /* Remove padding to let image fill top */
    border-radius: 12px;
    transition: var(--transition);
    overflow: hidden;
    /* For image rounded corners */
    display: flex;
    flex-direction: column;
    text-align: left;
    /* Better for text below image */
}

.stage-card h3,
.stage-card p {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.stage-card h3 {
    margin-top: 1rem;
}

.stage-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 250px;
    /* Taller card image */
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

.card-video {
    width: 100%;
    height: 250px;
    border-bottom: 1px solid var(--glass-border);
}


.video-thumbnail-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.video-thumbnail-link:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.2);
    color: var(--accent);
}





/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in_delayed {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
    /* 0.2s delay */
}

.fade-in_delayed.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    nav ul {
        display: none;
    }
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: calc(2rem - 25px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.875rem;
    /* Shrunk from 2.5rem */
    color: var(--text-muted);
    text-decoration: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    /* Shrunk from 60px */
    height: 45px;
    /* Shrunk from 60px */
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    animation: arrow-pulse 2s infinite ease-in-out;
    transition: var(--transition);
}

.scroll-arrow:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes arrow-pulse {
    0% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }

    50% {
        transform: translateX(-50%) scale(1.15);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }

    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }

}
/* --- Mobile Fix for Thermometer Ball --- */
@media screen and (max-width: 768px) {
    .thermometer-container {
        display: flex !important;
        height: 350px !important; /* Forces enough space for the ball to move up */
        visibility: visible !important;
        position: relative !important;
    }

    .thermometer-fill {
        display: block !important;
        width: 100% !important;
        /* Ensures the height change from JavaScript is honored */
        min-height: 1px; 
        transition: height 1s ease-out !important;
    }
}
