/* ===============================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #f2f4f8;
    line-height: 1.6;

    /* Animated Background */
    background: linear-gradient(-45deg, #141821, #181c26, #141821, #1a1f2a);
    background-size: 400% 400%;
    animation: bgShift 22s ease infinite;
}

/* Smooth slow gradient movement */
@keyframes bgShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

/* ===============================
   HEADER
================================ */

.header {
    position: sticky;
    top: 0;
    background: rgba(20, 24, 33, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo-wrapper img {
    height: 48px;
}

/* ===============================
   MENU
================================ */

.menu {
    list-style: none;
    display: flex;
    gap: 28px;
}

.menu a {
    text-decoration: none;
    color: #d0d6df;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

/* Softer orange glow */

.menu a:hover,
.menu a.active {
    color: #ff8c42;
    text-shadow: 0 0 4px rgba(255,140,66,0.45);
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #ff8c42;
    transition: 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
    box-shadow: 0 0 6px rgba(255,140,66,0.5);
}

/* ===============================
   DROPDOWN (STABLE + SMOOTH)
================================ */

.dropdown {
    position: relative;
}

/* Invisible hover bridge */
.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 12px;
}

.submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 190px;

    background: rgba(28, 33, 43, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px 0;

    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);

    opacity: 0;
    transform: translateY(6px) scale(0.98);
    pointer-events: none;

    transition: 
        opacity 0.22s ease,
        transform 0.22s ease;
}

/* Show dropdown when hovering parent OR submenu */
.dropdown:hover .submenu,
.submenu:hover {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 10px 18px;
    color: #d0d6df;
    transition: 0.2s ease;
}

.submenu a:hover {
    background: rgba(255,140,66,0.08);
    color: #ff8c42;
}

/* ===============================
   PAGE SECTIONS
================================ */

.page-section {
    padding: 140px 0;
}

.page-box {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    padding: 70px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);

    transition: 0.4s ease;
}

.page-box:hover {
    border-color: rgba(255,140,66,0.25);
}

.page-box h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.coming-text {
    margin-top: 20px;
    color: #b5bdc9;
}

.login-box {
    max-width: 500px;
}

/* ===============================
   FOOTER
================================ */

.footer {
    margin-top: 80px;
    background: rgba(17, 21, 29, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

.footer h4 {
    margin-bottom: 12px;
}

.footer ul {
    list-style: none;
}

.footer ul a {
    text-decoration: none;
    color: #9aa4b2;
}

.footer ul a:hover {
    color: #ff8c42;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
    color: #777;
}