:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --primary-neon: #ff00ff;
    /* Magenta */
    --secondary-neon: #00ffff;
    /* Cyan */
    --tertiary-neon: #bc13fe;
    /* Purple */
    --accent-neon: #39ff14;
    /* Neon Green */
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 5px var(--primary-neon), 0 0 10px var(--primary-neon);
    }

    50% {
        box-shadow: 0 0 10px var(--primary-neon), 0 0 20px var(--primary-neon);
    }

    100% {
        box-shadow: 0 0 5px var(--primary-neon), 0 0 10px var(--primary-neon);
    }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-neon {
    display: inline-block;
    padding: 10px 30px;
    color: var(--primary-neon);
    border: 2px solid var(--primary-neon);
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-neon:hover {
    background: var(--primary-neon);
    color: #fff;
    box-shadow: 0 0 10px var(--primary-neon), 0 0 40px var(--primary-neon), 0 0 80px var(--primary-neon);
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    text-shadow: 0 0 5px var(--secondary-neon);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--secondary-neon);
    text-shadow: 0 0 5px var(--secondary-neon);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #1a0b2e 0%, #000000 100%);
}

.hero-content {
    animation: fadeIn 1.5s ease-out;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(to right, var(--secondary-neon), var(--primary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(188, 19, 254, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cccccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards Section - Services */
.services {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-neon);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--secondary-neon);
}

.card p {
    color: #aaa;
    font-size: 0.95rem;
}

/* Responsive Utilities */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-only {
    display: none;
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #020202;
    color: #888;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-neon);
}

/* Tabs */
.tabs-container {
    margin-top: 40px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--secondary-neon);
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px var(--secondary-neon);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Accordion */
.accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 20px;
}

.accordion-item.active .accordion-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}


/* Responsive */
@media (max-width: 768px) {

    /* Navigation */
    header {
        padding: 15px 0;
    }

    nav {
        flex-wrap: wrap;
        /* Allow wrapping */
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
        /* Show hamburger */
    }

    .nav-links {
        display: none;
        /* Hide by default */
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width: 100%;
        background: #050505;
        /* Solid background */
        padding: 20px 0;
        border-radius: 10px;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
        /* Show when active */
    }

    .nav-links li {
        width: 100%;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        margin-top: 10px;
    }

    /* Hero */
    .hero {
        padding: 100px 0 40px 0;
        text-align: center;
        overflow: hidden;
        /* Prevent overflow */
    }

    .hero .container {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
        /* Reduce padding */
    }

    .hero-content,
    .hero-visual {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Smaller font */
        word-wrap: break-word;
        /* Break long words if needed */
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }


    /* General Sections */
    section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    /* MDL Block */
    .mdl-block .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .mdl-block .container>div {
        text-align: center !important;
        width: 100%;
    }

    .btn-text-link {
        display: block;
        margin: 15px 0 0 0 !important;
    }
}

@media (max-width: 480px) {
    .btn-neon {
        width: 100%;
        display: block;
        margin-bottom: 15px;
        margin-left: 0 !important;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Ultra-compact screens (320px - 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.5rem !important;
        /* Force smaller size */
        line-height: 1.2;
    }

    .section-title h2 {
        font-size: 1.5rem !important;
    }

    .logo {
        font-size: 18px;
    }

    .card,
    .diff-card,
    .step-item {
        padding: 15px 10px !important;
    }

    h3 {
        font-size: 1.1rem !important;
    }

    .btn-neon {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
}

/* Enhanced Hero */
.hero {
    background: radial-gradient(circle at center, #1a0b2e 0%, #000000 100%);
    padding: 100px 0;
    height: auto;
    min-height: 100vh;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
    padding-right: 40px;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.chips {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.chip {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 40px;
    text-align: center;
}

/* Differential */
.differential {
    text-align: center;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.diff-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
}

.diff-card.bad {
    border-left: 3px solid #555;
    opacity: 0.7;
}

.diff-card.good {
    border-left: 3px solid var(--secondary-neon);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

/* System & Steps */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    background: rgba(188, 19, 254, 0.05);
    /* Tertiary tint */
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--tertiary-neon);
}

.step-item h3 {
    color: var(--tertiary-neon);
    margin-bottom: 5px;
}

/* MDL Block */
.mdl-block {
    background: linear-gradient(90deg, #111, #220b2e);
    border-top: 1px solid var(--primary-neon);
    border-bottom: 1px solid var(--primary-neon);
}