@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');
:root {
    --navy: #1a237e;
    --blue: #1565c0;
    --blue-hover: #1e40af;
    --orange: #ff6d00;
    --orange-hover: #e65100;
    --light: #f5f8ff;
    --text: #1f2a44;
    --muted: #5f6b86;
    --white: #ffffff;
    --card-bg: #f8fbff;
    --border: #e2e8f7;
    --border-hover: #ccd9f9;
    --highlight-bg: #fff4e8;
    --shadow: 0 8px 24px rgba(21, 101, 192, 0.12);
    --radius: 14px;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --navy: #e2e8f7;
    --blue: #3b82f6;
    --blue-hover: #60a5fa;
    --orange: #fb923c;
    --orange-hover: #fdba74;
    --light: #0f172a;
    --text: #f8fafc;
    --muted: #94a3b8;
    --white: #1e293b;
    --card-bg: #1e293b;
    --border: #334155;
    --border-hover: #475569;
    --highlight-bg: #332718;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

:root[data-theme="dark"] body::before {
    opacity: 0.15;
    background-image: radial-gradient(circle, #22c55e 2px, transparent 2px), linear-gradient(0deg, transparent 49.5%, #22c55e 49.5%, #22c55e 50.5%, transparent 50.5%), linear-gradient(90deg, transparent 49.5%, #22c55e 49.5%, #22c55e 50.5%, transparent 50.5%);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.65;
}

/* ===== SİBER DOKU (CYBER MESH) ARKA PLAN ===== */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.1;
    background-image: radial-gradient(circle, #0d7a3e 2px, transparent 2px), linear-gradient(0deg, transparent 49.5%, #0d7a3e 49.5%, #0d7a3e 50.5%, transparent 50.5%), linear-gradient(90deg, transparent 49.5%, #0d7a3e 49.5%, #0d7a3e 50.5%, transparent 50.5%);
    background-size: 48px 48px, 48px 48px, 48px 48px;
}

@media print {
    body::before {
        display: none;
    }
}

img {
    max-width: 100%;
    height: auto;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

thead {
    background: var(--navy);
    color: var(--white);
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: sticky;
    top: 15px;
    max-width: 1200px;
    margin: 0 auto;
    height: var(--header-height);
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--header-border);
    border-radius: 24px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled {
    height: 70px;
    top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
    height: 100%;
}

.header-main {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

/* Logo Section */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-size: 1.2rem;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    color: var(--navy);
    letter-spacing: 0.2px;
}

/* Desktop Navigation */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(21, 101, 192, 0.08);
    color: var(--blue);
}

.nav-link.active {
    color: var(--blue);
    background: rgba(21, 101, 192, 0.1);
    border-radius: 50px;
}

.nav-link.active::after {
    display: none;
}

/* Dropdowns */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 12px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-dropdown-toggle:hover {
    background: rgba(21, 101, 192, 0.06);
    color: var(--blue);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    min-width: 260px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--blue);
    transform: translateX(4px);
}

.dropdown-item i, .dropdown-item .nav-icon {
    width: 20px;
    text-align: center;
    color: var(--blue);
    font-size: 1rem;
}

/* Header Right Actions */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-profile-widget {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem;
    padding-right: 1.2rem;
    background: var(--highlight-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-profile-widget:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow);
}

.user-avatar-hex {
    width: 40px;
    height: 40px;
    background: var(--orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border-radius: 12px;
}

.user-stats-mini {
    display: flex;
    flex-direction: column;
}


.user-xp-mini {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
}

.user-level-mini {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--navy);
}

.theme-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--light);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-toggle-btn {
    height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 0.85rem;
}

.lang-toggle-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--light);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 140px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.lang-dropdown:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lang-dropdown-item:hover {
    background: var(--light);
    color: var(--blue);
}

.lang-dropdown-item.active {
    background: rgba(21, 101, 192, 0.08);
    color: var(--blue);
}

.lang-dropdown-item .flag-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* Hamburger */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 1101;
    padding: 2rem 1.5rem;
    box-shadow: -15px 0 40px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-panel.active { right: 0; }

.mobile-nav-list { display: flex; flex-direction: column; gap: 0.6rem; }

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    border-radius: 14px;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background: var(--light);
    color: var(--blue);
}

.mobile-nav-dropdown {
    background: rgba(0,0,0,0.02);
    padding: 0.5rem 0 0.5rem 3rem;
    display: none;
}

.mobile-nav-item.open .mobile-nav-dropdown { display: block; }

.mobile-dropdown-link {
    display: block;
    padding: 0.7rem 0;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Breadcrumb Row */
.header-breadcrumb-row {
    background: transparent;
    border-bottom: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
}

.header-breadcrumb-row .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    padding: 0.45rem 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: var(--muted);
    opacity: 0.4;
    font-size: 0.7rem;
}

.breadcrumb [aria-current="page"] {
    color: var(--navy);
    font-weight: 700;
}

/* Dark Mode Overrides for Breadcrumb */
[data-theme="dark"] .header-breadcrumb-row .breadcrumb {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .breadcrumb a:hover {
    color: var(--blue-hover);
}

[data-theme="dark"] .breadcrumb [aria-current="page"] {
    color: var(--white);
}

@media (max-width: 1024px) {
    .desktop-nav { display: none; }
    .hamburger { display: flex; }
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 109, 0, 0.3);
}

.btn-primary:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 109, 0, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

.btn-secondary:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.2);
}

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 0.75rem 0.82rem;
    border: 1px solid var(--border);
    text-align: left;
}

tbody tr:hover {
    background: var(--light);
    transition: background 0.2s ease-in-out;
}

/* ===== SCORE BADGE ===== */
.score-badge {
    display: inline-block;
    background: #e8fff0;
    color: #116d36;
    border: 1px solid #c6f0d4;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ===== SIMULATION ===== */
.simulation-panel {
    display: grid;
    gap: 1rem;
}

.question-box {
    background: #f8fbff;
    border: 1px solid #dce7ff;
    border-radius: 12px;
    padding: 1rem;
}

.options {
    display: grid;
    gap: 0.65rem;
}

.option-btn {
    border: 1px solid #ccd9f9;
    background: var(--white);
    padding: 0.65rem;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
}

.option-btn:hover {
    border-color: var(--blue);
    background: #f0f6ff;
}

.feedback {
    font-weight: 600;
    margin-top: 0.5rem;
}

.feedback.correct {
    color: #157347;
}

.feedback.wrong {
    color: #b42318;
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: 2rem;
    background: linear-gradient(160deg, #0d1b5e 0%, var(--navy) 60%, #1a3a7e 100%);
    color: var(--white);
    padding: 2.5rem 0 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.footer-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.university-subtitle {
    margin: 0 0 0.5rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
}

.project-description {
    margin: 0;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li::before { display: none; }

.footer-links a {
    color: rgba(220,233,255,0.85);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-links a::before {
    content: '›';
    color: var(--orange);
    font-weight: 700;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

/* Social links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.social-link:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.28);
    transform: translateX(3px);
}

.social-link i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.social-link.instagram { border-left: 3px solid #e1306c; }
.social-link.twitter   { border-left: 3px solid #1da1f2; }
.social-link.linkedin  { border-left: 3px solid #0a66c2; }
.social-link.github    { border-left: 3px solid #6e40c9; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding: 1rem 0;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

.section-intro {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ===== TABLET (>=720px) ===== */
@media (min-width: 720px) {
    .hero {
        padding: 2rem;
    }

    .hero-inner {
        flex-direction: row;
        align-items: center;
    }

    .hero-content {
        flex: 1.2;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-img {
        display: block;
        flex: 1;
    }

    .cards-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .section-intro {
        flex-direction: row;
        align-items: center;
        gap: 3.5rem;
    }

    .section-content {
        flex: 1.3;
    }

    .section-illustration {
        display: block;
        flex-shrink: 0;
        flex: 1;
        max-width: 320px;
    }
}

/* ===== DESKTOP (>=992px) ===== */
@media (min-width: 992px) {
    /* Hamburger hidden on desktop */
    .hamburger {
        display: none;
    }

    /* Nav always visible, horizontal */
    .main-nav {
        display: block;
        border-top: none;
        padding: 0;
    }

    .header-breadcrumb-row {
        display: block;
    }

    .header-top-row {
        padding: 0.6rem 0 0.4rem;
    }

    .nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.45rem;
        justify-content: center;
    }

    .nav-list a {
        font-size: 0.875rem;
        padding: 0.48rem 0.8rem;
    }

    .nav-list a .nav-icon {
        margin-right: 0.3rem;
    }

    .page-content {
        padding-top: 1.4rem;
    }

    .simulation-panel {
        grid-template-columns: 1.2fr 1fr;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .section h2 {
        font-size: 1.3rem;
    }

}

/* ===== FORM ELEMENTS ===== */
.info-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.92rem;
}

.form-select {
    padding: 0.65rem 0.9rem;
    border: 1.5px solid #ccd9f9;
    border-radius: 8px;
    background: var(--white);
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
    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='%231a237e' 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 0.8rem center;
    padding-right: 2.5rem;
}

.form-select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 600px) {
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background: var(--light);
    border: 1px solid var(--muted);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    transition: background 0.15s ease;
}

.checkbox-item:hover {
    background: var(--white);
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--blue);
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.info-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #f0f4ff;
    border-left: 4px solid var(--blue);
}

.notice-icon {
    flex-shrink: 0;
    color: var(--blue);
    margin-top: 0.1rem;
}

.info-notice p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
}

/* ===== ANALYSIS TABLE ===== */
.analysis-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e4e9f5;
}

.analysis-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 600px;
}

.analysis-table thead {
    background: var(--navy);
    color: var(--white);
}

.analysis-table th {
    padding: 0.75rem 0.9rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.analysis-table td {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid #e4e9f5;
    vertical-align: top;
}

.analysis-table tbody tr:last-child td {
    border-bottom: none;
}

.analysis-table tbody tr:hover {
    background: #f8fbff;
}

.score-pill {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.score-pill.low {
    background: #ffebee;
    color: #b42318;
}

.score-pill.medium {
    background: #fff8e1;
    color: #e65100;
}

.score-pill.high {
    background: #e8f5e9;
    color: #2e7d32;
}

.analysis-detail {
    margin-top: 1.5rem;
}

.detail-card {
    background: var(--white);
    border: 1px solid #dce7ff;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.detail-card h4 {
    margin: 0 0 0.5rem;
    color: var(--navy);
    font-size: 1rem;
}

.detail-card p {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.solution-box {
    border-radius: 8px;
    padding: 0.9rem;
}

.solution-box.main {
    background: #e8f5e9;
    border-left: 4px solid #2e7d32;
}

.solution-box.side {
    background: #f5f8ff;
    border-left: 4px solid var(--blue);
}

.solution-box strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.solution-box.main strong {
    color: #2e7d32;
}

.solution-box.side strong {
    color: var(--blue);
}

.solution-box ul {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
}

.solution-box ul li {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

/* ===== SUPPORT PAGE ===== */
.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 720px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.support-card {
    background: #f8fbff;
    border: 1px solid #dce7ff;
    border-radius: 12px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.support-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 0.98rem;
}

.support-card p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--muted);
}

.support-card .btn-secondary {
    align-self: flex-start;
    margin-top: 0.3rem;
    font-size: 0.82rem;
    padding: 0.5rem 0.9rem;
}

.video-thumb {
    width: 100%;
    height: 120px;
    background: #e0e7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 0.82rem;
}

.article-list {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.article-list li a {
    color: var(--blue);
    text-decoration: none;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-list li a:hover {
    text-decoration: underline;
}

/* ===== STEP INDICATOR BAR ===== */
.step-indicator-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 12px;
}
.step-dots {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}
.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e7ff;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s;
}
.step-dot.active {
    background: var(--orange);
    color: #fff;
    transform: scale(1.1);
}
.step-dot.done {
    background: #4caf50;
    color: #fff;
}
.step-labels {
    display: flex;
    gap: 1.2rem;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 500;
}
.step-labels span {
    text-align: center;
    min-width: 60px;
}

/* ===== CRAAP CARDS ===== */
.craap-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}
.craap-card {
    display: flex;
    gap: 0.8rem;
    background: var(--white);
    border: 1px solid #e8ecf4;
    border-radius: 12px;
    padding: 1rem;
    align-items: flex-start;
}
.craap-letter {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}
.craap-card h3 { margin: 0 0 0.3rem; font-size: 0.9rem; color: var(--navy); font-weight: 700; }
.craap-card p { margin: 0; font-size: 0.82rem; color: #555; line-height: 1.55; }

/* ===== QUESTION BOX ===== */
.question-box {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.score-badge {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}
.question-box h3 { margin: 0 0 0.5rem; color: var(--navy); font-size: 1.1rem; }
.question-box p { margin: 0 0 1.2rem; color: #444; font-size: 0.92rem; line-height: 1.6; }
.options { display: flex; flex-direction: column; gap: 0.6rem; }
.option-btn {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e7ff;
    border-radius: 10px;
    background: var(--white);
    text-align: left;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.option-btn:hover { border-color: var(--blue); background: #f0f4ff; }
.option-btn:disabled { cursor: not-allowed; opacity: 0.7; }
.feedback {
    margin-top: 0.8rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    line-height: 1.5;
}
.feedback.correct { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.feedback.wrong { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* ===== RESULT HERO ===== */
.result-hero {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    background: linear-gradient(135deg, #1a237e, #1565c0);
    color: #fff;
    border-radius: 0 0 32px 32px;
    margin-bottom: 2rem;
}
.result-hero .score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 4px solid rgba(255,255,255,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.2rem;
    font-weight: 800;
}
.result-hero .score-circle span { font-size: 0.75rem; opacity: 0.7; font-weight: 500; }
.result-hero h1 { font-size: 1.5rem; margin: 0 0 0.3rem; font-weight: 700; }
.result-hero .level-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.9rem; font-weight: 600; margin-top: 0.5rem; }
.level-badge.high { background: rgba(76,175,80,0.3); color: #a5d6a7; }
.level-badge.medium { background: rgba(255,183,77,0.3); color: #ffe082; }
.level-badge.low { background: rgba(239,83,80,0.3); color: #ef9a9a; }
.result-hero .score-detail { margin-top: 0.8rem; font-size: 0.9rem; opacity: 0.8; }

/* ===== SECTION CARD ===== */
.section-card { background: var(--white); border-radius: 16px; padding: 1.5rem; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 1.5rem; }
.section-card h2 { color: var(--navy); font-size: 1.15rem; margin: 0 0 1rem; font-weight: 700; }

/* ===== ANALYSIS TABLE ===== */
.analysis-table-wrap { overflow-x: auto; }
.analysis-table { width: 100%; border-collapse: collapse; }
.analysis-table th { text-align: left; padding: 0.65rem 0.8rem; background: var(--navy); color: #fff; font-size: 0.82rem; font-weight: 600; }
.analysis-table td { padding: 0.65rem 0.8rem; border-bottom: 1px solid #f0f0f0; font-size: 0.88rem; vertical-align: middle; }
.analysis-table tr:last-child td { border-bottom: none; }
.analysis-table tr:hover td { background: #f8f9ff; }
.score-pill { padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.score-pill.high { background: #e8f5e9; color: #2e7d32; }
.score-pill.medium { background: #fff8e1; color: #f57f17; }
.score-pill.low { background: #ffebee; color: #c62828; }

/* ===== DETAIL CARDS ===== */
.detail-card { background: #f8f9ff; border-radius: 12px; padding: 1.2rem; margin-top: 1rem; border: 1px solid #e8ecf4; }
.detail-card h4 { margin: 0 0 0.6rem; color: var(--navy); font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 0.4rem; }
.detail-card p { margin: 0 0 1rem; color: #555; font-size: 0.88rem; line-height: 1.65; }
.solution-box { border-radius: 10px; padding: 1rem; }
.solution-box.main { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); border: 2px solid #4caf50; color: #2e7d32; font-size: 0.9rem; line-height: 1.65; }
.solution-box.main strong { color: #1b5e20; display: block; margin-bottom: 0.4rem; font-size: 0.85rem; }
.solution-box.side { background: #e3f2fd; border: 1px solid #90caf9; }
.solution-box.side strong { color: #1565c0; display: block; margin-bottom: 0.4rem; font-size: 0.82rem; }
.solution-box.side ul { margin: 0; padding-left: 1.2rem; }
.solution-box.side li { color: #1565c0; font-size: 0.85rem; margin-bottom: 0.3rem; line-height: 1.5; }

/* ===== SUPPORT GRID ===== */
.support-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1rem; }
.support-card { background: var(--white); border-radius: 12px; padding: 1.2rem; border: 1px solid var(--muted); transition: transform 0.2s, box-shadow 0.2s; }
.support-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,35,126,0.1); }
.support-card .card-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.support-card h4 { margin: 0 0 0.4rem; color: var(--navy); font-size: 0.95rem; font-weight: 700; }
.support-card p { margin: 0 0 0.8rem; color: #666; font-size: 0.82rem; line-height: 1.55; }
.support-card .tag { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: #e8eaf6; color: var(--navy); margin-right: 0.3rem; margin-bottom: 0.3rem; }
.support-card a { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--blue); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.support-card a:hover { text-decoration: underline; }

/* ===== BOOK ROOM ===== */
.book-room {
    display: grid;
    gap: 1.2rem;
}

@media (min-width: 720px) {
    .book-room {
        grid-template-columns: 1fr 2fr;
    }
}

.book-sidebar {
    background: var(--white);
    border: 1px solid #dce7ff;
    border-radius: 12px;
    padding: 1rem;
}

.book-sidebar h3 {
    margin: 0 0 0.8rem;
    color: var(--navy);
    font-size: 1rem;
}

.book-toc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.book-toc li a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    transition: background 0.15s;
}

.book-toc li a:hover,
.book-toc li a.active {
    background: #e9f1ff;
    color: var(--blue);
}

.book-content {
    background: var(--white);
    border: 1px solid #dce7ff;
    border-radius: 12px;
    padding: 1.5rem;
}

.book-content h2 {
    margin-top: 0;
    color: var(--navy);
    font-size: 1.1rem;
}

.book-content p {
    margin: 0.8rem 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.reading-progress {
    height: 4px;
    background: #e0e7ff;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.reading-progress-fill {
    height: 100%;
    background: var(--blue);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* ===== CHAT / FORUM ===== */
.forum-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

@media (min-width: 720px) {
    .forum-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

.forum-category {
    background: #f8fbff;
    border: 1px solid #dce7ff;
    border-radius: 10px;
    padding: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: background 0.15s;
}

.forum-category:hover {
    background: #edf4ff;
}

.forum-category-icon {
    width: 38px;
    height: 38px;
    background: #e0e7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
}

.forum-category h4 {
    margin: 0;
    font-size: 0.88rem;
    color: var(--navy);
}

.forum-category p {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: var(--muted);
}

.chat-thread {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.chat-avatar {
    width: 38px;
    height: 38px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-body {
    flex: 1;
}

.chat-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
}

.chat-author {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
}

.chat-time {
    font-size: 0.78rem;
    color: var(--muted);
}

.chat-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.chat-badge {
    font-size: 0.72rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--highlight-bg);
    color: var(--blue);
    font-weight: 600;
}

.chat-input-area {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
    align-items: flex-end;
}

.chat-input-area textarea {
    flex: 1;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    resize: none;
    min-height: 44px;
}

.chat-input-area textarea:focus {
    outline: none;
    border-color: var(--blue);
}

/* ===== AI ASSISTANT ===== */
.ai-assistant-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a237e, #1565c0);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.4);
    z-index: 999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-assistant-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.5);
}

.ai-assistant-btn.pulse {
    animation: ai-pulse 2s infinite;
}

@keyframes ai-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(21, 101, 192, 0.4); }
    50% { box-shadow: 0 4px 28px rgba(21, 101, 192, 0.7), 0 0 0 8px rgba(21, 101, 192, 0.08); }
}

.ai-assistant-panel {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    width: min(380px, calc(100vw - 2rem));
    max-height: 70vh;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(21, 101, 192, 0.2);
    z-index: 998;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.ai-assistant-panel.open {
    display: flex;
}



.ai-panel-header h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.ai-panel-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 0.2rem;
    display: flex;
}

.ai-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.ai-message {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.ai-message-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #1a237e, #1565c0);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.ai-message p,
.ai-message .ai-message-bubble {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    background: #f0f4ff;
    padding: 0.65rem 0.85rem;
    border-radius: 0 10px 10px 10px;
    flex: 1;
    min-width: 0;
}

.ai-message.user {
    flex-direction: row-reverse;
}

.ai-message.user p,
.ai-message.user .ai-message-bubble {
    background: #fff4e8;
    border-radius: 10px 0 10px 10px;
}

.ai-message.user .ai-message-icon {
    background: linear-gradient(135deg, var(--orange), #ff8f3d);
}

.ai-message.typing .ai-message-bubble,
.ai-message.typing p {
    color: var(--muted);
    font-style: italic;
}

.ai-typing-lead {
    font-style: italic;
}

.ai-msg-degraded {
    border-left: 3px solid var(--orange);
}

.ai-md-root .ai-md-p {
    margin: 0 0 0.5rem;
    padding: 0;
    font-size: inherit;
    line-height: 1.6;
}

.ai-md-root .ai-md-p:last-child {
    margin-bottom: 0;
}

.ai-md-root .ai-md-ul {
    margin: 0.35rem 0 0.5rem;
    padding-left: 1.15rem;
    background: transparent;
}

.ai-md-root li {
    margin: 0.2rem 0;
}

.ai-md-root .ai-md-pre {
    margin: 0.45rem 0;
    padding: 0.5rem 0.65rem;
    background: #1e2a52;
    color: #eef2ff;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.8rem;
    line-height: 1.45;
}

.ai-md-pre code {
    background: transparent;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

.ai-md-root code,
.ai-message .ai-md-code {
    font-family: ui-monospace, "Cascadia Code", monospace;
    font-size: 0.82em;
    background: rgba(30, 42, 82, 0.08);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

.ai-message .ai-md-plain {
    margin: 0;
    padding: 0;
    background: transparent;
}

.ai-typing-dots {
    display: inline-flex;
    gap: 0.18rem;
    margin-left: 0.35rem;
    vertical-align: middle;
}

.ai-typing-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
    animation: ai-dot 1s infinite ease-in-out;
}

.ai-typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.ai-typing-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes ai-dot {
    0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-2px); }
}

.ai-panel-input {
    padding: 0.75rem;
    border-top: 1px solid #e4e9f5;
    display: flex;
    gap: 0.4rem;
}

.ai-panel-input textarea {
    flex: 1;
    padding: 0.55rem 0.75rem;
    border: 1px solid #ccd9f9;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 0.86rem;
    resize: none;
    max-height: 80px;
}

.ai-panel-input textarea:focus {
    outline: none;
    border-color: var(--blue);
}

/* ===== TEAM CARDS ===== */
.team-grid {
    display: grid;
    gap: 1.2rem;
}

@media (min-width: 720px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background: #f8fbff;
    border: 1px solid #dce7ff;
    border-radius: 16px;
    padding: 1.4rem 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.team-card:hover {
    box-shadow: 0 8px 28px rgba(21, 101, 192, 0.12);
    transform: translateY(-2px);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.team-avatar.bedirhan { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.team-avatar.ismail { background: linear-gradient(135deg, #1565c0, #0d47a1); }
.team-avatar.hamit { background: linear-gradient(135deg, #ff6d00, #e65100); }

.team-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1rem;
}

.team-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue);
    background: #e9f1ff;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
}

.team-desc {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== AUTH + PROFILE UI ===== */
.auth-hero {
    background: linear-gradient(130deg, #1a237e, #1565c0);
    color: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 720px;
    margin-inline: auto;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.auth-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-hero h2 {
    color: #ffffff;
    margin: 0 0 0.3rem;
    font-size: 1.2rem;
}

.auth-hero p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.auth-hero-badge {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

.auth-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.auth-badge-text strong {
    display: block;
    font-size: 0.95rem;
}

.auth-badge-text span {
    display: block;
    opacity: 0.85;
    font-size: 0.82rem;
    margin-top: 0.1rem;
}

.auth-shell {
    max-width: 720px;
    margin-inline: auto;
}

.tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--highlight-bg);
    border: 1px solid var(--border);
    padding: 0.35rem;
    border-radius: 12px;
}

.tab {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    transition: background 0.15s ease, color 0.15s ease;
}

.tab:hover {
    background: var(--highlight-bg);
    color: var(--blue);
}

.tab.active {
    background: var(--white);
    box-shadow: 0 6px 18px rgba(21, 101, 192, 0.12);
    color: var(--blue);
}

.auth-form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--card-bg);
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: var(--text);
}

.form-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}

.form-hint {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

@media (min-width: 720px) {
    .auth-hero-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.profile-hero {
    background: var(--white);
    border: 1px solid #e8ecf4;
}

.profile-hero-grid {
    display: grid;
    gap: 1rem;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.meta-pill {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #f0f4ff;
    border: 1px solid #dce7ff;
    font-size: 0.82rem;
    color: var(--navy);
}

.badge-card {
    background: linear-gradient(130deg, #1a237e, #1565c0);
    color: #fff;
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.badge-top {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.badge-title {
    font-weight: 800;
    letter-spacing: 0.2px;
}

.badge-sub {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.15rem;
}

.progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--orange);
    border-radius: 999px;
}

.badge-foot {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    opacity: 0.95;
}

.badge-foot .link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.badge-foot .link:hover {
    text-decoration: underline;
}

.profile-shell {
    max-width: 980px;
    margin-inline: auto;
}

.results-summary {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.summary-card {
    border: 1px solid #e8ecf4;
    border-radius: 14px;
    padding: 1rem;
    background: var(--white);
}

.summary-title {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.summary-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    margin-top: 0.2rem;
}

.summary-sub {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.history-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.history-card {
    background: var(--white);
    border: 1px solid #e8ecf4;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.history-head {
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.history-date {
    font-weight: 800;
    color: var(--navy);
}

.history-sub {
    margin-top: 0.1rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.history-sub .dot {
    margin-inline: 0.35rem;
    opacity: 0.6;
}

.history-score {
    min-width: 220px;
    display: grid;
    gap: 0.45rem;
    justify-items: end;
}

.score-pill2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--highlight-bg);
    color: var(--orange);
    border: 1px solid var(--border);
    font-weight: 800;
    font-size: 0.82rem;
}

.mini-progress {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e8ecf4;
    overflow: hidden;
}

.mini-progress-fill {
    height: 100%;
    background: var(--orange);
    border-radius: 999px;
}

.cat-grid {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.7rem;
}

.cat-row {
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    background: var(--highlight-bg);
    border: 1px solid var(--border);
}

.cat-top {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    align-items: baseline;
}

.cat-name {
    font-weight: 800;
    color: var(--navy);
    font-size: 0.88rem;
}

.cat-val {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.82rem;
}

.cat-bar {
    margin-top: 0.45rem;
    height: 8px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
}

.cat-bar-fill {
    height: 100%;
    background: var(--blue);
    border-radius: 999px;
}

.rec-wrap {
    margin-top: 0.9rem;
    border-top: 1px solid #eef1f7;
    padding-top: 0.8rem;
}

.rec-title {
    font-weight: 800;
    color: var(--navy);
    font-size: 0.9rem;
}

.rec-list {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.35rem;
}

.rec-list a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
}

.rec-list a:hover {
    text-decoration: underline;
}

.def-wrap {
    margin-top: 0.9rem;
    border-top: 1px solid #eef1f7;
    padding-top: 0.8rem;
}

.def-title {
    font-weight: 800;
    color: var(--navy);
    font-size: 0.9rem;
}

.def-chips {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.def-chip {
    border: 1px solid #e8ecf4;
    border-radius: 14px;
    background: var(--white);
    overflow: hidden;
}

.def-chip summary {
    cursor: pointer;
    list-style: none;
    padding: 0.65rem 0.8rem;
    font-weight: 800;
    color: var(--text);
    background: var(--highlight-bg);
    border-bottom: 1px solid var(--border);
}

.def-chip summary::-webkit-details-marker {
    display: none;
}

.def-chip.warn summary {
    background: #fff8e1;
    border-bottom-color: #ffecb3;
}

.def-chip.risk summary {
    background: #ffebee;
    border-bottom-color: #ffcdd2;
}

.def-body {
    padding: 0.75rem 0.9rem;
    color: #444;
    font-size: 0.9rem;
    line-height: 1.65;
}

.def-main strong {
    color: var(--navy);
}

.def-side {
    margin: 0.6rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.25rem;
}

@media (min-width: 720px) {
    .profile-hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }

    .results-summary {
        grid-template-columns: repeat(3, 1fr);
    }
}

.library-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.library-tab {
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
    font-weight: 700;
}

.library-tab.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.library-ai-tip {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.library-grid {
    display: grid;
    gap: 0.9rem;
}

.library-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.9rem;
}

.library-card.priority-card {
    border-color: #fb923c;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.15);
}

.library-card-head h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.05rem;
}

.library-author {
    color: var(--muted);
    font-size: 0.85rem;
}

.library-summary {
    margin: 0.55rem 0;
    color: #334155;
    line-height: 1.6;
}

.library-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.55rem;
}

.btn-like {
    border: 1px solid var(--orange);
    color: var(--orange);
    background: var(--highlight-bg);
    border-radius: 10px;
    padding: 0.42rem 0.65rem;
    font-weight: 700;
}

.btn-like.active {
    background: #f97316;
    color: #fff;
}

.forum-area {
    margin-top: 0.8rem;
    background: var(--highlight-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.75rem;
}

.forum-area h4 {
    margin: 0 0 0.55rem;
    color: #0f172a;
}

.comment-box textarea,
.reply-box textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.55rem;
    resize: vertical;
    font-family: inherit;
    background: var(--card-bg);
    color: var(--text);
}

.comment-box button,
.reply-box button {
    margin-top: 0.4rem;
}

.forum-thread {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.6rem;
}

.forum-thread.nested {
    margin-left: 0.8rem;
    border-left: 2px solid #dbeafe;
    padding-left: 0.55rem;
}

.forum-comment {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.55rem 0.65rem;
}

.forum-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    color: #64748b;
    font-size: 0.8rem;
}

.forum-comment p {
    margin: 0.35rem 0;
    color: #334155;
}

.mini-link {
    border: 0;
    background: none;
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.btn-forgot-password {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: rgba(29, 78, 216, 0.08);
    border: 1px solid rgba(29, 78, 216, 0.18);
    color: #1d4ed8;
}

.btn-forgot-password:hover {
    background: rgba(29, 78, 216, 0.15);
    border-color: rgba(29, 78, 216, 0.35);
    color: #1e40af;
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-forgot-password {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

[data-theme="dark"] .btn-forgot-password:hover {
    background: rgba(59, 130, 246, 0.22);
    border-color: rgba(59, 130, 246, 0.45);
    color: #93c5fd;
}

.forum-login-note {
    margin: 0;
    color: #64748b;
}

.profile-discussions {
    margin-top: 1rem;
}

.discussion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.6rem 0.7rem;
    margin-bottom: 0.55rem;
}

.discussion-item h5 {
    margin: 0 0 0.2rem;
    color: var(--navy);
}

.discussion-item p {
    margin: 0;
}

@media (min-width: 768px) {
    .library-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nav-notification-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f97316;
    display: inline-block;
    margin-left: 0.3rem;
    box-shadow: 0 0 0 rgba(249, 115, 22, 0.7);
    animation: navDotPulse 1.4s infinite;
}

@keyframes navDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.dm-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    min-height: 62vh;
}

.dm-sidebar,
.dm-chat {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card-bg);
}

.dm-sidebar {
    padding: 0.7rem;
}

.dm-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.dm-conversation-list {
    display: grid;
    gap: 0.45rem;
}

.dm-conversation-item {
    text-align: left;
    border: 1px solid var(--border);
    background: var(--highlight-bg);
    border-radius: 10px;
    padding: 0.55rem 0.6rem;
}

.dm-conversation-item strong {
    display: block;
    color: var(--navy);
}

.dm-conversation-item span {
    color: #64748b;
    font-size: 0.82rem;
}

.dm-conversation-item.active {
    border-color: #93c5fd;
    background: #eff6ff;
}

.dm-chat {
    display: flex;
    flex-direction: column;
}

.dm-chat-head {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.7rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.dm-chat-head h3 {
    margin: 0;
    color: var(--navy);
}

.dm-message-search {
    max-width: 220px;
}

.dm-loading {
    padding: 0.35rem 0.8rem;
    color: #64748b;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dm-loading::before {
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid #bfdbfe;
    border-top-color: #1d4ed8;
    border-radius: 50%;
    animation: dmSpin .8s linear infinite;
}

@keyframes dmSpin {
    to { transform: rotate(360deg); }
}

.dm-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.8rem;
    background: var(--highlight-bg);
    display: grid;
    gap: 0.5rem;
}

.dm-bubble {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem 0.6rem;
    max-width: 88%;
}

.dm-bubble.mine {
    margin-left: auto;
    background: #1e3a8a;
    color: #fff;
    border-color: #1e3a8a;
}

.dm-bubble p {
    margin: 0;
}

.dm-bubble span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.dm-send-form {
    border-top: 1px solid #e2e8f0;
    padding: 0.7rem;
    display: grid;
    gap: 0.45rem;
}

.dm-send-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.55rem;
    font-family: inherit;
    resize: vertical;
}

.dm-icon-link {
    margin-left: 0.2rem;
}

.pending-chip {
    display: inline-block;
    margin-top: 0.25rem;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #c2410c;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    font-size: 0.74rem;
    font-weight: 700;
}

@media (min-width: 900px) {
    .dm-shell {
        grid-template-columns: 320px 1fr;
    }
}

/* === Persona register & ecosystem === */
.persona-grid {
    display: grid;
    gap: 0.55rem;
}
@media (min-width: 640px) {
    .persona-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.persona-card {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    cursor: pointer;
    background: var(--highlight-bg);
}
.persona-card:has(input:checked) {
    border-color: var(--orange);
    background: rgba(255, 109, 0, 0.1);
}
.persona-card input {
    margin-top: 0.25rem;
}
.persona-card span small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 0.2rem;
}

.resume-sim-banner {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: var(--highlight-bg);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}
.question-timer-wrap {
    margin: 0.5rem 0 0.7rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--muted);
}
.question-timer-bar {
    height: 8px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
}
.question-timer-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--orange), #ff9933);
    transition: width 0.2s linear;
}

.gp-grid {
    display: grid;
    gap: 1rem;
}
@media (min-width: 600px) and (max-width: 899px) {
    .gp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gp-card-wide {
        grid-column: span 2;
    }
}
@media (min-width: 900px) {
    .gp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gp-card-wide {
        grid-column: span 2;
    }
}
.gp-card {
    background: var(--white);
    border: 1px solid #e8edf7;
    border-radius: 12px;
    padding: 1rem;
}
.badge-strip {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    background: #f0f4ff;
    font-size: 0.82rem;
    border: 1px solid #dbeafe;
}
.badge-chip .b-ic {
    font-size: 1rem;
}
.leader-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 0.25rem;
    font-size: 0.88rem;
}
.leader-list li {
    display: grid;
    grid-template-columns: 2rem 1fr auto;
    gap: 0.35rem;
    padding: 0.35rem 0.45rem;
    border-radius: 8px;
    background: #f8fafc;
}
.leader-list li.is-me {
    border: 1px solid var(--orange);
    background: #fff8f0;
}
.lb-p {
    font-weight: 700;
    color: var(--navy);
}
.radar-chart-wrap {
    max-width: 420px;
    margin: 0 auto;
}

/* ===== VOICE AI ASSISTANT STYLES ===== */
.ai-voice-btn {
    background: linear-gradient(135deg, var(--orange), #ff8f00);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    position: relative;
    overflow: hidden;
}

.ai-voice-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 109, 0, 0.3);
}

.ai-voice-btn.listening {
    background: linear-gradient(135deg, #e53935, #ff6659);
    animation: voicePulse 1.5s ease-in-out infinite;
}

.ai-voice-btn.listening::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 109, 0, 0.3);
    transform: translate(-50%, -50%);
    animation: voiceRipple 2s ease-out infinite;
}

@keyframes voicePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes voiceRipple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.ai-speech-btn {
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.ai-speech-btn:hover {
    background: var(--navy);
    transform: translateY(-1px);
}

.ai-speech-btn:active {
    transform: translateY(0);
}

/* Enhanced AI Panel for Voice Support */
.ai-panel-body {
    position: relative;
}

.ai-message-bubble {
    position: relative;
}

.ai-message-bubble .ai-speech-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ai-message-bubble:hover .ai-speech-btn {
    opacity: 1;
}

/* Voice Input Placeholder Styling */
#aiInput::placeholder {
    color: var(--muted);
    transition: color 0.3s ease;
}

#aiInput.placeholder-listening::placeholder {
    color: var(--orange);
    font-style: italic;
}

.rss-list {
    display: grid;
    gap: 0.75rem;
}
.rss-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    background: var(--white);
}
.rss-item-source {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--orange);
    font-weight: 700;
}
.rss-item h3 {
    margin: 0.25rem 0 0.35rem;
    font-size: 1rem;
}
.rss-item h3 a {
    color: var(--navy);
    text-decoration: none;
}
.rss-item h3 a:hover {
    text-decoration: underline;
}
.rss-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.tools-stack {
    display: grid;
    gap: 1.2rem;
}
.tool-card {
    background: var(--white);
    border: 1px solid #e8edf7;
    border-radius: 14px;
    padding: 1rem 1.1rem;
}
.fake-email-shell {
    border-radius: 10px;
    border: 1px solid #dbeafe;
    background: #f8fafc;
    overflow: hidden;
}
.fake-email-head {
    display: grid;
    gap: 0.35rem;
    padding: 0.65rem;
    background: #e8eefb;
}
.fake-email-body {
    padding: 0.65rem;
    font-size: 0.88rem;
    line-height: 1.5;
}
.phish-flag {
    display: inline-block;
    border: 1px dashed #94a3b8;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    padding: 0.05rem 0.25rem;
    margin: 0.08rem;
}
.phish-flag:hover {
    background: #fffbeb;
}
.phish-flag.found {
    border-style: solid;
    border-color: var(--orange);
    background: #fff7ed;
}

/* Modern Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #001f3f 0%, #002855 50%, #003366 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 4px solid var(--orange);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-title {
        justify-content: center;
    }
}

.footer-section {
    text-align: left;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--orange);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-title span {
    font-size: 1.5rem;
}

.university-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.4;
}

.project-description {
    color: #b3c5ff;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #e0e7ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: var(--orange);
    transform: translateX(5px);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e0e7ff;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background: var(--orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 109, 0, 0.3);
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e7ff;
    font-size: 0.9rem;
}

/* Fixed AI Assistant Widget */














.ai-panel-header h3 {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-panel-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius);
    transition: background 0.3s ease;
}

.ai-panel-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ai-panel-body {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.ai-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ai-message-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-message p {
    margin: 0;
    color: var(--text);
    line-height: 1.5;
}

.ai-panel-input {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f7;
    display: flex;
    gap: 0.75rem;
}

.ai-panel-input textarea {
    flex: 1;
    border: 1px solid #e2e8f7;
    border-radius: var(--radius);
    padding: 0.75rem;
    resize: none;
    font-family: inherit;
    font-size: 0.9rem;
}

.ai-panel-input textarea:focus {
    outline: none;
    border-color: var(--orange);
}

/* Pulse animation for AI button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 109, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 109, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 109, 0, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-title {
        justify-content: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--light);
        margin: 0.5rem -1rem -0.5rem;
        padding: 0.5rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-dropdown[aria-expanded="true"] .nav-dropdown-menu {
        max-height: 300px;
    }
    
    .nav-dropdown-menu a {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}

/* ===== YÜZEN ARAÇ ÇUBUĞU (FLOATING TOOLBAR) ===== */
.floating-toolbar {
    position: fixed;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    width: 64px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.ft-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: default;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 80%;
}

.ft-action { cursor: pointer; }
.ft-action:hover { background: var(--light); transform: scale(1.1); }
.ft-report:hover { background: rgba(255, 0, 0, 0.1); color: red; }

.ft-icon { font-size: 1.4rem; margin-bottom: 0.2rem; }
.ft-value { font-size: 0.75rem; color: var(--navy); white-space: nowrap; transition: color 0.3s ease; }

.ft-divider { width: 60%; border: 0; height: 1px; background: #e2e8f7; margin: 0.25rem 0; transition: background 0.3s ease; }

/* Dark Mode Overrides for Floating Toolbar */
[data-theme="dark"] .floating-toolbar {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(51, 65, 85, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .floating-toolbar .ft-item {
    color: var(--text);
}

[data-theme="dark"] .floating-toolbar .ft-value {
    color: var(--blue-hover);
}

[data-theme="dark"] .floating-toolbar .ft-divider {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1279px) { .floating-toolbar { left: 0.4rem; } }
@media (max-width: 1023px) { .floating-toolbar { display: none; } }

/* Mobile AI Chat Overrides */
@media (max-width: 768px) {
    .ai-panel-body {
        flex: 1 !important;
        max-height: none !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

[data-theme="dark"] .meta-pill strong {
    color: #ffffff !important;
}

[data-theme="dark"] .btn-secondary {
    color: #60a5fa !important;
    border-color: #3b82f6 !important;
}

[data-theme="dark"] .btn-secondary:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

/* AI Assistant Bubble Dark Theme Contrast Adjustments */
[data-theme="dark"] .ai-message p,
[data-theme="dark"] .ai-message .ai-message-bubble {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .ai-message.user p,
[data-theme="dark"] .ai-message.user .ai-message-bubble {
    background: rgba(251, 146, 60, 0.15) !important;
    border: 1px solid rgba(251, 146, 60, 0.25) !important;
    color: #ffedd5 !important;
}

/* Info Notice (Alert/Information Box) Dark Theme Contrast Adjustments */
[data-theme="dark"] .info-notice {
    background: rgba(59, 130, 246, 0.08) !important;
    border-left-color: #3b82f6 !important;
    border-top: 1px solid rgba(59, 130, 246, 0.15) !important;
    border-right: 1px solid rgba(59, 130, 246, 0.15) !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15) !important;
}

[data-theme="dark"] .info-notice p {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .info-notice strong {
    color: #ffffff !important;
}

/* Responsive Alert Utility Classes */
.deficiency-alert {
    margin-top: 1.5rem;
    text-align: left;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 1rem;
    border-radius: 8px;
}

.deficiency-alert h4 {
    color: #dc2626;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.deficiency-alert ul {
    margin: 0;
    color: #991b1b;
    padding-left: 1.2rem;
}

[data-theme="dark"] .deficiency-alert {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
}

[data-theme="dark"] .deficiency-alert h4 {
    color: #fca5a5 !important;
}

[data-theme="dark"] .deficiency-alert ul {
    color: #fecaca !important;
}

.success-alert {
    margin-top: 1.5rem;
    text-align: left;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 1rem;
    border-radius: 8px;
}

.success-alert h4 {
    color: #16a34a;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.success-alert p {
    margin: 0;
    color: #15803d;
}

[data-theme="dark"] .success-alert {
    background: rgba(34, 197, 94, 0.12) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
}

[data-theme="dark"] .success-alert h4 {
    color: #86efac !important;
}

[data-theme="dark"] .success-alert p {
    color: #bbf7d0 !important;
}




/* --- YENİ AI SOHBET TASARIMI (Kullanıcı Önerisi) --- */
/* İkon Tasarımı */
.chat-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--orange, #f97316);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  color: white;
  transition: all 0.3s ease;
    touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.chat-fab:hover {
  transform: scale(1.1);
}

.chat-fab .chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
}

/* Sohbet Penceresi Tasarımı */
.chat-window {
  position: fixed;
  bottom: 90px; /* İkonun biraz üstünde çıksın */
  right: 20px;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 500px;
  max-height: calc(100vh - 120px);
  background-color: var(--white, #ffffff);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  z-index: 9999;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  overflow: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  transform-origin: bottom right;
}

/* Gizleme Sınıfı */
.chat-window.hidden {
  transform: translateY(20px) scale(0.95);
}

.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Telefonlar için Mobil Uyumluluk */
@media (max-width: 768px) {
  .chat-window {
    bottom: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }  .chat-fab {
    bottom: 15px;
    right: 15px;
    z-index: 999999 !important;
    pointer-events: auto !important;
    animation: none !important; /* Pulse kapatıldı (performans ve hit-test için) */
  }
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--navy, #1e293b);
  color: white;
}
.header-title {
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}
.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-btn:hover {
  color: #f97316;
}

/* pulse animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 109, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 109, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 109, 0, 0); }
}
.pulse { animation: pulse 2s infinite; }

.ai-panel-input {
    padding: 0.75rem 1rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Global Dark Theme Overrides for Hardcoded Backgrounds */
[data-theme="dark"] .section-card,
[data-theme="dark"] .support-card,
[data-theme="dark"] .module-card,
[data-theme="dark"] .forum-comment,
[data-theme="dark"] .leaderboard-row,
[data-theme="dark"] .arac-card,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .profile-widget {
    background: rgba(30, 41, 59, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: rgba(0, 0, 0, 0.2) !important;
    color: var(--text) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .score-pill.medium {
    background: rgba(255, 145, 0, 0.2) !important;
    color: var(--orange) !important;
}

[data-theme="dark"] .meta-pill {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
}

/* ===== MOBİL BUTON OPTİMİZASYONLARI ===== */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary,
    .open-btn,
    .hp-btn-primary,
    .hp-btn-ghost,
    .hp-btn-cta {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.95rem !important;
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .btn-forgot-password {
        min-height: 44px !important;
        padding: 0.6rem 1.2rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .option-btn {
        padding: 1rem 1.2rem !important;
        font-size: 0.95rem !important;
        min-height: 44px !important;
    }

    .btn-like {
        padding: 0.6rem 1rem !important;
        min-height: 44px !important;
    }

    .form-actions {
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
}

/* Scenario Option Buttons Default Styling */
.scenario-option {
    display: block;
    width: 100%;
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.scenario-option:hover {
  background-color: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
}

/* Sohbet Penceresi Tasarımı */
.chat-window {
  position: fixed;
  bottom: 90px; /* İkonun biraz üstünde çıksın */
  right: 20px;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 500px;
  max-height: calc(100vh - 120px);
  background-color: var(--white, #ffffff);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  z-index: 9999;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  overflow: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  transform-origin: bottom right;
}

/* Gizleme Sınıfı */
.chat-window.hidden {
  transform: translateY(20px) scale(0.95);
}

.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Telefonlar için Mobil Uyumluluk */
@media (max-width: 768px) {
  .chat-window {
    bottom: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }  .chat-fab {
    bottom: 15px;
    right: 15px;
    z-index: 999999 !important;
    pointer-events: auto !important;
    animation: none !important; /* Pulse kapatıldı (performans ve hit-test için) */
  }
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--navy, #1e293b);
  color: white;
}
.header-title {
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}
.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-btn:hover {
  color: #f97316;
}

/* pulse animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 109, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 109, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 109, 0, 0); }
}
.pulse { animation: pulse 2s infinite; }

.ai-panel-input {
    padding: 0.75rem 1rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Global Dark Theme Overrides for Hardcoded Backgrounds */
[data-theme="dark"] .section-card,
[data-theme="dark"] .support-card,
[data-theme="dark"] .module-card,
[data-theme="dark"] .forum-comment,
[data-theme="dark"] .leaderboard-row,
[data-theme="dark"] .arac-card,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .profile-widget {
    background: rgba(30, 41, 59, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: rgba(0, 0, 0, 0.2) !important;
    color: var(--text) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .score-pill.medium {
    background: rgba(255, 145, 0, 0.2) !important;
    color: var(--orange) !important;
}

[data-theme="dark"] .meta-pill {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
}

/* ===== MOBİL BUTON OPTİMİZASYONLARI ===== */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary,
    .open-btn,
    .hp-btn-primary,
    .hp-btn-ghost,
    .hp-btn-cta {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.95rem !important;
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .btn-forgot-password {
        min-height: 44px !important;
        padding: 0.6rem 1.2rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .option-btn {
        padding: 1rem 1.2rem !important;
        font-size: 0.95rem !important;
        min-height: 44px !important;
    }

    .btn-like {
        padding: 0.6rem 1rem !important;
        min-height: 44px !important;
    }

    .form-actions {
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
}

/* Scenario Option Buttons Default Styling */
.scenario-option {
    display: block;
    width: 100%;
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.scenario-option:hover {
    border-color: var(--blue);
    background: rgba(59, 130, 246, 0.05);
}

[data-theme="dark"] .scenario-option {
    background: rgba(30, 41, 59, 0.5);
}

/* ===== MOBIL HEADER FIXES ===== */
@media (max-width: 768px) {
    .header-main {
        padding: 0 0.4rem;
    }
    
    .header-right {
        gap: 0.3rem;
    }
    
    .logo-link {
        gap: 0.3rem !important;
    }
    
    .logo-img {
        width: 28px !important;
        height: 28px !important;
    }
    
    .logo-text {
        font-size: 0.85rem;
        letter-spacing: 0;
        display: block; /* Yazıyı geri getir */
    }
    
    .user-profile-widget {
        padding: 0.2rem;
    }
    
    .user-stats-mini {
        display: none;
    }
    
    .theme-toggle-btn, .lang-toggle-btn {
        width: 32px;
        height: 32px;
        padding: 0.2rem;
    }
    
    .hamburger {
        width: 36px;
        height: 36px;
        margin-left: 0.1rem;
    }
}

/* ===== GLOBAL VIS-HERO COMPONENT ===== */
.vis-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(30, 27, 75, 0.75));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
}
.vis-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}
@media (max-width: 768px) {
    .vis-hero {
        padding: 2rem 1.25rem !important;
    }
}


.form-select option { background-color: var(--white); color: var(--text); }

/* ====== CYBER JUMP TRANSITION ====== */
.cyber-transition {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #020617;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cyber-transition.active {
    opacity: 1;
    pointer-events: all;
}

.cyber-tunnel {
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle, transparent 10%, #020617 70%),
                repeating-conic-gradient(from 0deg, #38bdf8 0deg 5deg, transparent 5deg 10deg);
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) translateZ(-500px) rotate(0deg);
    opacity: 0;
}

.cyber-transition.active .cyber-tunnel {
    animation: cyberJump 1.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes cyberJump {
    0% {
        transform: translate(-50%, -50%) translateZ(-1500px) rotate(0deg);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) translateZ(500px) rotate(180deg);
        opacity: 0;
    }
}


