/* Base & Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section {
    padding: 5rem 0;
}
.section--light { background: #111118; }
.section-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}
.section-subtitle {
    text-align: center;
    color: #9ca3af;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a1a2e;
    z-index: 1000;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}
.logo-accent { color: #ff0000; }
.nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #0a0a0f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.4s ease;
    z-index: 999;
}
.nav.active { left: 0; }
.nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: #e0e0e0;
}
.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.nav-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #e0e0e0;
    transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: #ff0000; }
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 24px;
}
.nav-toggle span {
    display: block;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, #ff000022 0%, transparent 50%),
                radial-gradient(circle at 80% 30%, #ff000022 0%, transparent 50%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}
.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.hero-logo {
    width: 110px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}
.hero-accent { color: #ff0000; }
.hero-subtitle {
    font-size: 1.25rem;
    color: #ff0000;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.hero-text {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 2rem;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-btns.justify-center { justify-content: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary {
    background: #ff0000;
    color: #0a0a0f;
}
.btn-primary:hover {
    background: transparent;
    color: #ff0000;
    border-color: #ff0000;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: #ff0000;
    border-color: #ff0000;
}
.btn-outline:hover {
    background: #ff0000;
    color: #0a0a0f;
    transform: translateY(-2px);
}
.btn-block { width: 100%; }
.loading-dots { display: none; }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.stat-card {
    background: #111118;
    border: 1px solid #1a1a2e;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}
.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff0000;
}
.stat-label { color: #9ca3af; font-size: 0.9rem; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.feature-card {
    background: #0a0a0f;
    border: 1px solid #1a1a2e;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}
.feature-text { color: #9ca3af; font-size: 0.9rem; }

/* Activity */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.activity-card {
    background: #111118;
    border: 1px solid #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
}
.activity-img {
    height: 180px;
    background: #1a1a2e;
}
.activity-content { padding: 1.5rem; }
.activity-date { color: #ff0000; font-size: 0.8rem; margin-top: 0.5rem; }

/* Page Hero */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    margin-top: 70px;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    border-bottom: 1px solid #1a1a2e;
}
.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.page-subtitle { color: #9ca3af; font-size: 1.1rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.about-text h2 {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    margin-bottom: 1rem;
}
.about-text p { margin-bottom: 1rem; color: #9ca3af; }
.about-image {
    background: #1a1a2e;
    border-radius: 8px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-logo {
    width: 220px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

/* Foreign CTA */
.foreign-cta {
    text-align: center;
    margin-top: 2.5rem;
}
.foreign-cta .join-text { margin-bottom: 1.5rem; }

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.team-card {
    background: #111118;
    border: 1px solid #1a1a2e;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}
.team-avatar {
    width: 80px;
    height: 80px;
    background: #1a1a2e;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.team-role { color: #ff0000; margin-bottom: 0.5rem; }

/* Convoy List */
.convoy-list { display: flex; flex-direction: column; gap: 1.5rem; }
.convoy-card {
    background: #111118;
    border: 1px solid #1a1a2e;
    border-radius: 8px;
    padding: 2rem;
}
.convoy-date { color: #ff0000; font-weight: 600; margin-bottom: 0.5rem; }
.convoy-card h3 { color: #ffffff; margin-bottom: 0.5rem; }
.convoy-route { color: #ff0000; font-weight: 500; margin-bottom: 0.5rem; }
.convoy-time { color: #9ca3af; }

/* Join CTA */
.join-cta { text-align: center; }
.join-text { font-size: 1.2rem; margin-bottom: 2rem; }

/* Form */
.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}
.success-icon {
    font-size: 4rem;
    color: #ff0000;
    margin-bottom: 1rem;
}
.invite-form {
    display: grid;
    gap: 1.5rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
    font-weight: 500;
    color: #e0e0e0;
}
.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem 1rem;
    background: #0a0a0f;
    border: 1px solid #1a1a2e;
    border-radius: 4px;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff0000;
}
.form-group textarea { resize: vertical; }
.form-note {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
}

/* Footer */
.footer {
    background: #050508;
    border-top: 1px solid #1a1a2e;
    padding: 3rem 0 1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-brand .logo { font-size: 1.3rem; }
.footer-text { color: #9ca3af; margin: 1rem 0; }
.social-links { display: flex; gap: 1rem; }
.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #111118;
    border: 1px solid #1a1a2e;
    border-radius: 4px;
    color: #e0e0e0;
    font-size: 0.9rem;
}
.social-link:hover { color: #ff0000; border-color: #ff0000; }
.footer-col h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: #9ca3af; transition: color 0.2s; }
.footer-links a:hover { color: #ff0000; }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a2e;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #1a1a2e;
    border-top-color: #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .hero-content { max-width: 100%; }
}

/* Events & Calendar */
.calendar-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.event-card {
    display: flex;
    gap: 1.5rem;
    background: #111118;
    border: 1px solid #1a1a2e;
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.3s, transform 0.3s;
}
.event-card:hover {
    border-color: #ff0000;
    transform: translateY(-3px);
}
.event-date {
    text-align: center;
    min-width: 70px;
    background: #0a0a0f;
    border: 1px solid #1a1a2e;
    border-radius: 8px;
    padding: 0.5rem;
    height: fit-content;
}
.event-day {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff0000;
}
.event-month {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
}
.event-year {
    color: #9ca3af;
    font-size: 0.8rem;
}
.event-body {
    flex: 1;
}
.event-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.event-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.event-tag {
    background: #0a0a0f;
    border: 1px solid #1a1a2e;
    color: #ff0000;
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
}
.event-when {
    color: #e0e0e0;
    margin-bottom: 0.25rem;
}
.event-where {
    color: #9ca3af;
    margin-bottom: 0.25rem;
}
.event-count {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.event-body .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}
.events-empty {
    text-align: center;
    color: #9ca3af;
    padding: 2rem;
}
@media (max-width: 480px) {
    .event-card {
        flex-direction: column;
    }
}

