:root {
    --bg-dark: #0d1117;
    --bg-card: #161b22;
    --bg-card-hover: #1f242c;
    --accent-gold: #e5a93b;
    --accent-orange: #d97706;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --border-color: #30363d;
    --gradient-hero: linear-gradient(135deg, rgba(13,17,23,0.85) 0%, rgba(22,27,34,0.92) 100%);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Cinzel', 'Georgia', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation Bar (Pure visual, no external links) */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    user-select: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    fill: var(--accent-gold);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.logo-text span {
    color: var(--accent-gold);
}

.nav-badges {
    display: flex;
    gap: 16px;
    user-select: none;
}

.nav-pill {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-pill:hover {
    background: rgba(229, 169, 59, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: linear-gradient(rgba(13,17,23,0.7), rgba(13,17,23,0.9)), url('../images/hero.jpg') center/cover no-repeat fixed;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    background: rgba(229, 169, 59, 0.1);
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(229, 169, 59, 0.3);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

/* Quick Metrics Bar */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.metric-card {
    background: rgba(22, 27, 34, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-badge {
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 680px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* Content Blocks (Side-by-side with images) */
.story-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 90px;
}

.story-block.reverse {
    direction: rtl;
}

.story-block.reverse .story-text {
    direction: ltr;
}

.story-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    background: var(--bg-card);
}

.story-image-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.story-image-wrap:hover img {
    transform: scale(1.04);
}

.story-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-gold);
    font-weight: 600;
}

.story-text h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.story-text p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Feature Grid Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-gold);
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}

.feature-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(229, 169, 59, 0.12);
    border: 1px solid rgba(229, 169, 59, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.feature-icon-circle svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-gold);
}

.feature-card h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    flex-grow: 1;
}

/* Timeline of Puma Life Cycle */
.lifecycle-timeline {
    position: relative;
    max-width: 860px;
    margin: 40px auto 0;
    padding-left: 36px;
}

.lifecycle-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-gold) 0%, rgba(229,169,59,0.1) 100%);
}

.timeline-step {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 12px rgba(229, 169, 59, 0.5);
}

.timeline-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.timeline-box:hover {
    border-color: var(--accent-gold);
}

.timeline-time {
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-box h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.timeline-box p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* Ecology & Facts Banner */
.facts-banner {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.95), rgba(13, 17, 23, 0.95)), url('../images/habitat.jpg') center/cover;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 60px 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.facts-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229, 169, 59, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.facts-banner h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.facts-banner p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 800px;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Footer (Strictly Informational, Zero Links) */
footer {
    background: #080b0f;
    border-top: 1px solid var(--border-color);
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    user-select: none;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer-compliance {
    margin-top: 16px;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }
    .nav-badges {
        display: none;
    }
    .story-block, .story-block.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .story-image-wrap img {
        height: 280px;
    }
    .hero {
        padding: 100px 16px 40px;
    }
}
