:root {
    --pico-font-family: 'Vazirmatn', sans-serif;
    --pico-primary: #ffffff;
    --pico-background-color: #111111;
}

body { line-height: 1.6; }

/* --- Navigation --- */
nav {
    position: sticky; top: 0; z-index: 1000;
    padding: 0.5rem 2rem;
    width: 100%;
    background: rgba(10, 10, 10, 0.4); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(25, 25, 25, 0.5); 
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

nav a { color: #fff; transition: color 0.3s ease; }
nav.scrolled a { color: #fff; }
nav.scrolled .hamburger-toggle span { background-color: #fff; }

.logo { font-weight: 900; font-size: 1.8rem; letter-spacing: -1px; }

/* --- Hero & Sections --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    border-bottom: 1px solid #333;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem); 
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 900;
    word-spacing: -5px;
}

.sub-text { max-width: 600px; color: #888; font-size: 1.2rem; }

.cta-button {
    border-radius: 0; padding: 1rem 3rem;
    transition: all 0.3s ease;
    background: #fff; color: #000;
    border: 1px solid #fff; font-weight: bold; cursor: pointer;
}

.cta-button:hover { background: transparent; color: #fff; box-shadow: 0 0 20px rgba(255,255,255,0.2); }

/* --- Article & Form Boxes --- */
.article-box { 
    background-color: #f4f4f4 !important; 
    border-radius: 0px !important; 
    border-top: 2px solid #000 !important;
    color: #000000 !important;
    padding: 3rem 1.5rem;
}

.article-box h2, .article-box h3, .article-box p, .article-box label {
    color: #000000 !important;
    opacity: 1 !important;
}

.input-box { 
    background-color: #ffffff !important; 
    border-radius: 0px !important; 
    border: 1px solid #000 !important; 
    color: #000000 !important;
    --pico-color: #000000 !important;
}

.submit-btn { color: white; background-color: black; border-radius: 0; }
.submit-btn:hover { color: black; background-color: white; border: solid 2px black; }

.option-box { 
    background-color: #ffffff !important;
    border: 1px solid #000 !important; 
    color: #000000 !important;
    font-weight: 700 !important;
    transition: 0.3s; 
    padding: 15px;
    cursor: pointer;
}

.option-box:hover { background-color: #f5f5f5 !important; }
.option-box.active { background: #000000 !important; color: #ffffff !important; }

/* --- Info Grid --- */
.inverse-section { background-color: #f4f4f4; color: #000; padding-bottom: 4rem; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid #ddd; margin-top: 2rem; }
.info-card { padding: 4rem 2.5rem; border-bottom: 1px solid #ddd; background-color: #f4f4f4; transition: all 0.5s ease; }
.info-card h3 { color: #000000; }
.info-card p { color: #111111; }
.info-card:hover { background: #ffffff; }

/* --- Custom Cursor --- */
.custom-cursor, .cursor-follower { position: fixed; pointer-events: none; z-index: 9999; mix-blend-mode: difference; }
.custom-cursor { width: 7px; height: 7px; background-color: #fff; border-radius: 50%; }
.cursor-follower { width: 100px; height: 100px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; transition: transform 0.6s ease-out; }

/* --- MOBILE LOGIC --- */
.mobile-only { display: none !important; }

@media (max-width: 991px) {
    .custom-cursor, .cursor-follower, .desktop-menu { display: none !important; }
    .mobile-only { display: block !important; }
    
    /* Ensure nav links are visible inside the overlay */
    .mobile-overlay a { display: block !important; }
    li.desktop-link {
        display: none !important;
    }
    .footer-minimal {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}


/* --- Hamburger Icon --- */
.hamburger-toggle {
    background: none !important; border: none !important;
    width: 30px; height: 30px; cursor: pointer;
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
}

.hamburger-toggle span { display: block; width: 25px; height: 2px; background-color: #ffffff; transition: 0.3s; }
.hamburger-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-toggle.open span:nth-child(2) { opacity: 0; }
.hamburger-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Remove the blue focus ring on click */
.hamburger-toggle:focus,
.hamburger-toggle:active,
.hamburger-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Also for Pico.css specific button resets */
[role="button"].hamburger-toggle, 
button.hamburger-toggle {
    --pico-outline-width: 0px !important;
}

/* --- Mobile Overlay --- */
.mobile-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 0;
    background: rgba(0, 0, 0, 0.98); backdrop-filter: blur(20px);
    z-index: 999; overflow: hidden;
    transition: height 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex; align-items: center; justify-content: center;
}

.mobile-overlay.active { height: 100vh; }
.mobile-menu-content { display: flex; flex-direction: column; gap: 2.5rem; text-align: center; }
.mobile-menu-content a { font-size: 2.2rem; font-weight: 800; color: white !important; text-decoration: none; }


/* --- Tab Styling --- */
.tab-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.tab-btn {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: #555 !important;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 10px 0 !important;
    transition: 0.3s;
    border-radius: 0 !important;
}

.tab-btn.active {
    color: #fff !important;
    border-bottom: 2px solid #fff !important;
}

/* --- Content Reveal --- */
.tab-content {
    display: none;
    padding: 5rem 0;
}

.tab-content.active-content {
    display: block;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Path Grid --- */
.path-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.path-steps h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: #555; }
.path-steps ul { list-style: none; padding: 0; margin-top: 2rem; }
.path-steps li { 
    padding: 1.5rem 0; 
    border-bottom: 1px solid #333; 
    display: flex; 
    align-items: center; 
    gap: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.step-num { color: #555; font-size: 0.8rem; font-family: monospace; }

@media (max-width: 991px) {
    .path-grid { grid-template-columns: 1fr; }
    .tab-container { justify-content: center; }
}


/* --- Login Page Styles --- */
.login-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-content {
    width: 100%;
    max-width: 480px;
}

.login-card {
    background: #1a1a1a !important; /* Darker card for contrast */
    border: 1px solid #333 !important;
    padding: 2.5rem !important;
    border-radius: 0 !important;
}

.login-card label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.form-field {
    margin-bottom: 1.5rem;
}

.login-error-box {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Fix for LTR inputs in RTL mode */
[dir="rtl"] .input-box {
    text-align: left;
}

/* --- Minimal Footer --- */
footer {
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.footer-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #555; /* Subtle grey */
    letter-spacing: 0.5px;
}

.linkedin-link {
    color: #888 !important;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.linkedin-link:hover {
    color: #fff !important;
    border-bottom: 1px solid #fff;
}


