@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f6f6f9;
    --bg-card: #ffffff;
    
    --text-primary: #121212;
    --text-secondary: #4a4a4f;
    --text-muted: #8c8c96;
    
    --accent-dark: #121212;
    --accent-muted: #55555d;
    --accent-blue: #0066cc;
    --accent-gold: #c5a880;
    
    --border-light: #e6e6eb;
    --border-active: #121212;
    
    --transition-clean: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #d1d1d6;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8e8e93;
}

/* Pre-Loader Screen Overlay */
#loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    overflow: hidden;
}

.loader-bg-panel {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background-color: #0b0b0f;
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    z-index: 1;
}

.loader-bg-panel.left {
    left: 0;
}

.loader-bg-panel.right {
    right: 0;
}

#loader-screen.loaded .loader-bg-panel.left {
    transform: translateX(-100%);
}

#loader-screen.loaded .loader-bg-panel.right {
    transform: translateX(100%);
}

.loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 400px;
    width: 100%;
    padding: 20px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#loader-screen.loaded .loader-content {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

#loader-screen.loaded {
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.8s;
}

.loader-logo-wrap {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.loader-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.loader-logo-text span {
    color: var(--accent-blue);
    background: linear-gradient(135deg, #0088ff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loader-tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 600;
}

.loader-bar-container {
    width: 240px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    position: relative;
    overflow: visible;
    margin-bottom: 15px;
}

.loader-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0066cc, #00c6ff);
    border-radius: 10px;
    transition: width 0.1s linear;
    position: relative;
}

.loader-bar-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0066cc, #00c6ff);
    filter: blur(8px);
    opacity: 0.7;
    border-radius: 10px;
    transition: width 0.1s linear;
}

.loader-status {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    height: 18px;
    margin-bottom: 8px;
    transition: opacity 0.3s ease;
}

.loader-percentage {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Page Entry Transitions */
body.loading-active {
    overflow: hidden;
}

.portfolio-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

body.loaded-reveal .portfolio-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* Background Canvas */
#ambient-canvas, #confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}
#ambient-canvas {
    opacity: 0.4;
}
#confetti-canvas {
    z-index: 1000;
}

/* Navigation Header */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -20px);
    opacity: 0;
    width: 100%;
    max-width: 1200px;
    height: 80px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

body.loaded-reveal .navbar {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0.1s;
}

.navbar.scrolled {
    transform: translate(-50%, 0);
    height: 65px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.nav-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand span {
    font-weight: 400;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-item a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    transition: var(--transition-clean);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--accent-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-item a:hover::after, .nav-item.active a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-item a:hover, .nav-item.active a {
    color: var(--text-primary);
}

.nav-cta {
    border: 1px solid var(--accent-dark);
    background: transparent;
    padding: 9px 18px;
    border-radius: 6px;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-clean);
}

.nav-cta:hover {
    background: var(--accent-dark);
    color: var(--bg-primary);
}

/* Hamburger menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: var(--transition-clean);
}

/* General Layout Elements */
.portfolio-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 120px 0 80px 0;
    border-bottom: 1px solid var(--border-light);
}

section:last-of-type {
    border-bottom: none;
}

.section-title-wrap {
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 600px;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding-top: 140px;
    border-bottom: 1px solid var(--border-light);
}

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

.mobile-profile-img-wrap {
    display: none;
}

.hero-greeting {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-name {
    font-family: 'Outfit', sans-serif;
    font-size: 58px;
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    margin-bottom: 15px;
}

.hero-name strong {
    font-weight: 800;
}

.hero-title-container {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 30px;
    min-height: 35px;
    display: flex;
    align-items: center;
}

.typewriter-caret {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--text-primary);
    margin-left: 4px;
    animation: cursorBlink 1s step-end infinite;
}

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

.hero-desc {
    color: var(--text-secondary);
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-clean);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-dark);
    color: var(--bg-primary);
    border: 1px solid var(--accent-dark);
}

.btn-primary:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
    transform: translateY(-1px);
}

/* Download sequence styling */
.btn-download-progress {
    position: relative;
    overflow: hidden;
}

.btn-download-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    transition: transform 2s linear;
    z-index: 0;
}

.btn-download-progress.active::before {
    transform: translateX(100%);
}

.btn-download-progress * {
    position: relative;
    z-index: 1;
}

.btn-download-progress .spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-download-progress.active .spinner {
    display: inline-block;
}

.btn-download-progress.active .icon-default {
    display: none;
}

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

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: 4px;
}

/* Hero Right: 3D Smartphone Device Mockup with Parallax Widget Tree */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.device-simulator-container {
    perspective: 1200px;
    position: relative;
    width: 340px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 250px;
    height: 460px;
    border-radius: 38px;
    background: #ffffff;
    border: 9px solid #1a1a1a;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.phone-notch {
    width: 90px;
    height: 18px;
    background: #1a1a1a;
    border-radius: 0 0 12px 12px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8f8fb;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.phone-app-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px 15px 15px;
}

.phone-viewport {
    width: 100%;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    display: flex;
}

.phone-screen-panel {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#panel-profile {
    opacity: 1;
    transform: translateX(0);
}

#panel-profile.slide-out {
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
}

#panel-demo {
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
}

#panel-demo.slide-in {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.phone-code-screen {
    display: none;
    width: 100%;
    height: 100%;
    background: #f8f8fb;
    padding: 30px 15px 15px 15px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 8.5px;
    text-align: left;
    color: var(--text-secondary);
    line-height: 1.45;
}

.code-line {
    display: block;
    white-space: nowrap;
}

.code-keyword {
    color: var(--accent-blue);
    font-weight: 700;
}

.code-string {
    color: #a88958;
}

.code-class {
    color: var(--text-primary);
    font-weight: 700;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 8px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0 5px;
    margin-bottom: 12px;
}

.phone-status-right {
    display: flex;
    gap: 4px;
}

.phone-profile-img {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    object-fit: cover;
    filter: grayscale(100%);
    border: 1px solid var(--border-light);
    transition: var(--transition-clean);
}

.phone-mockup:hover .phone-profile-img {
    filter: grayscale(0%);
}

.phone-app-details {
    width: 100%;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.phone-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.phone-subtitle {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.phone-ui-bar {
    width: 100%;
    height: 4px;
    background: #eaeaea;
    border-radius: 2px;
    margin-top: 10px;
}

.phone-ui-bar.short {
    width: 70%;
}

.phone-btn {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    align-self: center;
    background: var(--accent-dark);
    color: #ffffff;
    width: 100%;
    height: 30px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

/* Demo Mini-Portfolio App Styling */
.app-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.app-back-btn {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 13px;
    transition: var(--transition-clean);
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-back-btn:hover {
    color: var(--text-primary);
}

.app-header-title {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-body {
    width: 100%;
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 2px;
    margin-bottom: 12px;
}

/* Hide scrollbar default styles to keep layout clean */
.app-body::-webkit-scrollbar {
    width: 3px;
}
.app-body::-webkit-scrollbar-track {
    background: transparent;
}
.app-body::-webkit-scrollbar-thumb {
    background: #eaeaea;
    border-radius: 1.5px;
}

.app-tab-content {
    display: none;
    flex-direction: column;
    text-align: left;
    animation: slideInTab 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.app-tab-content.active {
    display: flex;
}

@keyframes slideInTab {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-text {
    font-size: 9.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.app-badge-box {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.app-badge {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 8px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.app-skills-list, .app-projects-list, .app-contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-skill-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 4px;
    font-size: 9px;
    color: var(--text-secondary);
}

.app-skill-item .skill-level {
    font-weight: 700;
    color: var(--accent-blue);
}

.app-project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 8px 10px;
    text-align: left;
    transition: var(--transition-clean);
}

.app-project-card:hover {
    border-color: var(--text-muted);
}

.app-project-name {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.app-project-desc {
    font-size: 8.5px;
    color: var(--text-muted);
    line-height: 1.3;
}

.app-contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    color: var(--text-secondary);
}

.app-contact-row i {
    color: var(--text-muted);
    width: 10px;
}

/* Floating App Bottom Nav bar */
.app-nav-bar {
    width: calc(100% - 24px);
    margin: 0 auto 10px auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    padding: 6px 4px;
    height: 48px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    z-index: 10;
    align-items: center;
}

.app-nav-btn {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    width: 22%;
    transition: var(--transition-clean);
    padding: 2px 0;
    border-radius: 12px;
}

.app-nav-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.app-nav-btn span {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.app-nav-btn:hover {
    color: var(--text-primary);
}

.app-nav-btn.active {
    color: var(--accent-blue);
}

.app-nav-btn.active i {
    transform: translateY(-1px) scale(1.1);
}

/* Floating Widget Tree Nodes (Parallax Layers) */
.widget-node {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 10px;
    font-family: monospace;
    font-weight: 700;
    color: var(--text-secondary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    z-index: 5;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.widget-node::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 1px;
    border-top: 1px dotted var(--border-light);
    z-index: -1;
}

.node-1 {
    top: 50px;
    left: -35px;
}
.node-1::before {
    right: -15px;
    top: 12px;
}

.node-2 {
    top: 140px;
    right: -30px;
}
.node-2::before {
    left: -15px;
    top: 12px;
}

.node-3 {
    bottom: 120px;
    left: -40px;
}
.node-3::before {
    right: -15px;
    top: 12px;
}

.node-4 {
    bottom: 40px;
    right: -25px;
}
.node-4::before {
    left: -15px;
    top: 12px;
}

/* Infinite Ticker Banner */
.ticker-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-dark);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    height: 52px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 10;
    margin-top: 10px;
    margin-bottom: 50px;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.ticker-banner:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--bg-primary);
}

.ticker-dot {
    color: var(--accent-gold);
    font-size: 14px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: flex-start;
}

.about-narrative {
    display: flex;
    flex-direction: column;
}

.about-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    display: inline-block;
    margin-bottom: 20px;
}

.about-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 300;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 25px;
    letter-spacing: -0.03em;
}

.about-heading strong {
    font-weight: 800;
    color: var(--text-primary);
}

.about-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.about-desc strong {
    color: var(--text-primary);
}

.about-quick-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
}

.quick-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding-bottom: 12px;
}

.quick-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Right Panel: Interactive Architecture Panel */
.about-interactive-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.panel-tabs {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.panel-tab-btn {
    background: transparent;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 6px 4px;
    cursor: pointer;
    transition: var(--transition-clean);
    position: relative;
}

.panel-tab-btn:hover {
    color: var(--text-primary);
}

.panel-tab-btn.active {
    color: var(--text-primary);
}

.panel-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-dark);
}

.panel-content-wrapper {
    position: relative;
    flex-grow: 1;
}

.panel-content {
    display: none;
    animation: fadeInContent 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.panel-content.active {
    display: block;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.panel-subtitle {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.principles-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.principles-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.principle-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    font-size: 13px;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.principle-info h6 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.principle-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.tech-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    transition: var(--transition-clean);
    cursor: default;
}

.tech-tag:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.metrics-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.metric-progress-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.metric-val {
    color: var(--text-primary);
    font-family: monospace;
}

.metric-bar-bg {
    width: 100%;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.metric-bar-fill {
    height: 100%;
    background: var(--accent-dark);
    border-radius: 3px;
}

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

.skill-category-card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 35px;
    background: var(--bg-primary);
    transition: var(--transition-clean);
}

.skill-category-card:hover {
    border-color: var(--border-active);
}

.skill-category-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category-title i {
    font-size: 16px;
    color: var(--text-muted);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-item {
    display: flex;
    flex-direction: column;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 500;
    color: var(--text-primary);
}

.skill-percent {
    font-weight: 600;
    color: var(--text-muted);
}

.skill-progress-bg {
    width: 100%;
    height: 3px;
    background: #eaeaea;
    border-radius: 2px;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: var(--accent-dark);
    width: 0;
    transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Portfolio Section */
.portfolio-filters {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-clean);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-dark);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    color: var(--text-primary);
    font-weight: 600;
}

.filter-btn.active::after {
    transform: scaleX(1);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
}

.project-card {
    height: 380px;
    background: #121212;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card:hover {
    border-color: var(--border-active);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 102, 204, 0.25);
}

.project-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: #121212;
    z-index: 1;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.7s ease;
    filter: grayscale(30%) brightness(0.85);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.06);
    filter: grayscale(0%) brightness(0.7);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.05) 0%, rgba(18, 18, 18, 0.5) 45%, rgba(18, 18, 18, 0.95) 100%);
    z-index: 2;
    transition: opacity 0.5s ease;
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.project-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.project-tag {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: var(--transition-clean);
}

.project-card:hover .project-tag {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-title {
    font-family: 'Outfit', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.project-details-wrap {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s ease, margin-top 0.45s ease;
}

.project-card:hover .project-details-wrap {
    max-height: 150px;
    opacity: 1;
    margin-top: 12px;
}

.project-desc {
    color: #d1d1d6;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-action-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #0088ff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
    transition: var(--transition-clean);
}

.project-action-link i {
    font-size: 9px;
    transition: transform 0.3s ease;
}

.project-card:hover .project-action-link i {
    transform: translateX(4px);
}

/* Timeline / Career Roadmap */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 1px;
    background: var(--border-light);
    top: 0;
    bottom: 0;
    left: 30px;
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 45px;
    transition: var(--transition-clean);
}

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

.timeline-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    left: 23px;
    background: var(--bg-primary);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    top: 6px;
    z-index: 1;
    transition: var(--transition-clean);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot::after {
    content: '';
    width: 4px;
    height: 4px;
    background: transparent;
    border-radius: 50%;
    transition: var(--transition-clean);
}

.timeline-item:hover .timeline-dot {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 6px rgba(18, 18, 18, 0.08);
    transform: scale(1.1);
}

.timeline-item:hover .timeline-dot::after {
    background: var(--accent-dark);
}

.timeline-item.active .timeline-dot {
    border-color: var(--accent-dark);
}

.timeline-item.active .timeline-dot::after {
    background: var(--accent-dark);
}

.timeline-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    transition: var(--transition-clean);
}

.timeline-item:hover .timeline-date {
    color: var(--text-primary);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 24px;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-active);
    transform: translateX(6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.025);
}

.timeline-role {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-company {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 500;
}

.timeline-details {
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.6;
}

/* Reviews Carousel Section */
.reviews-carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    cursor: grab;
}

.reviews-carousel-container:active {
    cursor: grabbing;
}

.reviews-track {
    display: flex;
    gap: 30px;
    width: max-content;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.review-glass-card {
    width: 380px;
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    user-select: none;
    transition: var(--transition-clean);
}

.review-glass-card:hover {
    border-color: var(--border-active);
}

.review-rating {
    color: var(--accent-gold);
    font-size: 13px;
    display: flex;
    gap: 4px;
}

.review-quote {
    color: var(--text-secondary);
    font-size: 14.5px;
    font-style: italic;
    line-height: 1.7;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 13px;
}

.review-user-info h5 {
    font-size: 14px;
    color: var(--text-primary);
}

.review-user-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #eaeaea;
    cursor: pointer;
    transition: var(--transition-clean);
}

.indicator-dot.active {
    background: var(--accent-dark);
    width: 20px;
    border-radius: 4px;
}

/* Contact Section & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-clean);
}

.contact-card:hover {
    border-color: var(--border-active);
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.contact-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--border-light);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    outline: none;
    transition: var(--transition-clean);
}

.form-input:focus {
    border-bottom-color: var(--accent-dark);
}

textarea.form-input {
    resize: none;
    height: 120px;
}

.form-label {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--text-muted);
    font-size: 14.5px;
    pointer-events: none;
    transition: var(--transition-clean);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -12px;
    font-size: 11px;
    color: var(--text-muted);
}

/* Modal Popup Window */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-clean);
    padding: 20px;
}

.project-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

.project-modal.active .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    z-index: 10;
    transition: var(--transition-clean);
}

.modal-close-btn:hover {
    border-color: var(--border-active);
    transform: rotate(90deg);
}

.modal-gallery {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content {
    padding: 40px;
}

.modal-header-info {
    margin-bottom: 25px;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.modal-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    border-top: 1px solid var(--border-light);
    padding-top: 25px;
}

.modal-desc-col h4, .modal-meta-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.modal-desc-col p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-meta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 6px;
}

.modal-meta-item:last-child {
    border-bottom: none;
}

.modal-meta-label {
    color: var(--text-muted);
}

.modal-meta-value {
    font-weight: 600;
    color: var(--text-primary);
}

.modal-links {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent-dark);
    color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-clean);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.store-btn i {
    font-size: 16px;
}

.store-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.store-btn.app-store {
    background: #121212;
    border-color: #2c2c2e;
}

.store-btn.play-store {
    background: #0066cc;
    border-color: #0066cc;
}

.store-btn.play-store:hover {
    background: #0052a3;
}

.store-btn.web-link {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-active);
}

.store-btn.web-link:hover {
    background: var(--bg-secondary);
}

.badge-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}

.badge-status.in-review {
    color: #b25e00;
    background: #fff8f0;
    border-color: #ffd8a8;
}

.badge-status.coming-soon {
    color: #0066cc;
    background: #f0f7ff;
    border-color: #cce3ff;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border-light);
    padding: 40px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition-clean);
}

.social-link:hover {
    color: var(--text-primary);
    border-color: var(--border-active);
}

/* RESPONSIVE LAYOUT BREAKPOINTS */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 24px;
    }
    
    .portfolio-wrapper {
        padding: 0 24px;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 130px;
        gap: 40px;
    }
    
    .hero-left {
        align-items: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-right {
        margin-top: 20px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        padding: 0 20px;
        height: 60px;
        border-radius: 12px;
    }
    
    .nav-cta {
        display: none !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px;
        z-index: 999;
        border: none;
        border-radius: 0;
        box-shadow: none;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-item {
        margin: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.25s; }
    .nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(7) { transition-delay: 0.35s; }
    
    .nav-item a {
        font-family: 'Outfit', sans-serif;
        font-size: 26px;
        font-weight: 300;
        color: var(--text-secondary);
        position: relative;
        padding: 6px 0;
        display: block;
        letter-spacing: -0.02em;
    }
    
    .nav-item.active a {
        color: var(--text-primary);
        font-weight: 700;
    }
    
    .nav-item a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 32px;
        height: 2px;
        background: var(--accent-dark);
        transition: transform 0.3s ease;
    }
    
    .nav-item.active a::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
    
    .hero-section {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
        min-height: calc(100vh - 65px);
        gap: 0;
        overflow: hidden;
    }
    
    .hero-left {
        position: relative;
        z-index: 2;
        pointer-events: auto;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    
    .hero-name {
        font-size: 28px !important;
        margin-bottom: 12px;
        font-weight: 300 !important;
    }
    
    .hero-title-container {
        font-size: 15px;
        margin-bottom: 25px;
        min-height: auto;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-bottom: 0;
    }
    
    .hero-desc, .hero-stats {
        display: none !important;
    }
    
    .hero-right {
        display: flex !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        z-index: 0;
        pointer-events: none;
        margin-top: 0;
    }
    
    .device-simulator-container {
        width: 320px;
        height: 480px;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .phone-mockup {
        opacity: 1;
        transform: rotate(-6deg) scale(1.15) !important;
        box-shadow: none;
        border-color: rgba(18, 18, 18, 0.08);
        background: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
    
    .phone-screen {
        background: transparent;
        padding: 0;
    }
    
    .phone-notch {
        border-color: rgba(18, 18, 18, 0.08);
        background: rgba(18, 18, 18, 0.08);
        opacity: 0.3;
    }
    
    .phone-app-screen {
        display: none !important;
    }
    
    .phone-code-screen {
        display: block !important;
        background: transparent;
        padding: 40px 15px 15px 15px;
        color: rgba(18, 18, 18, 0.25) !important;
    }
    
    .phone-code-screen .code-keyword {
        color: rgba(0, 102, 204, 0.35) !important;
    }
    
    .phone-code-screen .code-string {
        color: rgba(168, 137, 88, 0.35) !important;
    }
    
    .phone-code-screen .code-class {
        color: rgba(18, 18, 18, 0.4) !important;
    }
    
    .widget-node {
        display: none !important;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-heading {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .about-interactive-panel {
        padding: 24px;
        min-height: auto;
    }
    
    .panel-tab-btn {
        font-size: 12px;
    }
    
    .timeline-container::after {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
    
    .timeline-dot {
        left: 10px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
    }
    
    /* Project Cards Mobile optimization (2 per row) */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .project-card {
        height: 180px;
        border-radius: 10px;
    }
    
    .project-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }
    
    .project-content {
        padding: 12px;
    }
    
    .project-tags {
        display: flex !important;
        gap: 4px;
        margin-bottom: 6px;
    }
    
    .project-tag {
        font-size: 8px;
        padding: 2px 6px;
        border-radius: 10px;
    }
    
    .project-tag:nth-child(n+3) {
        display: none !important;
    }
    
    .project-title {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: -0.01em;
        line-height: 1.25;
    }
    
    .project-details-wrap {
        display: none !important;
    }
    
    /* Capabilities Section Mobile Redesign (Tag Cloud format) */
    .skills-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .skill-category-card {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
    
    .skill-category-title {
        font-size: 14px !important;
        margin-bottom: 12px !important;
        font-weight: 700 !important;
        gap: 8px !important;
    }
    
    .skill-category-title i {
        font-size: 14px !important;
    }
    
    .skill-list {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .skill-item {
        background: var(--bg-card) !important;
        border: 1px solid var(--border-light) !important;
        border-radius: 20px !important;
        padding: 6px 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        flex-direction: row !important;
        transition: var(--transition-clean) !important;
    }
    
    .skill-item:active {
        transform: scale(0.96);
    }
    
    .skill-info {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 10px !important;
        margin-bottom: 0 !important;
        width: auto !important;
    }
    
    .skill-name {
        font-size: 10px !important;
        font-weight: 600 !important;
        color: var(--text-secondary) !important;
    }
    
    .skill-percent {
        font-size: 9px !important;
        font-weight: 700 !important;
        color: var(--accent-blue) !important;
    }
    
    .skill-progress-bg {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-editorial-headline {
        font-size: 38px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .device-simulator-container {
        width: 260px;
        height: 380px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 350px;
        border-width: 6px;
    }
    
    .phone-profile-img {
        height: 150px;
    }
    
    .widget-node {
        display: none; /* Hide floating widgets on micro viewports */
    }
}