/* ==========================================================================
   PREETI — Personal Developer Portfolio Design System
   Preserves existing Dark Luxury color palette & typography tokens
   ========================================================================== */

:root {
    --bg:           #080b10;
    --bg-2:         #0d1117;
    --bg-3:         #111827;
    --surface:      #161d2b;
    --surface-2:    #1e2938;
    --border:       rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.16);
    --text:         #e8edf5;
    --text-secondary: #a0aec0;
    --text-muted:   #7c8ba1;
    --text-dim:     #4a5568;
    --accent:       #e8b86d;
    --accent-2:     #c9945a;
    --accent-soft:  rgba(232, 184, 109, 0.10);
    --accent-line:  rgba(232, 184, 109, 0.28);
    --blue:         #4a9eff;
    --blue-soft:    rgba(74, 158, 255, 0.10);
    --green:        #4ade80;
    --green-soft:   rgba(74, 222, 128, 0.10);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono:    'JetBrains Mono', monospace;
    --radius:       12px;
    --radius-lg:    18px;
    --transition:   0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card:  0 18px 45px rgba(0, 0, 0, 0.35);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Skip Link */
.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    background: var(--accent);
    color: var(--bg);
    padding: 0.65rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 1rem;
}

/* ==========================================================================
   Shared Typography & Section Layout
   ========================================================================== */
.section-pad {
    padding: 6rem 0;
    position: relative;
}
.section-alt {
    background: var(--bg-2);
}
.section-dark {
    background: var(--bg);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--accent);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}
.section-label::before {
    content: '//';
    opacity: 0.55;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.95rem, 3.6vw, 2.9rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}
.section-title em {
    font-style: italic;
    color: var(--accent);
}

.section-lead {
    color: var(--text-secondary);
    font-size: 1.02rem;
    max-width: 680px;
    line-height: 1.75;
}

.section-header {
    text-align: center;
    margin-bottom: 3.25rem;
}
.section-header .section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    background: var(--accent);
    color: #080b10;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.94rem;
    border: 1px solid var(--accent);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary-custom:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: #080b10;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(232, 184, 109, 0.25);
}

.btn-ghost-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.94rem;
    border: 1px solid var(--border-hover);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-ghost-custom:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.btn-blue-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.65rem;
    border-radius: 8px;
    background: rgba(74, 158, 255, 0.06);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.94rem;
    border: 1px solid rgba(74, 158, 255, 0.28);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-blue-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(74, 158, 255, 0.14);
    box-shadow: 0 10px 26px rgba(74, 158, 255, 0.18);
    transform: translateY(-2px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}
.navbar-custom.scrolled {
    background: rgba(8, 11, 16, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
    padding: 0.72rem 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.brand-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text);
    line-height: 1;
}
.brand-name span {
    color: var(--accent);
}

.navbar-custom .nav-link {
    color: var(--text-muted);
    font-size: 0.87rem;
    font-weight: 500;
    padding: 0.45rem 0.8rem !important;
    border-radius: 6px;
    transition: var(--transition);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}
.navbar-custom .nav-link.active {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.nav-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border-hover);
    background: var(--surface);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.nav-icon-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.navbar-custom .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #080b10;
    border-radius: 8px;
    padding: 0.52rem 1.15rem;
    font-weight: 600;
    font-size: 0.86rem;
    line-height: 1.4;
    transition: var(--transition);
}
.navbar-custom .nav-cta:hover,
.navbar-custom .nav-cta:focus-visible {
    background: var(--accent-2);
    color: #080b10;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(232, 184, 109, 0.25);
}

.navbar-toggler {
    border: 1px solid var(--border-hover);
    padding: 0.4rem 0.65rem;
}
.navbar-toggler-icon {
    filter: invert(1);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 3.25rem;
    background: var(--bg);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 35%, black 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 35%, black 25%, transparent 78%);
    pointer-events: none;
}

.hero-glow-1 {
    position: absolute;
    width: 560px;
    height: 560px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.11;
    top: -160px;
    right: -120px;
    pointer-events: none;
}
.hero-glow-2 {
    position: absolute;
    width: 440px;
    height: 440px;
    background: var(--blue);
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.09;
    bottom: -120px;
    left: -100px;
    pointer-events: none;
}

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

.hero-identity-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 0.65rem;
}
.hero-positioning {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--accent);
    letter-spacing: 0.06em;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.3vw, 3.1rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
}
.hero-headline em {
    font-style: italic;
    color: var(--accent);
}

.hero-intro {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.68;
    margin-bottom: 0.7rem;
    max-width: 620px;
}
.hero-support {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.62;
    margin-bottom: 1.35rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-muted);
}
.hero-meta-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.hero-meta-strip i {
    color: var(--accent);
}

/* Hero Right Visual Frame */
.hero-visual-panel {
    position: relative;
    max-width: 410px;
    margin: 0 auto;
    background: linear-gradient(165deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.hero-visual-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--blue), transparent);
    z-index: 3;
}
.hero-visual-media {
    position: relative;
    aspect-ratio: 4 / 3.35;
    overflow: hidden;
    background: var(--bg-3);
}
.hero-visual-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 11, 16, 0.55) 0%, transparent 40%),
                radial-gradient(circle at center, transparent 58%, rgba(8, 11, 16, 0.42) 100%);
    pointer-events: none;
}
.hero-visual-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 15%;
}
.hero-portrait-badge {
    position: absolute;
    left: 0.9rem;
    bottom: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.72rem;
    border-radius: 50px;
    background: rgba(8, 11, 16, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text);
}
.hero-portrait-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.hero-visual-overlay {
    padding: 1rem 1.15rem 1.1rem;
    background: rgba(8, 11, 16, 0.82);
    border-top: 1px solid var(--border);
}
.hero-visual-tagline {
    font-family: var(--font-display);
    font-size: 0.96rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--text);
    margin-bottom: 0.65rem;
}
.hero-visual-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
}
.hero-visual-chip {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    padding: 0.18rem 0.44rem;
    border-radius: 4px;
    background: rgba(22, 29, 43, 0.9);
    border: 1px solid var(--border-hover);
    color: var(--accent);
    white-space: nowrap;
}

@media (max-width: 991px) {
    .hero-visual-panel {
        margin: 0 auto;
    }
}

/* ==========================================================================
   Professional Highlights Strip (Hero Bottom / Section 5)
   ========================================================================== */
.highlights-strip {
    margin-top: 2.35rem;
    padding-top: 1.85rem;
    border-top: 1px solid var(--border);
}
.highlight-kpi {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.highlight-kpi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.65;
}
.highlight-kpi.is-blue::before {
    background: linear-gradient(90deg, var(--blue), transparent);
}
.highlight-kpi:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}
.highlight-kpi-val {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.15;
    margin-bottom: 0.35rem;
}
.highlight-kpi.is-blue .highlight-kpi-val {
    color: var(--blue);
}
.highlight-kpi-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 0.2rem;
}
.highlight-kpi-sub {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-card-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.about-card-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--blue), transparent);
}
.about-profile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.about-monogram {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--accent);
    flex-shrink: 0;
}
.about-facts-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}
.about-facts-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
.about-facts-list li:last-child {
    border-bottom: 0;
}
.about-facts-list span {
    color: var(--text-muted);
}
.about-facts-list strong {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.about-quote-box {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 1rem 1.15rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-style: italic;
}

.about-body-copy p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.about-section-title {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    margin-bottom: 1.15rem;
}
.about-role-line {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.35vw, 1.12rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
}
.about-pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    height: 100%;
}
.about-pillar:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.about-pillar-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.about-pillar-icon.blue {
    background: var(--blue-soft);
    border-color: rgba(74, 158, 255, 0.28);
    color: var(--blue);
}
.about-pillar h3 {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
}
.about-pillar p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ==========================================================================
   Technical Expertise
   ========================================================================== */
.filter-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2.5rem;
}
.filter-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--border-hover);
    background: var(--surface);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 500;
    transition: var(--transition);
}
.filter-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}
.filter-btn.active {
    background: var(--accent);
    color: #080b10;
    border-color: var(--accent);
    font-weight: 600;
}

.skill-group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.65rem;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.skill-group:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}
.skill-group-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}
.skill-group-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-3);
    border: 1px solid var(--border-hover);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.skill-group-icon.is-blue {
    color: var(--blue);
}
.skill-group-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: var(--text);
}
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.skill-tag {
    padding: 0.34rem 0.72rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--bg-2);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    transition: var(--transition);
}
.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.skill-tag.core {
    color: var(--accent);
    border-color: rgba(232, 184, 109, 0.25);
    background: rgba(232, 184, 109, 0.06);
}
.skill-tag.ai {
    color: var(--blue);
    border-color: rgba(74, 158, 255, 0.28);
    background: rgba(74, 158, 255, 0.06);
}

/* ==========================================================================
   Featured Projects
   ========================================================================== */
.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.project-preview {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.project-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.55s ease;
}
.project-card:hover .project-preview-img {
    transform: scale(1.04);
}

/* Browser Chrome Mockup Placeholder when screenshot unavailable */
.project-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, var(--bg-3) 0%, var(--bg) 100%);
    padding: 0.85rem;
}
.mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.65rem;
    border-radius: 7px 7px 0 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-bottom: 0;
}
.mockup-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}
.mockup-url {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-left: 0.35rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mockup-canvas {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 0 0 7px 7px;
    background: radial-gradient(circle at 80% 20%, rgba(232, 184, 109, 0.12), transparent 55%),
                radial-gradient(circle at 15% 85%, rgba(74, 158, 255, 0.10), transparent 50%),
                var(--bg-2);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mockup-canvas.is-shopify {
    background: radial-gradient(circle at 80% 20%, rgba(74, 158, 255, 0.14), transparent 55%),
                radial-gradient(circle at 15% 85%, rgba(232, 184, 109, 0.10), transparent 50%),
                var(--bg-2);
}
.mockup-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mockup-platform-icon {
    font-size: 1.3rem;
    color: var(--accent);
}
.mockup-canvas.is-shopify .mockup-platform-icon {
    color: var(--blue);
}
.mockup-status {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    color: var(--text-muted);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}
.mockup-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}
.mockup-sub {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 11, 16, 0.78);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}
.project-card:hover .project-overlay,
.project-card:focus-within .project-overlay {
    opacity: 1;
}
.project-overlay-btn {
    padding: 0.55rem 1.05rem;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.project-overlay-btn.primary {
    background: var(--accent);
    color: #080b10;
    border: 1px solid var(--accent);
}
.project-overlay-btn.primary:hover {
    background: var(--accent-2);
}
.project-overlay-btn.ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-hover);
}
.project-overlay-btn.ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.project-body {
    padding: 1.45rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}
.project-category {
    font-family: var(--font-mono);
    font-size: 0.69rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.project-category.is-shopify {
    color: var(--blue);
}
.project-domain {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}
.project-title {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.55rem;
}
.project-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.62;
    margin-bottom: 1rem;
    flex: 1;
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin-bottom: 1rem;
}
.project-tag {
    padding: 0.22rem 0.6rem;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.project-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
}
.project-detail-trigger {
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--text);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}
.project-detail-trigger:hover {
    color: var(--accent);
}
.project-live-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.project-live-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Technical Case Studies
   ========================================================================== */
.case-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.case-card.is-blue::before {
    background: linear-gradient(90deg, var(--blue), transparent);
}
.case-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}
.case-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.case-num {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.35rem;
}
.case-card.is-blue .case-num {
    color: var(--blue);
}
.case-title {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.case-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-2);
    border: 1px solid var(--border-hover);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.case-card.is-blue .case-icon {
    color: var(--blue);
}

.case-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}
@media (max-width: 575px) {
    .case-flow {
        grid-template-columns: 1fr;
    }
}
.case-step {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.9rem 1rem;
}
.case-step-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.35rem;
}
.case-card.is-blue .case-step-label {
    color: var(--blue);
}
.case-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}
.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* ==========================================================================
   Experience Timeline
   ========================================================================== */
.timeline-wrap {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding-left: 2.5rem;
}
.timeline-wrap::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--blue), rgba(255, 255, 255, 0.08));
}
.timeline-entry {
    position: relative;
    margin-bottom: 2.25rem;
}
.timeline-entry:last-child {
    margin-bottom: 0;
}
.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 1.65rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px rgba(232, 184, 109, 0.12);
}
.timeline-marker::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}
.timeline-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}
.timeline-card:hover {
    border-color: var(--border-hover);
}
.timeline-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem 1.5rem;
    padding-bottom: 1.15rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid var(--border);
}
.timeline-role {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
}
.timeline-company {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--accent);
}
.timeline-period {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--text);
    background: var(--bg-2);
    border: 1px solid var(--border-hover);
    padding: 0.38rem 0.85rem;
    border-radius: 50px;
    white-space: nowrap;
}
.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1.5rem;
}
@media (max-width: 767px) {
    .timeline-list {
        grid-template-columns: 1fr;
    }
    .timeline-wrap {
        padding-left: 2rem;
    }
    .timeline-marker {
        left: -2rem;
    }
    .timeline-card {
        padding: 1.5rem;
    }
}
.timeline-list li {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.timeline-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ==========================================================================
   Services
   ========================================================================== */
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.service-card:hover::before {
    opacity: 1;
}
.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.15rem;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--accent);
    color: #080b10;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.65rem;
}
.service-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   Development Process
   ========================================================================== */
.process-grid {
    position: relative;
}
.process-step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.65rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
}
.process-step-card:hover {
    border-color: var(--accent-line);
    transform: translateY(-4px);
}
.process-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.process-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}
.process-arrow {
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}
.process-step-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.process-step-card p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Education, Interests & Languages
   ========================================================================== */
.credential-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.85rem;
    height: 100%;
}
.credential-panel h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.credential-panel h3 i {
    color: var(--accent);
}
.edu-item {
    padding: 0.95rem 1.1rem;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}
.edu-item:last-child {
    margin-bottom: 0;
}
.edu-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.15rem;
}
.edu-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    background: var(--bg-2);
    border: 1px solid var(--border-hover);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.info-pill i {
    color: var(--accent);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-title {
    font-size: clamp(1.78rem, 2.7vw, 2.45rem);
    margin-bottom: 0.9rem;
}
.contact-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.9rem 1.15rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.91rem;
    transition: var(--transition);
}
.contact-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.contact-cta-grid .btn-primary-custom,
.contact-cta-grid .btn-ghost-custom {
    width: 100%;
    padding: 0.82rem 0.9rem;
    font-size: 0.87rem;
}
@media (max-width: 440px) {
    .contact-cta-grid {
        grid-template-columns: 1fr;
    }
}
.contact-form-actions {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 0.75rem;
}
.contact-form-actions .btn-primary-custom,
.contact-form-actions .btn-ghost-custom {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
}
@media (max-width: 575px) {
    .contact-form-actions {
        grid-template-columns: 1fr;
    }
}
.contact-item:hover {
    border-color: var(--accent);
    color: var(--text);
}
.contact-item-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}
.contact-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.contact-val {
    display: block;
    color: var(--text);
    font-weight: 500;
    word-break: break-word;
}
.copy-btn {
    border: 1px solid var(--border-hover);
    background: var(--bg-2);
    color: var(--text-muted);
    border-radius: 6px;
    padding: 0.35rem 0.65rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    transition: var(--transition);
    flex-shrink: 0;
}
.copy-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.contact-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
}
.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--blue), transparent);
}
.form-label-custom {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}
.form-control-custom {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border-hover);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.93rem;
    transition: var(--transition);
    outline: none;
    display: block;
}
.form-control-custom::placeholder {
    color: var(--text-dim);
}
.form-control-custom:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 184, 109, 0.10);
}
.form-control-custom.invalid {
    border-color: #f87171;
}
select.form-control-custom {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237c8ba1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    padding-right: 2.65rem;
}
select.form-control-custom option {
    background: var(--surface);
    color: var(--text);
}
.form-feedback {
    display: none;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    background: rgba(74, 158, 255, 0.08);
    border: 1px solid rgba(74, 158, 255, 0.25);
    color: var(--text);
    font-size: 0.87rem;
}
.form-feedback.show {
    display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 3.25rem 0 2.5rem;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.4rem;
}
.footer-link {
    color: var(--text-muted);
    font-size: 0.86rem;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--accent);
}

/* ==========================================================================
   Project Detail Modal & Contact Modal
   ========================================================================== */
.portfolio-modal .modal-content {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
}
.portfolio-modal .modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    padding: 1.35rem 1.65rem;
}
.portfolio-modal .modal-body {
    padding: 1.65rem;
}
.portfolio-modal .modal-footer {
    border-top: 1px solid var(--border);
    padding: 1.15rem 1.65rem;
}
.btn-close-white-custom {
    margin-left: auto;
    flex-shrink: 0;
    background: var(--bg-2);
    border: 1px solid var(--border-hover);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}
.btn-close-white-custom:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #080b10;
    transform: rotate(90deg);
}

/* Floating Action Controls */
.wa-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.75rem;
    z-index: 950;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}
.wa-float:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
}
.to-top {
    position: fixed;
    right: calc(1.5rem + 5px);
    bottom: 6rem;
    z-index: 950;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--accent);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.25s, color 0.25s;
}
.to-top svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}
.to-top circle {
    fill: none;
    stroke-width: 2.5;
}
.to-top .trk { stroke: rgba(255, 255, 255, 0.1); }
.to-top .bar {
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-dasharray: 138.23;
    stroke-dashoffset: calc(138.23 * (1 - var(--p, 0) / 100));
}
.to-top i { position: relative; font-size: 1.1rem; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: #080b10; }
.to-top:hover .bar { stroke: #080b10; }

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition-duration: 0.01ms !important; }
}

/* Responsive Refinements */
@media (max-width: 991px) {
    .navbar-custom .navbar-collapse {
        background: var(--bg-2);
        border: 1px solid var(--border-hover);
        border-radius: var(--radius);
        padding: 1rem;
        margin-top: 0.75rem;
    }
    .nav-actions {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border);
    }
    #hero {
        padding-top: 6.5rem;
    }
}

@media (max-width: 767px) {
    .section-pad { padding: 4.25rem 0; }
    .contact-form-wrap { padding: 1.5rem 1.25rem; }
    .case-card { padding: 1.5rem; }
    .wa-float { width: 50px; height: 50px; right: 1rem; bottom: 1.25rem; font-size: 1.45rem; }
    .to-top { right: calc(1rem + 3px); bottom: 5.15rem; width: 44px; height: 44px; }
}
