:root {
    --bg-color: #050505;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff00ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, .nav-logo {
    font-family: 'Outfit', sans-serif;
}

.title-accent {
    font-size: 0.4em;
    color: var(--neon-cyan);
    letter-spacing: 0.2em;
    vertical-align: super;
    opacity: 0.8;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 10s infinite alternate ease-in-out;
}

.glow-cyan {
    background: var(--neon-cyan);
    top: -200px;
    left: -200px;
}

.glow-magenta {
    background: var(--neon-magenta);
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    border-radius: 50px;
    padding: 15px 30px;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--text-main), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Main Content Layout */
main {
    padding-top: 100px;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Hero Section */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 500px;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0, 243, 255, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.image-reflection {
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(0, 243, 255, 0.3) 0%, rgba(0,0,0,0) 70%);
    margin-top: -10px;
    filter: blur(10px);
}

.hero-text {
    flex: 1;
    padding: 50px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--neon-magenta);
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--neon-cyan), #0077ff);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--neon-magenta);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    transform: translateY(-2px);
}

/* History Grid */
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.history-card {
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.history-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
}

.history-card h3 {
    color: var(--neon-cyan);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.history-card p {
    color: var(--text-muted);
}

/* Maintenance Accordion */
.accordion-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

.accordion-item {
    border-bottom: 1px solid var(--glass-border);
}

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

.accordion-header {
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: var(--neon-magenta);
}

.accordion-icon {
    margin-right: 15px;
    font-size: 1.4rem;
}

.accordion-arrow {
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-header {
    color: var(--neon-magenta);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    color: var(--text-muted);
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px 20px;
    /* max-height handled in JS for smooth animation */
}

.accordion-content strong {
    color: var(--text-main);
}

/* Resources */
.resources-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.resource-btn {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    text-decoration: none;
    color: var(--text-main);
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
}

.resource-btn:hover {
    transform: scale(1.05);
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
}

.resource-icon {
    font-size: 2.5rem;
    margin-right: 20px;
}

.resource-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.resource-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations & Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none; /* simple mobile fallback */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        padding: 20px;
    }
}
