/* =====================================================
   HUMAN-FEEL PORTFOLIO — Plus Jakarta Sans × Warm Neutral
===================================================== */

/* Custom Selection */
::selection {
    background: rgba(37, 99, 235, 0.12);
    color: #1D4ED8;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* Smooth Scrolling */
html { scroll-behavior: smooth; }

/* Base */
body {
    background-color: #FAFAFA;
    color: #111827;
    overflow-x: hidden;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

/* Subtle warm ambient — much softer than before */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 10%, rgba(37,99,235,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 5%, rgba(245,158,11,0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* =====================================================
   GLASS & CARD SYSTEM
===================================================== */

.glass {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226,232,240,0.7);
}

/* Cards: less uniform — some get border, some get shadow only */
.glass-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 12px 32px rgba(37,99,235,0.08);
    border-color: #D1D5DB;
}

/* =====================================================
   NAVBAR
===================================================== */

nav.light-nav {
    background: rgba(250,250,250,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

nav.nav-top {
    background: transparent;
    border-bottom: 1px solid transparent;
}

/* =====================================================
   TEXT
===================================================== */

.text-gradient {
    background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-hero {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 60%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563EB;
    color: #fff;
    border-radius: 10px;
    padding: 11px 26px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(37,99,235,0.25);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #374151;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    padding: 11px 26px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    border-color: #9CA3AF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    color: #111827;
}

/* =====================================================
   SECTION BADGES
===================================================== */

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid #BFDBFE;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =====================================================
   CARDS & SKILL BARS
===================================================== */

.skill-bar {
    background: #F3F4F6;
    border-radius: 4px;
    height: 5px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563EB, #60A5FA);
    border-radius: 4px;
    transform-origin: left;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.stat-card:hover {
    border-color: #BFDBFE;
    box-shadow: 0 4px 16px rgba(37,99,235,0.07);
    transform: translateY(-2px);
}

/* =====================================================
   FORM INPUTS
===================================================== */

.form-input {
    width: 100%;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: #111827;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
}

.form-input::placeholder { color: #9CA3AF; }

.form-input:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

/* =====================================================
   TIMELINE
===================================================== */

.timeline-dot-primary {
    background: #2563EB;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.timeline-dot-secondary {
    background: #60A5FA;
    box-shadow: 0 0 0 3px rgba(96,165,250,0.15);
}

/* =====================================================
   FLOATING BADGES & TAGS
===================================================== */

.cat-music {
    background: rgba(37,99,235,0.08);
    color: #2563EB;
    border-color: rgba(37,99,235,0.15);
}

.cat-biz {
    background: rgba(245,158,11,0.08);
    color: #D97706;
    border-color: rgba(245,158,11,0.2);
}

.cat-tech {
    background: rgba(139,92,246,0.08);
    color: #7C3AED;
    border-color: rgba(139,92,246,0.15);
}

/* =====================================================
   FLOATING ANIMATIONS
===================================================== */

@keyframes float {
    0%   { transform: translateY(0) rotate(0deg); }
    50%  { transform: translateY(-8px) rotate(1.5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes float-reverse {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(8px); }
    100% { transform: translateY(0); }
}

@keyframes pulse-glow {
    0%,100% { opacity: 0.3; filter: blur(40px); }
    50%      { opacity: 0.5; filter: blur(50px); }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animate-float         { animation: float 7s ease-in-out infinite; }
.animate-float-reverse { animation: float-reverse 9s ease-in-out infinite; }
.animate-pulse-glow    { animation: pulse-glow 5s ease-in-out infinite; }

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.animate-spin-slow { animation: spin-slow 15s linear infinite; }

/* =====================================================
   HOVER EFFECTS
===================================================== */

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hover-magnetic {
    transition: transform 0.3s ease;
}
.hover-magnetic:hover {
    transform: scale(1.02) translateY(-2px);
}

/* =====================================================
   GRADIENT BORDERS — only on hover, subtler
===================================================== */

.gradient-border {
    position: relative;
}
.gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, #2563EB, transparent 60%, #60A5FA);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: -1;
}
.gradient-border:hover::before { opacity: 0.7; }

/* =====================================================
   MISC
===================================================== */

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Hero profile frame */
.profile-ring {
    border: 4px solid #fff;
    box-shadow:
        0 16px 48px rgba(37,99,235,0.12),
        0 0 0 1px rgba(0,0,0,0.04);
}

/* Glowing dot (active status) */
.glow-dot {
    width: 8px; height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16,185,129,0.2);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%,100% { box-shadow: 0 0 0 2px rgba(16,185,129,0.2); }
    50%      { box-shadow: 0 0 0 5px rgba(16,185,129,0.08); }
}

/* Event card image overlay */
.event-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.55) 0%, transparent 60%);
}

/* Section separator */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #E5E7EB, transparent);
    margin: 0 auto;
    max-width: 320px;
}

/* =====================================================
   MARQUEE (CLIENTS)
===================================================== */
.marquee-container {
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #FAFAFA 0%, transparent 100%);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #FAFAFA 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 25s linear infinite;
    min-width: 200%;
}

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

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

.client-logo-wrapper {
    flex-shrink: 0;
    width: 180px;
    height: 88px;
    margin: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
    cursor: pointer;
}

.client-logo-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.07);
    border-color: #BFDBFE;
}

.client-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.55);
    transition: all 0.3s ease;
}

.client-logo-wrapper:hover img {
    filter: grayscale(0%) opacity(1);
}

.testimonial-card-wrapper {
    flex-shrink: 0;
    width: 380px;
    margin: 0 15px;
    white-space: normal;
}

/* =====================================================
   SCROLL REVEAL ANIMATIONS
===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* GPU Acceleration */
.fixed-blur-gpu {
    will-change: transform, filter;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

@keyframes workFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

