/* RightsBridge - Editorial Brutalist Design System */

:root {
    /* Color Palette - Inspired by Weaverine */
    --bg-gray: #e4e3dc;
    --bg-dark: #1a1a1a;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --accent-orange: #ff6b35;
    --accent-blue: #004e89;
    --accent-teal: #00a8cc;
    --border-color: #1a1a1a;
    
    /* Typography Scale */
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    /* Spacing */
    --space-unit: 8px;
    --space-xs: calc(var(--space-unit) * 1);
    --space-sm: calc(var(--space-unit) * 2);
    --space-md: calc(var(--space-unit) * 3);
    --space-lg: calc(var(--space-unit) * 4);
    --space-xl: calc(var(--space-unit) * 6);
    --space-2xl: calc(var(--space-unit) * 8);
    --space-3xl: calc(var(--space-unit) * 12);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.font-display {
    font-family: var(--font-display);
}

.font-mono {
    font-family: var(--font-mono);
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* Brutalist Borders */
.border-brutal {
    border: 3px solid var(--border-color);
}

.border-brutal-thick {
    border: 5px solid var(--border-color);
}

/* Geometric Shapes */
.shape-circle {
    border-radius: 50%;
}

.shape-pill {
    border-radius: 100px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 3px solid var(--border-color);
    background: var(--bg-gray);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn:hover {
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 var(--border-color);
}

.btn-primary {
    background: var(--text-dark);
    color: var(--bg-gray);
}

.btn-accent {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

/* Cards */
.card {
    background: white;
    border: 3px solid var(--border-color);
    padding: var(--space-lg);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--border-color);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-gray);
    border-bottom: 3px solid var(--border-color);
    z-index: 1000;
    padding: var(--space-md) 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-orange);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.95;
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-family: var(--font-mono);
    margin-bottom: var(--space-xl);
    color: var(--text-light);
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.hero-stat {
    border-left: 5px solid var(--accent-orange);
    padding-left: var(--space-md);
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.hero-stat-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

/* Geometric Background Elements */
.geo-shape {
    position: absolute;
    border: 3px solid var(--border-color);
    opacity: 0.3;
}

.geo-circle {
    border-radius: 50%;
}

/* Section Headers */
.section-header {
    margin-bottom: var(--space-2xl);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-orange);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
}

/* Feature Cards */
.feature-card {
    background: white;
    border: 3px solid var(--border-color);
    padding: var(--space-xl);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translate(-6px, -6px);
    box-shadow: 12px 12px 0 var(--border-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-orange);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.stat-box {
    background: white;
    border: 3px solid var(--border-color);
    padding: var(--space-xl);
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: var(--space-sm);
    color: var(--accent-orange);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

/* Revenue Model */
.revenue-card {
    background: var(--text-dark);
    color: white;
    border: 3px solid var(--border-color);
    padding: var(--space-xl);
}

.revenue-title {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--accent-orange);
}

.revenue-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.revenue-details {
    list-style: none;
}

.revenue-details li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: space-between;
}

.revenue-details li:last-child {
    border-bottom: none;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--space-2xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-2xl);
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--space-2xl) - 10px);
    width: 20px;
    height: 20px;
    background: var(--accent-orange);
    border: 3px solid var(--border-color);
    border-radius: 50%;
}

.timeline-content {
    background: white;
    border: 3px solid var(--border-color);
    padding: var(--space-lg);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--accent-orange);
}

/* CTA Section */
.cta-section {
    background: var(--text-dark);
    color: white;
    border-top: 5px solid var(--border-color);
    border-bottom: 5px solid var(--border-color);
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: var(--space-lg);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-gray);
        border-bottom: 3px solid var(--border-color);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: var(--space-lg);
    }
    
    .timeline-marker {
        left: calc(-1 * var(--space-lg) - 10px);
    }
}

@media (max-width: 480px) {
    :root {
        --space-unit: 6px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .nav,
    .cta-section,
    .footer {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding-top: 0;
    }
    
    .section {
        page-break-inside: avoid;
    }
}