/* Visual Hive Responsibility Site - Main Styles */

:root {
    --primary-purple: #9859A4;
    --accent-green: #B6D433;
    --deep-blue: #0A6288;
    --light-gray: #f8f9fa;
    --dark-gray: #333;
    --text-gray: #555;
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-purple), var(--deep-blue));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.nav {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid rgba(152, 89, 164, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--deep-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-links a:hover {
    background: rgba(184, 212, 51, 0.1);
    border-color: var(--accent-green);
    color: var(--deep-blue);
    transform: translateY(-1px);
}

/* Main Content */
.main {
    padding: 40px 0;
    background: white;
}

.section {
    margin-bottom: 60px;
    padding: 40px 0;
    background: white;
}

.section h2 {
    color: var(--primary-purple);
    font-size: 2rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-green);
    padding-left: 20px;
}

.section h3 {
    color: var(--deep-blue);
    font-size: 1.3rem;
    margin: 30px 0 15px 0;
}

/* TL;DR Box */
.tldr {
    background: rgba(184, 212, 51, 0.08);
    border: 2px solid var(--accent-green);
    color: var(--text-gray);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(184, 212, 51, 0.1);
}

.tldr h3 {
    color: var(--deep-blue);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.tldr ul {
    list-style: none;
    padding-left: 0;
}

.tldr li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.tldr li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--accent-green);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid rgba(152, 89, 164, 0.15);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(152, 89, 164, 0.12);
    transform: translateY(-2px);
}

.card h4 {
    color: var(--deep-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Highlight Boxes */
.highlight {
    background: rgba(10, 98, 136, 0.05);
    border-left: 4px solid var(--deep-blue);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(10, 98, 136, 0.05);
}

.highlight.green {
    background: rgba(184, 212, 51, 0.05);
    border-left-color: var(--accent-green);
    box-shadow: 0 2px 8px rgba(184, 212, 51, 0.05);
}

.highlight.purple {
    background: rgba(152, 89, 164, 0.05);
    border-left-color: var(--primary-purple);
    box-shadow: 0 2px 8px rgba(152, 89, 164, 0.05);
}

/* Progress Indicator */
.usage-split {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 20px;
}

.usage-bar {
    flex: 1;
    height: 50px;
    border-radius: 25px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.groq-portion {
    width: 75%;
    background: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.anthropic-portion {
    width: 25%;
    background: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Expandable Content */
.expandable {
    margin: 20px 0;
}

.expand-trigger {
    background: white;
    border: 2px solid var(--deep-blue);
    color: var(--deep-blue);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(10, 98, 136, 0.1);
}

.expand-trigger:hover {
    background: var(--deep-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(10, 98, 136, 0.2);
    transform: translateY(-1px);
}

.expand-content {
    display: none;
    margin-top: 20px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(152, 89, 164, 0.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.expand-content.open {
    display: block;
}

.expand-content h4 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    margin-top: 20px;
}

.expand-content h4:first-child {
    margin-top: 0;
}

.expand-content a {
    color: var(--deep-blue);
    text-decoration: none;
}

.expand-content a:hover {
    color: var(--primary-purple);
    text-decoration: underline;
}

/* Lists */
.section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.section li {
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    opacity: 0.8;
}