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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 15% 25%, rgba(73,117,212,0.35), transparent 55%),
        radial-gradient(circle at 85% 75%, rgba(100,10,111,0.25), transparent 55%),
        radial-gradient(circle at 50% 10%, rgba(99,102,241,0.25), transparent 55%),
        #0b1120;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 2%;
    background-color: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(6px); 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-side {
    flex: 1 1 0%; 
    display: flex;
    align-items: center;
}

.left-side { justify-content: flex-start; }
.right-side { justify-content: flex-end; gap: 20px; }
.header-center { display: flex; justify-content: center; gap: 20px; }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 20px;
    text-decoration: none; 
    color: #ffffff;        
    transition: 0.3s ease; 
}

.logo:hover { color: #38bdf8; }
.logo img { width: 34px; }

nav a, .nav-btn {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
}

nav a:hover, .nav-btn:hover { color: #38bdf8; }

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px 10%;
    min-height: 85vh;
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-left h1 {
    font-size: 78px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-right {
    flex: 1;
    max-width: 420px;
}

section {
    padding: 60px 5%; 
    max-width: 1400px; 
    margin: 0 auto; 
}

.article-container {
    max-width: 900px; 
    margin: 0 auto; 
}

.article-block { margin-bottom: 50px; }
.article-block h3 { color: #38bdf8; font-size: 26px; margin-bottom: 15px; border-bottom: 1px solid #1e293b; padding-bottom: 10px; }
.article-block p { font-size: 18px; line-height: 1.8; color: #cbd5e1; }

button, .primary-btn {
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    background-color: #2563eb;
    color: white;
    transition: 0.3s ease;
}

button:hover, .primary-btn:hover { background-color: #1d4ed8; }

input, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #334155;
    background-color: #1e293b;
    color: white;
}

.comparison-table { margin-top: 40px; border-radius: 12px; overflow: hidden; border: 1px solid #334155; box-shadow: 0px 15px 35px rgba(0,0,0,0.4); max-width: 900px; margin-left: auto; margin-right: auto; }
.comparison-header { background: linear-gradient(145deg, #0f172a, #1e293b); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; border-bottom: 2px solid #38bdf8; }
.comparison-row { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 20px; border-bottom: 1px solid #1e293b; transition: background 0.3s ease; }
.comparison-row:not(.comparison-header):hover { background-color: rgba(30, 41, 59, 0.6); }
.comparison-row div { color: #cbd5e1; font-size: 16px; padding-right: 15px; }
.comparison-header div { color: #ffffff; }

.login-section, .contact-section { display: flex; justify-content: center; align-items: center; min-height: 80vh; }
.login-box, .contact-box { background: linear-gradient(145deg, #1e293b, #162032); padding: 40px; border-radius: 12px; width: 100%; border: 1px solid #334155; box-shadow: 0px 10px 30px rgba(0,0,0,0.5); }
.login-box { max-width: 420px; }
.contact-box { max-width: 550px; }
.contact-box h2, .login-box h2 { margin-bottom: 10px; font-size: 32px; color: #ffffff; }
.contact-box label, .login-box label { display: block; font-size: 14px; color: #cbd5e1; margin-bottom: 5px; font-weight: 500; }

footer { background-color: #0b1120; padding: 50px 10%; margin-top: 80px; border-top: 1px solid #1e293b; display: flex; justify-content: center; align-items: center; gap: 15px; font-size: 14px; color: #94a3b8; }
footer a { color: #94a3b8; text-decoration: none; transition: 0.3s ease; }
footer a:hover { color: #38bdf8; text-decoration: underline; }
.separator { color: #334155; }

/* =========================================
   AUTH UTILITY CLASSES (FIXED SPECIFICITY)
   ========================================= */
.auth-hidden { display: none !important; }

.nav-mobile-only { display: none; }

.nav-divider {
    display: none;
    border: none;
    border-top: 1px solid #334155;
    margin: 5px 0;
}

/* =========================================
   MOBILE RESPONSIVENESS & HAMBURGER MENU
   ========================================= */
.hamburger {
    display: none; 
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: 0.3s ease;
}

@media (max-width: 1000px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-left img { width: 350px; margin-top: 40px; }
    
    header { flex-wrap: wrap; }
    .left-side { order: 1; }
    .hamburger { order: 2; display: flex; }

    .header-side.right-side { display: none; }

    .header-center {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 75px; 
        right: 2%; 
        background-color: #1e293b;
        padding: 20px;
        border-radius: 12px;
        border: 1px solid #334155;
        box-shadow: 0px 10px 30px rgba(0,0,0,0.8);
        width: 200px;
        gap: 15px;
        z-index: 999;
    }

    .header-center.active { display: flex; }
    .header-center a { text-align: right; margin: 0; }

    /* BUG FIXED HERE: Removed the !important so .auth-hidden can still hide them when needed! */
    .nav-mobile-only { display: block; }
    .nav-divider { display: block; }
}