:root {
    --bg: #070708;
    --panel: #0f1113;
    --muted: #9aa3ad;
    --accent: #00d084;
    --accent-2: #5ad0ff;
    --glass: rgba(255, 255, 255, 0.04);
    --blur: 12px;
    --sidebar-w: 300px;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, Arial;
    color: #fff;
    background: linear-gradient(180deg, #070708 0%, #050506 100%);
    text-align: justify;
}

/* SIDEBAR */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-w);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    backdrop-filter: blur(var(--blur));
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 1200;
    transform: translateX(0);
    transition: transform .3s ease-in-out;
}

.sidebar.closed {
    transform: translateX(-120%);
}

.sidebar .head h2 {
    font-family: Fredoka;
    font-size: 22px;
    margin: 0
}

.sidebar .head p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px
}

.sidebar .downloads {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.dl-btn {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border: none;
    color: #021;
    padding: 11px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

.sidebar .nav {
    margin-top: 20px
}

.sidebar .nav ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.sidebar .nav li {
    padding: 10px 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .18s, background .18s;
    color: inherit;
}

.sidebar .nav a {
    color: inherit;
    text-decoration: none
}

.sidebar .nav li:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.02)
}

.sidebar .social {
    display: flex;
    gap: 12px;
    margin-top: 26px
}

.sidebar .social a {
    font-size: 18px;
    color: #fff;
    opacity: 0.85;
    transition: transform .18s, opacity .18s
}

.sidebar .social a:hover {
    transform: translateY(-4px);
    opacity: 1
}

/* HAMBURGER */
.hamburger {
    position: fixed;
    left: 18px;
    top: 18px;
    background: #0d0d0e;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 1300;
    display: none;
    cursor: pointer
}

.hamburger i {
    font-size: 18px
}

/* MAIN */
.main {
    margin-left: var(--sidebar-w);
    padding: 36px;
    max-width: 1100px;
    transition: margin-left .3s ease-in-out;
}

header {
    text-align: center;
    margin-bottom: 10px
}

.logo img {
    height: 56px
}

.title {
    font-family: Fredoka;
    font-size: 34px;
    margin-top: 10px
}

.subtitle {
    color: var(--muted);
    max-width: 760px;
    margin: 8px auto;
    text-align: center;
}

.controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
    flex-wrap: wrap
}

.btn {
    background: #111;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    color: #fff;
    font-family: Inter;
}

.subscribe {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #111;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

.subscribe input {
    background: transparent;
    border: 0;
    outline: none;
    color: #fff;
    padding: 8px
}

.subscribe .go {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border: 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
    color: #021;
    cursor: pointer;
}

/* SECTOR */
.sector {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 28px;
    border-radius: 14px;
    margin-bottom: 28px
}

.sector .head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px
}

.sector h2 {
    font-family: Fredoka;
    margin: 0;
    font-size: 24px
}

.sector .meta {
    color: var(--muted);
    font-size: 14px
}

/* Icon styling */
.sector .icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #021;
    font-weight: 700;
    margin-right: 10px;
}

.sector .icon-circle i {
    font-size: 20px;
}

.accordion {
    margin-top: 10px
}

.acc {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.02);
    margin-bottom: 12px;
}

.acc .acc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: #131315;
    cursor: pointer
}

.acc .acc-head h3 {
    margin: 0;
    font-size: 16px
}

.acc .chev {
    transition: transform .3s;
}

.acc.open .chev {
    transform: rotate(45deg);
}

.acc .acc-body {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .34s, padding .34s;
}

.acc.open .acc-body {
    max-height: 1400px;
    padding: 16px;
}

/* news */
.news {
    margin-top: 18px;
    padding: 16px;
    border-radius: 12px;
    background: #0f1112;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

.news .top {
    display: flex;
    align-items: center;
    gap: 12px
}

.news h3 {
    margin: 0
}

.play-area {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px
}

.play-area .label {
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
}

.carousel {
    overflow: hidden;
    margin-top: 12px;
    border-radius: 10px
}

.slides {
    display: flex;
    transition: transform .6s
}

.slide {
    min-width: 100%;
    display: flex;
    gap: 14px;
    padding: 12px;
    align-items: center
}

.slide img {
    width: 220px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px
}

.slide .txt h4 {
    margin: 0 0 6px 0
}

.dots {
    display: flex;
    gap: 8px;
    margin-left: 12px
}

.dot {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer
}

.dot.active {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #021
}

/* New Sidebar Dropdown */
.sidebar .dropdown-item {
    position: relative;
    list-style: none;
}

.sidebar .dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6px;
    border-radius: 8px;
    transition: transform .18s, background .18s;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.sidebar .dropdown-btn:hover {
    transform: translateX(8px);
}

.sidebar .dropdown-menu {
    display: none;
    padding-left: 16px;
    margin-top: 8px;
}

.sidebar .dropdown-menu.open {
    display: block;
}

.sidebar .dropdown-menu a,
.sidebar .dropdown-menu button {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--muted);
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    border-radius: 6px;
    transition: background 0.2s;
    text-decoration: none;
    display: block;
}

.sidebar .dropdown-menu a:hover,
.sidebar .dropdown-menu button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Contact Form */
.contact-form {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 28px;
    border-radius: 14px;
    margin-top: 40px;
}

.contact-form h2 {
    font-family: Fredoka;
    margin-top: 0;
    font-size: 24px;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #fff;
    font-family: Inter;
    font-size: 16px;
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa3ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .submit-btn {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border: none;
    color: #021;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    transition: transform 0.2s;
}

.contact-form .submit-btn:hover {
    transform: scale(1.01);
}

/* Custom CSS Variables (Adjust as needed) */
:root {
    --accent: #007bff;
    /* Primary Accent Color */
    --accent-2: #00bfff;
    /* Secondary Accent Color for Gradient */
    --background: #131315;
    /* Dark Background */
    --muted: #a0a0a0;
    /* Muted Text Color */
    --text-color: #ffffff;
    /* Main Text Color */
}

/* Modal Overlay (The transparent background) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

/* State when the modal is active (visible) */
.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Modal Box (The actual content container) */
.modal-box {
    background: var(--background);
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

:root {
    --launchouse-accent: #00d084;
    --launchouse-muted: #9aa3ad;
}

/* Overlay */
.launchouse-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
}

/* Modal Box */
.launchouse-modal-box {
    background: #131315;
    padding: 30px 25px;
    border-radius: 14px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Show modal */
.launchouse-modal.show .launchouse-modal-box {
    transform: scale(1);
    opacity: 1;
}

/* Icon */
.launchouse-modal-icon {
    font-size: 48px;
    color: var(--launchouse-accent);
    margin-bottom: 10px;
    display: block;
}

/* Title */
.launchouse-modal-title {
    font-size: 24px;
    color: var(--launchouse-accent);
    margin: 10px 0 10px;
}

/* Text */
.launchouse-modal-text {
    color: var(--launchouse-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Close Button */
.launchouse-modal-close-btn {
    background: linear-gradient(90deg, var(--launchouse-accent), #5ad0ff);
    border: none;
    color: #021;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s;
}

.launchouse-modal-close-btn:hover {
    transform: scale(1.05);
}

/* Trigger Button (example) */
.launchouse-modal-open-btn {
    padding: 12px 25px;
    border-radius: 10px;
    border: none;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}


/* Main Close Button (Inside the Modal) */
.close-btn {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border: none;
    color: #0d1a26;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s;
}

.close-btn:hover {
    transform: translateY(-2px);
}

/* "X" Close Button (Top right corner) */
.close-btn-x {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn-x:hover {
    color: var(--accent);
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInModal {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Default Styles for Large Screens */
.hamburger {
    display: none;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-w);
    transform: translateX(0);
}

.main {
    margin-left: var(--sidebar-w);
}

/* Responsive Media Queries */
@media (max-width: 1000px) {
    .sidebar {
        transform: translateX(-120%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }

    .main {
        margin-left: 0;
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .slide img {
        width: 100%;
        height: auto;
    }

    .slide {
        flex-direction: column;
        align-items: flex-start
    }

    .dl-btn {
        font-size: 14px;
    }
}

/* Smoothness added throughout */
h2,
h3,
.title,
.subtitle {
    transition: transform 0.3s, opacity 0.3s;
}

.sector:hover,
.acc:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sector,
.acc {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dl-btn,
.go,
.btn,
.submit-btn {
    transition: transform 0.2s ease;
}

/* Animations */
.fade-in {
    animation: fadeIn .6s ease both
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: none
    }
}