/* ==========================================
   MEET SHAH - PORTFOLIO | MAIN STYLES
   ========================================== */

/* CSS Custom Properties */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.06);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b80;
    --accent-1: #6c5ce7;
    --accent-2: #a855f7;
    --accent-3: #06b6d4;
    --gradient-primary: linear-gradient(135deg, #6c5ce7 0%, #a855f7 50%, #06b6d4 100%);
    --gradient-hover: linear-gradient(135deg, #7c6cf7 0%, #b865ff 50%, #16c6e4 100%);
    --gradient-text: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    --border-color: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(108,92,231,0.3);
    --font-primary: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Syne', 'Space Grotesk', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast: 0.3s var(--ease-out-expo);
    --transition-medium: 0.6s var(--ease-out-expo);
    --transition-slow: 1s var(--ease-out-expo);
    --nav-height: 80px;
    --container-width: 1280px;
    --section-padding: 120px;
}

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

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

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

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

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

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

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

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

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   CUSTOM CURSOR
   ========================================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-2);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
    mix-blend-mode: difference;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(168,85,247,0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), border-color 0.3s, background 0.3s;
}

.cursor-dot.cursor-hover {
    width: 60px;
    height: 60px;
    background: rgba(168,85,247,0.15);
    mix-blend-mode: normal;
}

.cursor-ring.cursor-hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-2);
    background: rgba(168,85,247,0.05);
}

/* ==========================================
   PRELOADER
   ========================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-svg {
    width: 200px;
    height: 80px;
    overflow: visible;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    fill: none;
    stroke: url(#preloaderGrad);
    stroke-width: 1.5;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: preloaderDraw 2s var(--ease-out-expo) forwards;
}

@keyframes preloaderDraw {
    to { stroke-dashoffset: 0; fill: url(#preloaderGrad); }
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 20px auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s;
}

.preloader-percent {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
    letter-spacing: 2px;
}

/* ==========================================
   PARTICLE CANVAS
   ========================================== */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
}

.nav.scrolled {
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
}

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

/* Logo */
.logo {
    position: relative;
    z-index: 1001;
}

.logo-container {
    display: flex;
    align-items: baseline;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    perspective: 600px;
}

.logo-letter {
    display: inline-block;
    transition: all 0.4s var(--ease-out-expo);
    transform-origin: bottom center;
    position: relative;
}

.logo-container:hover .logo-letter {
    animation: logoWave 0.6s var(--ease-out-expo) forwards;
}

.logo-container:hover .logo-letter:nth-child(1) { animation-delay: 0s; }
.logo-container:hover .logo-letter:nth-child(2) { animation-delay: 0.05s; }
.logo-container:hover .logo-letter:nth-child(3) { animation-delay: 0.1s; }
.logo-container:hover .logo-letter:nth-child(4) { animation-delay: 0.15s; }

@keyframes logoWave {
    0% { transform: translateY(0) rotateX(0) scale(1); color: var(--text-primary); }
    30% { transform: translateY(-12px) rotateX(-20deg) scale(1.15); color: var(--accent-2); text-shadow: 0 0 20px rgba(168,85,247,0.5); }
    50% { transform: translateY(-8px) rotateX(10deg) scale(1.1); }
    70% { transform: translateY(-3px) rotateX(-5deg) scale(1.05); }
    100% { transform: translateY(0) rotateX(0) scale(1); color: var(--text-primary); }
}

.logo-dot {
    color: var(--accent-2);
    font-size: 36px;
    line-height: 1;
    animation: logoDotPulse 2s infinite;
    margin: 0 1px;
}

@keyframes logoDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.logo-last {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 1px;
    font-weight: 700;
}

/* Hamburger */
.hamburger {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.hamburger:hover {
    background: rgba(255,255,255,0.05);
}

.hamburger-box {
    width: 28px;
    height: 20px;
    position: relative;
}

.hamburger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.5s var(--ease-out-expo);
    transform-origin: center;
}

.hamburger-line-1 { top: 0; }
.hamburger-line-2 { top: 50%; transform: translateY(-50%); width: 70%; }
.hamburger-line-3 { bottom: 0; width: 50%; }

.hamburger:hover .hamburger-line-2 { width: 100%; }
.hamburger:hover .hamburger-line-3 { width: 100%; }

.hamburger-m {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 22px;
    color: var(--accent-2);
    opacity: 0;
    transition: all 0.5s var(--ease-out-expo);
}

.hamburger:hover .hamburger-line {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger:hover .hamburger-m {
    opacity: 1;
}

.hamburger.active .hamburger-line-1 {
    opacity: 1;
    transform: scaleX(1) rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line-2 {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line-3 {
    opacity: 1;
    width: 100%;
    transform: scaleX(1) rotate(-45deg) translate(6px, -6px);
}

.hamburger.active .hamburger-m {
    opacity: 0;
}

.hamburger.active:hover .hamburger-line-1 {
    opacity: 1;
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active:hover .hamburger-line-3 {
    opacity: 1;
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Nav Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 999;
}

.nav-menu.active {
    pointer-events: all;
}

.nav-menu-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transform: translateX(100%);
    transition: transform 0.8s var(--ease-out-expo);
}

.nav-menu.active .nav-menu-bg {
    transform: translateX(0);
}

.nav-links {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: color var(--transition-fast);
}

.nav-menu.active .nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo), color 0.3s;
}

.nav-menu.active .nav-link:nth-child(1) { transition-delay: 0.2s; }
.nav-menu.active .nav-link:nth-child(2) { transition-delay: 0.3s; }
.nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.4s; }
.nav-menu.active .nav-link:nth-child(4) { transition-delay: 0.5s; }

.nav-link-number {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    color: var(--accent-2);
    letter-spacing: 2px;
}

.nav-link-text {
    transition: transform 0.5s var(--ease-out-expo);
}

.nav-link-hover {
    position: absolute;
    left: 34px;
    top: 8px;
    color: var(--accent-2);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-out-expo);
}

.nav-link:hover .nav-link-text {
    transform: translateY(-100%);
}

.nav-link:hover .nav-link-hover {
    transform: translateY(0);
}

.nav-link.active {
    color: var(--accent-2);
}

.nav-footer {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-expo) 0.5s;
}

.nav-menu.active .nav-footer {
    opacity: 1;
}

.nav-socials {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    justify-content: center;
}

.nav-social {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    font-size: 16px;
}

.nav-social:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(168,85,247,0.3);
}

.nav-email {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 40px 80px;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero-line {
    overflow: hidden;
}

.hero-word {
    display: inline-block;
    font-size: clamp(48px, 8vw, 100px);
    letter-spacing: -2px;
    color: var(--text-primary);
}

.hero-accent {
    display: inline-block;
    color: var(--accent-2);
    font-size: clamp(32px, 5vw, 60px);
    margin-left: 15px;
    animation: spinStar 4s linear infinite;
}

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

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 60px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--accent-2);
    background: rgba(168,85,247,0.05);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 16px;
}

.btn-icon {
    transition: transform var(--transition-fast);
}

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

.btn-text {
    position: relative;
    z-index: 2;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
}

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

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    display: inline;
}

.hero-stat-plus {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-2);
}

.hero-stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

/* Hero 3D Element */
.hero-3d-element {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.8;
}

.floating-cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeFloat 8s ease-in-out infinite, cubeRotate 20s linear infinite;
}

@keyframes cubeFloat {
    0%, 100% { transform: translateY(0) rotateX(-20deg) rotateY(30deg); }
    50% { transform: translateY(-30px) rotateX(-20deg) rotateY(30deg); }
}

@keyframes cubeRotate {
    from { transform: rotateX(-20deg) rotateY(0deg); }
    to { transform: rotateX(-20deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(168,85,247,0.2);
    background: rgba(168,85,247,0.03);
    backdrop-filter: blur(5px);
}

.cube-front  { transform: translateZ(100px); }
.cube-back   { transform: rotateY(180deg) translateZ(100px); }
.cube-left   { transform: rotateY(-90deg) translateZ(100px); }
.cube-right  { transform: rotateY(90deg) translateZ(100px); }
.cube-top    { transform: rotateX(90deg) translateZ(100px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(100px); }

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-2), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Floating Shapes */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-1);
    top: 10%;
    right: 20%;
    animation: floatShape 10s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-3);
    bottom: 20%;
    left: 10%;
    animation: floatShape 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-2);
    top: 60%;
    right: 40%;
    animation: floatShape 8s ease-in-out infinite 2s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: #06b6d4;
    top: 20%;
    left: 30%;
    animation: floatShape 14s ease-in-out infinite 1s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -30px); }
    50% { transform: translate(-20px, 20px); }
    75% { transform: translate(20px, 10px); }
}

/* ==========================================
   MARQUEE
   ========================================== */
.marquee-section {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    background: rgba(255,255,255,0.01);
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    animation: marquee 25s linear infinite;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    padding-right: 40px;
}

.marquee-star {
    color: var(--accent-2);
    font-size: 16px;
}

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

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.tag-line {
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--accent-2);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 15px auto 0;
    line-height: 1.7;
}

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

.about-image-card {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}

.about-image-inner {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.about-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-letter {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.avatar-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(168,85,247,0.3);
    border-radius: 50%;
    animation: avatarRingSpin 8s linear infinite;
    border-top-color: var(--accent-2);
}

.avatar-ring-2 {
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    border-color: rgba(6,182,212,0.2);
    border-right-color: var(--accent-3);
    animation-direction: reverse;
    animation-duration: 12s;
}

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

.about-image-border {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    pointer-events: none;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: badgeFloat 3s ease-in-out infinite;
}

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

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.exp-text {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-subtitle {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.highlight {
    color: var(--accent-2);
}

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

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 30px 0;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.about-highlight-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateX(8px);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.about-highlight-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.about-highlight-item p {
    font-size: 13px;
    color: var(--text-muted);
}

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

.skill-card {
    perspective: 1000px;
}

.skill-card-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.skill-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.skill-card:hover .skill-card-inner {
    border-color: var(--accent-2);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.skill-card:hover .skill-card-inner::before {
    opacity: 0.05;
}

.skill-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--accent-2);
    z-index: 1;
}

.skill-icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168,85,247,0.2), transparent);
    animation: skillGlow 3s ease-in-out infinite;
}

@keyframes skillGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 0; }
}

.skill-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.skill-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.skill-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s var(--ease-out-expo);
}

.skill-percent {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    perspective: 1000px;
}

.service-card-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
    height: 100%;
}

.service-card:hover .service-card-inner {
    border-color: rgba(168,85,247,0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    transition: color var(--transition-fast);
}

.service-card:hover .service-number {
    color: rgba(168,85,247,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-tags span {
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-2);
    position: relative;
    z-index: 1;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
}

/* ==========================================
   PROCESS SECTION
   ========================================== */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-2), var(--accent-3), transparent);
    opacity: 0.3;
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.process-step-number span {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-2);
}

.process-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-2);
    opacity: 0;
    animation: processPulse 2s infinite;
}

@keyframes processPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}

.process-step-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    flex: 1;
    transition: all var(--transition-fast);
}

.process-step:hover .process-step-content {
    border-color: rgba(168,85,247,0.2);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.process-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
}

.process-step-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.process-step-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ==========================================
   WORK / PORTFOLIO
   ========================================== */
.work-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.work-filter {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.work-filter:hover,
.work-filter.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

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

.work-card {
    perspective: 1000px;
}

.work-card-inner {
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.work-card:hover .work-card-inner {
    border-color: rgba(168,85,247,0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.work-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.work-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: transform 0.6s var(--ease-out-expo);
}

.work-card:hover .work-image-placeholder {
    transform: scale(1.08);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,10,15,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.work-view {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform var(--transition-fast);
}

.work-card:hover .work-view {
    transform: translateY(0);
}

.work-info {
    padding: 24px;
}

.work-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.work-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.work-info p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s var(--ease-out-expo);
}

.testimonial-card {
    min-width: 100%;
    padding: 50px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    text-align: center;
}

.testimonial-quote {
    color: var(--accent-2);
    font-size: 36px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-card > p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 14px;
    display: flex;
    gap: 4px;
    justify-content: center;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.testimonial-btn:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
    background: rgba(168,85,247,0.1);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.testimonial-dot.active {
    background: var(--accent-2);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(108,92,231,0.15);
    top: -100px;
    left: -100px;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(168,85,247,0.1);
    bottom: -50px;
    right: -50px;
}

.cta-shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(6,182,212,0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 300px;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-nav a {
    display: block;
    font-size: 15px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--accent-2);
    transform: translateX(6px);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--accent-2);
}

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

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    font-size: 16px;
}

.footer-socials a:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(168,85,247,0.2);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.heart {
    color: #ef4444;
    animation: heartBeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-fast);
}

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

.back-to-top:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
    transform: translateY(-3px);
}

.back-to-top-circle {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 54px;
    height: 54px;
    transform: rotate(-90deg);
}

.back-to-top-circle circle {
    fill: none;
    stroke: var(--accent-2);
    stroke-width: 2;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.3s;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .container { padding: 0 30px; }
    .hero { padding: 100px 30px 60px; }
    .hero-3d-element { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-image-wrapper { max-width: 400px; margin: 0 auto; }
    .skills-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --nav-height: 70px;
    }
    
    .container { padding: 0 20px; }
    .hero { padding: 100px 20px 60px; }
    
    .nav-inner { padding: 0 20px; }
    
    .cursor-dot, .cursor-ring { display: none; }
    body { cursor: auto; }
    a, button { cursor: pointer; }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    
    .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .work-grid { grid-template-columns: 1fr; }
    
    .process-step { gap: 20px; }
    .process-line { left: 18px; }
    .process-step-number { width: 40px; height: 40px; }
    .process-step-number span { font-size: 14px; }
    
    .testimonial-card { padding: 30px 20px; }
    .testimonial-card > p { font-size: 16px; }
    
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 480px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .skill-card-inner { padding: 20px 16px; }
    .skill-icon-wrapper { font-size: 24px; }
    
    .logo-container { font-size: 22px; }
    .logo-dot { font-size: 28px; }
    
    .hero-word { font-size: 40px; }
    
    .section-title { font-size: 32px; }
    
    .marquee-content { font-size: 18px; }
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.8s var(--ease-out-expo);
}

.page-transition.active {
    transform: translateY(0);
}

/* Hidden on initial load for animations */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
}
