:root {
    --bg-main: #0B0F19;
    --bg-panel: rgba(17, 24, 39, 0.7);
    --bg-card: rgba(31, 41, 55, 0.5);
    --bg-primary: #0B0F19;
    --bg-secondary: rgba(31, 41, 55, 0.5);
    --bg-tertiary: #1f2937;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --accent: #8b5cf6;
    --accent-primary: #8b5cf6;
    --accent-secondary: #3b82f6;
}

body.light-theme {
    --bg-main: #F9FAFB;
    --bg-panel: rgba(255, 255, 255, 0.8);
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-primary: #ffffff;
    --bg-secondary: #f3f4f6;
    --bg-tertiary: #e5e7eb;
    --text-main: #111827;
    --text-muted: #4B5563;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --border-color: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(0, 0, 0, 0.2);
    --accent: #6d28d9;
    --accent-primary: #6d28d9;
    --accent-secondary: #2563eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Stunning Background */
.bg-effects {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: drift 25s infinite alternate ease-in-out;
}

.orb-1 {
    width: 600px; height: 600px;
    background: #3b82f6;
    top: -10%; left: -10%;
}

.orb-2 {
    width: 500px; height: 500px;
    background: #8b5cf6;
    bottom: -10%; right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px; height: 400px;
    background: #10b981;
    top: 40%; left: 30%;
    opacity: 0.2;
    animation-delay: -15s;
}

.grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.15;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

@keyframes drift {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(10%, 15%) scale(1.2); }
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
}

.nav-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon-box {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text .subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-icon {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 44px; height: 44px;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Hero */
.main-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    animation: fadeInUp 1s ease-out forwards;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pulse-dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, #3b82f6, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientFlow 5s linear infinite;
}

@keyframes gradientFlow {
    to { background-position: 200% center; }
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Tabs */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.tab-btn:hover {
    color: var(--text-color);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.quests-scroll::-webkit-scrollbar {
    display: none;
}

/* ==========================================================
   DEVELOPER PROFILE PAGE STYLES (Prof. Dr. Arif Demir)
   ========================================================== */

/* Hero Section */
.dev-hero {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dev-hero-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-tertiary);
    box-shadow: 0 0 0 2px var(--accent-primary);
}

.dev-hero-info {
    flex-grow: 1;
}

.dev-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 10px 0;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dev-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Sections */
.dev-section {
    margin-bottom: 50px;
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    display: inline-block;
}

.dev-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Expertise Grid */
.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.expertise-tag {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

/* Academic Cards */
.academic-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.academic-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.academic-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-secondary);
}

.academic-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.academic-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Why Section & Quote */
.why-section {
    background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-primary));
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 50px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.quote-box {
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(139, 92, 246, 0.2);
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: -1;
    font-family: serif;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-style: italic;
}

.quote-highlight {
    font-size: 1.5rem;
    font-weight: 800;
    color: #a78bfa;
    margin-top: 30px;
    text-align: right;
}

/* Vision Grid */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.vision-card {
    background: var(--bg-secondary);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.vision-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.vision-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.vision-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Homepage Developer Card (Mini) */
.dev-mini-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto 50px auto;
    gap: 30px;
    transition: transform 0.3s ease;
}

.dev-mini-card:hover {
    border-color: rgba(96, 165, 250, 0.4);
}

.dev-mini-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
}

.dev-mini-info {
    flex-grow: 1;
}

.dev-mini-info h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.dev-mini-subtitle {
    font-size: 0.9rem;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 15px;
}

.dev-mini-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dev-hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .dev-title {
        font-size: 2rem;
    }
    
    .dev-mini-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .expertise-grid {
        justify-content: center;
    }
    
    .quote-highlight {
        text-align: center;
    }
}

/* Quests Grid */
.quests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Cards */
.quest-card {
    position: relative;
    text-decoration: none;
    color: inherit;
    border-radius: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    overflow: hidden;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.quest-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card-gradient-border {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.quest-card:hover .card-gradient-border {
    height: 100%;
    opacity: 0.05;
}

.card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.icon-box {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: inset 0 2px 10px rgba(255,255,255,0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quest-card:hover .icon-box {
    transform: scale(1.1) translateY(-5px) rotate(5deg);
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-dot {
    width: 6px; height: 6px;
    background: currentColor;
    border-radius: 50%;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2.5rem;
}

.tag-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease;
}

.tag-badge:hover {
    transform: translateY(-2px);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.quest-card:hover .card-footer {
    color: var(--accent);
}

.action-icon {
    transition: transform 0.3s ease;
}

.quest-card:hover .action-icon {
    transform: translateX(8px);
}

.quest-card.disabled {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(0.7);
}

/* Loading & Error */
.loading-state, .error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 0;
}

.spinner {
    width: 50px; height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.btn-retry {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1.5rem;
    cursor: pointer;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-panel);
    padding: 3rem 0;
    text-align: center;
}

.footer-content p {
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.footer-sub {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 90%;
    max-width: 650px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.modal-icon {
    width: 70px; height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 1px solid transparent;
}

.modal-title-area h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.modal-body {
    margin-bottom: 2.5rem;
}

.modal-long-desc {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.modal-body h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-main);
    line-height: 1.5;
}

.check-icon {
    font-weight: bold;
    font-size: 1.1rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.btn-launch {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-launch:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Auth Styles */
.btn-text {
    background: transparent;
    color: var(--text-main);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
}

.btn-text:hover {
    opacity: 0.8;
}

.btn-primary-small {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.auth-content {
    max-width: 400px;
    text-align: center;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 3rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input, .form-group select.auth-input {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input:focus, .form-group select.auth-input:focus {
    border-color: #8b5cf6;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
    color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #8b5cf6;
}

.auth-switch {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-switch a {
    color: #8b5cf6;
    font-weight: 700;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Responsive (Mobil / Tablet Uyumu) */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-desc { font-size: 1.15rem; }
    .quests-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
    .nav-content { 
        flex-direction: column; 
        gap: 15px; 
        padding: 1rem;
    }
    .hero-section { margin-bottom: 3rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 1rem; }
    .main-container { padding: 2rem 1rem; }
    .quests-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .quest-card { padding: 1.5rem; }
    .quest-title { font-size: 1.5rem; }
    .quest-desc { font-size: 0.95rem; }
    
    .modal-content, .auth-content { 
        width: 95%; 
        padding: 2rem; 
        margin: 20px auto; 
    }
    
    .tabs-container {
        flex-direction: column;
        gap: 10px;
    }
    .tab-btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .btn-text, .btn-primary-small {
        width: 100%;
        text-align: center;
    }
    .hero-title { font-size: 1.8rem; }
    .modal-content, .auth-content { padding: 1.5rem; }
    .auth-header h2 { font-size: 1.5rem; }
}

/* New Simulation Banner */
.new-sim-banner {
    display: inline-block;
    margin: 15px auto 25px auto;
    padding: 8px 20px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(16, 185, 129, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
    animation: pulse-banner 2s infinite alternate, glow-banner 3s infinite linear;
}

@keyframes pulse-banner {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(59, 130, 246, 0.2); }
    100% { transform: scale(1.03); box-shadow: 0 0 25px rgba(16, 185, 129, 0.5); }
}

@keyframes glow-banner {
    0% { border-color: rgba(59, 130, 246, 0.4); }
    50% { border-color: rgba(16, 185, 129, 0.8); }
    100% { border-color: rgba(59, 130, 246, 0.4); }
}

/* ==========================================================
   ARIF DEMIR PROFILE REDESIGN (New Components)
   ========================================================== */

/* Stat Cards (Success/Experience) */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: -30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}
.stat-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-panel));
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}
.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}
.stat-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
}
.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.2;
}
.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.4;
}

/* Timeline */
.dev-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding-left: 30px;
    border-left: 2px solid var(--border-color);
}
.timeline-item {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid var(--accent);
}
.timeline-date {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0;
    min-width: 90px;
    text-align: right;
}
.timeline-content {
    background: var(--bg-card);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    flex: 1;
}

@media (max-width: 600px) {
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .timeline-date {
        text-align: left;
    }
    .timeline-item::before {
        top: 15px;
        transform: none;
    }
}

/* Flow Diagrams */
.flow-diagram {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}
.flow-step {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}
.flow-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Funnel (Vertical Flow) */
.funnel-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}
.funnel-step {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-panel));
    border: 1px solid var(--border-color);
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
    text-align: center;
    width: 250px;
    transition: all 0.3s ease;
}
.funnel-step:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}
.funnel-arrow {
    color: var(--accent);
    font-size: 1.5rem;
}

/* Scientific Profiles */
.profiles-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.profile-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}
.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.5);
    color: white;
}

/* Inline Simulation Overlay */
.sim-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sim-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.sim-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: background 0.2s;
}

.sim-close-btn:hover {
    background: rgba(239, 68, 68, 1);
}

.sim-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: #0f172a;
}
