:root {
    /* Color Palette */
    --bg-dark: #07070a;
    --bg-card: rgba(20, 20, 25, 0.7);
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    
    /* Neons & Accents */
    --accent-blue: #00e5ff;
    --accent-purple: #b300ff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --section-pad: 8rem 2rem;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography elements */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
}

.text-gradient {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Glassmorphism */
.glass-effect {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(179, 0, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 0.5rem 1.5rem;
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
}

.w-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(7, 7, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo .dot {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
.section {
    padding: var(--section-pad);
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Changed from fixed for mobile compatibility */
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 15, 20, 0.4) 0%, rgba(10, 15, 20, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: #d0d0e0;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-main);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.4s ease, background 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 30, 40, 0.8);
    border-color: rgba(0, 229, 255, 0.3);
}

.icon-wrapper {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.console-showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: linear-gradient(135deg, rgba(20,20,25,0.8), rgba(10,10,15,0.9));
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.showcase-text {
    flex: 1;
}

.showcase-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.showcase-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.showcase-image {
    flex: 1;
}

.glass-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Rental Section */
.rental-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--bg-dark);
}

.rental-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.rental-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.rental-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 5px 20px rgba(179,0,255,0.15);
}

.card-img-placeholder {
    height: 180px;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.2);
}

.card-info {
    padding: 1.5rem;
}

.card-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    height: 40px;
}

.card-info .price {
    font-weight: 600;
    color: var(--accent-blue);
    font-size: 0.9rem;
}

/* Pricing Tags for Rental */
.pricing-tags {
    display: flex; gap: 8px; margin-top: auto; padding-top: 10px;
}
.price-tag {
    background: rgba(0, 229, 255, 0.1);
    color: var(--accent-blue);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

/* Base card flex layout to align pricing at bottom */
.rental-card .card-info {
    display: flex; flex-direction: column; height: 100%;
}

.rental-cta {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-muted);
}

/* Photo Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 2rem;
}
.gallery-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}
.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}
.gallery-wrapper:hover .gallery-item {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.contact-details i {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* Footer */
footer {
    background: #040406;
    padding: 2rem 5%;
    border-top: 1px solid rgba(255,255,255,0.02);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Portal Home Grid */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: var(--section-pad);
    max-width: var(--max-width);
    margin: 0 auto;
}
.portal-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    text-decoration: none;
    color: var(--text-main);
    display: block;
}
.portal-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    background: rgba(30, 30, 40, 0.8);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}
.portal-card .icon-wrapper { font-size: 4rem; margin-bottom: 1.5rem; }
.portal-card h3 { font-size: 1.8rem; margin-bottom: 1rem; color: #fff; }
.portal-card p { color: var(--text-muted); }

/* Responsive Design */
@media (max-width: 900px) {
    .contact-container, .console-showcase {
        grid-template-columns: 1fr;
        flex-direction: column;
        padding: 2rem;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .section {
        padding: 5rem 1.5rem;
    }
}

.rental-card .machine-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background-color: #222;
}
