/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest-primary: #1a4a3a;
    --forest-secondary: #2d5a47;
    --forest-light: #e8f5e8;
    --forest-accent: #4a7c59;
    --sage-green: #87a96b;
    --earth-brown: #8b7355;
    --cream-white: #faf9f7;
    --stone-gray: #6b7280;
    --charcoal: #374151;
    --success-green: #059669;
    --warning-amber: #d97706;
    --danger-red: #dc2626;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--forest-primary);
}

h1 { font-size: 2.5rem; font-weight: 600; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 500; }

p {
    margin-bottom: 1rem;
    color: var(--stone-gray);
}

a {
    color: var(--forest-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--forest-primary);
}

/* Header & Navigation */
.header {
    background: var(--cream-white);
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.nav-brand h1 {
    font-size: 1.5rem;
    color: var(--forest-primary);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--stone-gray);
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--forest-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--forest-accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--forest-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--forest-light) 0%, var(--cream-white) 100%);
    padding: 5rem 0;
    text-align: center;
}

.performance-highlight {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.performance-metric {
    text-align: center;
}

.performance-metric .metric-number {
    display: block;
    font-size: 3rem;
    font-weight: 600;
    color: #4ade80;
    font-family: 'Crimson Text', serif;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.performance-metric .metric-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--forest-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--stone-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--forest-primary);
    font-family: 'Crimson Text', serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--stone-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--forest-primary);
}

/* Philosophy Section */
.philosophy {
    background: var(--cream-white);
}

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

.philosophy-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--forest-accent);
}

.philosophy-item h3 {
    color: var(--forest-primary);
    margin-bottom: 1rem;
}

/* Research Section */
.latest-research {
    background: white;
}

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

.research-card {
    background: var(--cream-white);
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid var(--forest-accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.research-card.featured {
    border-left-color: var(--success-green);
    background: var(--forest-light);
}

.research-date {
    font-size: 0.875rem;
    color: var(--sage-green);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.research-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.research-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.research-type {
    font-size: 0.75rem;
    color: var(--stone-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.research-rating {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.research-rating.bullish {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success-green);
}

.research-rating.neutral {
    background: rgba(217, 119, 6, 0.1);
    color: var(--warning-amber);
}

.research-rating.bearish {
    background: rgba(220, 38, 38, 0.1);
    color: var(--danger-red);
}

.research-link {
    font-weight: 500;
    color: var(--forest-accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.research-link:hover {
    border-bottom-color: var(--forest-accent);
}

.research-cta {
    text-align: center;
}

/* Pitches Section */
.recent-pitches {
    background: var(--forest-light);
}

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

.pitch-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pitch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.pitch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pitch-header h3 {
    margin: 0;
    color: var(--forest-primary);
}

.pitch-date {
    font-size: 0.875rem;
    color: var(--sage-green);
    font-weight: 500;
}

.pitch-thesis {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--stone-gray);
}

.pitch-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.metric {
    text-align: center;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--stone-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest-primary);
    font-family: 'Crimson Text', serif;
}

.pitches-cta {
    text-align: center;
}

/* Newsletter Section */
.newsletter {
    background: var(--forest-primary);
    color: white;
    text-align: center;
}

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

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--forest-primary);
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: var(--forest-accent);
    border: 1px solid var(--forest-accent);
}

.btn-secondary:hover {
    background: var(--forest-accent);
    color: white;
}

/* Footer */
.footer {
    background: var(--charcoal);
    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 h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.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.7);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--cream-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .research-grid,
    .pitches-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .pitch-metrics {
        justify-content: space-around;
    }
}
