﻿/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none; outline: none;
}

:root {
    --bg: #0a0a0f;
    --bg2: #111118;
    --bg3: #16161f;
    --border: rgba(255,255,255,0.08);
    --text: #e8e8f0;
    --muted: #8888a0;
    --accent: #7c3aed;
    --accent2: #2dd4bf;
    --accent3: #7dd3fc;
    --violet: #a78bfa;
    --grad: linear-gradient(135deg, #7c3aed, #2dd4bf);
    --grad-text: linear-gradient(135deg, #a78bfa, #2dd4bf);
    --radius: 1.6rem;
    --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Syne', sans-serif; line-height: 1.15; }

.grad-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

section { padding: 10rem 8% 8rem; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header h2 {
    font-size: clamp(3.2rem, 5vw, 4.8rem);
    margin: 1.2rem 0 1.6rem;
    text-align: center;
    width: 100%;
}

.section-header h2 span {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p { font-size: 1.8rem; color: var(--muted); }

.section-tag {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent2);
    background: rgba(45,212,191,0.08);
    border: 1px solid rgba(45,212,191,0.25);
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    transition: all 0.3s;
}
.section-tag:hover {
    background: rgba(167,139,250,0.12);
    border-color: rgba(167,139,250,0.35);
    color: #a78bfa;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.4rem 3.2rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 8px 30px rgba(124,58,237,0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(124,58,237,0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--violet);
    color: var(--violet);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 0.8rem 1.8rem;
    font-size: 1.4rem;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 50px;
    backdrop-filter: blur(6px);
}

.btn-sm:hover { background: var(--grad); }

.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 2rem 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: all 0.3s;
}

.header.scrolled {
    background: rgba(10,10,15,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.4rem 8%;
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text);
}

.logo span {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar { display: flex; align-items: center; gap: 3.5rem; }

.navbar a {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.3s;
}

.navbar a:hover, .navbar a.active { color: var(--text); }

.nav-cta {
    background: var(--grad) !important;
    color: #fff !important;
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    font-weight: 600 !important;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,0.4); }

.menu-toggle { display: none; font-size: 3rem; cursor: pointer; color: var(--text); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    padding: 14rem 8% 8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70rem;
    height: 70rem;
    background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content { flex: 1; max-width: 640px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--violet);
    background: rgba(167,139,250,0.08);
    border: 1px solid rgba(167,139,250,0.25);
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    margin-bottom: 2.8rem;
}

.hero-badge i { font-size: 1.6rem; }

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.25;
    margin-bottom: 2.4rem;
    color: var(--text);
    font-weight: 800;
    animation: fadeSlideUp 0.8s 0.2s both ease-out;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-content h1 .highlight {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.hero-content > p {
    font-size: 1.8rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 3.6rem;
    max-width: 560px;
}

.hero-actions { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 5rem; }

.hero-stats {
    display: flex;
    gap: 4rem;
    padding-top: 3.5rem;
    border-top: 1px solid var(--border);
}

.stat span {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat p { font-size: 1.4rem; color: var(--muted); margin-top: 0.3rem; }

.hero-visual {
    flex: 0 0 380px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-wrap {
    width: 340px;
    height: 340px;
    border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
    overflow: hidden;
    border: 2px solid rgba(167,139,250,0.4);
    box-shadow: 0 30px 80px rgba(124,58,237,0.3);
    animation: morph 8s ease-in-out infinite;
}

.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; }
    50% { border-radius: 55% 45% 40% 60% / 45% 55% 50% 50%; }
}

.floating-card {
    position: absolute;
    background: rgba(22,22,31,0.9);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    padding: 1rem 1.8rem;
    border-radius: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    animation: float 4s ease-in-out infinite;
}

.floating-card i { color: var(--accent2); font-size: 1.8rem; }
.card-1 { top: 5%; left: -10%; animation-delay: 0s; }
.card-2 { bottom: 20%; left: -15%; animation-delay: 1.3s; }
.card-3 { top: 30%; right: -12%; animation-delay: 0.7s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== SERVICES ===== */
.services { background: var(--bg2); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3.5rem 3rem;
    position: relative;
    transition: all 0.35s ease;
}

.service-card:hover {
    border-color: rgba(167,139,250,0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(124,58,237,0.2);
}

.service-card.featured {
    border-color: rgba(167,139,250,0.4);
    background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(45,212,191,0.05));
}

.service-icon {
    width: 5.6rem;
    height: 5.6rem;
    background: var(--grad);
    border-radius: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.4rem;
}

.service-icon i { font-size: 2.8rem; color: #fff; }

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.4rem;
    color: var(--text);
}

.service-card > p {
    font-size: 1.55rem;
    color: var(--muted);
    margin-bottom: 2.4rem;
    line-height: 1.75;
}

.service-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card ul li {
    font-size: 1.5rem;
    color: var(--muted);
    padding-left: 2rem;
    position: relative;
}

.service-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent2);
    font-weight: 700;
}

.service-tag {
    position: absolute;
    top: 2rem; right: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--grad);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
}

/* ===== WORK ===== */
.work { background: var(--bg); }

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.work-card.large { grid-column: span 2; }

.work-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.work-card.large .work-img { height: 420px; }
.work-card:not(.large) .work-img { height: 280px; }

.work-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.work-card:hover .work-img img {
    transform: scale(1.06);
    filter: brightness(0.5);
}

.work-overlay {
    position: absolute;
    inset: 0;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.4) 60%, transparent 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.work-card:hover .work-overlay { opacity: 1; transform: translateY(0); }

.work-tag {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent2);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.work-overlay h3 { font-size: 2.6rem; margin-bottom: 1rem; color: #fff; }
.work-overlay p { font-size: 1.5rem; color: rgba(255,255,255,0.75); margin-bottom: 2rem; line-height: 1.65; }

.work-links { display: flex; gap: 1.2rem; }

/* ===== STACK ===== */
.stack { background: var(--bg2); }

.stack-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.8rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.25s ease;
    cursor: default;
}

.pill img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    flex-shrink: 0;
}

.pill:hover {
    border-color: var(--accent2);
    color: var(--accent2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45,212,191,0.15);
}

/* ===== ABOUT ===== */
.about {
    background: var(--bg);
    display: flex;
    align-items: center;
    gap: 8rem;
    max-width: 1300px;
    margin: 0 auto;
}

.about-img-wrap {
    flex: 0 0 380px;
    position: relative;
}

.about-img {
    width: 100%;
    height: 500px;
    border-radius: 2.4rem;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Card-style variant for about section â€” distinct from hero blob */
.about-img-card {
    border-radius: 2.4rem 2.4rem 2.4rem 0.6rem;
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
    border: 2px solid rgba(167,139,250,0.4);
    box-shadow: 8px 16px 60px rgba(124,58,237,0.25), var(--shadow);
}

.about-img-wrap:hover .about-img-card { transform: rotate(0deg); }

/* Crossfade slideshow */
.about-slideshow { position: relative; overflow: hidden; }

.about-slideshow .slide {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transform: scale(1.08) translateX(30px);
    animation: kbSlide 20s infinite;
    will-change: transform, opacity;
}

.about-slideshow .s1 { animation-delay: 0s; }
.about-slideshow .s2 { animation-delay: 5s; }
.about-slideshow .s3 { animation-delay: 10s; }
.about-slideshow .s4 { animation-delay: 15s; }

@keyframes kbSlide {
    0%          { opacity: 0;   transform: scale(1.08) translateX(30px); }
    6%          { opacity: 1;   transform: scale(1.04) translateX(10px); }
    22%         { opacity: 1;   transform: scale(1.0)  translateX(0px);  }
    28%         { opacity: 0;   transform: scale(0.97) translateX(-20px); }
    100%        { opacity: 0;   transform: scale(1.08) translateX(30px); }
}

/* Dot indicators */
.slide-dots {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    animation: dotActive 20s infinite;
}

.d1 { animation-delay: 0s; }
.d2 { animation-delay: 5s; }
.d3 { animation-delay: 10s; }
.d4 { animation-delay: 15s; }

@keyframes dotActive {
    0%    { background: #fff; width: 2rem; border-radius: 4px; }
    25%   { background: #fff; width: 2rem; border-radius: 4px; }
    26%   { background: rgba(255,255,255,0.3); width: 0.7rem; border-radius: 50%; }
    100%  { background: rgba(255,255,255,0.3); width: 0.7rem; border-radius: 50%; }
}

.about-img-ring {
    position: absolute;
    inset: -12px;
    border-radius: 2.8rem;
    border: 2px dashed rgba(167,139,250,0.3);
    animation: spinRing 18s linear infinite;
    z-index: 0;
}

@keyframes spinRing {
    to { transform: rotate(360deg); }
}

.about-img-badge,
.badge-top,
.badge-bottom { display: none; }

.about-content { flex: 1; }

.about-content .section-tag { margin-bottom: 1.6rem; }

.about-content h2 {
    font-size: clamp(3rem, 4vw, 4.4rem);
    margin-bottom: 2.4rem;
}

.about-content h2 span {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content > p {
    font-size: 1.65rem;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 1.8rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 3rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.55rem;
    color: var(--text);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--accent2);
    flex-shrink: 0;
}

.about-actions { display: flex; gap: 1.6rem; flex-wrap: wrap; }

/* ===== EXPERIENCE ===== */
.experience { background: var(--bg2); }

.exp-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.exp-list::before {
    content: '';
    position: absolute;
    left: 0.7rem;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent2));
    border-radius: 2px;
}

.exp-item {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 5rem;
}

.exp-item:last-child { margin-bottom: 0; }

.exp-dot {
    position: absolute;
    left: -2.3rem;
    top: 0.6rem;
    width: 1.4rem;
    height: 1.4rem;
    background: var(--grad);
    border-radius: 50%;
    border: 3px solid var(--bg2);
}

.exp-body {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    transition: border-color 0.3s;
}

.exp-body:hover { border-color: rgba(167,139,250,0.45); }

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.exp-header h3 { font-size: 2rem; color: var(--text); margin-bottom: 0.4rem; }

.exp-company {
    font-size: 1.5rem;
    color: var(--accent2);
    font-weight: 500;
}

.exp-date {
    font-size: 1.4rem;
    color: var(--muted);
    white-space: nowrap;
    background: var(--bg2);
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.exp-body ul { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }

.exp-body ul li {
    font-size: 1.55rem;
    color: var(--muted);
    padding-left: 2rem;
    position: relative;
}

.exp-body ul li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--violet);
}

/* ===== CONTACT ===== */
.contact {
    background: var(--bg);
    display: flex;
    gap: 6rem;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
}

.contact-left { flex: 1; }
.contact-left .section-tag { margin-bottom: 1.6rem; display: inline-block; }

.contact-left h2 {
    font-size: clamp(3rem, 4vw, 4.4rem);
    margin-bottom: 1.6rem;
}

.contact-left h2 span {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-left > p {
    font-size: 1.6rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 2.4rem;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: 1.6rem 2rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 1.4rem;
    color: var(--text);
    transition: all 0.3s ease;
    text-decoration: none;
}

.channel-card:hover {
    transform: translateX(6px);
    border-color: rgba(108,99,255,0.4);
}

.channel-card.whatsapp:hover { border-color: #25d366; }
.channel-card.email:hover { border-color: var(--accent2); }
.channel-card.linkedin:hover { border-color: #0a66c2; }

.channel-icon {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-card.whatsapp .channel-icon { background: rgba(37,211,102,0.12); }
.channel-card.email .channel-icon { background: rgba(45,212,191,0.12); }
.channel-card.linkedin .channel-icon { background: rgba(10,102,194,0.12); }

.channel-card.whatsapp .channel-icon i { color: #25d366; font-size: 2.4rem; }
.channel-card.email .channel-icon i { color: var(--accent2); font-size: 2.2rem; }
.channel-card.linkedin .channel-icon i { color: #5b9bd5; font-size: 2.2rem; }

.channel-card > div strong { display: block; font-size: 1.55rem; font-weight: 600; }
.channel-card > div span { font-size: 1.35rem; color: var(--muted); }

.channel-arrow { margin-left: auto; font-size: 2rem; color: var(--muted); transition: transform 0.3s; }
.channel-card:hover .channel-arrow { transform: translateX(4px); color: var(--text); }

.response-note {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    color: var(--muted);
}
.response-note i { color: var(--accent2); font-size: 1.6rem; }

.contact-right {
    flex: 1;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4rem;
}

.form-header { margin-bottom: 3rem; }
.form-header h3 { font-size: 2.4rem; margin-bottom: 0.8rem; }
.form-header p { font-size: 1.5rem; color: var(--muted); }

.contact-right form { display: flex; flex-direction: column; gap: 1.6rem; }

.form-row { display: flex; gap: 1.6rem; }

.input-wrap {
    position: relative;
    flex: 1;
}

.input-wrap i {
    position: absolute;
    left: 1.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--muted);
    pointer-events: none;
    transition: color 0.3s;
}

.textarea-wrap i { top: 1.8rem; transform: none; }

.input-wrap:focus-within i { color: var(--accent2); }

.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 1.5rem 1.8rem 1.5rem 4.8rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    color: var(--text);
    font-size: 1.55rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-right input:focus,
.contact-right textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
    outline: none;
}

.contact-right input::placeholder,
.contact-right textarea::placeholder { color: var(--muted); }

.contact-right textarea { padding-left: 4.8rem; resize: vertical; }

#form-message {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.8rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 4rem 8%;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer p { font-size: 1.4rem; color: var(--muted); }

.footer-links { display: flex; gap: 1.6rem; }

.footer-links a {
    font-size: 2.2rem;
    color: var(--muted);
    transition: color 0.3s, transform 0.3s;
}

.footer-links a:hover { color: #a78bfa; transform: translateY(-3px); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 3rem; right: 3rem;
    width: 5rem; height: 5rem;
    background: var(--grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(124,58,237,0.45);
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero { flex-direction: column; text-align: center; padding-top: 12rem; }
    .hero-content { max-width: 100%; }
    .hero-content h1 { text-align: center; }
    .hero-content > p { margin: 0 auto 3.6rem; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { flex: none; padding-top: 0; }
    .hero-img-wrap { width: 300px; height: 340px; margin: 0 auto; }
    .card-1 { left: 0; }
    .card-2 { left: -5%; }
    .card-3 { right: 0; }

    .about { flex-direction: column; padding: 10rem 8%; }
    .about-img-wrap { flex: none; width: 100%; max-width: 360px; margin: 0 auto; }

    .contact { flex-direction: column; padding: 10rem 8%; }
    .work-card.large { grid-column: span 1; }
    .work-grid { grid-template-columns: 1fr; }
}

/* ===== MOBILE NAV â€” full redesign ===== */
@media (max-width: 768px) {
    html { font-size: 56%; }
    section { padding: 8rem 5% 6rem; }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 4.2rem;
        height: 4.2rem;
        border-radius: 1rem;
        background: var(--bg3);
        border: 1px solid var(--border);
        font-size: 2.4rem;
        cursor: pointer;
        color: var(--text);
        transition: all 0.3s;
        z-index: 1100;
        position: relative;
    }
    .menu-toggle:hover { border-color: var(--accent); color: var(--accent); }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(80vw, 32rem);
        height: 100dvh;
        background: rgba(10,10,15,0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0.4rem;
        padding: 8rem 3.5rem 4rem;
        border-left: 1px solid var(--border);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        overflow-y: auto;
    }

    .navbar.active { right: 0; }

    /* Overlay behind drawer */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 1040;
        backdrop-filter: blur(2px);
    }
    .nav-overlay.active { display: block; }

    .navbar a {
        width: 100%;
        padding: 1.4rem 1.6rem;
        font-size: 1.9rem;
        font-weight: 500;
        color: var(--muted);
        border-radius: 1rem;
        transition: all 0.25s;
        display: flex;
        align-items: center;
        gap: 1.2rem;
        border: 1px solid transparent;
    }

    .navbar a::before {
        content: '';
        width: 0.6rem;
        height: 0.6rem;
        border-radius: 50%;
        background: var(--accent);
        opacity: 0;
        transition: opacity 0.25s;
        flex-shrink: 0;
    }

    .navbar a:hover,
    .navbar a.active {
        color: var(--text);
        background: rgba(124,58,237,0.1);
        border-color: rgba(167,139,250,0.3);
    }

    .navbar a:hover::before,
    .navbar a.active::before { opacity: 1; }

    .nav-cta {
        margin-top: 2rem !important;
        background: var(--grad) !important;
        color: #fff !important;
        border-radius: 1rem !important;
        border-color: transparent !important;
        justify-content: center;
        padding: 1.4rem 2rem !important;
    }

    .nav-cta::before { display: none; }

    /* Stagger nav links in */
    .navbar.active a:nth-child(1) { animation: slideIn 0.35s 0.05s both; }
    .navbar.active a:nth-child(2) { animation: slideIn 0.35s 0.1s both; }
    .navbar.active a:nth-child(3) { animation: slideIn 0.35s 0.15s both; }
    .navbar.active a:nth-child(4) { animation: slideIn 0.35s 0.2s both; }
    .navbar.active a:nth-child(5) { animation: slideIn 0.35s 0.25s both; }

    @keyframes slideIn {
        from { opacity: 0; transform: translateX(20px); }
        to { opacity: 1; transform: translateX(0); }
    }

    .form-row { flex-direction: column; }
    .footer-inner { flex-direction: column; text-align: center; }
    .exp-header { flex-direction: column; }
    .hero-stats { gap: 2.5rem; }
    .floating-card { display: none; }
    .about-img-wrap { max-width: 280px; }
    .about-img { height: 340px; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-img-wrap { width: 240px; height: 280px; }
    .hero-content h1 { font-size: 3.4rem; }
    .hero-stats { flex-wrap: wrap; gap: 2rem; justify-content: center; }
    .stat { min-width: 8rem; text-align: center; }
    .process-steps { gap: 1.6rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== CUSTOM CURSOR ===== */
body.no-cursor * { cursor: none !important; }

.cursor-dot {
    width: 8px; height: 8px;
    background: var(--accent3);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease, background 0.2s;
    mix-blend-mode: difference;
}

.cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(167,139,250,0.7);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, width 0.25s ease, height 0.25s ease, border-color 0.25s;
}

.cursor-ring.hovered {
    width: 56px; height: 56px;
    border-color: var(--accent3);
    background: rgba(125,211,252,0.06);
}

@media (hover: none) {
    .cursor-dot, .cursor-ring { display: none; }
    body.no-cursor * { cursor: auto !important; }
}

/* ===== HERO CANVAS ===== */
#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.hero { position: relative; }
.hero-content, .hero-visual { position: relative; z-index: 1; }

/* ===== HERO WORD REVEAL ===== */
/* removed â€” replaced with h1 block animation above */

/* ===== MARQUEE STRIP ===== */
.marquee-strip {
    background: var(--bg3);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.6rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 2.4rem;
    animation: marquee 28s linear infinite;
}

.marquee-strip:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.marquee-track span:not([class]):hover { color: var(--accent2); }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== PROCESS SECTION ===== */
.process { background: var(--bg); }

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    padding: 5rem 2.5rem 3rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.process-step:hover {
    border-color: rgba(167,139,250,0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(124,58,237,0.18);
}

.step-num {
    font-family: 'Syne', sans-serif;
    font-size: 8rem;
    font-weight: 800;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.07;
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

.step-icon {
    width: 6rem; height: 6rem;
    background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(45,212,191,0.1));
    border: 1px solid rgba(167,139,250,0.3);
    border-radius: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.4rem;
    transition: all 0.35s;
}

.process-step:hover .step-icon {
    background: var(--grad);
    border-color: transparent;
}

.step-icon i { font-size: 2.8rem; color: var(--accent2); transition: color 0.35s; }
.process-step:hover .step-icon i { color: #fff; }

.process-step h3 { font-size: 2rem; margin-bottom: 1.2rem; }

.process-step p { font-size: 1.5rem; color: var(--muted); line-height: 1.75; }

.process-connector {
    flex: 0 0 4rem;
    height: 2px;
    background: linear-gradient(to right, var(--accent), var(--accent2));
    align-self: center;
    margin-top: -2rem;
    opacity: 0.4;
}

@media (max-width: 900px) {
    .process-steps { flex-direction: column; align-items: center; gap: 2rem; }
    .process-connector { width: 2px; height: 3rem; flex: none; margin: 0; background: linear-gradient(to bottom, var(--accent), var(--accent2)); }
    .process-step { max-width: 100%; width: 100%; }
}

/* ===== MAGNETIC BUTTON EFFECT ===== */
.btn-primary { will-change: transform; }

/* ===== NOISE TEXTURE ON HERO ===== */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 0;
}

/* ===== GLOW PULSE ON HERO IMAGE ===== */
.hero-img-wrap::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: var(--grad);
    z-index: -1;
    opacity: 0.35;
    filter: blur(20px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.25; filter: blur(20px); }
    50% { opacity: 0.5; filter: blur(30px); }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 998;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s, visibility 0.4s;
}

.scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

.scroll-indicator span {
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    border-right: 2.5px solid #7dd3fc;
    border-bottom: 2.5px solid #7dd3fc;
    /* light blue kept intentionally for scroll arrows */
    transform: rotate(45deg);
    animation: scrollBounce 1.4s ease-in-out infinite;
}

.scroll-indicator span:nth-child(2) { animation-delay: 0.2s; }
.scroll-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes scrollBounce {
    0%   { opacity: 0;   transform: rotate(45deg) translate(-4px, -4px); }
    50%  { opacity: 1;   transform: rotate(45deg) translate(0, 0); }
    100% { opacity: 0;   transform: rotate(45deg) translate(4px, 4px); }
}

@media (max-width: 768px) {
    .scroll-indicator { bottom: 2rem; right: 2rem; }
}


.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== PILL SHIMMER ===== */
.pill { position: relative; overflow: hidden; }
.pill::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45,212,191,0.18), transparent);
    transform: skewX(-20deg);
}
.pill:hover::after { animation: shimmer 0.55s ease forwards; }
@keyframes shimmer { to { left: 160%; } }

/* ===== SECTION HEADER UNDERLINE DRAW ===== */
.section-header { overflow: visible; }
.section-header h2 { position: relative; display: inline-block; }
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.8rem; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: linear-gradient(90deg, #a78bfa, #7c3aed, #2dd4bf);
    border-radius: 2px;
    transition: width 0.7s cubic-bezier(0.4,0,0.2,1);
}
.section-header h2.line-visible::after { width: 60%; }

/* ===== HERO BADGE CURSOR BLINK REMOVED ===== */

/* ===== EXP DOT PULSE ===== */
.exp-dot { position: absolute; }
.exp-dot::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid #2dd4bf;
    opacity: 0;
    animation: dotPulse 2.2s ease-out infinite;
}
@keyframes dotPulse {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0;   transform: scale(2.4); }
}

/* ===== TILT CARDS ===== */
.service-card, .work-card { transform-style: preserve-3d; will-change: transform; }

/* ===== FLOATING CARD LIGHT BLUE GLOW ===== */
.floating-card:hover { box-shadow: 0 0 20px rgba(45,212,191,0.3); }

/* ===== COUNTER ROLL ===== */
@keyframes countUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.stat span.counted { animation: countUp 0.5s ease forwards; }
