/* ============================================
   V3 PORTFOLIO — MAIN STYLESHEET
   Neo-Editorial Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* ========== Design Tokens ========== */
:root {
    /* Color Palette — Dark Luxury (Dark + White + Gold + Yellow) */
    --color-bg: #0a0a0f;
    --color-bg-alt: #101016;
    --color-bg-dark: #0a0a0f;
    --color-bg-darker: #06060a;
    --color-surface: #16161e;
    --color-surface-dark: rgba(10, 10, 15, 0.95);
    
    --color-text: #ffffff;
    --color-text-secondary: #a0a0b8;
    --color-text-muted: #5a5a70;
    --color-text-light: #ffffff;
    
    --color-terracotta: #d4a853;
    --color-terracotta-light: #f0c850;
    --color-terracotta-dark: #b8923a;
    --color-cream: rgba(212, 168, 83, 0.15);
    --color-cream-light: rgba(212, 168, 83, 0.08);
    --color-olive: #d4a853;
    --color-olive-light: #f0c850;
    --color-navy: #ffffff;
    --color-navy-light: #e0e0e8;
    --color-gold: #d4a853;
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 64px;
    --space-2xl: 128px;
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 9999px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 0.2s;
    --duration-medium: 0.4s;
    --duration-slow: 0.8s;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(212, 168, 83, 0.15);
}

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: all var(--duration-fast) var(--ease-out); }

::selection {
    background: var(--color-terracotta);
    color: #fff;
}

/* ========== Page Loader ========== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

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

.loader-name {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: -2px;
    overflow: hidden;
}

.loader-name span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

.loader-bar {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--color-terracotta);
    border-radius: 2px;
    transition: width 1.5s var(--ease-out);
}

/* ========== Custom Cursor ========== */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--color-terracotta);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.15s var(--ease-out);
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--color-terracotta);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
    opacity: 0.4;
}

.cursor-ring.hover {
    transform: scale(1.8) !important;
    opacity: 0.15;
    background: var(--color-terracotta);
}

@media (max-width: 1024px) {
    .cursor-dot, .cursor-ring { display: none !important; }
}

/* ========== Navigation ========== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 20px 0;
    transition: all var(--duration-medium) var(--ease-out);
}

.main-nav.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--color-navy);
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--color-terracotta);
    border-radius: 50%;
}

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

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--duration-fast) var(--ease-out);
    letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-navy);
    background: rgba(255,255,255,0.06);
}

.nav-links a i {
    font-size: 15px;
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--color-gold) !important;
    color: #0a0a0f !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--color-terracotta-light) !important;
    color: #0a0a0f !important;
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    position: relative;
    z-index: 9002;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    margin: 6px auto;
    transition: all 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Mobile Nav Overlay */
.nav-mobile {
    position: fixed;
    inset: 0;
    z-index: 9001;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.nav-mobile.open { opacity: 1; visibility: visible; }

.nav-mobile a {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-navy);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all 0.3s;
    transform: translateY(20px);
    opacity: 0;
}

.nav-mobile.open a {
    transform: translateY(0);
    opacity: 1;
}

.nav-mobile a:hover { color: var(--color-terracotta); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
}

/* Particle Canvas */
.hero-particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Animated Mesh Gradient Orbs */
.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.mesh-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    will-change: transform;
}

.mesh-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(212,168,83,0.25) 0%, transparent 70%);
    top: -20%; right: -10%;
    animation: orbDrift1 20s ease-in-out infinite;
}

.mesh-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(240,200,80,0.15) 0%, transparent 70%);
    bottom: -15%; left: -10%;
    animation: orbDrift2 25s ease-in-out infinite;
}

.mesh-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(212,168,83,0.12) 0%, transparent 70%);
    top: 40%; left: 50%;
    animation: orbDrift3 18s ease-in-out infinite;
}

.mesh-4 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(184,146,58,0.1) 0%, transparent 70%);
    top: 10%; left: 20%;
    animation: orbDrift4 22s ease-in-out infinite;
}

.mesh-5 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(240,200,80,0.08) 0%, transparent 70%);
    bottom: 20%; right: 30%;
    animation: orbDrift5 16s ease-in-out infinite;
}

@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-60px, 40px) scale(1.1); }
    50% { transform: translate(30px, -50px) scale(0.95); }
    75% { transform: translate(-40px, -30px) scale(1.05); }
}

@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, -60px) scale(1.15); }
    66% { transform: translate(-50px, 40px) scale(0.9); }
}

@keyframes orbDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    20% { transform: translate(50px, 30px) scale(1.08); }
    40% { transform: translate(-30px, -60px) scale(0.92); }
    60% { transform: translate(40px, -20px) scale(1.12); }
    80% { transform: translate(-60px, 50px) scale(0.95); }
}

@keyframes orbDrift4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(70px, 50px) rotate(180deg); }
}

@keyframes orbDrift5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    30% { transform: translate(-40px, -40px) scale(1.2); }
    70% { transform: translate(50px, 30px) scale(0.85); }
}

/* Floating Geometric Shapes */
.hero-geo-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    will-change: transform, opacity;
}

/* Rings */
.geo-ring {
    border: 1.5px solid rgba(212,168,83,0.15);
    border-radius: 50%;
}

.geo-1 {
    width: 80px; height: 80px;
    top: 12%; left: 8%;
    animation: geoFloat1 12s ease-in-out infinite, geoSpin 30s linear infinite;
}

.geo-2 {
    width: 50px; height: 50px;
    top: 65%; right: 12%;
    border-color: rgba(240,200,80,0.12);
    animation: geoFloat2 10s ease-in-out infinite, geoSpinReverse 25s linear infinite;
}

.geo-11 {
    width: 35px; height: 35px;
    bottom: 25%; left: 45%;
    border-color: rgba(212,168,83,0.1);
    animation: geoFloat3 14s ease-in-out infinite, geoSpin 20s linear infinite;
}

/* Dots */
.geo-dot {
    border-radius: 50%;
    background: rgba(212,168,83,0.3);
}

.geo-3 {
    width: 6px; height: 6px;
    top: 20%; right: 25%;
    animation: geoFloat2 8s ease-in-out infinite;
}

.geo-4 {
    width: 4px; height: 4px;
    top: 75%; left: 15%;
    background: rgba(240,200,80,0.25);
    animation: geoFloat1 11s ease-in-out infinite;
}

.geo-5 {
    width: 5px; height: 5px;
    top: 40%; left: 75%;
    animation: geoFloat3 9s ease-in-out infinite;
}

.geo-12 {
    width: 3px; height: 3px;
    top: 55%; left: 5%;
    background: rgba(240,200,80,0.2);
    animation: geoFloat2 13s ease-in-out infinite;
}

/* Crosses */
.geo-cross {
    width: 20px; height: 20px;
}

.geo-cross::before,
.geo-cross::after {
    content: '';
    position: absolute;
    background: rgba(212,168,83,0.12);
    border-radius: 2px;
}

.geo-cross::before {
    width: 100%; height: 2px;
    top: 50%; left: 0;
    transform: translateY(-50%);
}

.geo-cross::after {
    width: 2px; height: 100%;
    left: 50%; top: 0;
    transform: translateX(-50%);
}

.geo-6 {
    top: 30%; right: 8%;
    animation: geoFloat1 15s ease-in-out infinite, geoSpin 20s linear infinite;
}

.geo-7 {
    bottom: 15%; left: 30%;
    animation: geoFloat3 12s ease-in-out infinite, geoSpinReverse 18s linear infinite;
}

/* Diamond */
.geo-diamond {
    width: 16px; height: 16px;
    border: 1.5px solid rgba(212,168,83,0.15);
    transform: rotate(45deg);
}

.geo-8 {
    top: 50%; right: 20%;
    animation: geoFloat2 14s ease-in-out infinite;
}

/* Lines */
.geo-line {
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(212,168,83,0.15), transparent);
    border-radius: 1px;
}

.geo-9 {
    width: 80px;
    top: 18%; left: 40%;
    transform: rotate(-15deg);
    animation: geoFloat1 16s ease-in-out infinite;
}

.geo-10 {
    width: 60px;
    bottom: 30%; right: 35%;
    transform: rotate(25deg);
    animation: geoFloat3 11s ease-in-out infinite;
}

/* Geo Float Keyframes */
@keyframes geoFloat1 {
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    25% { transform: translate(15px, -20px); opacity: 1; }
    50% { transform: translate(-10px, 15px); opacity: 0.4; }
    75% { transform: translate(20px, 10px); opacity: 0.8; }
}

@keyframes geoFloat2 {
    0%, 100% { transform: translate(0, 0); opacity: 0.5; }
    33% { transform: translate(-20px, -15px); opacity: 1; }
    66% { transform: translate(15px, 20px); opacity: 0.3; }
}

@keyframes geoFloat3 {
    0%, 100% { transform: translate(0, 0); opacity: 0.7; }
    20% { transform: translate(10px, -25px); opacity: 0.4; }
    40% { transform: translate(-15px, 10px); opacity: 0.9; }
    60% { transform: translate(20px, 15px); opacity: 0.5; }
    80% { transform: translate(-10px, -10px); opacity: 0.8; }
}

@keyframes geoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes geoSpinReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Grid Overlay */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(212,168,83,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,168,83,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 70%);
    pointer-events: none;
}

/* Vignette */
.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(10,10,15,0.6) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text { padding-top: 80px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--color-cream-light);
    border: 1px solid var(--color-cream);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-terracotta-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-badge i { font-size: 14px; }

.hero-greeting {
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -3px;
    color: var(--color-navy);
    margin-bottom: 24px;
}

.hero-name .name-accent {
    background: linear-gradient(135deg, var(--color-gold), var(--color-terracotta-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-name .name-accent::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(212, 168, 83, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.hero-role {
    font-family: var(--font-heading);
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    color: var(--color-terracotta);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.role-indicator {
    width: 8px;
    height: 8px;
    background: var(--color-terracotta);
    border-radius: 50%;
    animation: rolePulse 2s ease-in-out infinite;
}

@keyframes rolePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-v3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--color-gold);
    color: #0a0a0f;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--duration-medium) var(--ease-out);
    letter-spacing: 0.3px;
}

.btn-primary-v3:hover {
    background: var(--color-terracotta-light);
    color: #0a0a0f;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 168, 83, 0.25);
}

.btn-secondary-v3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all var(--duration-medium) var(--ease-out);
    letter-spacing: 0.3px;
}

.btn-secondary-v3:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-3px);
}

.hero-social {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: 18px;
    transition: all var(--duration-medium) var(--ease-out);
}

.social-link:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.15);
}

/* Hero Visual Side */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-image-wrap {
    position: relative;
    width: 420px;
    height: 520px;
}

.hero-image-frame {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: 40px;
    right: -40px;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 80px;
    left: -50px;
    animation-delay: 2s;
}

.hero-float-card.card-3 {
    bottom: -10px;
    right: 20px;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.float-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.float-icon.terracotta { background: var(--color-terracotta); }
.float-icon.olive { background: var(--color-olive); }
.float-icon.navy { background: #1a1a2e; }

.float-text {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-navy);
}

.float-text small {
    display: block;
    font-weight: 400;
    color: var(--color-text-muted);
    font-size: 11px;
}

/* ========== Section Base ========== */
.section {
    padding: clamp(80px, 10vw, 140px) 0;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-terracotta);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--color-terracotta);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--color-navy);
}

.section-subtitle {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--color-text-secondary);
    margin-top: 16px;
    max-width: 600px;
    line-height: 1.7;
}

/* ========== About Section ========== */
.about-section {
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

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

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.about-image:hover img { transform: scale(1.05); }

.about-exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0a0a0f;
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.about-exp-badge .num {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.about-exp-badge .label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.about-stat {
    text-align: center;
}

.about-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 4px;
}

.about-stat .stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== Skills Section ========== */
.skills-section {
    background: #12121a;
    color: var(--color-text-light);
}

.skills-section .section-label { color: var(--color-terracotta-light); }
.skills-section .section-title { color: #ffffff; }
.skills-section .section-subtitle { color: rgba(255,255,255,0.5); }

.skills-orbit {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.skill-category-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--duration-medium) var(--ease-out);
}

.skill-category-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(212,168,83,0.3);
    transform: translateY(-4px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

.category-icon.terracotta { background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-light)); }
.category-icon.olive { background: linear-gradient(135deg, var(--color-olive), var(--color-olive-light)); }
.category-icon.gold { background: linear-gradient(135deg, var(--color-gold), #e8c77b); }

.category-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-cream);
}

.skill-items { display: flex; flex-direction: column; gap: 16px; }

.skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.skill-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.skill-info i {
    font-size: 18px;
    color: var(--color-terracotta-light);
    width: 24px;
    text-align: center;
}

.skill-name {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

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

.skill-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-terracotta-light));
    width: 0%;
    transition: width 1.2s var(--ease-out);
}

.skill-percent {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-terracotta-light);
    min-width: 35px;
    text-align: right;
}

/* ========== Experience Section ========== */
.experience-section {
    background: var(--color-bg);
}

.experience-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.exp-card {
    display: grid;
    grid-template-columns: 200px 40px 1fr;
    gap: 0;
    align-items: start;
    padding: 32px 0;
    position: relative;
}

.exp-date {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-terracotta);
    padding-top: 4px;
    text-align: right;
    padding-right: 24px;
}

.exp-dot-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.exp-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-terracotta);
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 3px rgba(212,168,83,0.2);
    z-index: 2;
    flex-shrink: 0;
    margin-top: 6px;
}

.exp-line {
    width: 2px;
    flex: 1;
    background: rgba(255,255,255,0.06);
    margin-top: 8px;
}

.exp-card:last-child .exp-line { display: none; }

.exp-content {
    padding-left: 24px;
}

.exp-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.exp-company {
    font-size: 14px;
    color: var(--color-terracotta);
    font-weight: 500;
    margin-bottom: 4px;
}

.exp-location {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.exp-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.exp-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.exp-tech-tag {
    padding: 4px 12px;
    background: var(--color-cream-light);
    border: 1px solid var(--color-cream);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-terracotta-dark);
    font-family: var(--font-heading);
}

/* ========== Projects Section ========== */
.projects-section {
    background: var(--color-bg-alt);
    overflow: hidden;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all var(--duration-medium) var(--ease-out);
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212,168,83,0.15);
}

.project-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.project-card:hover .project-image img { transform: scale(1.08); }

.project-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
}

.project-image-placeholder.terracotta { background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-light)); }
.project-image-placeholder.olive { background: linear-gradient(135deg, var(--color-olive), var(--color-olive-light)); }
.project-image-placeholder.navy { background: linear-gradient(135deg, #1a1a2e, #2d2d4a); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity var(--duration-medium) var(--ease-out);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-overlay a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    color: var(--color-navy);
    font-size: 16px;
    transition: all 0.3s;
    transform: translateY(10px);
}

.project-card:hover .project-overlay a { transform: translateY(0); }
.project-overlay a:hover { background: var(--color-terracotta); color: #fff; }

.project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.project-badge.success { background: rgba(78,205,196,0.9); color: #fff; }
.project-badge.primary { background: rgba(212,168,83,0.9); color: #fff; }
.project-badge.warning { background: rgba(212,168,83,0.9); color: #fff; }
.project-badge.info { background: rgba(110,193,228,0.9); color: #fff; }
.project-badge.danger { background: rgba(231,76,94,0.9); color: #fff; }

.project-body { padding: 24px; }

.project-category {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-terracotta);
    margin-bottom: 8px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

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

.project-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tech {
    padding: 4px 12px;
    background: var(--color-bg);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    border: 1px solid rgba(255,255,255,0.06);
}

/* ========== Education Section ========== */
.education-section {
    background: var(--color-bg);
}

.education-card {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center;
    max-width: 800px;
    transition: all var(--duration-medium) var(--ease-out);
}

.education-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212,168,83,0.15);
}

.edu-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(212,168,83,0.2);
}

.edu-degree {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.edu-institution {
    font-size: 15px;
    color: var(--color-terracotta);
    font-weight: 500;
    margin-bottom: 4px;
}

.edu-location {
    font-size: 13px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.edu-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.edu-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.edu-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--color-cream-light);
    border: 1px solid var(--color-cream);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-terracotta-dark);
}

.edu-highlight i { color: var(--color-olive); font-size: 13px; }

/* ========== Contact Section ========== */
.contact-section {
    background: #12121a;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-section .section-label { color: var(--color-terracotta-light); }
.contact-section .section-title { color: #ffffff; }
.contact-section .section-subtitle { color: rgba(255,255,255,0.5); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.contact-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--duration-medium) var(--ease-out);
    display: block;
}

.contact-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-4px);
    border-color: rgba(212,168,83,0.3);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(212,168,83,0.2);
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-cream);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
}

.contact-social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.5);
    font-size: 20px;
    transition: all var(--duration-medium) var(--ease-out);
}

.contact-social-link:hover {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(212,168,83,0.2);
}

/* ========== Footer ========== */
.main-footer {
    background: var(--color-bg-darker);
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

.footer-text span {
    color: var(--color-terracotta-light);
    font-weight: 500;
}

/* ========== Scroll Reveal ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s var(--ease-out);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========== Marquee ========== */
.marquee {
    overflow: hidden;
    padding: 24px 0;
    position: relative;
}

.marquee::before, .marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.marquee::before { left: 0; background: linear-gradient(90deg, #12121a, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #12121a, transparent); }

.marquee-track {
    display: flex;
    gap: 48px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

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

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-item i {
    font-size: 22px;
    color: var(--color-terracotta);
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-gold);
    color: #0a0a0f;
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 8000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--duration-medium) var(--ease-out);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-terracotta);
    transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero-content { gap: 40px; }
    .hero-image-wrap { width: 350px; height: 440px; }
    .about-grid { gap: 48px; }
}

@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text { padding-top: 120px; }
    .hero-visual { padding-top: 0; }
    .hero-image-wrap { width: 300px; height: 380px; margin: 0 auto; }
    .hero-float-card.card-1 { right: -20px; }
    .hero-float-card.card-2 { left: -20px; }
    .hero-actions { justify-content: center; }
    .hero-social { justify-content: center; }
    .hero-badge { margin-left: auto; margin-right: auto; }
    
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-image { max-width: 400px; margin: 0 auto; }
    .about-exp-badge { right: auto; left: 50%; transform: translateX(-50%); }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
    
    .exp-card { grid-template-columns: 1fr; padding: 24px 0; }
    .exp-date { text-align: left; padding-right: 0; padding-left: 0; margin-bottom: 8px; }
    .exp-dot-line { display: none; }
    .exp-content { padding-left: 0; padding: 20px; background: var(--color-surface); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.06); }
    
    .projects-grid { grid-template-columns: 1fr; }
    
    .education-card { grid-template-columns: 1fr; text-align: center; }
    .edu-icon { margin: 0 auto; }
    .edu-highlights { justify-content: center; }
    
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 767px) {
    .hero-name { letter-spacing: -2px; }
    .hero-float-card { display: none; }
    .hero-image-wrap { width: 250px; height: 320px; }
    
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .about-stat .stat-number { font-size: 28px; }
    
    .skills-categories { grid-template-columns: 1fr; }
    
    .contact-grid { grid-template-columns: 1fr; }
    
    .section-title { letter-spacing: -1px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn-primary-v3,
    .hero-actions .btn-secondary-v3 { width: 100%; justify-content: center; }
    .hero-image-wrap { width: 200px; height: 260px; }
    
    .about-stats { grid-template-columns: repeat(3, 1fr); }
}

/* Ultra-wide */
@media (min-width: 2560px) {
    :root { font-size: 18px; }
    .hero-content { max-width: 1800px; }
    .section-container { max-width: 1800px; }
}
