/* ============================
   PREMIUM PORTFOLIO CSS
   Dark Glassmorphism Theme
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.3);

    /* Accent Colors */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    --gradient-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-amber: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
    --gradient-text: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
    --shadow-glow-hover: 0 0 50px rgba(99, 102, 241, 0.25);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-md: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* ============================
   RESET & BASE
   ============================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: var(--radius-full);
}

/* ============================
   BACKGROUND
   ============================ */

.portfolio-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.portfolio-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    animation: floatOrb 12s ease-in-out infinite;
}

.portfolio-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: floatOrb 16s ease-in-out infinite reverse;
}

.bg-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: floatOrb 20s ease-in-out infinite;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

/* ============================
   PORTFOLIO WRAPPER
   ============================ */

.pf-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ============================
   NAVIGATION
   ============================ */

.pf-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.pf-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pf-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    white-space: nowrap;
}

.pf-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.pf-nav-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    text-transform: capitalize;
}

.pf-nav-links li a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
    border-color: var(--border-glass);
}

.pf-nav-links li.active a {
    color: var(--text-primary);
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.pf-nav-links li a i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.pf-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Dark mode toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--accent-primary);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

/* MOBILE MENU */
.pf-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all var(--transition-fast);
}

.pf-mobile-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.pf-mobile-toggle:hover {
    border-color: var(--border-glow);
}

/* ============================
   MAIN CONTENT AREA
   ============================ */

.pf-main {
    flex: 1;
    padding: 48px 0 60px;
}

/* ============================
   PAGE HEADER
   ============================ */

.pf-page-header {
    margin-bottom: 48px;
}

.pf-page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.pf-page-header h1 .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pf-page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 12px;
    max-width: 500px;
}

/* ============================
   GLASS CARD
   ============================ */

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-md);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* ============================
   ABOUT PAGE - HERO SECTION
   ============================ */

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.about-photo-wrap {
    position: relative;
}

.about-photo-wrap::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    z-index: 0;
    opacity: 0.6;
}

.about-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
    border-radius: calc(var(--radius-xl) - 2px);
    display: block;
}

.about-photo-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.about-photo-badge .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.about-photo-badge span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-content {}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.about-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
}

.about-name {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.about-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
}

.about-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.about-bio {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-bio+.about-bio {
    margin-bottom: 32px;
}

/* ============================
   PERSONAL INFO GRID
   ============================ */

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.info-item:hover {
    border-color: rgba(99, 102, 241, 0.25);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
}

.info-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.info-icon.purple {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
}

.info-icon.cyan {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

.info-icon.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
}

.info-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
}

.info-text-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.info-text-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================
   WHAT I DO SECTION
   ============================ */

.section-header {
    margin-bottom: 32px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}

.service-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    transition: all var(--transition-md);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-md);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.service-icon.purple {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
}

.service-icon.cyan {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

.service-icon.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
}

.service-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
}

.service-icon.rose {
    background: rgba(244, 63, 94, 0.15);
    color: var(--accent-rose);
}

.service-icon.mixed {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-secondary);
}

.service-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================
   CLIENTS SECTION
   ============================ */

.clients-section {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    margin-bottom: 40px;
}

.clients-title {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.clients-track-wrap {
    overflow: hidden;
    position: relative;
}

.clients-track-wrap::before,
.clients-track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 1;
}

.clients-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-card), transparent);
}

.clients-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-card), transparent);
}

.clients-track {
    display: flex;
    gap: 40px;
    align-items: center;
    animation: scrollClients 20s linear infinite;
    width: max-content;
}

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

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    height: 36px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%) brightness(1.5);
    transition: all var(--transition-md);
    flex-shrink: 0;
}

.client-logo:hover {
    opacity: 1;
    filter: none;
}

/* Text logos for clients */
.client-text-logo {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
    padding: 8px 16px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.client-text-logo:hover {
    color: var(--text-primary);
}

/* ============================
   FOOTER
   ============================ */

.pf-footer {
    padding: 24px 0;
    border-top: 1px solid var(--border-glass);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pf-footer a {
    color: var(--accent-primary);
    text-decoration: none;
}

/* ============================
   RESUME PAGE - EXPERIENCE CARDS
   ============================ */

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.exp-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: all var(--transition-md);
    position: relative;
    overflow: hidden;
}

.exp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-md);
}

.exp-card:hover::before {
    opacity: 0.04;
}

.exp-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.exp-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.exp-company-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-display);
    flex-shrink: 0;
}

.exp-company-icon.purple {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
}

.exp-company-icon.cyan {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

.exp-company-icon.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
}

.exp-company-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
}

.exp-company-icon.rose {
    background: rgba(244, 63, 94, 0.15);
    color: var(--accent-rose);
}

.exp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid;
}

.exp-badge.current {
    color: var(--accent-emerald);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.08);
}

.exp-badge.current::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-emerald);
    animation: pulse 2s ease infinite;
}

.exp-badge.past {
    color: var(--text-muted);
    border-color: var(--border-glass);
    background: transparent;
}

.exp-card-body {
    position: relative;
    z-index: 1;
}

.exp-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.exp-role {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 4px;
}

.exp-company {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.exp-snippet {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.exp-card-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.exp-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.exp-link {
    font-size: 0.72rem;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-full);
    padding: 3px 10px;
    transition: all var(--transition-fast);
}

.exp-link:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--accent-cyan);
}

.exp-view-btn {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-fast);
}

.exp-view-btn i {
    font-size: 0.65rem;
}

.exp-card:hover .exp-view-btn {
    color: var(--accent-primary);
}

/* ============================
   SKILLS SECTION
   ============================ */

.skills-section {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    margin-bottom: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
}

.skill-bar-group {}

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

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

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

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

.skill-bar-pct {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.skill-bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shimmer 2s ease infinite;
}

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

    100% {
        transform: translateX(100%);
    }
}

.skill-bar-fill.cyan {
    background: var(--gradient-cyan);
}

.skill-bar-fill.emerald {
    background: var(--gradient-emerald);
}

.skill-bar-fill.amber {
    background: var(--gradient-amber);
}

/* SOFT SKILLS TAGS */
.soft-skills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.skill-tag i {
    font-size: 0.75rem;
    color: var(--accent-primary);
}

.skill-tag:hover {
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.08);
}

/* TECH STACK TAGS */
.tech-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.tech-tag {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    font-family: 'Space Mono', 'Courier New', monospace;
    transition: all var(--transition-fast);
}

.tech-tag:hover {
    color: var(--accent-primary);
    border-color: rgba(99, 102, 241, 0.3);
}

/* ============================
   MODAL REDESIGN
   ============================ */

.pf-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-md);
}

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

.pf-modal {
    background: #13131f;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-md);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) transparent;
}

.pf-modal-overlay.show .pf-modal {
    transform: scale(1) translateY(0);
}

.pf-modal-header {
    padding: 28px 32px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.pf-modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.pf-modal-close:hover {
    color: var(--text-primary);
    border-color: rgba(244, 63, 94, 0.3);
}

.pf-modal-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.pf-modal-sub {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-top: 4px;
}

.pf-modal-body {
    padding: 24px 32px 32px;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0 24px;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
}

.modal-meta-item i {
    color: var(--accent-primary);
    font-size: 0.85rem;
    width: 16px;
    flex-shrink: 0;
}

.modal-meta-item>div>span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
}

.modal-meta-item>div>strong {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 1px;
}

.modal-divider {
    height: 1px;
    background: var(--border-glass);
    margin: 20px 0;
}

.modal-highlights-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-highlights-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-glass);
}

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

.modal-highlights-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.modal-highlights-list li strong {
    display: inline;
    color: var(--text-primary);
    font-weight: 600;
}

.modal-highlights-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.modal-tech-stack {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

.modal-tech-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.modal-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.modal-tech-chip {
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    font-size: 0.76rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: 'Space Mono', monospace;
}

/* ============================
   CONTACT PAGE
   ============================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: start;
}

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-card {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition-fast);
}

.contact-info-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    background: var(--bg-card-hover);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-text label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-info-text span {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
}

.contact-form-headline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.contact-form-sub {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.form-field {
    margin-bottom: 24px;
}

.form-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    outline: none;
    -webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(99, 102, 241, 0.04);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-muted);
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--transition-md);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.submit-btn:hover::before {
    opacity: 1;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ============================
   PRELOADER
   ============================ */

#pf-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#pf-preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preloader-bar {
    width: 120px;
    height: 3px;
    background: var(--border-glass);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: preloadAnim 1.2s ease forwards;
}

@keyframes preloadAnim {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* ============================
   UTILITY CLASSES
   ============================ */

.mb-0 {
    margin-bottom: 0;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-48 {
    margin-bottom: 48px;
}

.mb-56 {
    margin-bottom: 56px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================
   LIGHT MODE OVERRIDE
   ============================ */

body.light-mode {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(99, 102, 241, 0.25);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
}

body.light-mode .portfolio-bg::before,
body.light-mode .portfolio-bg::after,
body.light-mode .bg-orb {
    opacity: 0.5;
}

body.light-mode .pf-nav {
    background: rgba(248, 250, 252, 0.9);
}

body.light-mode #pf-preloader {
    background: #f8fafc;
}

body.light-mode .pf-modal {
    background: #fff;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-photo-wrap {
        max-width: 280px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .modal-meta-grid {
        grid-template-columns: 1fr;
    }

    .pf-nav-links {
        display: none;
    }

    .pf-mobile-toggle {
        display: flex;
    }

    .pf-nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-glass);
        padding: 16px 24px;
        gap: 4px;
    }

    .pf-modal {
        margin: 0;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .pf-modal-header,
    .pf-modal-body {
        padding: 20px 20px 24px;
    }

    .pf-modal-header {
        padding-bottom: 0;
    }

    .contact-form-card {
        padding: 24px;
    }

    .skills-section {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .pf-container {
        padding: 0 16px;
    }

    .pf-main {
        padding: 32px 0 48px;
    }
}