/* BUREAUCRAP Styles - Making Everything Unnecessarily Complex */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e74c3c;
    --warning-color: #f39c12;
    --text-color: #2c3e50;
    --bg-color: #ecf0f1;
    --paper-color: #ffffff;
    --stamp-color: #e74c3c;
    --font-family: 'Courier Prime', monospace;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 35px,
            rgba(44, 62, 80, 0.1) 35px,
            rgba(44, 62, 80, 0.1) 36px
        );
}

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

/* Loading Screen */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    padding: 40px;
    background: var(--paper-color);
    border: 3px solid var(--primary-color);
    border-radius: 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    min-width: 400px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-color);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 3s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: var(--bg-color);
    border: 2px solid var(--primary-color);
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent-color);
    width: 0%;
    animation: fillProgress 8s ease-in-out infinite;
}

@keyframes fillProgress {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.loading-text, .loading-status {
    margin: 10px 0;
    font-style: italic;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    color: var(--warning-color);
    text-decoration: underline;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--paper-color) 0%, var(--bg-color) 100%);
    padding: 100px 0;
    position: relative;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    align-items: flex-start;
}

.hero-content {
    flex: 2;
    padding: 0 20px;
    position: relative;
}

.stamp-overlay {
    position: absolute;
    top: -20px;
    right: 20px;
    background-color: var(--stamp-color);
    color: white;
    padding: 10px 20px;
    transform: rotate(15deg);
    font-weight: bold;
    font-size: 1.2rem;
    border: 3px solid var(--stamp-color);
    z-index: 10;
    letter-spacing: 3px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: center;
}

.bureaucrap-title {
    display: block;
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    display: block;
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: normal;
    margin-top: 10px;
    letter-spacing: 4px;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
    font-style: italic;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-description {
    background: var(--paper-color);
    padding: 30px;
    border: 2px solid var(--primary-color);
    margin: 30px 0;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.hero-description p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.small-print {
    font-size: 0.8rem !important;
    color: var(--secondary-color);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: 3px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
}

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

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
}

.disclaimer {
    text-align: center;
    color: var(--secondary-color);
    font-style: italic;
}

/* Hero Sidebar */
.hero-sidebar {
    flex: 1;
    padding: 0 20px;
}

.info-box, .notice-board {
    background: var(--paper-color);
    border: 2px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
}

.info-box h3, .notice-board h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px dotted var(--secondary-color);
}

.status-value {
    font-weight: bold;
    color: var(--accent-color);
}

.notice-board ul {
    list-style: none;
}

.notice-board li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.notice-board li:before {
    content: "📌";
    position: absolute;
    left: 0;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--paper-color);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 60px;
    font-style: italic;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-color);
    padding: 30px;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Quote Section */
.quote-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.quote-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.quote-box blockquote {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.quote-details p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--warning-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-disclaimer {
    color: var(--secondary-color);
    font-style: italic;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--warning-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--warning-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--warning-color);
}

.footer-bottom {
    border-top: 1px solid var(--secondary-color);
    padding-top: 20px;
    text-align: center;
    color: var(--bg-color);
}

.version {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--warning-color);
}

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

.counter {
    animation: countUp 2s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .bureaucrap-title {
        letter-spacing: 4px;
    }
    
    .subtitle {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .quote-box blockquote {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content, .hero-sidebar {
        padding: 0 15px;
    }
    
    .stamp-overlay {
        right: 10px;
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-description {
        padding: 20px;
    }
}

/* Print Styles (Because Bureaucracy Loves Paper) */
@media print {
    .loading-overlay,
    .navbar,
    .hero-buttons,
    .cta-section,
    .footer {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        page-break-after: always;
    }
    
    .feature-card {
        page-break-inside: avoid;
    }
}
