/* ============================================================
   PortfolioOS — Global Frontend Styles v1.2
   Mobile-first | Enhanced UI | Dark Glassmorphism
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
    --bg-primary:    #0A0A0F;
    --bg-secondary:  #0D0D15;
    --bg-tertiary:   #12121A;
    --glass-bg:      rgba(255,255,255,0.04);
    --glass-bg2:     rgba(255,255,255,0.07);
    --glass-border:  rgba(255,255,255,0.08);
    --glass-border2: rgba(255,255,255,0.15);
    --glass-blur:    blur(20px);
    --glass-shadow:  0 8px 40px rgba(0,0,0,0.5);

    --violet:  #7C3AED;
    --violet2: #9D5FFF;
    --cyan:    #06B6D4;
    --cyan2:   #22D3EE;
    --green:   #10B981;
    --red:     #EF4444;
    --yellow:  #F59E0B;

    --text:    #F8F8FF;
    --text-2:  #9CA3AF;
    --text-3:  #6B7280;

    --font-d: 'Space Grotesk', sans-serif;
    --font-b: 'Inter', sans-serif;

    --hero-size:   clamp(2.4rem, 7vw, 5.5rem);
    --h2-size:     clamp(1.7rem, 4vw, 2.8rem);
    --section-pad: clamp(5rem, 9vw, 9rem) 0;

    --r-sm: 8px;
    --r:    16px;
    --r-lg: 24px;
    --r-xl: 32px;

    --nav-h:     64px;
    --container: 1200px;
    --trans:     0.25s ease;
}

/* ── Base ── */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    background: var(--bg-primary);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 99px; }
::selection { background: rgba(124,58,237,0.35); color: #fff; }
h1,h2,h3,h4 { font-family: var(--font-d); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--text); }
p  { color: var(--text-2); }
a  { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 56px);
}

/* ── Gradient text ── */
.gradient-text {
    background: linear-gradient(135deg, var(--violet2) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Glass card ── */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--r);
    box-shadow: var(--glass-shadow);
}

/* ── Section spacing ── */
.section { padding: var(--section-pad); }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 14px;
}
.section-label::before {
    content: '';
    width: 18px; height: 1px;
    background: var(--cyan);
    opacity: 0.6;
}
.section-title { font-size: var(--h2-size); margin-bottom: 16px; line-height: 1.1; }
.section-sub   { font-size: clamp(15px,2vw,17px); color: var(--text-2); max-width: 540px; line-height: 1.75; }

/* ── Scroll reveal ── */
/* Content always visible by default — animation is purely additive */
.reveal {
    /* No opacity:0 here — content shows even without JS */
}
/* JS adds .reveal-ready to body once initialized */
body.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
body.reveal-ready .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 99px;
    font-family: var(--font-d); font-size: 15px; font-weight: 600;
    cursor: pointer; text-decoration: none;
    transition: all var(--trans); border: none; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
    background: var(--violet); color: #fff;
    box-shadow: 0 4px 24px rgba(124,58,237,0.35);
}
.btn-primary:hover {
    background: var(--violet2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(124,58,237,0.5);
}
.btn-outline {
    background: transparent; color: var(--text);
    border: 1px solid var(--glass-border2);
}
.btn-outline:hover {
    background: var(--glass-bg2);
    border-color: rgba(255,255,255,0.28);
    transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 13.5px; }
.btn-whatsapp {
    background: #25D366; color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

/* ── Page offset ── */
.page-top { padding-top: var(--nav-h); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h); z-index: 100;
    transition: all var(--trans);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(10,10,15,0.92);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom-color: var(--glass-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.nav-inner {
    display: flex; align-items: center;
    justify-content: space-between; height: 100%;
    gap: 12px;
}
.nav-logo {
    font-family: var(--font-d); font-size: 18px; font-weight: 700;
    color: var(--text); letter-spacing: -0.3px;
    display: flex; align-items: center; gap: 9px;
    text-decoration: none; flex-shrink: 0;
}
.nav-logo-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--violet);
    box-shadow: 0 0 12px var(--violet);
    animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.6); opacity: 0.6; }
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
    padding: 7px 14px; border-radius: 99px;
    font-size: 14px; font-weight: 500;
    color: var(--text-2); transition: color var(--trans), background var(--trans);
}
.nav-links a:hover { color: var(--text); background: var(--glass-bg); }
.nav-links a.active { color: var(--text); background: var(--glass-bg); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ── Hamburger button ── */
.nav-hamburger {
    display: none; flex-direction: column;
    justify-content: center; align-items: center;
    width: 40px; height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-sm);
    cursor: pointer; gap: 5px;
    transition: all var(--trans); flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--glass-bg2); border-color: var(--glass-border2); }
.nav-hamburger span {
    display: block; width: 18px; height: 1.5px;
    background: var(--text); border-radius: 99px;
    transition: all var(--trans);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ── Mobile nav ── */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0 20px;
    z-index: 99;
    flex-direction: column;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 24px;
    font-size: 15px; font-weight: 500;
    color: var(--text-2); transition: all var(--trans);
    border-radius: 0;
}
.nav-mobile-link:hover { color: var(--text); background: var(--glass-bg); }
.nav-mobile-link svg {
    width: 18px; height: 18px; flex-shrink: 0;
    color: var(--text-3);
}
.nav-mobile-link:hover svg { color: var(--violet2); }
.nav-mobile-divider { height: 1px; background: var(--glass-border); margin: 8px 24px; }
.nav-mobile-cta { padding: 12px 24px 0; }

/* ============================================================
   HERO — 2 Column
   ============================================================ */
.hero {
    min-height: 100svh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: calc(var(--nav-h) + 20px) 0 40px;
}
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(120px); pointer-events: none; z-index: 0;
}
.hero-orb-1 {
    width: clamp(300px,55vw,650px); height: clamp(300px,55vw,650px);
    background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 65%);
    top: -15%; left: -10%;
}
.hero-orb-2 {
    width: clamp(200px,35vw,420px); height: clamp(200px,35vw,420px);
    background: radial-gradient(circle, rgba(6,182,212,0.14), transparent 65%);
    bottom: 5%; right: 5%;
}

.hero-grid {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: clamp(32px,5vw,72px);
    align-items: center;
}

/* Text side */
.hero-content {}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 99px;
    font-size: 13px; font-weight: 500; color: var(--text-2);
    margin-bottom: 22px; backdrop-filter: blur(8px);
}
.hero-eyebrow-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 10px var(--green);
    animation: pulse-dot 2.5s ease-in-out infinite;
}
.hero-title {
    font-size: var(--hero-size); font-weight: 700;
    line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 18px;
}
.hero-subtitle {
    font-size: clamp(15px,2vw,18px); color: var(--text-2);
    margin-bottom: 32px; line-height: 1.75; max-width: 480px;
}
/* Typewriter line — fixed height so page never shifts up/down */
.hero-subtitle-tw {
    min-height: calc(clamp(15px,2vw,18px) * 1.75);
    display: block;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 4px;
}
/* Static line below typewriter */
.hero-subtitle-fixed {
    display: block;
    color: var(--text-2);
}
.hero-typewriter {
    color: var(--cyan); font-weight: 600;
    border-right: 2px solid var(--cyan);
    animation: blink 0.75s step-end infinite;
    display: inline;
}
@keyframes blink { 0%,100%{border-color:var(--cyan);} 50%{border-color:transparent;} }

.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
    display: flex; gap: 24px; flex-wrap: wrap;
    padding-top: 24px; border-top: 1px solid var(--glass-border);
}
.hero-stat-num {
    font-family: var(--font-d); font-size: clamp(22px,3vw,32px);
    font-weight: 700; line-height: 1;
}
.hero-stat-label { font-size: 12px; color: var(--text-3); margin-top: 5px; letter-spacing: 0.3px; }

/* Image side */
.hero-visual { position: relative; }
.hero-img-wrap {
    position: relative; border-radius: var(--r-xl); overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 32px 80px rgba(0,0,0,0.55);
    aspect-ratio: 4/5; background: var(--bg-tertiary);
}
.hero-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform 0.7s ease;
}
.hero-img-wrap:hover img { transform: scale(1.03); }

/* Floating badge */
.hero-badge {
    position: absolute;
    background: rgba(10,10,15,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border2);
    border-radius: 14px; padding: 11px 15px;
    display: flex; align-items: center; gap: 10px;
    white-space: nowrap; z-index: 2;
}
.hero-badge-1 { top: 28px; left: -24px; animation: floatA 4s ease-in-out infinite; }
.hero-badge-2 { bottom: 36px; right: -20px; animation: floatB 4s ease-in-out infinite; }
@keyframes floatA { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
@keyframes floatB { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
.hero-badge-icon {
    width: 36px; height: 36px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-badge-icon svg { width: 18px; height: 18px; }
.hero-badge-title { font-family: var(--font-d); font-size: 13px; font-weight: 600; color: var(--text); }
.hero-badge-sub   { font-size: 11px; color: var(--text-3); margin-top: 1px; }

/* Placeholder visual */
.hero-visual-placeholder {
    aspect-ratio: 4/5; border-radius: var(--r-xl);
    background: var(--bg-tertiary); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.hero-visual-placeholder::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(6,182,212,0.07));
}
.hero-avatar-initials {
    position: relative; z-index: 1;
    font-family: var(--font-d); font-size: clamp(80px,12vw,140px);
    font-weight: 700;
    background: linear-gradient(135deg, var(--violet2), var(--cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; opacity: 0.35; user-select: none;
}

/* Scroll indicator */
.scroll-indicator {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: var(--text-3); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
    animation: float-down 2.5s ease-in-out infinite;
    margin-top: 40px; padding-bottom: 20px;
}
@keyframes float-down {
    0%,100%{ transform: translateY(0); }
    50%     { transform: translateY(8px); }
}
.scroll-indicator svg { opacity: 0.3; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg); padding: clamp(22px,3vw,32px);
    position: relative; overflow: hidden;
    transition: border-color var(--trans), background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    opacity: 0; transition: opacity var(--trans);
}
.service-card.violet::before { background: linear-gradient(90deg, var(--violet), transparent); }
.service-card.cyan::before   { background: linear-gradient(90deg, var(--cyan),   transparent); }
.service-card.mixed::before  { background: linear-gradient(90deg, var(--violet),  var(--cyan)); }
.service-card:hover {
    background: var(--glass-bg2); border-color: var(--glass-border2);
    transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-icon.violet { background: rgba(124,58,237,0.14); color: var(--violet2); }
.service-icon.cyan   { background: rgba(6,182,212,0.12);  color: var(--cyan2); }
.service-icon.mixed  { background: linear-gradient(135deg,rgba(124,58,237,0.14),rgba(6,182,212,0.1)); color: var(--cyan2); }
.service-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.service-card p  { font-size: 14px; color: var(--text-3); line-height: 1.65; }

/* ============================================================
   PROJECTS GRID
   ============================================================ */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 20px; }
.project-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--r-lg); overflow: hidden;
    transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
    text-decoration: none; display: block;
}
.project-card:hover { border-color: var(--glass-border2); transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,0.4); }
.project-thumb-wrap { position: relative; overflow: hidden; }
.project-thumb { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: transform 0.5s ease; background: var(--bg-tertiary); }
.project-card:hover .project-thumb { transform: scale(1.05); }
.project-thumb-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.8), transparent 55%);
    opacity: 0; transition: opacity var(--trans);
    display: flex; align-items: flex-end; padding: 18px;
}
.project-card:hover .project-thumb-overlay { opacity: 1; }
.project-overlay-text {
    font-family: var(--font-d); font-size: 13.5px; font-weight: 600; color: #fff;
    display: flex; align-items: center; gap: 6px;
    background: rgba(124,58,237,0.8); padding: 7px 14px;
    border-radius: 99px; backdrop-filter: blur(8px);
}
.project-info { padding: 20px; }
.project-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--cyan); margin-bottom: 6px; }
.project-title { font-family: var(--font-d); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.project-desc { font-size: 13.5px; color: var(--text-3); line-height: 1.6; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }

/* ============================================================
   PROCESS — Animated Timeline
   ============================================================ */
.process-section { position: relative; overflow: hidden; }

/* Animated background grid lines */
.process-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* Animated connector line */
.process-connector {
    position: absolute;
    top: 36px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
    overflow: hidden;
}
.process-connector::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--violet2), var(--cyan), transparent);
    animation: slide-line 3s linear infinite;
}
@keyframes slide-line {
    0%   { left: -60%; }
    100% { left: 120%; }
}

.process-step {
    text-align: center; position: relative; z-index: 1;
    padding: 0 8px;
}

/* Animated number circle */
.process-num {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-d); font-size: 20px; font-weight: 700;
    color: var(--text-3);
    position: relative; transition: all 0.4s ease;
}

/* Outer ring */
.process-num::before {
    content: '';
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
                linear-gradient(135deg, var(--violet), var(--cyan)) border-box;
    opacity: 0; transition: opacity 0.4s ease;
}

/* Pulsing glow */
.process-num::after {
    content: '';
    position: absolute; inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 70%);
    opacity: 0; transition: opacity 0.4s ease;
    animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%,100%{ opacity: 0; transform: scale(1); }
    50%    { opacity: 1; transform: scale(1.1); }
}

.process-step:hover .process-num {
    border-color: transparent;
    color: var(--violet2);
    background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
                linear-gradient(135deg, var(--violet), var(--cyan)) border-box;
    border: 1px solid transparent;
}
.process-step:hover .process-num::before { opacity: 1; }
.process-step:hover .process-num::after  { opacity: 1; }

/* Active step animation — each step glows in sequence */
.process-step:nth-child(1) .process-num::after { animation-delay: 0s; }
.process-step:nth-child(2) .process-num::after { animation-delay: 0.75s; }
.process-step:nth-child(3) .process-num::after { animation-delay: 1.5s; }
.process-step:nth-child(4) .process-num::after { animation-delay: 2.25s; }

/* Step number floating animation */
.process-step:nth-child(1) { animation: step-float 6s ease-in-out infinite 0s; }
.process-step:nth-child(2) { animation: step-float 6s ease-in-out infinite 1.5s; }
.process-step:nth-child(3) { animation: step-float 6s ease-in-out infinite 3s; }
.process-step:nth-child(4) { animation: step-float 6s ease-in-out infinite 4.5s; }
@keyframes step-float {
    0%,100%{ transform: translateY(0); }
    50%    { transform: translateY(-6px); }
}

.process-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.process-step p  { font-size: 13.5px; color: var(--text-3); line-height: 1.65; }

/* Process card wrapper */
.process-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    padding: 24px 16px 28px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.process-card::after {
    content: attr(data-num);
    position: absolute; bottom: -16px; right: 8px;
    font-family: var(--font-d); font-size: 80px; font-weight: 800;
    color: var(--text); opacity: 0.03; line-height: 1;
    pointer-events: none; user-select: none;
}
.process-step:hover .process-card {
    background: var(--glass-bg2);
    border-color: var(--glass-border2);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

/* ============================================================
   TESTIMONIALS CAROUSEL
   ============================================================ */
.testimonials-wrap { overflow: hidden; }
.testimonials-track { display: flex; gap: 20px; transition: transform 0.5s cubic-bezier(0.25,1,0.5,1); }
.testimonial-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--r-lg); padding: clamp(24px,3vw,36px);
    min-width: clamp(280px,75vw,480px); flex-shrink: 0;
    position: relative;
}
.testimonial-card::before {
    content: '"'; position: absolute; top: 12px; right: 20px;
    font-family: Georgia, serif; font-size: 80px; line-height: 1;
    color: var(--violet); opacity: 0.08; pointer-events: none;
}
.testimonial-stars { color: var(--yellow); font-size: 14px; margin-bottom: 14px; letter-spacing: 3px; }
.testimonial-text { font-size: clamp(14.5px,2vw,16.5px); color: var(--text-2); line-height: 1.8; margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    object-fit: cover; border: 2px solid var(--glass-border2);
    background: var(--bg-tertiary);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-d); font-size: 17px; font-weight: 700;
    color: var(--violet2); flex-shrink: 0;
}
.testimonial-name { font-family: var(--font-d); font-size: 15px; font-weight: 600; }
.testimonial-role { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.carousel-controls { display: flex; align-items: center; gap: 12px; }
.carousel-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    color: var(--text-2); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all var(--trans);
}
.carousel-btn:hover { background: var(--glass-bg2); color: var(--text); }
.carousel-btn svg { width: 16px; height: 16px; }
.carousel-dots { display: flex; gap: 6px; }
.carousel-dot { width: 6px; height: 6px; border-radius: 99px; background: var(--glass-border2); cursor: pointer; transition: all var(--trans); }
.carousel-dot.active { width: 20px; background: var(--violet2); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: clamp(60px,10vw,100px) 0; }
.cta-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--r-xl); padding: clamp(40px,6vw,80px);
    text-align: center; position: relative; overflow: hidden;
}
.cta-card::before {
    content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
    width: 700px; height: 500px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.1), transparent 65%);
    pointer-events: none;
}
.cta-card h2 { font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 16px; position: relative; }
.cta-card p  { font-size: 17px; color: var(--text-2); margin: 0 auto 36px; max-width: 460px; position: relative; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--glass-border); padding: 52px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-logo { font-family: var(--font-d); font-size: 20px; font-weight: 700; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px; }
.footer-desc { font-size: 14px; color: var(--text-3); line-height: 1.7; max-width: 280px; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3); transition: all var(--trans);
}
.footer-social:hover { background: var(--glass-bg2); color: var(--text); transform: translateY(-2px); }
.footer-social svg { width: 14px; height: 14px; }
.footer-col-title { font-family: var(--font-d); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text-3); transition: color var(--trans); }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
    padding-top: 20px; border-top: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: 13px; color: var(--text-3); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
    position: fixed; bottom: 24px; right: 20px; z-index: 200;
    display: flex; align-items: center; gap: 10px;
    background: #25D366; color: #fff;
    padding: 12px 20px; border-radius: 99px;
    font-family: var(--font-d); font-size: 14px; font-weight: 600;
    box-shadow: 0 4px 24px rgba(37,211,102,0.45);
    transition: all var(--trans);
}
.wa-float:hover { background: #1EBE5C; transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
.wa-float svg { width: 18px; height: 18px; flex-shrink: 0; }
.wa-float.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* ============================================================
   PORTFOLIO FILTER
   ============================================================ */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
    padding: 8px 20px; border-radius: 99px; font-size: 13.5px; font-weight: 500;
    cursor: pointer; border: 1px solid var(--glass-border);
    background: transparent; color: var(--text-2); font-family: var(--font-b); transition: all var(--trans);
}
.filter-btn:hover,.filter-btn.active { background: var(--violet); border-color: var(--violet); color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1100px) {
    .hero-grid { grid-template-columns: 1fr 360px; }
}
@media(max-width:1024px) {
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .process-steps { grid-template-columns: repeat(2,1fr); gap: 16px; }
    .process-connector { display: none; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media(max-width:860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
    .hero-badge-1 { left: -6px; top: 16px; }
    .hero-badge-2 { right: -6px; bottom: 20px; }
    .hero-stats { gap: 18px; }
    .hero-subtitle { max-width: 100%; }
}
@media(max-width:768px) {
    :root { --nav-h: 60px; }
    .nav-links,.nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .wa-float span { display: none; }
    .wa-float { padding: 13px; border-radius: 50%; }
}
@media(max-width:640px) {
    .services-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-wrap: wrap; gap: 10px; }
    .hero-actions .btn { flex: 1; min-width: 140px; justify-content: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .hero-badge { display: none; }
}
@media(max-width:420px) {
    .process-steps { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
    .reveal { opacity:1; transform:none; }
}
