:root {
    /* Premium color palette */
    --glass-bg-primary: rgba(255, 255, 255, 0.18);
    --glass-bg-secondary: rgba(255, 255, 255, 0.25);
    --glass-bg-hover: rgba(255, 255, 255, 0.38);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-border-strong: rgba(255, 255, 255, 0.7);
    --blur-primary: 24px;
    --blur-secondary: 16px;
    --blur-heavy: 40px;

    /* Vibrant accent system */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #a855f7;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    --accent-info: #06b6d4;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;

    /* Text colors */
    --text-dark: #0f172a;
    --text-medium: #1e293b;
    --text-light: #334155;
    --text-white: #f8fafc;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-glow-pink: 0 0 40px rgba(236, 72, 153, 0.3);
    --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.3);

    /* Border radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --radius-full: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, 
        #ff6b9d 0%, 
        #c084fc 15%, 
        #818cf8 30%, 
        #38bdf8 45%, 
        #2dd4bf 60%, 
        #a78bfa 75%, 
        #f472b6 90%, 
        #fb923c 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    min-height: 100vh;
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
    padding-bottom: 4rem;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 0%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
    100% { background-position: 0% 50%; }
}

/* Floating orbs */
body::before {
    content: '';
    position: fixed;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 12s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -250px;
    right: -250px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(236,72,153,0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 15s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.main-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

/* Navigation */
.navbar-wrapper {
    position: sticky;
    top: 20px;
    z-index: 1000;
    margin-bottom: 3rem;
}

.navbar {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    border-radius: var(--radius-xl);
    padding: 1rem 2rem;
    border: 2px solid var(--glass-border);
    box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: var(--shadow-xl), 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--glass-border-strong);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-dark);
    background: rgba(255,255,255,0.3);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.6);
}

.nav-brand i {
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-link {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: white;
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
    color: var(--accent-primary);
}

.nav-link.active {
    background: white;
    color: var(--accent-primary);
    border-color: white;
    box-shadow: var(--shadow-glow);
    font-weight: 700;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg-primary);
    backdrop-filter: blur(var(--blur-primary));
    -webkit-backdrop-filter: blur(var(--blur-primary));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 2px solid var(--glass-border);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.5);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.8s ease;
}

.glass-card:hover::after {
    left: 100%;
}

.glass-card:hover {
    box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.7);
    background: var(--glass-bg-hover);
}

.glass-card-accent {
    border-left: 5px solid var(--accent-primary);
}

/* Typography */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #1e293b 0%, #6366f1 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-pink));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-weight: 500;
    opacity: 0.85;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(236,72,153,0.2));
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
}

/* Flex & Grid */
.flex-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.flex-container > div {
    flex: 1 1 300px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
}

.grid-card {
    background: var(--glass-bg-secondary);
    backdrop-filter: blur(var(--blur-secondary));
    -webkit-backdrop-filter: blur(var(--blur-secondary));
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 2px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-pink), var(--accent-info));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-strong);
}

.grid-card:hover::before {
    opacity: 1;
}

/* Images */
.img-glossy {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255,255,255,0.6);
    transition: all 0.4s ease;
    object-fit: cover;
}

.img-glossy:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(99,102,241,0.4);
    border-color: white;
}

.img-rounded {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: var(--shadow-md);
    border-color: rgba(255,255,255,0.3);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.btn-outline {
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,0.6);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: white;
    border-color: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.btn-pink {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-danger));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-pink:hover {
    box-shadow: var(--shadow-glow-pink);
    transform: translateY(-3px);
}

.btn-cyan {
    background: linear-gradient(135deg, var(--accent-info), #0ea5e9);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-cyan:hover {
    box-shadow: var(--shadow-glow-cyan);
    transform: translateY(-3px);
}

/* Skill Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.5rem 0;
}

.skill-tag {
    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    color: var(--text-medium);
}

.skill-tag:hover {
    background: white;
    border-color: white;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.skill-tag i {
    margin-right: 0.3rem;
}

/* Stats */
.stats-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem 0;
}

.stat-item {
    background: var(--glass-bg-secondary);
    backdrop-filter: blur(var(--blur-secondary));
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--glass-border);
    text-align: center;
    min-width: 140px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--glass-bg-hover);
    border-color: white;
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-pink), var(--accent-info));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.55rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 20px rgba(99,102,241,0.5);
}

/* Contact */
.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--glass-bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: var(--glass-bg-hover);
    border-color: white;
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(var(--blur-secondary));
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 768px) {
    .navbar-wrapper { padding: 0 1rem; top: 10px; }
    .navbar { flex-direction: column; padding: 1rem; }
    .section-title { font-size: 2rem; }
    .glass-card { padding: 1.5rem; }
    .stats-row { flex-direction: column; align-items: center; }
    .flex-container { flex-direction: column; }
}