:root {
    --primary: #2F5F57;
    --primary-dark: #244E48;
    --primary-light: #A9D6C9;
    --accent: #D8922C;
    --accent-dark: #B8741F;
    --bg-off-white: #F6F1E8;
    --surface-white: #FFFFFF;
    --text-neutral: #1E2B29;
    --text-muted: #5C6B68;
    --border-subtle: #E6DED2;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-neutral);
    background: var(--bg-off-white);
    line-height: 1.6;
}

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

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
}

/* Navbar */
.navbar {
    background: var(--surface-white);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.back-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-dark);
}

/* Hero */
.hero {
    background: var(--surface-white);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-container {
    max-width: 1040px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Button */
.button {
    display: inline-block;
    background: var(--accent);
    color: var(--surface-white);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Counter Section */
.counter-section {
    background: var(--primary);
    padding: 5rem 2rem;
    color: var(--surface-white);
}

.counter-container {
    max-width: 1040px;
    margin: 0 auto;
}

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

.counter-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.counter-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.counter-value {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--surface-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Info Section */
.info-section {
    background: var(--surface-white);
    padding: 5rem 2rem;
}

.info-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.info-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 2rem;
    text-align: center;
}

.footer a {
    color: var(--primary-light);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Loading state */
.loading {
    opacity: 0.6;
}

.error {
    color: #D86C2C;
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .counter-section {
        padding: 3rem 1.5rem;
    }

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

    .info-section {
        padding: 3rem 1.5rem;
    }
}
