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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #dc3545;
    font-weight: 700;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #dc3545;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #dc3545;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section.dark {
    background: #1a1a1a;
    color: white;
}

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

.section h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #dc3545;
}

.section.dark h2 {
    color: #ff6b6b;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #dc3545;
}

.text-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #495057;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.text-content li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 2rem;
}

.text-content li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 0.8rem;
}

/* Quote Box */
.quote-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #dc3545;
    text-align: center;
}

.reagan-devil {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.reagan-photo {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.reagan-photo:hover {
    transform: scale(1.05);
}

.reagan-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.9) contrast(1.2);
}

/* Devil horns */
.devil-horns {
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 25px;
}

.horn {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid #e74c3c;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.left-horn {
    left: 35%;
    transform: rotate(-20deg);
}

.right-horn {
    right: 35%;
    transform: rotate(20deg);
}

/* Devil eyes */
.devil-eyes {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    height: 15px;
}

.evil-eye {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #e74c3c;
    border-radius: 50%;
    box-shadow: 0 0 10px #e74c3c;
    animation: glow 2s ease-in-out infinite alternate;
}

.left-eye {
    left: 38%;
}

.right-eye {
    right: 38%;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px #e74c3c;
    }
    to {
        box-shadow: 0 0 20px #e74c3c, 0 0 30px #e74c3c;
    }
}

/* Devil tail */
.devil-tail {
    position: absolute;
    bottom: 20px;
    right: -20px;
    width: 40px;
    height: 60px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 50% 50% 0 50%;
    transform: rotate(45deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.devil-tail::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: #e74c3c;
    border-radius: 50%;
    box-shadow: 0 0 8px #e74c3c;
}

.quote-box blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: #333;
}

.quote-box cite {
    display: block;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 1rem;
}

.quote-context {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.stat-comparison {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-old, .stat-new {
    text-align: center;
}

.stat-old .number {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
    display: block;
}

.stat-new .number {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    display: block;
}

.stat-old .label, .stat-new .label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Corporate Reagan Image */
.reagan-corporate {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.reagan-corporate:hover {
    transform: scale(1.02);
}

.corporate-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.corporate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.3), rgba(52, 58, 64, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.corporate-symbol {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Small Stats Grid */
.stats-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card-small {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card-small .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
}

.stat-card-small .stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* AIDS Memorial */
.aids-memorial {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.memorial-text h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.memorial-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.memorial-subtitle {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Debt Chart */
.debt-chart {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.debt-comparison {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.debt-item {
    text-align: center;
}

.debt-year {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.debt-amount {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 0.5rem;
}

.debt-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.debt-arrow {
    font-size: 2rem;
    color: #dc3545;
    font-weight: bold;
}

.debt-increase {
    border-top: 2px solid #dc3545;
    padding-top: 1rem;
}

.increase-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.timeline-item:last-child {
    border-bottom: none;
}

.year {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 1rem;
    min-width: 80px;
    text-align: center;
}

.event {
    font-size: 1rem;
    color: #333;
}

.timeline-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.timeline-item:last-child {
    border-bottom: none;
}

.year {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 1rem;
    min-width: 80px;
    text-align: center;
}

.event {
    font-size: 1rem;
    color: #333;
}

.timeline-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.timeline-item:last-child {
    border-bottom: none;
}

.year {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 1rem;
    min-width: 80px;
    text-align: center;
}

.event {
    font-size: 1rem;
    color: #333;
}

/* Charts */
.chart-container {
    background: white;
    height: 600px;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wealth-chart {
    max-width: 400px;
    max-height: 400px;
}

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

.chart-wrapper {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    height: 300px;
    position: relative;
}

.chart-wrapper canvas {
    max-height: 250px !important;
}

.wealth-chart {
    height: 280px;
}

.wealth-chart canvas {
    max-height: 200px !important;
}

.chart-wrapper h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

/* Data Table */
.data-table {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.data-table h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: black;
}

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.negative {
    color: #dc3545;
    font-weight: 600;
}

/* Call to Action */
.call-to-action {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    text-align: center;
}

.call-to-action h2 {
    color: white;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #ffd700;
    color: #333;
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #dc3545;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

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

.section {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #dc3545;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c82333;
}
