/* ==========================================================================
   VALERIO FIORENTINI - PORTFOLIO STYLESHEET
   Theme: Luxury Deep-Space Obsidian & Dual-Tone Sunset/Cyan Neon
   Palette: Rich Obsidian (#0a0b10), Amber Gold (#f59e0b), Electric Cyan (#38bdf8), Indigo (#818cf8)
   ========================================================================== */

:root {
    /* Backgrounds */
    --bg-canvas: #090a0f;
    --bg-sidebar: #0e111a;
    --bg-main: #0b0d14;
    --bg-card: #131724;
    --bg-card-hover: #191e30;
    --bg-card-featured: linear-gradient(135deg, #161b2e 0%, #101322 100%);
    
    /* Accents */
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-glow: rgba(245, 158, 11, 0.28);
    --accent-subtle: rgba(245, 158, 11, 0.12);
    
    --accent-cyan: #38bdf8;
    --accent-cyan-glow: rgba(56, 189, 248, 0.25);
    --accent-cyan-subtle: rgba(56, 189, 248, 0.12);
    
    --accent-violet: #818cf8;
    --accent-violet-subtle: rgba(129, 140, 248, 0.12);
    
    --accent-green: #10b981;
    --accent-green-subtle: rgba(16, 185, 129, 0.12);
    
    /* Typography Colors */
    --text-pure: #ffffff;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Borders */
    --border-hairline: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(245, 158, 11, 0.4);
    --border-cyan: rgba(56, 189, 248, 0.35);
    
    /* Fonts */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Radii & Effects */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

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

/* Master Layout */
.app-layout {
    display: flex;
    max-width: 1480px;
    margin: 0 auto;
    background-color: var(--bg-main);
    min-height: 100vh;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.85);
    position: relative;
}

/* ==========================================================================
   LEFT PROFILE SIDEBAR
   ========================================================================== */
.profile-sidebar {
    width: 320px;
    min-width: 320px;
    background-color: var(--bg-sidebar);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 100;
    border-right: 1px solid var(--border-hairline);
}

.sidebar-top {
    padding: 32px 24px 22px;
    text-align: center;
    border-bottom: 1px solid var(--border-hairline);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.07) 0%, rgba(56, 189, 248, 0.03) 50%, transparent 100%);
}

.avatar-box {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 auto 16px;
}

.avatar-monogram,
.avatar-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
    display: block;
    object-fit: cover;
}

.avatar-monogram {
    background: linear-gradient(135deg, #1e2235, #111320);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.pulse-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 15px;
    height: 15px;
    background-color: var(--accent-green);
    border: 2px solid var(--bg-sidebar);
    border-radius: 50%;
    animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.user-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.role-pill-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.role-pill {
    background: var(--accent-subtle);
    color: var(--accent-light);
    border: 1px solid var(--border-accent);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.role-pill:nth-child(2) {
    background: var(--accent-cyan-subtle);
    color: var(--accent-cyan);
    border-color: var(--border-cyan);
}

.role-pill:nth-child(3) {
    background: var(--accent-violet-subtle);
    color: var(--accent-violet);
    border-color: rgba(129, 140, 248, 0.35);
}

/* Sidebar Body */
.sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 24px;
}

.sidebar-body::-webkit-scrollbar {
    width: 4px;
}
.sidebar-body::-webkit-scrollbar-thumb {
    background: var(--border-hairline);
    border-radius: 4px;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hairline), transparent);
    margin: 20px 0;
}

.block-title {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-pure);
    margin-bottom: 14px;
}

/* Info Group */
.info-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.info-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label i {
    color: var(--accent);
    font-size: 0.8rem;
    width: 14px;
}

.info-val {
    color: var(--text-primary);
    font-weight: 600;
}

.highlight {
    color: var(--accent-light);
}

/* Language Dials */
.lang-row {
    display: flex;
    justify-content: space-around;
    gap: 16px;
}

.lang-dial {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.dial-svg {
    width: 60px;
    height: 60px;
}

.dial-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 3.2;
}

.dial-fill {
    fill: none;
    stroke: url(#amberGradient);
    stroke: var(--accent);
    stroke-width: 3.2;
    stroke-linecap: round;
}

.lang-dial:nth-child(2) .dial-fill {
    stroke: var(--accent-cyan);
}

.dial-value {
    position: absolute;
    top: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-pure);
}

.dial-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 600;
}

/* Skills */
.skill-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.skill-num {
    color: var(--text-pure);
    font-weight: 700;
}

.skill-track {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

/* Method list */
.method-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.method-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.method-list li i {
    color: var(--accent-cyan);
    font-size: 0.75rem;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 16px 24px;
    background-color: #0b0c14;
    border-top: 1px solid var(--border-hairline);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.sidebar-footer a {
    color: var(--text-secondary);
    font-size: 1.15rem;
    transition: var(--transition);
}

.sidebar-footer a:hover {
    color: var(--accent-light);
    transform: translateY(-2px);
}

/* ==========================================================================
   MAIN CONTENT VIEWPORT
   ========================================================================== */
.main-viewport {
    flex: 1;
    overflow-y: auto;
    padding: 38px 44px;
    background-color: var(--bg-main);
}

/* Mobile Nav Bar */
.mobile-nav-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background-color: var(--bg-sidebar);
    border-bottom: 1px solid var(--border-hairline);
    margin: -38px -44px 28px -44px;
    position: sticky;
    top: 0;
    z-index: 90;
}

.mobile-toggle {
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 1.3rem;
    cursor: pointer;
}

.mobile-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
}

.mobile-cta {
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Hero Stage */
.hero-stage {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    background: radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 55%),
                radial-gradient(circle at 15% 85%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
                linear-gradient(135deg, #141829 0%, #0d101b 100%);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 32px;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-tag-wrap {
    margin-bottom: 18px;
}

.glow-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--accent-subtle), var(--accent-cyan-subtle));
    color: var(--accent-light);
    border: 1px solid var(--border-accent);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.45rem;
    font-weight: 800;
    line-height: 1.22;
    color: var(--text-pure);
    margin-bottom: 18px;
    max-width: 780px;
    letter-spacing: -0.5px;
}

.hero-code-snippet {
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 13, 22, 0.75);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 100%;
}

.terminal-prefix {
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.05rem;
}

.hero-code-snippet code {
    font-family: var(--font-mono);
    font-size: 0.92rem;
    color: var(--accent-cyan);
    display: inline-block;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0b0d14;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-amber:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-pure);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: 1px solid var(--border-card);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ghost:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.08);
}

/* Stats Strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.stat-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.stat-box:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stat-val {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-box:nth-child(2) .stat-val {
    color: var(--accent-cyan);
}

.stat-box:nth-child(3) .stat-val {
    color: var(--accent-green);
}

.stat-box:nth-child(4) .stat-val {
    color: var(--accent-violet);
}

.stat-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.35;
    font-weight: 600;
}

/* Section Common */
.section-container {
    margin-bottom: 60px;
}

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

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
}

.section-heading {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-pure);
    letter-spacing: -0.3px;
}

.section-lead {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* 3 Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pillar-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.pillar-card:hover {
    border-color: var(--border-accent);
    background-color: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.highlight-card {
    border-color: rgba(56, 189, 248, 0.3);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.05) 0%, var(--bg-card) 100%);
}

.pillar-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 18px;
}

.pillar-card:nth-child(2) .pillar-icon {
    color: var(--accent-cyan);
}

.pillar-card:nth-child(3) .pillar-icon {
    color: var(--accent-violet);
}

.pillar-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 4px;
}

.pillar-subtitle {
    font-size: 0.8rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 12px;
}

.pillar-card:nth-child(2) .pillar-subtitle {
    color: var(--accent-cyan);
}

.pillar-card:nth-child(3) .pillar-subtitle {
    color: var(--accent-violet);
}

.pillar-body {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pillar-tags span {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hairline);
    font-family: var(--font-mono);
}

/* Timeline */
.timeline-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 34px;
    box-shadow: var(--shadow-card);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.job-title {
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--text-pure);
}

.job-company {
    font-size: 0.95rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-top: 3px;
    display: inline-block;
}

.job-company i {
    margin-right: 6px;
    color: var(--accent);
}

.job-badge {
    background: var(--accent-subtle);
    color: var(--accent-light);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-accent);
}

.job-summary {
    font-size: 0.94rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.job-responsibilities {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.resp-item {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.resp-item strong {
    color: var(--text-pure);
    display: inline;
}

.resp-item strong i {
    color: var(--accent-cyan);
    margin-right: 6px;
}

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

.tech-tag-row span {
    background: rgba(56, 189, 248, 0.08);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(56, 189, 248, 0.2);
    font-family: var(--font-mono);
}

/* Education Grid */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.edu-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 26px;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.edu-card:hover {
    border-color: var(--border-cyan);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.card-corner-icon {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 1.5rem;
    color: rgba(56, 189, 248, 0.25);
}

.date-chip {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
}

.edu-degree {
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--text-pure);
    margin-bottom: 4px;
}

.edu-institution {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.edu-details {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   PROJECTS SHOWCASE & SEPARATION
   ========================================================================== */
.category-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.cat-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-card);
}

.cat-pill:hover {
    color: var(--text-pure);
    border-color: var(--accent);
}

.highlight-pill {
    border-color: var(--border-accent);
    color: var(--accent-light);
    background: var(--accent-subtle);
}

.project-group {
    margin-bottom: 50px;
}

.group-title-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-hairline);
}

.group-title-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 1.25rem;
}

.project-group:nth-child(3) .group-title-icon {
    background: var(--accent-violet-subtle);
    border-color: rgba(129, 140, 248, 0.35);
    color: var(--accent-violet);
}

.project-group:nth-child(4) .group-title-icon {
    background: var(--accent-cyan-subtle);
    border-color: var(--border-cyan);
    color: var(--accent-cyan);
}

.group-heading {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--text-pure);
}

.group-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.proj-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.proj-card:hover {
    border-color: var(--border-cyan);
    background-color: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.proj-category {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 700;
}

.proj-category i {
    margin-right: 5px;
}

.proj-status {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.proj-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 10px;
    line-height: 1.35;
}

.proj-external-link {
    color: var(--text-pure);
    text-decoration: none;
    transition: var(--transition);
}

.proj-external-link:hover {
    color: var(--accent-cyan);
}

.proj-external-link i {
    font-size: 0.8rem;
    margin-left: 4px;
    color: var(--accent-cyan);
}

.text-link {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.proj-card-action {
    margin-bottom: 14px;
}

.btn-visit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-cyan-subtle);
    color: var(--accent-cyan);
    border: 1px solid var(--border-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.btn-visit:hover {
    background: var(--accent-cyan);
    color: #0b0d14;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-cyan-glow);
}

.proj-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.proj-highlights {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.proj-highlights span i {
    color: var(--accent-cyan);
    margin-right: 6px;
}

.proj-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.proj-stack span {
    font-size: 0.72rem;
    background-color: rgba(56, 189, 248, 0.08);
    color: var(--accent-cyan);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(56, 189, 248, 0.2);
    font-family: var(--font-mono);
}

/* ==========================================================================
   FEATURED STAR PROJECT: ShopOra
   ========================================================================== */
.featured-project-card {
    background: var(--bg-card-featured);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 26px;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.featured-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-cyan), var(--accent-violet));
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0b0d14;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 12px;
}

.featured-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-pure);
    letter-spacing: -0.3px;
}

.featured-subtitle {
    font-size: 0.88rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-top: 4px;
}

.platform-tag {
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-cyan);
}

.featured-overview {
    font-size: 0.94rem;
    color: var(--text-primary);
    line-height: 1.65;
    margin-bottom: 26px;
}

.features-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 26px;
}

.feat-col {
    background: rgba(10, 13, 22, 0.55);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
}

.feat-col h6 {
    font-size: 0.88rem;
    font-weight: 750;
    color: var(--text-pure);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feat-col h6 i {
    color: var(--accent-light);
}

.feat-col:nth-child(2) h6 i {
    color: var(--accent-cyan);
}

.feat-col:nth-child(3) h6 i {
    color: var(--accent-green);
}

.feat-col:nth-child(4) h6 i {
    color: var(--accent-violet);
}

.feat-col p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.featured-footer {
    border-top: 1px solid var(--border-hairline);
    padding-top: 20px;
}

.featured-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.featured-stack span {
    font-size: 0.75rem;
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(245, 158, 11, 0.25);
    font-family: var(--font-mono);
    font-weight: 600;
}

.featured-stack span:nth-child(2),
.featured-stack span:nth-child(5),
.featured-stack span:nth-child(6) {
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--accent-cyan);
    border-color: rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-banner {
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.1) 0%, transparent 60%),
                linear-gradient(135deg, #151928 0%, #0d101b 100%);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-headline {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 12px;
}

.contact-lead {
    font-size: 0.94rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 30px;
}

.contact-action-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.contact-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    color: var(--text-pure);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-btn:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-2px);
    background: var(--accent-subtle);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.contact-btn i {
    color: var(--accent);
}

/* Footer */
.app-footer {
    padding-top: 32px;
    border-top: 1px solid var(--border-hairline);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.app-footer strong {
    color: var(--text-secondary);
}

/* ==========================================================================
   RIGHT QUICK NAV BAR
   ========================================================================== */
.quick-nav {
    width: 76px;
    min-width: 76px;
    background-color: var(--bg-sidebar);
    border-left: 1px solid var(--border-hairline);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    gap: 22px;
    height: 100vh;
    position: sticky;
    top: 0;
}

.quick-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px;
    transition: var(--transition);
}

.quick-nav-link i {
    font-size: 1.15rem;
}

.quick-nav-link:hover,
.quick-nav-link.active {
    color: var(--accent-cyan);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1240px) {
    .quick-nav {
        display: none;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .profile-sidebar {
        position: fixed;
        left: -340px;
        top: 0;
        bottom: 0;
        transition: left 0.3s ease;
        box-shadow: 10px 0 35px rgba(0, 0, 0, 0.7);
    }
    .profile-sidebar.open {
        left: 0;
    }
    .mobile-nav-bar {
        display: flex;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .features-columns {
        grid-template-columns: 1fr;
    }
    .edu-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 600px) {
    .main-viewport {
        padding: 24px 18px;
    }
    .mobile-nav-bar {
        margin: -24px -18px 24px -18px;
    }
    .hero-stage {
        padding: 32px 20px;
    }
    .hero-title {
        font-size: 1.55rem;
    }
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    .stats-strip {
        grid-template-columns: 1fr;
    }
    .contact-banner {
        padding: 30px 20px;
    }
}
