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

:root {
    /* Dark purple palette */
    --bg: #0b0a10;
    --bg-2: #100f18;
    --bg-3: #16141f;
    --bg-card: #13111c;
    --bg-card-hover: #1a1726;

    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-dark: #7c3aed;
    --purple-soft: #c4b5fd;
    --purple-glow: rgba(139, 92, 246, 0.15);
    --purple-glow-strong: rgba(139, 92, 246, 0.3);

    --white: #f8f7ff;
    --white-2: #e8e5f0;
    --gray-100: #d4d0e0;
    --gray-200: #a8a3b8;
    --gray-300: #7c7890;
    --gray-400: #5a5670;
    --gray-500: #3d3950;
    --border: rgba(139, 92, 246, 0.12);
    --border-hover: rgba(139, 92, 246, 0.3);

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    --radius: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.4);
    --shadow-purple: 0 10px 40px rgba(139, 92, 246, 0.2);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--gray-100);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

::selection { background: var(--purple); color: var(--white); }

/* ============ Preloader ============ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.preloader-mark {
    position: relative;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 72px;
    font-weight: 800;
    color: var(--purple);
    line-height: 1;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    animation: preloaderPulse 1.5s ease-in-out infinite;
}
.preloader-mark::before,
.preloader-mark::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.preloader-mark::before {
    color: #ff00c8;
    animation: preGlitchTop 3s infinite;
    clip-path: inset(0 0 55% 0);
}
.preloader-mark::after {
    color: #00e5ff;
    animation: preGlitchBottom 3s infinite;
    clip-path: inset(55% 0 0 0);
}
@keyframes preloaderPulse {
    0%, 100% { text-shadow: 0 0 30px rgba(139, 92, 246, 0.5); }
    50% { text-shadow: 0 0 50px rgba(139, 92, 246, 0.8), 0 0 80px rgba(139, 92, 246, 0.3); }
}
@keyframes preGlitchTop {
    0%, 70%, 100% { opacity: 0; transform: translate(0); }
    72% { opacity: 0.9; transform: translate(-4px, -2px); }
    74% { opacity: 1; transform: translate(3px, 1px); }
    76% { opacity: 0.8; transform: translate(-2px, 0); }
    78% { opacity: 0; transform: translate(0); }
    85% { opacity: 0; transform: translate(0); }
    86% { opacity: 0.7; transform: translate(2px, -1px); }
    88% { opacity: 0; transform: translate(0); }
}
@keyframes preGlitchBottom {
    0%, 70%, 100% { opacity: 0; transform: translate(0); }
    72% { opacity: 0.9; transform: translate(4px, 2px); }
    74% { opacity: 1; transform: translate(-3px, -1px); }
    76% { opacity: 0.8; transform: translate(2px, 0); }
    78% { opacity: 0; transform: translate(0); }
    85% { opacity: 0; transform: translate(0); }
    86% { opacity: 0.7; transform: translate(-2px, 1px); }
    88% { opacity: 0; transform: translate(0); }
}

.preloader-bar {
    width: 120px;
    height: 3px;
    background: var(--gray-500);
    border-radius: 3px;
    overflow: hidden;
}
.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--purple-light));
    border-radius: 3px;
    animation: preloaderFill 1.8s ease-in-out forwards;
    box-shadow: 0 0 10px var(--purple);
}
@keyframes preloaderFill {
    0% { width: 0%; }
    30% { width: 45%; }
    60% { width: 70%; }
    100% { width: 100%; }
}

body.loading {
    overflow: hidden;
}

/* ============ Gradient Text ============ */
.gradient-text {
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ Cursor Glow ============ */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(-300px, -300px, 0);
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--font-body);
}
.btn-lg { padding: 16px 34px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover {
    background: var(--purple-light);
    border-color: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-hover);
}
.btn-ghost:hover {
    background: var(--purple-glow);
    border-color: var(--purple);
    color: var(--purple-light);
    transform: translateY(-2px);
}

/* ============ Header ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    background: rgba(11, 10, 16, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), box-shadow var(--transition);
    will-change: background, box-shadow;
}
.header.scrolled {
    background: rgba(11, 10, 16, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.01em;
}
.logo-mark {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--purple);
    line-height: 1;
    width: 36px;
    height: 36px;
    text-shadow: 0 0 18px rgba(139, 92, 246, 0.5);
    transition: text-shadow 0.3s var(--transition);
}
.logo:hover .logo-mark {
    text-shadow: 0 0 28px rgba(139, 92, 246, 0.7);
}
/* Glitch layers */
.logo-mark::before,
.logo-mark::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
}
.logo-mark::before {
    color: #ff00c8;
    animation: logoGlitchTop 5s infinite;
    clip-path: inset(0 0 55% 0);
}
.logo-mark::after {
    color: #00e5ff;
    animation: logoGlitchBottom 5s infinite;
    clip-path: inset(55% 0 0 0);
}

@keyframes logoGlitchTop {
    0%, 84%, 92%, 100% { opacity: 0; transform: translate(0); }
    85% { opacity: 0.8; transform: translate(-3px, -1px); }
    87% { opacity: 0.9; transform: translate(2px, 1px); }
    89% { opacity: 0.7; transform: translate(-1px, 0); }
    91% { opacity: 0; transform: translate(0); }
}
@keyframes logoGlitchBottom {
    0%, 84%, 92%, 100% { opacity: 0; transform: translate(0); }
    85% { opacity: 0.8; transform: translate(3px, 1px); }
    87% { opacity: 0.9; transform: translate(-2px, -1px); }
    89% { opacity: 0.7; transform: translate(1px, 0); }
    91% { opacity: 0; transform: translate(0); }
}

.logo-text {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
}
.logo-accent {
    color: var(--purple-light);
    font-weight: 600;
}
.logo-dot {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 6px;
    font-size: 14px;
}
.logo-location {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-200);
    transition: color var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple);
    border-radius: 2px;
    transition: width var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: 13px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Section Labels ============ */
.section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.label-line {
    width: 32px;
    height: 2px;
    background: var(--purple);
    border-radius: 2px;
}
.section-label span {
    font-size: 13px;
    font-weight: 500;
    color: var(--purple-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}
.section-title.center { text-align: center; }

.section-desc {
    font-size: 17px;
    color: var(--gray-200);
    max-width: 560px;
    line-height: 1.75;
}
.section-desc.center { text-align: center; margin: 0 auto 60px; }

section { padding: 120px 0; position: relative; }

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

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(80px);
    pointer-events: none;
    animation: heroGlow 6s ease-in-out infinite;
    will-change: transform, opacity;
    backface-visibility: hidden;
    contain: strict;
}
.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.08) 0%, transparent 70%);
    top: 30%;
    left: 30%;
    animation-delay: -3s;
    animation-duration: 8s;
}
@keyframes heroGlow {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--purple-glow);
    border: 1px solid var(--border-hover);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--purple-light);
    margin-bottom: 32px;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    animation: dotPulse 2s ease infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

/* Hero glitch text */
.hero-glitch {
    position: relative;
    display: inline-block;
}
.hero-glitch::before,
.hero-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hero-glitch::before {
    color: #ff00c8;
    -webkit-text-fill-color: #ff00c8;
    background: none;
    animation: heroGlitchTop 4s infinite;
    clip-path: inset(0 0 55% 0);
}
.hero-glitch::after {
    color: #00e5ff;
    -webkit-text-fill-color: #00e5ff;
    background: none;
    animation: heroGlitchBottom 4s infinite;
    clip-path: inset(55% 0 0 0);
}
@keyframes heroGlitchTop {
    0%, 80%, 90%, 100% { opacity: 0; transform: translate(0); }
    82% { opacity: 0.8; transform: translate(-5px, -2px); }
    84% { opacity: 1; transform: translate(4px, 1px); }
    86% { opacity: 0.7; transform: translate(-2px, 0); }
    88% { opacity: 0; transform: translate(0); }
}
@keyframes heroGlitchBottom {
    0%, 80%, 90%, 100% { opacity: 0; transform: translate(0); }
    82% { opacity: 0.8; transform: translate(5px, 2px); }
    84% { opacity: 1; transform: translate(-4px, -1px); }
    86% { opacity: 0.7; transform: translate(2px, 0); }
    88% { opacity: 0; transform: translate(0); }
}

.hero-desc {
    font-size: 18px;
    color: var(--gray-200);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}
.hero-stat { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    color: var(--gray-300);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--purple), transparent);
    animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 48px; }
    50% { opacity: 0.8; height: 60px; }
}

/* ============ About ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}
.about-text {
    font-size: 16px;
    color: var(--gray-200);
    margin-bottom: 20px;
    line-height: 1.8;
}
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}
.tag {
    padding: 8px 18px;
    background: var(--purple-glow);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--purple-light);
    transition: all var(--transition);
}
.tag:hover {
    border-color: var(--purple);
    background: var(--purple-glow-strong);
}

/* Avatar */
.avatar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}
.avatar-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
    filter: blur(40px);
    animation: avatarGlow 4s ease-in-out infinite;
    pointer-events: none;
    will-change: transform, opacity;
    contain: strict;
}
@keyframes avatarGlow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}
.avatar-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(139, 92, 246, 0.25));
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}
.avatar-wrapper:hover .avatar-img {
    transform: translate3d(0, -6px, 0) scale(1.02);
}
.avatar-ring {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid var(--border);
    z-index: 1;
    animation: avatarRingSpin 20s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}
.avatar-ring::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--purple);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--purple), 0 0 24px rgba(139, 92, 246, 0.4);
}
@keyframes avatarRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============ Services ============ */
.services { background: var(--bg-2); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.service-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
    overflow: hidden;
    backface-visibility: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}
.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}
.service-card:hover::before { opacity: 1; }

.service-card.featured {
    border-color: var(--purple-dark);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 100%);
}
.service-card.featured::before { opacity: 1; }

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--purple);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-glow);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 22px;
    color: var(--purple-light);
    margin-bottom: 22px;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--purple-glow-strong);
    border-color: var(--purple);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-200);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.service-features li {
    font-size: 13px;
    color: var(--gray-300);
    padding-left: 16px;
    position: relative;
}
.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--purple);
    border-radius: 50%;
}

/* ============ Portfolio ============ */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    backface-visibility: hidden;
}
.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple);
}

.project-preview {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-3);
}
.project-card-large .project-preview {
    aspect-ratio: 16/9;
}

.project-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 60%),
        var(--bg-3);
}
.project-placeholder i {
    font-size: 48px;
    color: var(--purple);
    opacity: 0.4;
    transition: all var(--transition);
}
.project-card:hover .project-placeholder i {
    opacity: 0.7;
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 10, 16, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }

.project-view {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--purple);
    color: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transform: translateY(10px);
    transition: transform var(--transition);
}
.project-card:hover .project-view { transform: translateY(0); }

.project-info {
    padding: 24px;
    flex: 1;
}
.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.project-tags span {
    padding: 4px 12px;
    background: var(--purple-glow);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
    color: var(--purple-light);
}
.project-info h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}
.project-info p {
    font-size: 14px;
    color: var(--gray-300);
    line-height: 1.6;
}

/* Project in progress */
.project-in-progress {
    cursor: default;
}
.project-status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #fbbf24;
    letter-spacing: 0.3px;
}
.project-progress {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--gray-500);
    border-radius: 6px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--purple-light));
    border-radius: 6px;
    transition: width 1s ease;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}
.progress-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--purple-light);
    white-space: nowrap;
}

/* ============ Pricing ============ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.price-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    backface-visibility: hidden;
}
.price-card .btn-block {
    margin-top: auto;
}
.price-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.price-card-featured {
    border-color: var(--purple-dark);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, var(--bg-card) 50%);
    transform: scale(1.02);
}
.price-card-featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.price-popular {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 24px;
    background: var(--purple);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 3;
    animation: popularGlow 2.5s ease-in-out infinite;
}
@keyframes popularGlow {
    0%, 100% { box-shadow: 0 0 12px rgba(139, 92, 246, 0.4), 0 0 24px rgba(139, 92, 246, 0.15); }
    50% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.6), 0 0 40px rgba(139, 92, 246, 0.25); }
}

.price-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.price-tier {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--purple-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.price-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}
.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-200);
    margin-top: 8px;
}
.price-value {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.price-plus {
    font-size: 28px;
    font-weight: 600;
    color: var(--purple-light);
    margin-top: 6px;
}
.price-period {
    display: block;
    font-size: 14px;
    color: var(--gray-300);
    margin-top: 8px;
}

.price-desc {
    font-size: 14px;
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 28px;
    text-align: center;
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}
.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-100);
}
.price-features i {
    color: var(--purple-light);
    font-size: 12px;
    flex-shrink: 0;
}

/* Demo badge */
.price-demo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: var(--radius) var(--radius) 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #34d399;
    letter-spacing: 0.3px;
    margin: -40px -32px 24px;
    padding: 12px 32px;
}
.price-demo-badge i {
    font-size: 14px;
}

/* Addon bar */
.pricing-addon:first-of-type {
    margin-top: 40px;
}
.pricing-addon {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    padding: 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.addon-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-glow);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 20px;
    color: var(--purple-light);
    flex-shrink: 0;
}
.addon-content { flex: 1; }
.addon-content h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}
.addon-content p {
    font-size: 14px;
    color: var(--gray-300);
}
.addon-price {
    text-align: right;
    flex-shrink: 0;
}
.addon-price span {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.addon-price strong {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--purple-light);
}

/* ============ Testimonials ============ */
.testimonials { background: var(--bg-2); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}
.testimonials-single {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform var(--transition), border-color var(--transition);
    backface-visibility: hidden;
}
.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    color: #fbbf24;
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-100);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-glow);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--purple-light);
}
.author-avatar i { font-size: 16px; color: var(--gray-400); }
.testimonial-author strong {
    display: block;
    font-size: 15px;
    color: var(--white);
    font-weight: 600;
}
.testimonial-author span {
    font-size: 13px;
    color: var(--gray-400);
}

/* ============ CTA Section ============ */
.cta-section {
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}
.cta-content {
    position: relative;
    z-index: 1;
}
.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.15;
}
.cta-content p {
    font-size: 18px;
    color: var(--gray-200);
    margin-bottom: 36px;
}

/* ============ Contact ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}
.contact-desc {
    font-size: 16px;
    color: var(--gray-200);
    margin-bottom: 36px;
    line-height: 1.75;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.contact-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.contact-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-glow);
    border-radius: var(--radius);
    color: var(--purple-light);
    font-size: 18px;
    flex-shrink: 0;
}
.contact-card-icon.whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #34d399;
}
.contact-card-icon.instagram {
    background: rgba(225, 48, 108, 0.12);
    color: #e1306c;
}
.contact-card span {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.contact-card strong {
    font-size: 16px;
    color: var(--white);
    font-weight: 600;
}

/* Contact form */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
    font-size: 13px;
    color: var(--gray-200);
    font-weight: 500;
}
.form-field label span { color: var(--purple-light); }

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all var(--transition);
    outline: none;
}
.form-field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--gray-400); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-submit { position: relative; margin-top: 8px; }
.form-submit-loading { display: none; align-items: center; gap: 10px; }
.form-submit.loading .form-submit-label { display: none; }
.form-submit.loading .form-submit-loading { display: inline-flex; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-400);
}
.form-disclaimer i { color: var(--purple); font-size: 13px; }

.form-status {
    display: none;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    border-radius: var(--radius);
    margin-top: 8px;
}
.form-status.show { display: flex; }
.form-status i { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.form-status div { display: flex; flex-direction: column; gap: 3px; }
.form-status strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.form-status span { font-size: 13px; color: var(--gray-300); }
.form-status-success { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.25); }
.form-status-success i { color: #34d399; }
.form-status-success strong { color: #34d399; }
.form-status-error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.25); }
.form-status-error i { color: #f87171; }
.form-status-error strong { color: #f87171; }

/* ============ Footer ============ */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 80px 0 32px;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}
.footer-brand p {
    font-size: 14px;
    color: var(--gray-300);
    margin-top: 18px;
    line-height: 1.7;
    max-width: 300px;
}
.footer-links h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
}
.footer-links a,
.footer-links span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-300);
    margin-bottom: 12px;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--purple-light); }
.footer-links i { font-size: 13px; color: var(--purple); width: 16px; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--gray-400);
}

/* ============ Floating WhatsApp ============ */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    animation: waFloat 3s ease-in-out infinite;
}
.floating-wa:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}
@keyframes waFloat {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ============ Page Hero (subpages) ============ */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.page-hero-desc {
    font-size: 17px;
    color: var(--gray-200);
    line-height: 1.75;
    max-width: 520px;
}

/* Portfolio page grid */
.portfolio-page-grid {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
}
.portfolio-page-grid .project-card-large {
    grid-column: auto;
}

/* Portfolio CTA card */
.portfolio-cta {
    margin-top: 48px;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px dashed var(--border-hover);
    border-radius: var(--radius-lg);
    text-align: center;
}
.portfolio-cta-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-glow);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 24px;
    color: var(--purple-light);
    margin: 0 auto 24px;
}
.portfolio-cta h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}
.portfolio-cta p {
    font-size: 15px;
    color: var(--gray-200);
    margin-bottom: 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing page grid (4 columns) */
.pricing-page-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Custom project card */
.price-card-custom {
    margin-top: 32px;
    background: var(--bg-card);
    border: 1px solid var(--purple-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.price-card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--purple-light), var(--purple), transparent);
}
.custom-card-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 40px;
    align-items: center;
}
.custom-card-left {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.custom-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-glow-strong), var(--purple-glow));
    border: 1px solid var(--purple-dark);
    border-radius: var(--radius);
    font-size: 24px;
    color: var(--purple-light);
    flex-shrink: 0;
}
.custom-card-left h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}
.custom-card-left p {
    font-size: 14px;
    color: var(--gray-200);
    line-height: 1.7;
}
.custom-card-right {
    text-align: center;
    padding: 24px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.custom-price-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--purple-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.custom-price-range {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}
.custom-from {
    font-size: 14px;
    color: var(--gray-300);
}
.custom-value {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.custom-note {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 20px;
}
.custom-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
}
.custom-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 16px;
    font-size: 13px;
    color: var(--gray-200);
    border-right: 1px solid var(--border);
}
.custom-feature:last-child {
    border-right: none;
}
.custom-feature i {
    color: #34d399;
    font-size: 14px;
    flex-shrink: 0;
}

/* Addons title */
.addons-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-top: 48px;
    margin-bottom: 4px;
}

/* Trust section */
.pricing-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.trust-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.trust-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-glow);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 20px;
    color: var(--purple-light);
    margin: 0 auto 18px;
}
.trust-item h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}
.trust-item p {
    font-size: 13px;
    color: var(--gray-300);
    line-height: 1.6;
}

/* Active nav link */
.nav-link.active {
    color: var(--white);
}
.nav-link.active::after {
    width: 100%;
}

/* ============ Reveal Animation ============ */
.reveal {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
    backface-visibility: hidden;
}
.reveal.in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-page-grid { grid-template-columns: 1fr 1fr; }
    .project-card-large { grid-column: span 2; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
    .pricing-page-grid { grid-template-columns: 1fr; max-width: 440px; }
    .price-card-featured { transform: none; }
    .price-card-featured:hover { transform: translateY(-4px); }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { order: -1; }
    .contact-content { order: 1; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 40px; }
    .custom-card-inner { grid-template-columns: 1fr; gap: 24px; }
    .custom-features { grid-template-columns: 1fr 1fr; }
    .custom-feature { border-bottom: 1px solid var(--border); }
    .custom-feature:nth-child(2) { border-right: none; }
    .pricing-trust { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    html { scroll-padding-top: 70px; }
    section { padding: 80px 0; }
    .container { padding: 0 18px; }
    .cursor-glow { display: none; }

    /* Kill heavy blur/filter on mobile for GPU savings */
    .hero-glow { filter: none; opacity: 0.4; }
    .hero-glow-2 { filter: none; opacity: 0.3; }
    .cta-glow { filter: none; opacity: 0.5; }
    .avatar-glow { filter: blur(20px); }

    /* Disable hover transforms on touch (no jank) */
    .service-card:hover,
    .project-card:hover,
    .price-card:hover,
    .testimonial-card:hover,
    .contact-card:hover { transform: none; }
    .price-card-featured:hover { transform: none; }

    /* Simpler reveal on mobile */
    .reveal {
        transform: translate3d(0, 20px, 0);
        transition-duration: 0.5s;
    }

    /* Header */
    .nav-container { padding: 14px 18px; }
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 86%;
        max-width: 340px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-2);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 90px 28px 40px;
        border-left: 1px solid var(--purple-dark);
        transform: translateX(100%);
        pointer-events: none;
        transition: transform var(--transition);
        z-index: 99;
        overflow-y: auto;
    }
    .nav.open { transform: translateX(0); pointer-events: auto; }
    .nav-link {
        padding: 18px 4px;
        border-bottom: 1px solid var(--border);
        font-size: 15px;
    }
    .nav-link::after { display: none; }
    .nav-cta { margin-top: 24px; justify-content: center; padding: 16px 22px; }
    .hamburger { display: flex; z-index: 101; }

    body.nav-locked { overflow: hidden; }
    body.nav-locked::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(4px);
        z-index: 98;
    }

    /* Logo */
    .logo-mark { width: 30px; height: 30px; font-size: 24px; }
    .logo-text { font-size: 15px; }
    .logo-dot { display: none; }
    .logo-location { display: none; }

    /* Hero */
    .hero { min-height: auto; padding: 120px 0 80px; }
    .hero-title { font-size: clamp(32px, 9vw, 52px); }
    .hero-desc { font-size: 16px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .stat-num { font-size: 24px; }
    .scroll-indicator { display: none; }

    /* Sections */
    .section-title { font-size: clamp(28px, 8vw, 40px); }

    /* Page hero */
    .page-hero { padding: 120px 0 60px; }
    .page-hero-title { font-size: clamp(30px, 8vw, 44px); }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* Portfolio */
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-page-grid { grid-template-columns: 1fr; }
    .project-card-large { grid-column: auto; }

    /* Custom card */
    .custom-card-inner { grid-template-columns: 1fr; padding: 28px; }
    .custom-card-left { flex-direction: column; }
    .custom-features { grid-template-columns: 1fr; }
    .custom-feature { border-right: none; border-bottom: 1px solid var(--border); justify-content: flex-start; padding: 14px 20px; }
    .custom-feature:last-child { border-bottom: none; }
    .pricing-trust { grid-template-columns: 1fr; }
    .portfolio-cta { padding: 40px 24px; }

    /* Pricing */
    .pricing-grid { max-width: 100%; }
    .pricing-addon {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .addon-price { text-align: center; }

    /* Contact */
    .contact-form-wrap { padding: 28px 22px; }
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 32px; }

    /* Avatar */
    .avatar-wrapper { max-width: 320px; }
    .avatar-ring { width: 280px; height: 280px; }
    .avatar-glow { width: 260px; height: 260px; }

    /* Floating WA */
    .floating-wa {
        bottom: max(16px, env(safe-area-inset-bottom));
    }

    /* Buttons */
    .btn { min-height: 48px; }
    .btn-lg { min-height: 52px; }
}

@media (max-width: 480px) {
    section { padding: 64px 0; }
    .container { padding: 0 14px; }
    .hero-title { font-size: clamp(28px, 10vw, 40px); }
    .hero-stats { gap: 16px; }
    .stat-num { font-size: 22px; }
    .stat-label { font-size: 11px; }
    .contact-form-wrap { padding: 22px 16px; }
    .avatar-wrapper { max-width: 280px; }
    .avatar-ring { width: 240px; height: 240px; }
    .avatar-glow { width: 220px; height: 220px; }
}
