/* ==========================================================================
   AYŞEGÜL OĞUL - PORTFOLIO (Multi-Page Architecture)
   Sleek Dark Mode + Vanilla CSS + Spotlight Glow + Floating Paths
   ========================================================================== */

:root {
    --bg-main: #060911;
    --bg-surface: #0a1020;
    --bg-card: #0d1424;
    --bg-alt: #080d1a;

    --primary: #0ea5e9;
    --primary-light: #38bdf8;
    --secondary: #6366f1;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Space Grotesk', var(--font-sans);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    --border-default: rgba(255, 255, 255, 0.08);
}

.skills-grid .skill-card:nth-child(n+5),
.skill-progress-section { display: none !important; }

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3.5px;
    background: linear-gradient(90deg, #38bdf8 0%, #6366f1 50%, #10b981 100%);
    z-index: 10002;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.8), 0 0 4px rgba(16, 185, 129, 0.6);
    pointer-events: none;
    transition: width 0.05s ease-out;
}

/* ==========================================================================
   3D GLASS TILT & SPOTLIGHT BASE
   ========================================================================== */
.tilt-card, [data-glow] {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.main-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Ambient Lighting Layer */
.bg-ambient-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(rgba(148, 163, 184, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.018) 1px, transparent 1px),
        radial-gradient(circle at 82% 12%, rgba(14, 165, 233, 0.055), transparent 34%),
        radial-gradient(circle at 12% 82%, rgba(16, 185, 129, 0.035), transparent 38%);
    background-size: 52px 52px, 52px 52px, auto, auto;
}

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 9, 17, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-default);
    width: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.12rem;
    flex-shrink: 0;
}

.brand-avatar-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.35);
}

.logo-text {
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: -0.3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 5px 8px;
    border-radius: var(--radius-full);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.07);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(2, 132, 199, 0.18));
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 14px rgba(14, 165, 233, 0.25);
    font-weight: 600;
}

.highlight-link {
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #38bdf8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.nav-social-btn:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 119, 181, 0.4);
}

.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.lang-toggle-btn:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* ==========================================================================
   2. BUTTONS & UI UTILITIES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0284c7);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-default);
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-default);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-sm {
    padding: 7px 15px;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-default);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.btn-block { width: 100%; }

/* Glass CTA */
.glass-cta-wrapper {
    position: relative;
    display: inline-block;
    padding: 1px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.3);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.glass-cta-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -8px rgba(14, 165, 233, 0.5);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.6) 0%, rgba(14, 165, 233, 0.2) 100%);
}

.glass-cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 16, 32, 0.94);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 15px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.glass-cta-btn .arrow-icon {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--primary-light);
}

.glass-cta-wrapper:hover .arrow-icon { transform: translateX(5px); }

/* ========================================================================== 
   3. CALM AMBIENT BACKGROUND
   ========================================================================== */
.hero-paths-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    max-height: none;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    contain: strict;
    isolation: isolate;
}

.hero-paths-container::before,
.hero-paths-container::after,
.page-paths-container::before,
.page-paths-container::after {
    content: "";
    position: absolute;
    width: min(46vw, 620px);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    will-change: transform;
    animation: ambientDrift 30s ease-in-out infinite alternate;
}

.hero-paths-container::before,
.page-paths-container::before {
    top: -45%;
    right: -8%;
    background: #0ea5e9;
}

.hero-paths-container::after,
.page-paths-container::after {
    bottom: -55%;
    left: -10%;
    background: #10b981;
    animation-delay: -15s;
}

@keyframes ambientDrift {
    from { transform: translate3d(-2%, -1%, 0) scale(0.96); }
    to { transform: translate3d(4%, 3%, 0) scale(1.04); }
}

/* ==========================================================================
   4. HERO TITLE (Static — No Animation, 100% Chrome Safe)
   ========================================================================== */
.hero-title-line {
    display: block;
    line-height: 1.18;
}

.title-cyan,
.text-gradient-cyan {
    color: #38bdf8 !important;
    text-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

.title-emerald,
.text-gradient-emerald {
    color: #34d399 !important;
    text-shadow: 0 0 24px rgba(52, 211, 153, 0.35);
}

.title-white,
.text-white {
    color: #f8fafc !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.typewriter-cursor {
    display: inline-block;
    color: #38bdf8;
    font-weight: 300;
    margin-left: 2px;
    animation: cursorBlink 0.9s infinite;
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.85);
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ==========================================================================
   5. SPOTLIGHT GLOW EFFECT
   ========================================================================== */
[data-glow] {
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    isolation: isolate;
}

[data-glow]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        320px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--glow-surface, rgba(14, 165, 233, 0.12)),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 1;
}

[data-glow]::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid var(--glow-border, rgba(56, 189, 248, 0.45));
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 2;
}

[data-glow]:hover::before,
[data-glow]:hover::after {
    opacity: 1;
}

[data-glow]:hover {
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65), 0 0 24px rgba(14, 165, 233, 0.15);
    border-color: rgba(56, 189, 248, 0.35);
}

[data-glow][data-glow-color="blue"],
[data-glow]:not([data-glow-color]) {
    --glow-surface: rgba(14, 165, 233, 0.12);
    --glow-border: rgba(56, 189, 248, 0.65);
}

[data-glow][data-glow-color="purple"] {
    --glow-surface: rgba(168, 85, 247, 0.12);
    --glow-border: rgba(192, 132, 252, 0.65);
}

[data-glow][data-glow-color="green"] {
    --glow-surface: rgba(16, 185, 129, 0.12);
    --glow-border: rgba(52, 211, 153, 0.65);
}

[data-glow][data-glow-color="orange"] {
    --glow-surface: rgba(245, 158, 11, 0.12);
    --glow-border: rgba(251, 191, 36, 0.65);
}

[data-glow] > * { position: relative; z-index: 3; }

/* ==========================================================================
   6. PAGE HEADERS & SECTIONS
   ========================================================================== */
.section { padding: 64px 0 80px; }

.page-hero {
    position: relative;
    padding: 65px 0 45px;
    background: radial-gradient(ellipse at 50% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-default);
    margin-bottom: 40px;
    overflow: hidden;
}

.page-paths-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

.paths-svg,
.floating-path { display: none !important; }

@media (prefers-reduced-motion: reduce) {
    .hero-paths-container::before,
    .hero-paths-container::after,
    .page-paths-container::before,
    .page-paths-container::after {
        animation: none;
    }
}

/* Assistant quick questions: three balanced columns */
.assistant-chat-section .quick-chips-wrapper {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 14px 18px;
    overflow: visible;
}

.assistant-chat-section .chips-label {
    padding-top: 10px;
}

.assistant-chat-section .quick-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    overflow: visible;
}

.assistant-chat-section .chip {
    width: 100%;
    min-height: 42px;
    padding: 8px 11px;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
}

@media (max-width: 720px) {
    .assistant-chat-section .quick-chips-wrapper {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .assistant-chat-section .chips-label {
        padding-top: 0;
    }

    .assistant-chat-section .quick-chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 430px) {
    .assistant-chat-section .quick-chips {
        grid-template-columns: 1fr;
    }
}

/* Assistant page */
.assistant-chat-section {
    padding-top: 14px;
}

.assistant-page-hero {
    margin-bottom: 22px;
}

.assistant-disclaimer {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-align: center;
}

.chat-console {
    border: 1px solid var(--border-default);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(4, 10, 17, 0.2);
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 7px;
}

.chat-status .status-dot {
    display: inline-block;
}

html[data-theme="light"] .chat-console {
    background: rgba(235, 229, 218, 0.94) !important;
    border-color: rgba(57, 82, 84, 0.17) !important;
    box-shadow: 0 18px 40px rgba(48, 61, 61, 0.12) !important;
}

html[data-theme="light"] .chat-header,
html[data-theme="light"] .chat-input-form {
    background: rgba(215, 213, 204, 0.9);
}

html[data-theme="light"] .chat-topic-tabs,
html[data-theme="light"] .quick-chips-wrapper {
    background: rgba(225, 222, 212, 0.82);
    border-color: rgba(57, 82, 84, 0.13);
}

html[data-theme="light"] .chat-input,
html[data-theme="light"] .chip,
html[data-theme="light"] .bot-message .message-bubble,
html[data-theme="light"] .chat-action-btn {
    color: #2b3b42;
    background: rgba(242, 237, 227, 0.86);
    border-color: rgba(57, 82, 84, 0.15);
}

html[data-theme="light"] .chat-input::placeholder {
    color: #68757a;
}

html[data-theme="light"] .chat-topic-tab.active,
html[data-theme="light"] .chat-action-pill {
    color: #365f65;
    background: rgba(79, 119, 123, 0.12);
    border-color: rgba(79, 119, 123, 0.26);
}

@media (max-width: 768px) {
    .assistant-chat-section {
        padding: 0 0 110px;
    }

    .chat-console {
        border-radius: 16px;
    }

    .chat-messages {
        height: 50vh;
        min-height: 340px;
        padding: 16px;
    }
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 680px;
}

/* Home Hero */
.hero-section {
    position: relative;
    padding: 70px 0 90px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
    align-items: stretch;
    position: relative;
    z-index: 10;
    transform: translateZ(0);
    isolation: isolate;
}

.hero-content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px 0;
}

.hero-grid-centered {
    display: flex;
    justify-content: center;
    max-width: 920px;
    margin: 0 auto;
}

.hero-content-centered {
    max-width: 860px;
    text-align: left;
}

/* Hero Pill With Photo (Proportionate, Sleek Oval Capsule) */
.status-pill {
    display: inline-flex;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 10px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.32);
    padding: 4px 15px 4px 5px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 600;
    color: #f0f9ff;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.18), 0 0 10px rgba(56, 189, 248, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.status-pill:hover {
    transform: translateY(-2px);
    border-color: #38bdf8;
    box-shadow: 0 6px 22px rgba(14, 165, 233, 0.3), 0 0 16px rgba(56, 189, 248, 0.25);
}

.hero-avatar-mini {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 1.5px solid #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px #10b981;
    animation: pulseAnim 2s infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3.35rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.6px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.04rem;
    color: #cbd5e1;
    line-height: 1.62;
    margin-bottom: 26px;
    max-width: 100%;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.hero-cta-group .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-linkedin {
    background: rgba(0, 119, 181, 0.16) !important;
    border: 1px solid rgba(0, 119, 181, 0.45) !important;
    color: #38bdf8 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    border-radius: var(--radius-full) !important;
    font-family: var(--font-sans) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(0, 119, 181, 0.2) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-linkedin svg {
    width: 17px !important;
    height: 17px !important;
    fill: currentColor !important;
    flex-shrink: 0 !important;
}

.btn-linkedin:hover {
    background: #0077b5 !important;
    border-color: #0077b5 !important;
    color: #ffffff !important;
    box-shadow: 0 0 24px rgba(0, 119, 181, 0.5) !important;
    transform: translateY(-2px) !important;
}

.hero-cta-group .btn-secondary {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
}

.hero-cta-group .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.hero-cta-group .btn-ghost {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.hero-cta-group .btn-ghost:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    transform: translateY(-2px);
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-default);
    flex-wrap: wrap;
}

.metric-item { display: flex; flex-direction: column; }
.metric-value {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}
.metric-label { font-size: 0.75rem; color: var(--text-muted); }
.metric-divider { width: 1px; height: 32px; background: var(--border-default); }

/* ==========================================================================
   HERO METRICS & HIGHLIGHTS SHOWCASE (Canlı Sayaç & Yetkinlik Kartları)
   ========================================================================== */
.hero-metrics-showcase {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 10;
}

.hm-card {
    background: rgba(8, 13, 26, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 26px;
    padding: 18px 22px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(14, 165, 233, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.hm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.75), 0 0 28px rgba(56, 189, 248, 0.25);
}

.hm-card-cyan:hover {
    border-color: rgba(56, 189, 248, 0.55);
}

.hm-card-emerald {
    border-color: rgba(16, 185, 129, 0.25);
}

.hm-card-emerald:hover {
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.75), 0 0 28px rgba(16, 185, 129, 0.25);
}

.hm-card-purple {
    border-color: rgba(168, 85, 247, 0.25);
}

.hm-card-purple:hover {
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.75), 0 0 28px rgba(168, 85, 247, 0.25);
}

.hm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.hm-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.icon-cyan {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.icon-emerald {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-purple {
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.hm-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.tag-cyan {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

.tag-emerald {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.tag-purple {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

.hm-stat-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.hm-counter {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    color: #38bdf8;
    text-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.counter-emerald {
    color: #34d399;
    text-shadow: 0 0 16px rgba(52, 211, 153, 0.4);
}

.hm-title {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.hm-desc {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.45;
    margin-bottom: 12px;
}

.hm-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.hm-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fill-cyan {
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.fill-emerald {
    background: linear-gradient(90deg, #059669, #34d399);
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
}

/* Badges Container in Card 3 */
.hm-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.hm-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.hm-pill:hover {
    transform: translateY(-2px);
}

.pill-sql {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

.pill-py {
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: #fde047;
}

.pill-fuzzy {
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
}

.pill-excel {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.pill-cad {
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #fb7185;
}

/* Home Overview Cards Grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.overview-card {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.overview-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.overview-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.overview-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 20px;
    flex: 1;
}

.overview-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: gap 0.2s ease;
}

.overview-link:hover { gap: 10px; }

/* Experience (Deneyim) Detail Cards */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.exp-card {
    padding: 34px 28px;
}

.exp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-default);
    padding-bottom: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.exp-role-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.exp-company-name {
    font-size: 1.02rem;
    color: var(--primary-light);
    font-weight: 700;
}

.exp-badge {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    background: rgba(14, 165, 233, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.exp-bullet-list {
    margin-left: 20px;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.exp-bullet-list li { margin-bottom: 8px; }
.exp-bullet-list strong { color: #f1f5f9; }

.exp-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border-default);
}

.exp-tags-row span {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-default);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.skill-card {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.skill-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.skill-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.skill-text { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 16px; flex: 1; line-height: 1.6; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tags span {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-default);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

/* Certifications Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
}

.cert-card {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cert-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-default);
}

.cert-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.35;
}

.cert-issuer {
    font-size: 0.84rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.cert-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

.cert-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-default);
    font-size: 0.76rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Education Cards */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.edu-card {
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
}

.edu-icon-box {
    font-size: 2rem;
    margin-bottom: 14px;
}

.edu-institution {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.edu-degree {
    font-size: 0.98rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 12px;
}

.edu-date {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    width: fit-content;
}

.edu-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Page Cards (Modern 2-Column Symmetric Hub: Direct Contact & Availability) */
.contact-hub-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
}

.contact-main-card {
    background: rgba(8, 13, 26, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 30px;
    padding: 36px 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(14, 165, 233, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 32px rgba(56, 189, 248, 0.22);
    border-color: rgba(56, 189, 248, 0.45);
}

.availability-main-card {
    background: linear-gradient(145deg, rgba(8, 22, 38, 0.9) 0%, rgba(10, 32, 48, 0.9) 100%);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(16, 185, 129, 0.15);
}

.availability-main-card:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 32px rgba(16, 185, 129, 0.28);
}

.contact-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-card-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #38bdf8;
    display: block;
    margin-bottom: 3px;
}

.contact-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.direct-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.direct-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    padding: 13px 18px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

a.direct-item:hover {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(14, 165, 233, 0.1);
    transform: translateX(4px);
}

.direct-item-icon {
    font-size: 1.25rem;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    flex-shrink: 0;
}

.direct-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

.direct-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.direct-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: #f1f5f9;
    word-break: break-all;
}

.direct-value.highlight-cyan {
    color: #38bdf8;
}

.direct-action-hint {
    font-size: 0.76rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

a.direct-item:hover .direct-action-hint {
    opacity: 1;
    transform: scale(1.05);
    background: rgba(56, 189, 248, 0.2);
}

/* Availability Status Components */
.avail-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 6px;
}

.avail-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseAnim 2s infinite;
}

.avail-badge-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.avail-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.avail-desc {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.55;
    margin-bottom: 18px;
}

.avail-action-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.btn-contact-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-sans);
    text-align: left;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-action-icon {
    font-size: 1.35rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.btn-action-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btn-action-title {
    font-size: 0.92rem;
    font-weight: 700;
}

.btn-action-sub {
    font-size: 0.76rem;
    opacity: 0.8;
}

.btn-action-vcard {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

.btn-action-vcard .btn-action-icon {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-action-vcard:hover {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.btn-action-cv {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.btn-action-cv .btn-action-icon {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-action-cv:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-action-copy {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
}

.btn-action-copy .btn-action-icon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-action-copy:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ==========================================================================
   DIGITAL VCARD & QR CODE CARD
   ========================================================================== */
.vcard-qr-card {
    padding: 32px 28px;
    background: rgba(11, 19, 41, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.qr-box-wrapper {
    position: relative;
    padding: 14px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 24px rgba(56, 189, 248, 0.25);
    margin: 16px 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(56, 189, 248, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qr-box-wrapper:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 32px rgba(56, 189, 248, 0.45);
}

.qr-code-img {
    width: 140px;
    height: 140px;
    display: block;
    border-radius: 6px;
}

.qr-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.vcard-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.btn-vcard {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    text-decoration: none;
}

.btn-vcard:hover {
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

.copy-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(14, 165, 233, 0.5);
    z-index: 10005;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================================================
   7. CHAT CONSOLE
   ========================================================================== */
.chat-console-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.chat-console {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: rgba(6, 9, 17, 0.92);
    border-bottom: 1px solid var(--border-default);
}

.chat-profile { display: flex; align-items: center; gap: 12px; }

.chat-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 1.5px solid var(--primary);
}

.chat-name {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(14, 165, 233, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.chat-status { font-size: 0.78rem; color: var(--text-muted); }

.chat-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}

.chat-action-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.chat-topic-tabs {
    display: flex;
    gap: 6px;
    padding: 10px 18px 6px;
    background: rgba(6, 9, 17, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    scrollbar-width: none;
}
.chat-topic-tabs::-webkit-scrollbar { display: none; }

.chat-topic-tab {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.chat-topic-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}
.chat-topic-tab.active {
    color: #38bdf8;
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
}

.quick-chips-wrapper {
    padding: 10px 18px;
    background: rgba(6, 9, 17, 0.5);
    border-bottom: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
}

.chips-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.quick-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.quick-chips::-webkit-scrollbar { display: none; }

.chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
}

.chip:hover {
    background: rgba(14, 165, 233, 0.14);
    border-color: rgba(14, 165, 233, 0.4);
    color: var(--primary-light);
}

/* Enhanced Bot Message Formats */
.chat-code-block {
    margin: 10px 0;
    background: #090d16;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.82rem;
}
.chat-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
    color: var(--text-muted);
}
.chat-code-header .code-lang {
    color: #38bdf8;
    font-weight: 700;
}
.chat-code-content {
    padding: 10px 14px;
    overflow-x: auto;
    color: #e2e8f0;
    line-height: 1.5;
    white-space: pre-wrap;
}

.chat-action-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.chat-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(14, 165, 233, 0.09);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38bdf8;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.chat-action-pill:hover {
    background: rgba(14, 165, 233, 0.22);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-1px);
}

.chat-metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin: 10px 0;
}
.chat-metric-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
}
.chat-metric-box .metric-val {
    font-size: 1.08rem;
    font-weight: 800;
    color: #38bdf8;
    font-family: var(--font-mono);
}
.chat-metric-box .metric-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.btn-tts {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.15s;
    margin-left: 6px;
}
.btn-tts:hover {
    color: #38bdf8;
}

.chat-messages {
    height: 380px;
    overflow-y: auto;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.message { display: flex; gap: 10px; max-width: 85%; position: relative; }
.bot-message { align-self: flex-start; }
.user-message { align-self: flex-end; flex-direction: row-reverse; }

.message-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 1px solid var(--primary);
    flex-shrink: 0;
}

.user-message .message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #334155;
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.message-bubble {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    line-height: 1.6;
}

.bot-message .message-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    border-top-left-radius: 2px;
}

.bot-message .message-bubble p:not(:last-child) { margin-bottom: 6px; }
.bot-message .message-bubble ul, .bot-message .message-bubble ol { margin: 6px 0 6px 18px; }
.bot-message .message-bubble li { margin-bottom: 3px; }

.user-message .message-bubble {
    background: var(--primary);
    color: #ffffff;
    border-top-right-radius: 2px;
}

.message-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    position: absolute;
    bottom: -18px;
    white-space: nowrap;
}

.bot-message .message-time { left: 42px; }
.user-message .message-time { right: 42px; }

.typing-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

.chat-input-form {
    display: flex;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(6, 9, 17, 0.95);
    border-top: 1px solid var(--border-default);
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    outline: none;
}

.chat-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.chat-send-btn {
    background: var(--primary);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.chat-send-btn:hover { background: var(--primary-light); }

/* ==========================================================================
   8. ATS CV MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(4, 7, 14, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

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

.modal-container {
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    background: #0d1424;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal-container { transform: scale(1); }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #060911;
    border-bottom: 1px solid var(--border-default);
    gap: 16px;
}

.modal-header-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.modal-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.modal-title-group strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.modal-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
    flex-shrink: 0;
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.modal-close-btn {
    background: transparent;
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.15s;
    flex-shrink: 0;
}

.modal-close-btn:hover {
    color: #fff;
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.1);
}

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

.modal-body {
    padding: 32px 36px;
    overflow-y: auto;
    background: #090e1b;
    color: #f1f5f9;
    font-family: var(--font-sans);
}

.cv-paper {
    background: #0a1122;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 32px;
    line-height: 1.5;
}

.cv-head {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(14, 165, 233, 0.4);
    margin-bottom: 20px;
}

.cv-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.cv-job {
    font-size: 1.05rem;
    color: var(--primary-light);
    font-weight: 700;
    margin: 4px 0 8px;
}

.cv-contact-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.cv-contact-bar a { color: var(--primary-light); text-decoration: none; }

.cv-section { margin-bottom: 22px; }
.cv-section-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-default);
    padding-bottom: 4px;
    margin-bottom: 10px;
}

.cv-summary { font-size: 0.9rem; color: #cbd5e1; }

.cv-item { margin-bottom: 14px; }
.cv-item-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3px;
}

.cv-item-title { font-weight: 700; font-size: 0.95rem; color: #fff; }
.cv-item-date { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.cv-item-sub { font-size: 0.86rem; color: var(--primary-light); margin-bottom: 4px; }
.cv-bullet-list { margin-left: 18px; font-size: 0.86rem; color: #cbd5e1; }
.cv-bullet-list li { margin-bottom: 3px; }

.cv-skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    font-size: 0.85rem;
}

.cv-skill-group strong { color: #fff; display: block; margin-bottom: 2px; }
.cv-skill-group span { color: #94a3b8; }

@media print {
    body * { visibility: hidden; }
    .modal-overlay, .modal-overlay * { visibility: visible; }
    .modal-overlay {
        position: absolute;
        inset: 0;
        background: #fff !important;
        color: #000 !important;
        padding: 0;
    }
    .modal-container {
        max-width: 100%;
        border: none;
        box-shadow: none;
        background: #fff !important;
    }
    .modal-header, .floating-chat-trigger, .navbar, .footer { display: none !important; }
    .modal-body { padding: 0; background: #fff !important; color: #000 !important; }
    .cv-paper {
        border: none;
        background: #fff !important;
        color: #000 !important;
        padding: 0;
    }
    .cv-name, .cv-item-title, .cv-skill-group strong { color: #000 !important; }
    .cv-job, .cv-section-title, .cv-item-sub { color: #0284c7 !important; }
    .cv-summary, .cv-bullet-list, .cv-contact-bar, .cv-skill-group span { color: #334155 !important; }
}

/* ==========================================================================
   9. FOOTER & FLOATING TRIGGER
   ========================================================================== */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border-default);
    font-size: 0.84rem;
    color: var(--text-muted);
    background: #04070d;
    margin-top: auto;
}

.footer-content { display: flex; align-items: center; justify-content: space-between; }
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { color: var(--text-secondary); text-decoration: none; transition: color 0.15s; }
.footer-nav a:hover { color: var(--primary-light); }

/* ==========================================================================
   FUTURISTIC ANIMATED AI FLOATING ORB WIDGET
   ========================================================================== */
.floating-chat-trigger {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 996;
}

.ai-floating-orb-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    flex-direction: row-reverse;
}

/* Pulsing Outer Aura Radar Waves */
.orb-aura-ring {
    position: absolute;
    right: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1.5px solid rgba(56, 189, 248, 0.6);
    pointer-events: none;
    animation: orbAuraPulse 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    z-index: 1;
}

.orb-aura-ring.delay {
    animation-delay: 1.5s;
    border-color: rgba(217, 70, 239, 0.5);
}

@keyframes orbAuraPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.85);
        opacity: 0;
    }
}

/* 3D Holographic AI Sphere */
.orb-sphere {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #38bdf8 0%, #6366f1 45%, #a855f7 75%, #090e1c 100%);
    box-shadow: 
        0 8px 30px rgba(14, 165, 233, 0.5), 
        0 0 25px rgba(168, 85, 247, 0.4),
        inset 0 2px 6px rgba(255, 255, 255, 0.65),
        inset 0 -4px 10px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    animation: orbFloat 4s ease-in-out infinite alternate;
}

.orb-sphere::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 8px;
    width: 20px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(-25deg);
    pointer-events: none;
}

.orb-sparkle {
    font-size: 1.45rem;
    animation: sparkleRotate 6s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

@keyframes orbFloat {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-6px) scale(1.03);
    }
}

@keyframes sparkleRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(15deg) scale(1.15);
    }
}

/* Glass Pill Badge Label */
.orb-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(8, 13, 26, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-full);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 16px rgba(14, 165, 233, 0.15);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.orb-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

/* Hover Interactions */
.ai-floating-orb-btn:hover .orb-sphere {
    transform: translateY(-8px) scale(1.12) rotate(8deg);
    box-shadow: 
        0 14px 40px rgba(14, 165, 233, 0.7), 
        0 0 35px rgba(217, 70, 239, 0.6),
        inset 0 2px 8px rgba(255, 255, 255, 0.8);
}

.ai-floating-orb-btn:hover .orb-pill-tag {
    border-color: #38bdf8;
    background: rgba(14, 165, 233, 0.15);
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.4);
    transform: translateX(-4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-chat-trigger {
        bottom: 90px;
        right: 18px;
    }

    .orb-sphere {
        width: 52px;
        height: 52px;
    }

    .orb-aura-ring {
        width: 52px;
        height: 52px;
    }

    .orb-pill-tag {
        display: none;
    }
}

/* ==========================================================================
   PAGE LOADER ANIMATION
   ========================================================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #080d1a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(56, 189, 248, 0.15);
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: loaderSpin 0.7s linear infinite;
    margin: 0 auto 16px;
}

.loader-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   FOOTER SOCIAL LINKS
   ========================================================================== */
.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ==========================================================================
   INTERACTIVE TIMELINE (Deneyim Page)
   ========================================================================== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #38bdf8, #6366f1, #34d399);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #38bdf8;
    background: #080d1a;
    z-index: 2;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.timeline-item:nth-child(2) .timeline-dot {
    border-color: #6366f1;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.timeline-item:nth-child(3) .timeline-dot {
    border-color: #34d399;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}

.timeline-item:nth-child(4) .timeline-dot {
    border-color: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.timeline-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-item:nth-child(2) .timeline-date { color: #6366f1; }
.timeline-item:nth-child(3) .timeline-date { color: #34d399; }
.timeline-item:nth-child(4) .timeline-date { color: #f59e0b; }

/* ==========================================================================
   SKILL PROGRESS BARS (Beceriler Page)
   ========================================================================== */
.skill-progress-section {
    margin-top: 48px;
}

.skill-progress-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.skill-bar-item {
    margin-bottom: 22px;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-bar-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-bar-percent {
    font-size: 0.82rem;
    font-weight: 700;
    color: #38bdf8;
    font-family: 'JetBrains Mono', monospace;
}

.skill-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-bar-fill.green { background: linear-gradient(90deg, #34d399, #059669); }
.skill-bar-fill.purple { background: linear-gradient(90deg, #a78bfa, #6366f1); }
.skill-bar-fill.orange { background: linear-gradient(90deg, #fbbf24, #f59e0b); }

/* ==========================================================================
   ANIMATED STAT COUNTERS (Ana Sayfa)
   ========================================================================== */
.stats-section {
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(56, 189, 248, 0.2);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #38bdf8, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stat-number { font-size: 1.6rem; }
    .stat-card { padding: 20px 12px; }
    .timeline { padding-left: 32px; }
    .timeline::before { left: 11px; }
    .timeline-dot { left: -28px; width: 12px; height: 12px; }
}

/* ==========================================================================
   MICRO-ANIMATIONS & HOVER INTERACTIONS
   ========================================================================== */
.btn {
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:active {
    transform: scale(0.97) !important;
}

.btn-primary:hover {
    box-shadow: 0 0 24px rgba(14, 165, 233, 0.45);
    transform: translateY(-2px);
}

.btn-outline:hover {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
    transform: translateY(-2px);
    border-color: #38bdf8;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.exp-tags-row span, 
.skill-tags span {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.exp-tags-row span:hover, 
.skill-tags span:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.12);
    color: #f8fafc;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

.overview-card {
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.1);
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 18px rgba(56, 189, 248, 0.35);
}


/* ==========================================================================
   404 ERROR PAGE STYLES
   ========================================================================== */
.error-hero {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    position: relative;
    z-index: 2;
}

.error-card {
    max-width: 620px;
    margin: 0 auto;
    padding: 48px 36px;
    background: rgba(11, 19, 41, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.12);
}

.error-code {
    font-size: clamp(5.5rem, 16vw, 8.5rem);
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
    background: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -2px;
    text-shadow: 0 0 60px rgba(56, 189, 248, 0.4);
}

.error-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.error-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.error-desc {
    font-size: 1.02rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 32px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.error-quicklinks {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.error-quicklinks a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.error-quicklinks a:hover {
    color: #38bdf8;
}

/* Drawer Internal Components (Hidden on Desktop) */
.drawer-header { display: none; }
.drawer-footer { display: none; }
.nav-icon { display: none; }
.nav-ai-badge { display: none; }
.drawer-links { display: flex; align-items: center; gap: 4px; }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-content { padding: 8px 0; }
    .contact-grid, .contact-card-grid, .contact-hub-grid { grid-template-columns: 1fr; }
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s ease;
}

.hamburger:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 6, 14, 0.72);
    z-index: 998;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 1040px) {
    .hamburger { 
        display: flex; 
        order: 10;
        margin-left: 4px;
    }

    /* Hide desktop-only extra buttons from mobile top bar to avoid clutter */
    .nav-actions .nav-social-btn,
    .nav-actions #btn-open-cv-nav {
        display: none;
    }

    .nav-actions {
        gap: 6px;
    }

    /* Mobile Drawer Full Height & Glass Style */
    .nav-menu {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #080d1a;
        border-left: 1px solid rgba(56, 189, 248, 0.25);
        padding: 0;
        z-index: 1005;
        overflow-y: auto;
        box-shadow: -12px 0 45px rgba(0, 0, 0, 0.9), -1px 0 15px rgba(14, 165, 233, 0.2);
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s;
        border-radius: 0;
    }
    
    .nav-menu.open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
    }
    
    /* Drawer Header */
    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 16px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(255, 255, 255, 0.02);
    }

    .drawer-profile {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .drawer-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center 20%;
        border: 2px solid var(--primary);
        box-shadow: 0 0 12px rgba(14, 165, 233, 0.4);
        flex-shrink: 0;
    }

    .drawer-user-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .drawer-name {
        font-size: 0.98rem;
        font-weight: 700;
        color: #ffffff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .drawer-role {
        font-size: 0.72rem;
        color: #38bdf8;
        display: flex;
        align-items: center;
        gap: 5px;
        font-weight: 500;
        white-space: nowrap;
    }

    .drawer-close-btn {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #cbd5e1;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .drawer-close-btn:hover {
        background: rgba(239, 68, 68, 0.2);
        border-color: #ef4444;
        color: #ffffff;
    }

    /* Drawer Links List */
    /* Enhanced 2-Column App Grid Menu */
    .drawer-links {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 14px 12px;
        flex: 1;
        overflow-y: auto;
    }

    .nav-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.35rem;
    }

    .nav-ai-badge {
        display: inline-block;
        background: linear-gradient(135deg, #0ea5e9, #6366f1);
        color: #ffffff;
        font-size: 0.62rem;
        font-weight: 800;
        padding: 2px 6px;
        border-radius: 4px;
        position: absolute;
        top: 8px;
        right: 8px;
        box-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
    }

    .nav-menu .nav-link {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 4px;
        font-size: 0.82rem;
        font-weight: 700;
        padding: 12px 10px;
        border-radius: var(--radius-md);
        color: #cbd5e1;
        background: rgba(15, 23, 42, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.08);
        transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative;
        text-decoration: none;
        min-width: 0;
        overflow: hidden;
    }

    .nav-menu .nav-link span:not(.nav-icon):not(.nav-ai-badge) {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .nav-menu .nav-link:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-menu .nav-link.active {
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(99, 102, 241, 0.18) 100%);
        border: 1px solid rgba(56, 189, 248, 0.55);
        color: #38bdf8;
        box-shadow: 0 4px 18px rgba(14, 165, 233, 0.25);
    }

    .nav-menu .nav-link.active span:not(.nav-icon):not(.nav-ai-badge) {
        color: #38bdf8;
    }

    /* Contact link full width on bottom of grid */
    .nav-menu .nav-link:last-child {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 12px 16px;
        gap: 12px;
        background: rgba(16, 185, 129, 0.08);
        border-color: rgba(16, 185, 129, 0.25);
    }

    /* Drawer Footer Actions */
    .drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 14px 16px 20px;
        background: rgba(0, 0, 0, 0.35);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .drawer-action-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .drawer-social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 12px;
        background: rgba(0, 119, 181, 0.22);
        border: 1px solid rgba(0, 119, 181, 0.45);
        color: #38bdf8;
        border-radius: var(--radius-md);
        font-size: 0.82rem;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.2s ease;
    }
    .drawer-social-btn svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }
    .drawer-social-btn:active {
        transform: scale(0.95);
        background: #0077b5;
        color: #ffffff;
    }

    .drawer-vcard-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 12px;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        border: none;
        color: #ffffff;
        border-radius: var(--radius-md);
        font-size: 0.82rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    .drawer-vcard-btn:active {
        transform: scale(0.95);
    }

    .drawer-cv-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px 16px;
        background: linear-gradient(135deg, var(--primary), #0284c7);
        border: none;
        color: #ffffff;
        border-radius: var(--radius-md);
        font-size: 0.86rem;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
        transition: all 0.2s ease;
    }
    .drawer-cv-btn:active {
        transform: scale(0.95);
    }

    .drawer-contact-info {
        display: flex;
        flex-direction: column;
        gap: 3px;
        margin-top: 4px;
        text-align: center;
    }
    .drawer-contact-info a {
        font-size: 0.73rem;
        color: var(--text-muted);
        text-decoration: none;
        transition: color 0.15s;
    }
}

/* ==========================================================================
   MOBILE BOTTOM FLOATING ACTION BAR (Glass Island)
   ========================================================================== */
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 1040px) {
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 14px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 24px);
        max-width: 440px;
        height: 62px;
        background: rgba(8, 13, 26, 0.88);
        border: 1px solid rgba(56, 189, 248, 0.28);
        border-radius: 36px;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(14, 165, 233, 0.25);
        z-index: 995;
        align-items: center;
        justify-content: space-around;
        padding: 0 6px;
    }

    body {
        padding-bottom: 84px;
    }

    .floating-widget {
        bottom: 86px;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #94a3b8;
        font-size: 0.68rem;
        font-weight: 600;
        gap: 3px;
        flex: 1;
        height: 100%;
        background: none;
        border: none;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: 20px;
        -webkit-tap-highlight-color: transparent;
    }

    .bottom-nav-item:active {
        transform: scale(0.92);
    }

    .bottom-nav-item .bnav-icon {
        font-size: 1.25rem;
        transition: transform 0.2s ease;
    }

    .bottom-nav-item.active {
        color: #38bdf8;
    }

    .bottom-nav-item.active .bnav-icon {
        transform: translateY(-2px) scale(1.12);
        filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
    }

    /* Central AI Glowing Island */
    .bnav-ai-center {
        position: relative;
        top: -12px;
    }

    .bnav-ai-bubble {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5), 0 0 16px rgba(99, 102, 241, 0.4);
        border: 2px solid rgba(255, 255, 255, 0.3);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .bnav-ai-center:active .bnav-ai-bubble {
        transform: scale(0.92);
    }

    .bnav-ai-center .bnav-icon {
        font-size: 1.35rem;
    }

    .bnav-ai-center .bnav-label {
        font-size: 0.65rem;
        color: #38bdf8;
        font-weight: 700;
        margin-top: 2px;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: clamp(1.85rem, 6.5vw, 2.3rem); line-height: 1.22; }
    .hero-subtitle { font-size: 0.95rem; line-height: 1.6; }
    .hero-metrics { flex-direction: column; align-items: flex-start; gap: 14px; }
    .metric-divider { display: none; }
    .chat-messages { height: 320px; padding: 14px; }
    .message { max-width: 95%; }
    .footer-content { flex-direction: column; gap: 12px; text-align: center; }
    .footer-nav { flex-wrap: wrap; justify-content: center; }

    /* Responsive Mobile CV Modal */
    .desktop-only-close { display: none !important; }
    .mobile-only-close { display: flex !important; flex-shrink: 0; }

    .modal-container {
        width: 95vw !important;
        max-height: 92vh !important;
        border-radius: var(--radius-lg) !important;
    }

    .modal-header {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 12px 14px !important;
        gap: 10px !important;
        position: sticky;
        top: 0;
        z-index: 10;
        background: #060911;
    }

    .modal-header-top {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 8px;
    }

    .modal-title-group {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        max-width: calc(100% - 44px);
    }

    .modal-title-group strong {
        font-size: 0.88rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .modal-badge {
        font-size: 0.65rem !important;
        padding: 1px 6px !important;
        flex-shrink: 0;
    }

    .modal-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .modal-actions .btn {
        width: 100% !important;
        padding: 8px 10px !important;
        font-size: 0.78rem !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }

    .modal-body { padding: 14px 12px 28px !important; }
    .cv-paper { padding: 16px 12px !important; }
    .cv-name { font-size: 1.35rem !important; }
    .cv-job { font-size: 0.82rem !important; letter-spacing: 0.5px; }
    .cv-contact-bar { flex-direction: column !important; align-items: center !important; gap: 4px !important; font-size: 0.78rem !important; }

    /* Mobile Swipeable Stats Grid */
    .stats-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        gap: 12px !important;
        padding: 4px 4px 14px !important;
        scrollbar-width: none;
    }
    .stats-grid::-webkit-scrollbar {
        display: none;
    }
    .stat-card {
        scroll-snap-align: start;
        min-width: 140px;
        flex: 1 0 auto;
        padding: 16px 14px;
    }
}

@media (max-width: 600px) {
    .hero-cta-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .hero-cta-group .glass-cta-wrapper {
        grid-column: span 2;
    }
    .hero-cta-group .btn-linkedin {
        grid-column: span 2;
    }
    .hero-cta-group .glass-cta-btn,
    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
        font-size: 0.88rem;
    }
    .chat-float-btn {
        bottom: 18px;
        right: 14px;
        padding: 10px 16px;
        font-size: 0.84rem;
    }
}

/* ==========================================================================
   SOFT CHARCOAL THEME — CALM, AIRY, PROFESSIONAL
   ========================================================================== */
:root {
    --bg-main: #0d151f;
    --bg-surface: #121d29;
    --bg-card: #14202d;
    --bg-alt: #101a25;
    --primary: #5f98a6;
    --primary-light: #8bb8c1;
    --secondary: #748ba3;
    --accent-emerald: #86aa91;
    --accent-amber: #c6a36a;
    --accent-rose: #b77c83;
    --text-primary: #f3f4f6;
    --text-secondary: #bdc7d3;
    --text-muted: #8996a6;
    --border-default: rgba(183, 197, 213, 0.14);
}

body,
html {
    background-color: var(--bg-main);
}

.bg-ambient-layer {
    background:
        repeating-radial-gradient(ellipse at 7% 105%, transparent 0 62px, rgba(129, 174, 179, 0.026) 63px 64px),
        repeating-radial-gradient(ellipse at 104% 7%, transparent 0 78px, rgba(194, 169, 119, 0.018) 79px 80px),
        linear-gradient(rgba(184, 204, 210, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 204, 210, 0.012) 1px, transparent 1px),
        radial-gradient(ellipse at 86% 13%, rgba(70, 120, 129, 0.14), transparent 39%),
        radial-gradient(ellipse at 9% 78%, rgba(89, 121, 98, 0.09), transparent 43%),
        linear-gradient(145deg, #0d151f 0%, #101923 48%, #0c151e 100%);
    background-size: auto, auto, 80px 80px, 80px 80px, auto, auto, auto;
}

.navbar {
    background: rgba(13, 21, 31, 0.92);
    border-bottom-color: rgba(183, 197, 213, 0.12);
    box-shadow: 0 8px 24px rgba(5, 10, 18, 0.12);
}

.page-hero {
    background: linear-gradient(180deg, rgba(95, 152, 166, 0.065), transparent 88%);
}

.title-cyan,
.title-emerald {
    color: var(--primary-light) !important;
    text-shadow: none !important;
}

.title-white {
    color: var(--text-primary) !important;
    text-shadow: none !important;
}

.status-pill {
    background: rgba(95, 152, 166, 0.1);
    border-color: rgba(139, 184, 193, 0.3);
    box-shadow: 0 8px 22px rgba(5, 10, 18, 0.18);
}

.status-dot {
    background: var(--accent-emerald);
    box-shadow: 0 0 5px rgba(134, 170, 145, 0.55);
}

.hero-avatar-mini,
.brand-avatar-img {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(139, 184, 193, 0.09);
}

.hm-card,
.overview-card,
.stat-card,
.exp-card,
.skill-card,
.cert-card,
.edu-card,
.contact-main-card,
.availability-main-card {
    background: rgba(16, 26, 40, 0.94) !important;
    border-color: rgba(183, 197, 213, 0.14) !important;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(5, 10, 18, 0.2) !important;
}

.hm-card:hover,
.overview-card:hover,
.stat-card:hover,
.exp-card:hover,
.skill-card:hover,
.cert-card:hover,
.edu-card:hover,
.contact-main-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(139, 184, 193, 0.3) !important;
    box-shadow: 0 16px 34px rgba(5, 10, 18, 0.25) !important;
}

.glass-cta-wrapper {
    background: rgba(183, 197, 213, 0.16);
    box-shadow: 0 10px 24px rgba(5, 10, 18, 0.18);
}

.glass-cta-btn,
.hero-cta-group .btn-secondary,
.hero-cta-group .btn-ghost {
    background: rgba(23, 33, 49, 0.92) !important;
    border-color: rgba(183, 197, 213, 0.15) !important;
}

.btn-linkedin {
    background: rgba(95, 152, 166, 0.12) !important;
    border-color: rgba(139, 184, 193, 0.28) !important;
    color: #a7cbd2 !important;
    box-shadow: none !important;
}

.section-tag,
.highlight-cyan,
.overview-link,
.cert-issuer,
.exp-company-name {
    color: var(--primary-light) !important;
}

.footer {
    background: rgba(12, 21, 30, 0.94);
    border-top-color: rgba(183, 197, 213, 0.12);
}

#scroll-progress {
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent-emerald));
    box-shadow: none;
}

.hero-paths-container::before,
.page-paths-container::before {
    background: #5f98a6;
    opacity: 0.08;
}

.hero-paths-container::after,
.page-paths-container::after {
    background: #86aa91;
    opacity: 0.06;
}

.theme-toggle-btn {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid var(--border-default);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(139, 184, 193, 0.35);
}

html[data-theme="light"] {
    --bg-main: #dcd6ca;
    --bg-surface: #e7e1d6;
    --bg-card: #ebe5da;
    --bg-alt: #d2cbbf;
    --primary: #4f777b;
    --primary-light: #365f65;
    --secondary: #7c8795;
    --accent-emerald: #6f9278;
    --accent-amber: #aa8350;
    --accent-rose: #a46f74;
    --text-primary: #26323a;
    --text-secondary: #52616b;
    --text-muted: #71808a;
    --border-default: rgba(57, 73, 83, 0.14);
    color-scheme: light;
}

html[data-theme="light"],
html[data-theme="light"] body {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

html[data-theme="light"] .bg-ambient-layer {
    background:
        repeating-radial-gradient(ellipse at 8% 105%, transparent 0 58px, rgba(52, 84, 87, 0.032) 59px 60px),
        repeating-radial-gradient(ellipse at 103% 8%, transparent 0 72px, rgba(108, 105, 84, 0.025) 73px 74px),
        linear-gradient(rgba(55, 74, 76, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(55, 74, 76, 0.018) 1px, transparent 1px),
        radial-gradient(ellipse at 86% 14%, rgba(78, 117, 119, 0.13), transparent 38%),
        radial-gradient(ellipse at 10% 76%, rgba(117, 133, 101, 0.1), transparent 42%),
        linear-gradient(145deg, #ddd7cc 0%, #d8d2c6 48%, #ded8cc 100%);
    background-size: auto, auto, 78px 78px, 78px 78px, auto, auto, auto;
}

html[data-theme="light"] .navbar {
    background: rgba(216, 213, 203, 0.94);
    border-bottom-color: rgba(57, 78, 80, 0.15);
    box-shadow: 0 8px 24px rgba(48, 61, 61, 0.08);
}

html[data-theme="light"] .nav-menu {
    background: rgba(229, 226, 217, 0.78);
    border-color: rgba(57, 78, 80, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

html[data-theme="light"] .lang-toggle-btn,
html[data-theme="light"] .theme-toggle-btn,
html[data-theme="light"] #btn-open-cv-nav,
html[data-theme="light"] .nav-social-btn {
    color: #304f54;
    background: rgba(225, 223, 214, 0.82);
    border-color: rgba(57, 82, 84, 0.18);
    box-shadow: none;
}

html[data-theme="light"] .nav-link,
html[data-theme="light"] .lang-toggle-btn,
html[data-theme="light"] .theme-toggle-btn,
html[data-theme="light"] .logo-text {
    color: var(--text-primary);
}

html[data-theme="light"] .nav-link:hover {
    background: rgba(69, 107, 111, 0.09);
}

html[data-theme="light"] .nav-link.active {
    color: #24434a;
    background: rgba(75, 112, 115, 0.14);
    border-color: rgba(65, 99, 102, 0.24);
    box-shadow: none;
}

html[data-theme="light"] .navbar .brand-avatar-img {
    border-color: #52787c;
    box-shadow: 0 0 0 3px rgba(82, 120, 124, 0.1);
}

html[data-theme="light"] .title-cyan {
    color: #3f727b !important;
}

html[data-theme="light"] .title-emerald {
    color: #607d68 !important;
}

html[data-theme="light"] .title-white {
    color: #213039 !important;
}

html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .section-desc,
html[data-theme="light"] .overview-text,
html[data-theme="light"] .skill-text,
html[data-theme="light"] .cert-desc,
html[data-theme="light"] .edu-desc,
html[data-theme="light"] .hm-desc {
    color: #5c686d !important;
    text-shadow: none;
}

html[data-theme="light"] .hero-title {
    color: #213039;
}

html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .page-hero .section-desc {
    color: #5d686d !important;
}

html[data-theme="light"] .status-pill {
    color: #29434a;
    background: rgba(236, 230, 219, 0.88);
    box-shadow: 0 8px 22px rgba(71, 57, 37, 0.09);
}

html[data-theme="light"] .hm-card,
html[data-theme="light"] .overview-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .exp-card,
html[data-theme="light"] .skill-card,
html[data-theme="light"] .cert-card,
html[data-theme="light"] .edu-card,
html[data-theme="light"] .contact-main-card,
html[data-theme="light"] .availability-main-card {
    background: rgba(235, 229, 218, 0.91) !important;
    border-color: rgba(57, 73, 83, 0.13) !important;
    box-shadow: 0 12px 30px rgba(71, 57, 37, 0.09) !important;
    color: var(--text-primary);
}

html[data-theme="light"] .glass-cta-btn,
html[data-theme="light"] .hero-cta-group .btn-secondary,
html[data-theme="light"] .hero-cta-group .btn-ghost {
    color: var(--text-primary) !important;
    background: rgba(235, 229, 218, 0.94) !important;
    border-color: rgba(57, 73, 83, 0.14) !important;
}

html[data-theme="light"] .footer {
    background: rgba(207, 199, 186, 0.94);
    border-top-color: rgba(57, 73, 83, 0.12);
}

html[data-theme="light"] .page-hero {
    background:
        radial-gradient(ellipse at 82% 15%, rgba(76, 113, 116, 0.12), transparent 43%),
        linear-gradient(135deg, rgba(189, 181, 165, 0.34), rgba(210, 205, 194, 0.18));
    border-bottom-color: rgba(62, 83, 86, 0.19);
}

html[data-theme="light"] .hero-section {
    background:
        radial-gradient(ellipse at 86% 18%, rgba(76, 116, 119, 0.12), transparent 42%),
        radial-gradient(ellipse at 12% 78%, rgba(116, 132, 101, 0.09), transparent 44%),
        linear-gradient(180deg, rgba(202, 196, 184, 0.42) 0%, rgba(211, 205, 194, 0.24) 82%, rgba(220, 214, 202, 0.08) 100%);
    border-bottom: 1px solid rgba(62, 83, 86, 0.16);
}

html[data-theme="light"] .hero-section .hero-paths-container {
    height: 100%;
    max-height: none;
}

html[data-theme="light"] .page-loader {
    background: #dcd6ca;
}

/* Light theme contrast corrections */
html[data-theme="light"] .hm-title,
html[data-theme="light"] .overview-title,
html[data-theme="light"] .stat-label,
html[data-theme="light"] .exp-role-title,
html[data-theme="light"] .skill-title,
html[data-theme="light"] .cert-title,
html[data-theme="light"] .edu-institution,
html[data-theme="light"] .edu-degree,
html[data-theme="light"] .contact-card-title,
html[data-theme="light"] .avail-title,
html[data-theme="light"] .direct-value,
html[data-theme="light"] .cv-item-title,
html[data-theme="light"] .cv-skill-group strong,
html[data-theme="light"] .overview-card h3,
html[data-theme="light"] .stat-card strong {
    color: #26323a !important;
}

html[data-theme="light"] .exp-bullet-list,
html[data-theme="light"] .exp-bullet-list strong,
html[data-theme="light"] .cv-bullet-list,
html[data-theme="light"] .skill-tags,
html[data-theme="light"] .direct-label,
html[data-theme="light"] .contact-page-desc,
html[data-theme="light"] .footer,
html[data-theme="light"] .footer a {
    color: #52616b !important;
}

html[data-theme="light"] .hm-counter {
    color: #3f727b !important;
}

html[data-theme="light"] .hm-counter.counter-emerald {
    color: #52765d !important;
}

html[data-theme="light"] .hm-card-purple .hm-title {
    color: #4c5963 !important;
}

html[data-theme="light"] .btn-linkedin {
    color: #315f69 !important;
    background: rgba(82, 127, 135, 0.13) !important;
    border-color: rgba(63, 114, 123, 0.28) !important;
}

html[data-theme="light"] .nav-social-btn {
    color: #304f54;
    background: rgba(225, 223, 214, 0.82);
    border-color: rgba(57, 82, 84, 0.18);
}

html[data-theme="light"] .hm-tag,
html[data-theme="light"] .cert-badge,
html[data-theme="light"] .exp-tags-row span,
html[data-theme="light"] .skill-tags span,
html[data-theme="light"] .hm-pill {
    filter: saturate(0.72);
}

html[data-theme="light"] .cv-paper {
    background: #eee8dd;
    color: #26323a;
}

html[data-theme="light"] .cv-summary,
html[data-theme="light"] .cv-contact-bar,
html[data-theme="light"] .cv-item-sub,
html[data-theme="light"] .cv-item-date,
html[data-theme="light"] .cv-skill-group span {
    color: #52616b !important;
}

html[data-theme="light"] .cv-section-title,
html[data-theme="light"] .cv-name,
html[data-theme="light"] .cv-job {
    color: #26323a !important;
}

html[data-theme="light"] .direct-item {
    color: #26323a !important;
    background: #f4eee4 !important;
    border-color: rgba(57, 73, 83, 0.14) !important;
}

html[data-theme="light"] a.direct-item:hover {
    background: #ece5d8 !important;
    border-color: rgba(63, 114, 123, 0.32) !important;
}

html[data-theme="light"] .direct-item-icon {
    background: rgba(82, 127, 135, 0.1) !important;
    border-color: rgba(63, 114, 123, 0.2) !important;
}

html[data-theme="light"] .direct-label {
    color: #65747e !important;
}

html[data-theme="light"] .direct-value,
html[data-theme="light"] .direct-value.highlight-cyan {
    color: #304c54 !important;
}

html[data-theme="light"] .direct-action-hint {
    color: #315f69 !important;
    background: rgba(82, 127, 135, 0.1) !important;
    border-color: rgba(63, 114, 123, 0.24) !important;
}

html[data-theme="light"] .avail-desc {
    color: #52616b !important;
}

html[data-theme="light"] .btn-contact-action {
    box-shadow: none !important;
}

html[data-theme="light"] .btn-action-vcard {
    color: #315f69 !important;
    background: #e4eff0 !important;
    border-color: rgba(63, 114, 123, 0.26) !important;
}

html[data-theme="light"] .btn-action-cv {
    color: #456b50 !important;
    background: #e6efe5 !important;
    border-color: rgba(82, 125, 91, 0.25) !important;
}

html[data-theme="light"] .btn-action-copy {
    color: #4b5962 !important;
    background: #eee7dc !important;
    border-color: rgba(57, 73, 83, 0.14) !important;
}

html[data-theme="light"] .btn-action-sub {
    color: #667680 !important;
    opacity: 1;
}

/* Portrait-based circular contact trigger */
.ai-floating-orb-btn {
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
}

.orb-pill-tag {
    display: none !important;
}

.orb-sphere {
    width: 76px;
    height: 76px;
    padding: 3px;
    overflow: visible;
    background: linear-gradient(145deg, #d8c6a6, #6f9ca2 48%, #284955);
    border: 1px solid rgba(238, 223, 195, 0.82);
    box-shadow: 0 14px 34px rgba(16, 43, 52, 0.42), 0 0 0 5px rgba(87, 139, 147, 0.13);
    animation: calmOrbFloat 5s ease-in-out infinite;
}

.orb-sphere::before {
    z-index: 2;
    top: 7px;
    left: 13px;
    width: 23px;
    height: 9px;
    opacity: 0.56;
}

.orb-sphere::after {
    content: '💬';
    position: absolute;
    right: -8px;
    bottom: -5px;
    z-index: 4;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 2px solid #e9dcc3;
    border-radius: 50%;
    background: #315f69;
    box-shadow: 0 6px 14px rgba(17, 42, 50, 0.4);
    font-size: 0.82rem;
    line-height: 1;
}

.orb-aura-ring {
    inset: 7px;
    width: 80px;
    height: 80px;
    border: 2px dashed rgba(139, 184, 193, 0.82);
    animation: orbRingSpin 9s linear infinite;
}

.orb-aura-ring.delay {
    inset: 0;
    width: 94px;
    height: 94px;
    border: 1.5px dotted rgba(216, 198, 166, 0.78);
    animation: orbRingSpinReverse 13s linear infinite;
}

.orb-sparkle {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 28%;
    filter: none;
    animation: none;
}

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

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

@keyframes calmOrbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.025); }
}

@keyframes calmSparkle {
    0%, 100% { transform: scale(0.92) rotate(-5deg); opacity: 0.82; }
    50% { transform: scale(1.12) rotate(8deg); opacity: 1; }
}

.ai-floating-orb-btn:hover .orb-sphere {
    transform: translateY(-5px) scale(1.07);
    box-shadow: 0 18px 42px rgba(16, 43, 52, 0.52), 0 0 0 7px rgba(87, 139, 147, 0.16);
}

html[data-theme="light"] .orb-sphere {
    background: linear-gradient(145deg, #fffaf0, #86adb0 50%, #315f69);
    border-color: #fff8ea;
    box-shadow: 0 14px 34px rgba(53, 82, 86, 0.28), 0 0 0 5px rgba(82, 127, 135, 0.12);
}

html[data-theme="light"] .orb-sphere::after {
    color: #fff;
    border-color: #fffaf0;
    background: #315f69;
}

@media (max-width: 768px) {
    .ai-floating-orb-btn {
        width: 82px;
        height: 82px;
    }

    .orb-sphere {
        width: 66px;
        height: 66px;
    }

    .orb-aura-ring {
        inset: 6px;
        width: 70px;
        height: 70px;
    }

    .orb-aura-ring.delay {
        width: 82px;
        height: 82px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orb-aura-ring,
    .orb-aura-ring.delay,
    .orb-sphere,
    .orb-sparkle {
        animation: none !important;
    }
}
