/* =========================
   GOOGLE FONT
========================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* =========================
   ROOT VARIABLES
========================= */
:root {
    --primary-blue: #1e257c;
    --primary-orange: #ff5e00;
    --logout-red: #d93025;

    --brand-gold: #ff5e00;
    --brand-gold-dark: #e65500;

    --bg-dark: #070910;
    --card-dark: #111422;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);

    --primary-gold: #ff5e00;
}

/* =========================
   GLOBAL RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: radial-gradient(circle at top right, #101827, #070910);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08) rotate(6deg);
}

/* =========================
   NAVBAR
========================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 3px solid #E65500;
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-blue);
    text-decoration: none;
    text-transform: uppercase;
    min-width: 0;
}

.logo img {
    width: 172px;
    height: 32px;
    object-fit: cover;
    flex-shrink: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

/* Buttons */
.btn-nav {
    padding: 8px 16px;
    border-radius: 50px;
    color: white !important;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-register {
    background: var(--primary-orange);
    box-shadow: 0 4px 10px rgba(255, 94, 0, 0.2);
}

.btn-logout {
    background: var(--logout-red);
    box-shadow: 0 4px 10px rgba(217, 48, 37, 0.2);
}

.login-btn {
    background: var(--primary-orange);
    color: #ff8000 !important;
    padding: 4px 16px 8px 16px !important;
    border: 1px solid #ff8000 !important;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 94, 0, 0.2);
}

.login-btn:hover {
    background: #e65500;
    color: #fff !important;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: var(--primary-blue);
    background: none;
    border: none;
    line-height: 1;
}

/* =========================
   MOBILE DRAWER
========================= */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: 0.4s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.mobile-drawer.active {
    left: 0;
}

.mobile-drawer a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
}

.mobile-drawer hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 10px 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1500;
}

.drawer-overlay.active {
    display: block;
}

.close-btn {
    align-self: flex-end;
    font-size: 30px;
    cursor: pointer;
    color: var(--primary-blue);
}

/* =========================
   BADGE / TEXT
========================= */
.badge-new {
    background: rgba(255, 94, 0, 0.1);
    color: var(--primary-orange);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid rgba(255, 94, 0, 0.25);
    display: inline-block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-orange), #ff9a3d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================
   AUTH PAGE
========================= */
.auth-page {
    min-height: calc(100vh - 80px);
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top center, rgba(255, 94, 0, 0.08), transparent 45%);
}

.auth-wrapper {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.auth-left {
    padding: 20px;
}

.auth-left h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.15;
    margin: 18px 0 20px;
    font-weight: 800;
}

.auth-left p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 600px;
}

.auth-feature-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-dark);
    border: 1px solid var(--border);
    padding: 16px 18px;
    border-radius: 16px;
    transition: 0.3s ease;
}

.auth-feature-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 94, 0, 0.35);
}

.auth-feature-item i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 94, 0, 0.12);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.auth-feature-item span {
    font-weight: 600;
    color: var(--text-main);
}

/* =========================
   AUTH CARD
========================= */
.container {
    width: 100%;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    background: rgba(17, 20, 34, 0.95);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    padding: 35px 30px;
    backdrop-filter: blur(12px);
}

/* =========================
   TOGGLE BUTTONS
========================= */
.toggle {
    display: flex;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 6px;
    margin-bottom: 28px;
    gap: 8px;
}

.toggle button {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-dim);
    padding: 14px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    transition: 0.3s ease;
    font-size: 15px;
}

.toggle button.active {
    background: var(--primary-orange);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 94, 0, 0.22);
}

/* =========================
   FORM STYLES
========================= */
.form {
    display: none;
    flex-direction: column;
    gap: 16px;
    animation: fadeIn 0.35s ease;
}

.form.active {
    display: flex;
}

.form h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 800;
    color: #fff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form input {
    width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-size: 15px;
    outline: none;
    font-family: inherit;
    transition: 0.3s ease;
}

.form input::placeholder {
    color: #94a3b8;
}

.form input:focus {
    border-color: rgba(255, 94, 0, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 94, 0, 0.08);
}

.form button[type="submit"] {
    margin-top: 8px;
    border: none;
    background: var(--primary-blue);
    color: #fff;
    padding: 15px 18px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    transition: 0.3s ease;
}

.form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(30, 37, 124, 0.3);
}

#msg {
    margin-top: 20px;
    min-height: 22px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-orange);
    line-height: 1.6;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.88rem;
    }

    .auth-wrapper {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .auth-left {
        text-align: center;
        padding: 10px 0;
    }

    .auth-left p {
        margin: 0 auto;
    }

    .auth-feature-list {
        max-width: 650px;
        margin: 30px auto 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .logo span {
        max-width: 150px;
        font-size: 1rem;
    }

    .auth-page {
        padding: 40px 15px;
    }

    .auth-left h1 {
        font-size: 2.2rem;
    }

    .auth-card {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .toggle button {
        padding: 12px 10px;
        font-size: 14px;
    }

    .form h2 {
        font-size: 1.5rem;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 26px;
        right: 18px;
        bottom: 18px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 14px;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }


    .auth-left h1 {
        font-size: 1.9rem;
    }

    .auth-left p {
        font-size: 0.96rem;
    }

    .auth-feature-item {
        padding: 14px;
        border-radius: 14px;
    }

    .auth-card {
        padding: 22px 16px;
    }

    .form input,
    .form button[type="submit"] {
        padding: 14px;
        font-size: 14px;
    }

    .toggle {
        gap: 6px;
        padding: 5px;
    }

    .toggle button {
        font-size: 13px;
    }
}