/* ======================================
   DESIGN SYSTEM & VARIABLES
   ====================================== */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a2e;
    
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;
    
    --accent-primary: #7c3aed;
    --accent-secondary: #a855f7;
    --accent-tertiary: #c084fc;
    
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.4) 0%, rgba(168, 85, 247, 0.4) 50%, rgba(236, 72, 153, 0.4) 100%);
    
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-hover-bg: rgba(255, 255, 255, 0.08);
    --glass-hover-border: rgba(255, 255, 255, 0.15);
    
    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-max: 1200px;
    --container-padding: clamp(20px, 4vw, 40px);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::selection {
    background: rgba(124, 58, 237, 0.4);
    color: #fff;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* ======================================
   ANIMATED BACKGROUND
   ====================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.6), transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.5), transparent 70%);
    top: 50%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent 70%);
    bottom: -5%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
    top: 30%;
    left: 50%;
    animation-delay: -15s;
    animation-duration: 28s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -80px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(80px, 30px) scale(1.05); }
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ======================================
   GLASS CARD
   ====================================== */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s var(--ease-out);
}

.glass-card:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(124, 58, 237, 0.08);
}

/* ======================================
   GRADIENT TEXT
   ====================================== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ======================================
   NAVIGATION
   ====================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    z-index: 1001;
}

.nav-avatar-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.nav-logo:hover .nav-avatar-img {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.7);
}

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

.logo-dot {
    color: var(--accent-primary);
    font-size: 1.5rem;
}

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

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

.nav-link {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.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(5px, -5px);
}

/* Mobile Nav */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
    padding: 8px 24px;
}

.mobile-nav-link:hover {
    color: var(--text-primary);
    transform: scale(1.05);
}

/* ======================================
   HERO SECTION
   ====================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px var(--container-padding) 80px;
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-tertiary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.badge-divider {
    opacity: 0.4;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.badge-time {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.title-word {
    display: inline-block;
    animation: fadeInUp 0.8s var(--ease-out) calc(var(--delay) * 0.1s + 0.3s) both;
}

.title-name {
    margin-top: 4px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 1.8em;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.typewriter-cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent-primary);
    font-weight: 300;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s var(--ease-out) 1s both;
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s var(--ease-out) 1.2s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s var(--ease-out);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s var(--ease-out) 1.4s both;
}

.stat-item {
    padding: 18px 22px;
    border-radius: var(--radius-md);
    text-align: center;
    flex: 1;
}

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

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

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    flex: 0 0 auto;
    position: relative;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-image-wrapper {
    position: relative;
    width: 340px;
    height: 400px;
}

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

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    color: var(--text-muted);
    font-size: 0.85rem;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s var(--ease-out);
}

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

.floating-badge {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badge-float 6s ease-in-out infinite;
}

.badge-ps {
    top: -10px;
    right: -20px;
    animation-delay: 0s;
}

.badge-pr {
    bottom: 40px;
    left: -25px;
    animation-delay: -2s;
}

.badge-ae {
    bottom: -10px;
    right: 30px;
    animation-delay: -4s;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s var(--ease-out) 2s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ======================================
   SECTIONS COMMON
   ====================================== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 2;
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-tertiary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

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

/* ======================================
   ABOUT SECTION
   ====================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-lg);
}

.highlight-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ======================================
   TESTIMONIALS MARQUEE
   ====================================== */
.testimonials-section {
    overflow: hidden;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

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

.marquee-content {
    display: flex;
    gap: 24px;
    padding: 0 12px;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Testimonial Card */
.testimonial-card {
    width: 380px;
    min-width: 380px;
    padding: 28px;
    border-radius: var(--radius-lg);
    cursor: default;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(124, 58, 237, 0.06);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.testimonial-meta {
    flex: 1;
    min-width: 0;
}

.testimonial-meta h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-meta p {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.linkedin-badge {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .linkedin-badge {
    opacity: 1;
}

.testimonial-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card:hover .testimonial-text {
    -webkit-line-clamp: unset;
}

.testimonial-stars {
    font-size: 0.85rem;
    color: #FFD700;
    letter-spacing: 3px;
}

/* Light mode adjustments */
[data-theme="light"] .testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 40px rgba(124, 58, 237, 0.04);
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 320px;
        min-width: 320px;
        padding: 22px;
    }

    .marquee-track {
        animation-duration: 30s;
    }
}

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

.skill-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    cursor: default;
}

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

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

.skill-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.skill-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.skill-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.skill-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.skill-progress {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: var(--accent, var(--gradient-primary));
    transition: width 1.5s var(--ease-out);
}

.skill-card.visible .skill-progress {
    width: var(--progress);
}

.skill-level {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ======================================
   PORTFOLIO SECTION
   ====================================== */
/* Direct Playable Featured Video Container */
.featured-player-container {
    margin-bottom: 50px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(124, 58, 237, 0.35);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(124, 58, 237, 0.2);
    background: var(--bg-secondary);
}

.featured-player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.featured-video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.featured-player-info {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
}

.featured-player-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.featured-player-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Moving Reels Section Header */
.reels-marquee-header {
    text-align: center;
    margin-bottom: 24px;
}

.marquee-subtitle {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Moving Reels Auto-Scrolling Marquee */
.reels-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    padding: 10px 0;
}

.reels-marquee-track {
    display: flex;
    width: max-content;
    animation: reels-scroll 32s linear infinite;
}

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

/* Portfolio Stack Headers & 3-Column Grid */
.portfolio-stack-header {
    margin-top: 40px;
    margin-bottom: 20px;
}

.stack-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.portfolio-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 50px;
}

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

@media (max-width: 600px) {
    .portfolio-stack-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--accent-tertiary);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.portfolio-thumb {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0f;
}

/* Aspect Ratios & Compact Sizes */
.card-9-16 .portfolio-thumb {
    aspect-ratio: 9/16;
    max-height: 340px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.card-16-9 .portfolio-thumb {
    aspect-ratio: 16/9;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.portfolio-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-img-bg {
    transform: scale(1.06);
    opacity: 1;
}

.portfolio-play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    z-index: 2;
    transition: transform 0.3s var(--ease-spring);
}

.portfolio-card:hover .portfolio-play-btn {
    transform: scale(1.15);
}

.portfolio-ratio-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    z-index: 3;
}

.ratio-9-16 { background: rgba(124, 58, 237, 0.9); }
.ratio-16-9 { background: rgba(234, 67, 53, 0.9); }

.portfolio-tag-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    backdrop-filter: blur(8px);
    z-index: 3;
}

.portfolio-card-info {
    padding: 16px 18px;
}

.portfolio-card-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.portfolio-card-info p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Compact Vertical Marquee Cards (9:16 Ratio) */
.reel-card-vertical { 
    width: 170px; 
    min-width: 170px; 
}

.reel-thumb-vertical {
    aspect-ratio: 9/16;
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reel-thumb-vertical .reel-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.reels-marquee-wrapper {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    width: 100%;
}

.reels-marquee-wrapper::before,
.reels-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.reels-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.reels-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.reels-marquee-track {
    display: flex;
    width: max-content;
    animation: reels-scroll 45s linear infinite;
}

.reels-marquee-wrapper:hover .reels-marquee-track {
    animation-play-state: paused;
}

.reels-marquee-content {
    display: flex;
    gap: 24px;
    padding: 0 12px;
    flex-shrink: 0;
}

@keyframes reels-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Reel Card inside Marquee */
.reel-card {
    width: 220px;
    min-width: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}

.reel-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(124, 58, 237, 0.15);
}

/* Apple Vision Pro Glassmorphic Video Lightbox */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.video-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s var(--ease-out);
    z-index: 2001;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
    background: rgba(124, 58, 237, 0.8);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-content {
    width: 90%;
    max-width: 960px;
    padding: 12px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 60px rgba(124, 58, 237, 0.25);
    transition: transform 0.4s var(--ease-spring), max-width 0.4s ease;
}

.lightbox-content.ratio-9-16 {
    max-width: 420px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.lightbox-content.ratio-9-16 .video-container {
    padding-bottom: 177.77%;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
    background: #000;
    border-radius: 20px;
}

/* ======================================
   CONTACT SECTION
   ====================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent, var(--gradient-primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-arrow {
    margin-left: auto;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
    flex-shrink: 0;
}

.contact-card:hover .contact-arrow {
    color: var(--accent-primary);
    transform: translateX(4px);
}

/* Contact Form */
.contact-form-wrapper {
    padding: 36px;
    border-radius: var(--radius-xl);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out);
    outline: none;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    font-size: 0.88rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
    opacity: 0;
}

.form-group textarea ~ label {
    top: 18px;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 14px;
    font-size: 0.72rem;
    background: var(--bg-primary);
    padding: 0 6px;
    color: var(--accent-tertiary);
    opacity: 1;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--glass-border);
    padding: 48px 0 24px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.social-link:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ======================================
   EXPANDABLE CONTACT HUB
   ====================================== */
.contact-hub {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0;
}

/* Main trigger button */
.hub-trigger {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.45);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: hub-pulse 3s ease-in-out infinite;
}

.hub-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 32px rgba(124, 58, 237, 0.6);
}

@keyframes hub-pulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(124, 58, 237, 0.45); }
    50% { box-shadow: 0 4px 24px rgba(124, 58, 237, 0.25), 0 0 0 14px rgba(124, 58, 237, 0.06); }
}

/* Trigger image / placeholder */
.hub-trigger-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hub-trigger-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hub-placeholder-icon {
    opacity: 0.9;
}

/* Close icon (shown when expanded) */
.hub-close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg) scale(0);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-hub.active .hub-trigger-img {
    transform: rotate(90deg) scale(0);
    opacity: 0;
}

.contact-hub.active .hub-close-icon {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    opacity: 1;
}

.contact-hub.active .hub-trigger {
    background: linear-gradient(135deg, #ef4444, #f97316);
    animation: none;
    box-shadow: 0 4px 24px rgba(239, 68, 68, 0.4);
}

/* Label tooltip */
.hub-label {
    position: absolute;
    right: 74px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--glass-border);
    transform: translateX(8px);
}

.hub-trigger:hover .hub-label {
    opacity: 1;
    transform: translateX(0);
}

.contact-hub.active .hub-label {
    opacity: 0 !important;
}

/* Child icons */
.hub-child {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 7px;
    opacity: 0;
    transform: scale(0.3);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

.hub-child:hover {
    scale: 1.12;
    filter: brightness(1.15);
}

/* Individual colors */
.hub-whatsapp { background: #25D366; }
.hub-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.hub-linkedin { background: #0A66C2; }
.hub-email { background: #EA4335; }

/* Expanded state — fan upwards with stagger */
.contact-hub.active .hub-child {
    opacity: 1;
    pointer-events: all;
}

.contact-hub.active .hub-whatsapp {
    transform: translateY(-80px);
    transition-delay: 0.05s;
}

.contact-hub.active .hub-instagram {
    transform: translateY(-148px);
    transition-delay: 0.1s;
}

.contact-hub.active .hub-linkedin {
    transform: translateY(-216px);
    transition-delay: 0.15s;
}

.contact-hub.active .hub-email {
    transform: translateY(-284px);
    transition-delay: 0.2s;
}

/* Closing transition stagger (reverse) */
.contact-hub:not(.active) .hub-whatsapp { transition-delay: 0.15s; }
.contact-hub:not(.active) .hub-instagram { transition-delay: 0.1s; }
.contact-hub:not(.active) .hub-linkedin { transition-delay: 0.05s; }
.contact-hub:not(.active) .hub-email { transition-delay: 0s; }

/* Child tooltips on hover */
.hub-child::before {
    content: attr(data-label);
    position: absolute;
    right: 60px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    border: 1px solid var(--glass-border);
}

.hub-child:hover::before {
    opacity: 1;
}

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper {
        width: 280px;
        height: 320px;
        margin: 0 auto;
    }

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

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

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-item {
        flex: auto;
    }

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

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

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .hero-description {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-image-wrapper {
        width: 240px;
        height: 280px;
    }

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

    .contact-hub {
        bottom: 20px;
        right: 20px;
    }

    .hub-trigger {
        width: 54px;
        height: 54px;
    }

    .hub-child {
        width: 42px;
        height: 42px;
    }

    .contact-hub.active .hub-whatsapp { transform: translateY(-70px); }
    .contact-hub.active .hub-instagram { transform: translateY(-130px); }
    .contact-hub.active .hub-linkedin { transform: translateY(-190px); }
    .contact-hub.active .hub-email { transform: translateY(-250px); }
}

/* ======================================
   THEME TOGGLE BUTTON
   ====================================== */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    position: relative;
    margin-right: 4px;
}

.theme-toggle:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    transform: rotate(30deg);
}

.theme-toggle .icon-sun {
    display: none;
    color: var(--text-primary);
}

.theme-toggle .icon-moon {
    display: block;
    color: var(--text-primary);
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}



/* ======================================
   LIGHT MODE THEME
   ====================================== */
[data-theme="light"] {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e8e8ed;

    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --text-muted: #86868b;

    --accent-primary: #7c3aed;
    --accent-secondary: #a855f7;
    --accent-tertiary: #7c3aed;

    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --glass-hover-bg: rgba(255, 255, 255, 0.8);
    --glass-hover-border: rgba(0, 0, 0, 0.12);
}

/* Light mode background orbs */
[data-theme="light"] .gradient-orb {
    opacity: 0.18;
}

[data-theme="light"] .orb-1 {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 70%);
}

[data-theme="light"] .orb-2 {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25), transparent 70%);
}

[data-theme="light"] .orb-3 {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
}

[data-theme="light"] .orb-4 {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 70%);
}

/* Light mode cursor glow */
[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.04), transparent 70%);
}

/* Light mode navbar */
[data-theme="light"] .navbar.scrolled {
    background: rgba(245, 245, 247, 0.85);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* Light mode nav active */
[data-theme="light"] .nav-link.active {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent-primary);
}

/* Light mode glass card hover */
[data-theme="light"] .glass-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 0 60px rgba(124, 58, 237, 0.04);
}

/* Light mode skill icon bg */
[data-theme="light"] .skill-icon {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

/* Light mode skill bar bg */
[data-theme="light"] .skill-bar {
    background: rgba(0, 0, 0, 0.06);
}

/* Light mode form inputs */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
    background: rgba(124, 58, 237, 0.04);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .form-group input:focus ~ label,
[data-theme="light"] .form-group textarea:focus ~ label,
[data-theme="light"] .form-group input:not(:placeholder-shown) ~ label,
[data-theme="light"] .form-group textarea:not(:placeholder-shown) ~ label {
    background: var(--bg-secondary);
}

/* Light mode contact icon bg */
[data-theme="light"] .contact-icon {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

/* Light mode portfolio overlay */
[data-theme="light"] .portfolio-overlay {
    background: rgba(245, 245, 247, 0.7);
}

/* Light mode thumbnail placeholder */
[data-theme="light"] .thumbnail-placeholder {
    background: linear-gradient(135deg, #e8e8ed 0%, #d1d1d6 100%);
}

/* Light mode filter button */
[data-theme="light"] .filter-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .filter-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .filter-btn.active {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
}

/* Light mode footer */
[data-theme="light"] .footer {
    border-top-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.04);
}

/* Light mode mobile nav overlay */
[data-theme="light"] .mobile-nav-overlay {
    background: rgba(245, 245, 247, 0.95);
}

/* Light mode scroll line */
[data-theme="light"] .scroll-line {
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
}

/* Light mode hero image placeholder */
[data-theme="light"] .hero-image-placeholder {
    background: linear-gradient(135deg, #e8e8ed, #d1d1d6);
}

/* Light mode hub tooltips */
[data-theme="light"] .hub-label,
[data-theme="light"] .hub-child::before {
    background: var(--bg-secondary);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

/* Light mode selection */
[data-theme="light"] ::selection {
    background: rgba(124, 58, 237, 0.2);
    color: #1d1d1f;
}

/* Smooth transition for theme change */
body,
.navbar,
.glass-card,
.gradient-orb,
.footer,
.form-group input,
.form-group textarea,
.filter-btn,
.skill-icon,
.contact-icon,
.hero-image-placeholder,
.thumbnail-placeholder {
    transition: background-color 0.5s ease, 
                color 0.5s ease, 
                border-color 0.5s ease, 
                box-shadow 0.5s ease;
}

/* ======================================
   TESTIMONIALS REVIEWS SECTION
   ====================================== */
.testimonials-section {
    padding-bottom: 40px;
    overflow: hidden;
}

.testimonials-marquee-wrapper {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testimonials-marquee-wrapper::before,
.testimonials-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.testimonials-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.testimonials-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.testimonials-marquee-track {
    display: flex;
    width: max-content;
    animation: testimonials-scroll 45s linear infinite;
}

.testimonials-marquee-wrapper:hover .testimonials-marquee-track {
    animation-play-state: paused;
}

@keyframes testimonials-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonials-marquee-content {
    display: flex;
    gap: 24px;
    padding: 0 12px;
    flex-shrink: 0;
}

.testimonial-card {
    width: 360px;
    min-width: 360px;
    padding: 24px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.visitor-counter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.pulse-green-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.testimonial-user {
    flex: 1;
    overflow: hidden;
}

.testimonial-user h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-user p {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-quote {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-stars {
    font-size: 0.85rem;
    letter-spacing: 2px;
}
