*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #050816;
    --bg-secondary: #080b1f;
    --bg-tertiary: #0f172a;
    --bg-card: #131c31;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-1: #7c3aed;
    --accent-2: #8b5cf6;
    --accent-3: #ec4899;
    --accent-4: #60a5fa;
    --accent-5: #06b6d4;
    --border: rgba(255, 255, 255, 0.06);
    --radius: 16px;
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    --cursor-size: 12px;
    --follower-size: 36px;
}

html {
    scroll-behavior: auto;
    background: var(--bg-primary);
}

body {
    font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    cursor: none;
}

/* ===== LIQUID CURSOR ===== */
#liquidCursorCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    pointer-events: none;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    z-index: 90;
    border-radius: 4px;
    overflow: hidden;
}

.scroll-progress-bar {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--accent-1), var(--accent-3));
    border-radius: 4px;
    transition: height 0.1s linear;
    box-shadow: 0 0 12px rgba(124,58,237,0.3);
}

/* ===== BACKGROUND CANVAS ===== */
#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.site-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    z-index: 100;
    background: rgba(5, 8, 22, 0.7);
    backdrop-filter: blur(30px) saturate(1.6);
    -webkit-backdrop-filter: blur(30px) saturate(1.6);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.nav-right {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    padding: 6px 14px;
    border-radius: 8px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.04));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-5));
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(124,58,237,0.3);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    text-shadow: 0 0 20px rgba(124,58,237,0.2);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

/* Center squircle */
.nav-center-squircle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 72px;
    flex-shrink: 0;
}

.gooey-container {
    position: relative;
    width: 140px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gooey-container svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

.squircle {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform 0.3s, border-color 0.3s;
}

.squircle:hover {
    transform: scale(1.05);
    border-color: rgba(124,58,237,0.2);
}

.avatar-placeholder {
    width: 36px;
    height: 36px;
    color: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder svg { width: 24px; height: 24px; display: block; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

/* ===== FLOATING SOCIAL BAR ===== */
.social-bar {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 90;
}

.social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
}

.social-bar a:hover {
    color: var(--accent-1);
    border-color: rgba(124,58,237,0.2);
    background: rgba(124,58,237,0.08);
    transform: scale(1.15);
}

.social-bar a .label {
    position: absolute;
    left: calc(100% + 12px);
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s;
    pointer-events: none;
}

.social-bar a:hover .label {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent-1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 60px 60px;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1300px;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* — Left: Profile — */
.hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-frame {
    position: relative;
    width: 540px;
    height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#profileContainer {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.4s;
}

#profileContainer .profile-img-clip {
    width: 100%; height: 100%;
    border-radius: 0; overflow: hidden;
}

#profileContainer:hover {
    transform: scale(1.05);
}

#profileImg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: background 0.8s cubic-bezier(0.4,0,0.2,1);
}

#profileImg svg {
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,0.2);
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

#profileImg svg circle,
#profileImg svg path {
    display: block;
}

#profileImg .hero-profile-photo {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    border-radius: 0;
}

.hero-profile-edit {
    display: none; position: absolute; bottom: 15px; right: 15px;
    z-index: 5; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(124,58,237,0.8); border: 2px solid rgba(255,255,255,0.15);
    color: #fff; cursor: pointer; font-size: 0.8rem;
    align-items: center; justify-content: center;
    transition: all 0.3s ease; line-height: 1;
}
.hero-profile-edit.show { display: flex; }
.hero-profile-edit:hover {
    background: rgba(124,58,237,1);
    transform: scale(1.1);
}

#neonRings {
    position: absolute;
    inset: -30px;
    pointer-events: none;
}

#orbitParticles {
    position: absolute;
    inset: -40px;
    pointer-events: none;
}

/* — Right: Typography — */
.hero-right {
    position: relative;
}

.hero-bg-text {
    position: absolute;
    top: -80px;
    right: -40px;
    font-size: clamp(6rem, 12vw, 10rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.hero-right .hero-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 16px;
}

.hero-right h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 8px;
    letter-spacing: -1.5px;
}

.hero-right h1 .highlight {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-right .typing-wrap {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 32px;
    min-height: 1.8em;
}

.hero-right .typing-wrap #typingText {
    color: var(--accent-4);
    border-right: 2px solid var(--accent-4);
    padding-right: 4px;
    animation: blink 0.8s step-end infinite;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.btn-neon {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    box-shadow: 0 4px 30px rgba(124,58,237,0.3);
}

.btn-neon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 50px rgba(124,58,237,0.5);
}

.btn-border {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-border:hover {
    border-color: var(--accent-4);
    color: var(--accent-4);
    transform: translateY(-3px);
}

.btn-border .arrow {
    transition: transform 0.3s;
    display: inline-block;
}

.btn-border:hover .arrow {
    transform: translateX(4px);
}

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-number {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 16px auto 0;
}

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
}

.reveal-fade-up {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal="fade-up"] { transform: translateY(50px); }

.reveal-fade-in {
    opacity: 1;
}
[data-reveal="fade-in"] { }

.reveal-scale-in {
    opacity: 1;
    transform: scale(1);
}
[data-reveal="scale-in"] { transform: scale(0.85); }

.reveal-blur-in {
    opacity: 1;
    filter: blur(0);
}
[data-reveal="blur-in"] { filter: blur(10px); }

.reveal-rotate-in {
    opacity: 1;
    transform: perspective(800px) rotateX(0);
}
[data-reveal="rotate-in"] { transform: perspective(800px) rotateX(8deg); }

/* ===== ABOUT SECTION ===== */
.about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(124,58,237,0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(236,72,153,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.about-glass {
    max-width: 960px;
    width: 100%;
    padding: 64px;
    background: rgba(19, 28, 49, 0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 96px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
}

.about-glass::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-1), var(--accent-3), var(--accent-4), transparent);
    border-radius: 28px 28px 0 0;
    opacity: 0.6;
}

.about-glass::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 30%;
    right: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    filter: blur(4px);
}

/* — whoami badge — */
.about-glass .whoami {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 18px;
    border-radius: 50px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.12);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
    50% { box-shadow: 0 0 20px 2px rgba(124,58,237,0.12); }
}

.whoami-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-1);
    animation: dotPulse 1.5s ease-in-out infinite;
}

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

/* — heading — */
.about-heading {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 28px;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #fff;
}

.about-heading .highlight-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3), var(--accent-4));
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: textShimmer 4s ease-in-out infinite;
    display: inline-block;
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* — animated lines — */
.about-line {
    position: relative;
    padding-left: 24px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    line-height: 1.9;
}

.about-line.about-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    font-weight: 500;
}

.line-marker {
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent-1), var(--accent-3));
    transform: scaleY(0);
    opacity: 0;
    transform-origin: top center;
    transition: transform 0.8s cubic-bezier(0.4,0,0.2,1), opacity 0.8s ease;
    box-shadow: 0 0 8px rgba(124,58,237,0.3);
}

.about-line.in-view .line-marker {
    transform: scaleY(1);
    opacity: 1;
}

.about-line .stat-highlight {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.1));
    color: var(--accent-4);
    font-weight: 700;
    transition: all 0.3s;
}

.about-line .gradient-stat {
    background: linear-gradient(135deg, var(--accent-3), var(--accent-4));
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.about-line p strong {
    color: #fff;
    font-weight: 700;
}

/* — divider — */
.about-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    margin: 24px 0;
}

/* — tags — */
.about-glass .tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.about-glass .tags-row span {
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s;
    cursor: default;
}

.about-glass .tags-row span:hover {
    background: rgba(124,58,237,0.12);
    border-color: rgba(124,58,237,0.2);
    color: var(--accent-4);
    transform: translateY(-2px);
}

.about-glass .tags-row span::before {
    content: '#';
    color: var(--accent-1);
    margin-right: 3px;
    opacity: 0.5;
}

/* ===== COUNTER CARDS ===== */
.counters-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.counter-card {
    background: rgba(19, 28, 49, 0.4);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-3));
    opacity: 0;
    transition: opacity 0.4s;
}

.counter-card:hover::before { opacity: 0.6; }

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

.counter-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-4));
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.counter-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* ===== SKILLS MARQUEE ===== */
.skills-marquee {
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}

.skills-marquee::before,
.skills-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.skills-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.skills-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(19, 28, 49, 0.4);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    white-space: nowrap;
    transition: all 0.3s;
    cursor: default;
}

.marquee-item:hover {
    border-color: rgba(124,58,237,0.15);
    background: rgba(124,58,237,0.06);
    transform: scale(1.05);
}

.marquee-item .m-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(124,58,237,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--accent-4);
}

.marquee-item .m-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

/* ===== KEYFRAMES ===== */
@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes floatGlass {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.15; }
    50% { transform: translate(-50%,-50%) scale(1.08); opacity: 0.05; }
}

@keyframes orbit {
    0% { transform: translate(-50%,-50%) rotate(0deg) translateX(var(--orbit-dist)) rotate(0deg); }
    100% { transform: translate(-50%,-50%) rotate(360deg) translateX(var(--orbit-dist)) rotate(-360deg); }
}

@keyframes morphGradient {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

/* ===== CREDIT CARD STACK ===== */
.services-stack-section {
    padding: 100px 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.cards-stack {
    position: relative;
    margin-top: 20px;
}

.card-sticky {
    position: sticky;
    top: 100px;
    height: 80vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -30vh;
    transform-origin: center center;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
    perspective: 1200px;
}

.card-sticky:last-child {
    margin-bottom: 0;
}

.card-sticky .credit-card {
    width: 100%;
    max-width: 540px;
    aspect-ratio: 1.586 / 1;
    border-radius: 24px;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.06),
        inset 0 1px 0 rgba(255,255,255,0.08);
    transition: transform 0.7s cubic-bezier(0.4,0,0.2,1),
                opacity 0.7s ease,
                box-shadow 0.5s ease,
                border-color 0.5s ease;
}

.card-sticky .credit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 70%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.card-sticky .credit-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.card-sticky .credit-card:hover {
    box-shadow:
        0 28px 80px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.cc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.cc-logo {
    font-size: 2.2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.cc-brand {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.04);
}

.cc-chip {
    width: 52px;
    height: 38px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f6d365, #fda085, #f6d365);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.1),
        0 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 6px;
}

.chip-inner {
    width: 38px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chip-inner::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}

.chip-inner::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.cc-service-name {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    line-height: 1.2;
    margin-top: 6px;
}

.cc-number {
    font-family: 'Courier New', monospace;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    letter-spacing: 3px;
    color: rgba(255,255,255,0.85);
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    word-spacing: 8px;
}

.cc-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.cc-expiry {
    display: flex;
    flex-direction: column;
}

.cc-label {
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.35);
}

.cc-date {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
}

.cc-type {
    font-size: 1.4rem;
    font-weight: 900;
    font-style: italic;
    color: rgba(255,255,255,0.15);
    letter-spacing: 1px;
}

.cc-filler {
    position: absolute;
    bottom: 20px;
    right: 30px;
    width: 60px;
    height: 40px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(8, 11, 31, 0.8);
    border-top: 1px solid rgba(255,255,255,0.03);
    padding: 60px 40px 30px;
    margin-top: auto;
    backdrop-filter: blur(20px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col p,
.footer-col a {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 2;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--accent-1); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.03);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== OTHER PAGES LEGACY ===== */
.main-content {
    flex: 1;
    padding: 110px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.full-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 80px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.section-box {
    max-width: 900px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.section-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
    opacity: 0.5;
}

.section-box .number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-1);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.section-box .tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    background: rgba(124,58,237,0.08);
    color: var(--accent-4);
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

.timeline-box {
    max-width: 800px;
    width: 100%;
    position: relative;
    padding-left: 40px;
    border-left: 2px solid rgba(124,58,237,0.15);
}

.timeline-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    transition: border-color 0.3s;
}

.timeline-item:hover { border-color: rgba(124,58,237,0.15); }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -45px;
    top: 48px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-1);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(124,58,237,0.15);
}

.timeline-item .date {
    font-size: 0.8rem;
    color: var(--accent-4);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-item h3 { font-size: 1.4rem; margin-bottom: 6px; }

.timeline-item .sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.timeline-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.service-card {
    aspect-ratio: 1.586 / 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-3), var(--accent-1));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

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

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.service-card:hover {
    border-color: rgba(124,58,237,0.1);
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(0,0,0,0.5), 0 0 40px rgba(124,58,237,0.05);
}

.service-card .s-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
    flex: 1;
}

.service-card .s-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    position: absolute;
    bottom: 8px;
    right: 16px;
    line-height: 1;
    pointer-events: none;
}

.skills-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    text-align: center;
}

.skills-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.skills-section > p {
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 500px;
}

.skills-ring {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
}

.skill-item {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    position: relative;
}

.skill-item:hover {
    border-color: var(--accent-1);
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(124,58,237,0.1);
}

.skill-item .s-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-top: 4px;
}

.skill-item .s-pct {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-1);
}

.project-block {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.contact-liquid-wrapper {
    position: relative;
    overflow: hidden;
}

#liquidCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    align-items: center;
}

.contact-info-panel,
.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px;
}

.contact-info-panel h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-info-panel > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-detail .cd-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(124,58,237,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-form-panel {
    padding: 50px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(5,8,22,0.6);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-1);
}

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

.form-success {
    text-align: center;
    padding: 40px;
    color: var(--accent-4);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-state .emoji { font-size: 3rem; margin-bottom: 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-right h1 { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-bg-text { display: none; }
    .hero-section { padding: 100px 24px 60px; }

    .profile-frame { width: 320px; height: 320px; }

    .social-bar { display: none; }

    .about-glass { padding: 40px 28px; }

    .contact-split {
        grid-template-columns: 1fr;
        padding: 40px 16px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 10px;
    }

    .skills-ring { gap: 14px; }
    .skill-item { width: 90px; height: 90px; }

    .full-section { padding: 80px 20px 60px; }
    .section-box { padding: 40px 28px; }
    .project-block { padding: 80px 20px; }

    .navbar { gap: 24px; padding: 0 20px; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5,8,22,0.95);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 20px 40px;
        border-bottom: 1px solid var(--border);
        gap: 16px;
    }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .nav-center-squircle { width: 100px; }
    .gooey-container { width: 100px; }
    .squircle { width: 44px; height: 44px; border-radius: 12px; }
    .avatar-placeholder { width: 22px; height: 22px; }

    .nav-right { right: 20px; }

    .scroll-progress { display: none; }

    .card-sticky { top: 80px; height: 75vh; min-height: 460px; margin-bottom: -25vh; }
    .card-sticky .credit-card { padding: 24px 28px; max-width: 440px; }
    .cc-service-name { font-size: 1.2rem; }
    .cc-number { font-size: 1rem; letter-spacing: 2px; }
    .cc-logo { font-size: 1.8rem; }
    .cc-chip { width: 44px; height: 32px; }
    .chip-inner { width: 32px; height: 22px; }
    .services-stack-section { padding: 100px 20px 20px; }
}

@media (max-width: 600px) {
    .counters-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .counter-card { padding: 28px 16px; }

    .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .service-card { padding: 20px 16px; }
    .service-card h3 { font-size: 0.85rem; }
    .service-card p { font-size: 0.75rem; }
    .service-card .s-icon { font-size: 1.3rem; }

    .skill-item { width: 76px; height: 76px; }
    .skill-item .s-pct { font-size: 0.9rem; }
    .skill-item .s-label { font-size: 0.65rem; }

    .timeline-item { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .navbar { padding: 0 16px; height: 64px; }
    .nav-links { padding: 16px 20px; }
    .nav-center-squircle { width: 72px; }
    .gooey-container { width: 72px; }
    .squircle { width: 38px; height: 38px; border-radius: 10px; }
    .avatar-placeholder { width: 18px; height: 18px; }

    .services-stack-section { padding: 80px 12px 12px; }
    .cards-stack { margin-top: 0; }
    .card-sticky { top: 70px; height: 70vh; min-height: 400px; margin-bottom: -20vh; }
    .card-sticky .credit-card { padding: 20px 22px; max-width: 340px; border-radius: 18px; }
    .cc-service-name { font-size: 1rem; }
    .cc-number { font-size: 0.85rem; letter-spacing: 1px; word-spacing: 4px; }
    .cc-logo { font-size: 1.5rem; }
    .cc-chip { width: 38px; height: 28px; }
    .chip-inner { width: 28px; height: 18px; }
    .cc-date { font-size: 0.85rem; }
    .cc-type { font-size: 1.1rem; }

    .hero-section { padding: 80px 16px 40px; }
    .profile-frame { width: 240px; height: 240px; }

    .about-glass { padding: 28px 20px; }
    .about-glass h2 { font-size: 1.6rem; }

    .main-content { padding: 90px 16px 30px; }
    .grid { grid-template-columns: 1fr; }
    .footer { padding: 32px 16px 16px; }
}

/* ===== ZOOM OVERLAY ===== */
.zoom-overlay {
    display: none; position: fixed; inset: 0; z-index: 10000;
    align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.zoom-overlay.open { display: flex; opacity: 1; }
.zoom-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(12px);
    cursor: zoom-out;
}
.zoom-close {
    position: absolute; top: 20px; right: 20px; z-index: 10001;
    background: none; border: none; color: #fff; font-size: 2rem;
    cursor: pointer; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease;
}
.zoom-close:hover { transform: scale(1.2); }
.zoom-container {
    position: relative; z-index: 10001; max-width: 90vw; max-height: 90vh;
    display: flex; align-items: center; justify-content: center;
}
.zoom-image {
    max-width: 100%; max-height: 90vh; object-fit: contain;
    border-radius: 8px; box-shadow: 0 0 60px rgba(0,212,255,0.15);
    transform: scale(0.9); transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.zoom-overlay.open .zoom-image { transform: scale(1); }

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 9999;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s ease; text-decoration: none;
    animation: whatsappPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6);
    color: #fff;
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}
