/* ============================================
   STACKBUILD — Complete Design System
   ============================================ */

:root {
    --bg: #050508;
    --bg-subtle: #0a0a10;
    --bg-card: rgba(255, 255, 255, 0.025);
    --bg-card-hover: rgba(255, 255, 255, 0.045);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --text: #f0f0f5;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-glow: rgba(139, 92, 246, 0.35);
    --purple-subtle: rgba(139, 92, 246, 0.12);

    --blue: #3b82f6;
    --emerald: #10b981;
    --rose: #f43f5e;
    --amber: #f59e0b;
    --cyan: #06b6d4;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --fast: 0.2s;
    --smooth: 0.45s;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--fast) var(--ease)
}

ul,
ol {
    list-style: none
}

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

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

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: var(--purple-subtle);
    border-radius: 3px
}

::-webkit-scrollbar-thumb:hover {
    background: var(--purple)
}


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 72px;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: all var(--fast) var(--ease);
}

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.95);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5)
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-bracket {
    color: var(--purple);
    font-family: var(--mono);
    font-weight: 700
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple);
    border-radius: 1px;
    transition: width var(--smooth) var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text)
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%
}

.btn-nav {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: var(--purple);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--fast) var(--ease);
    border: none;
    cursor: pointer;
}

.btn-nav:hover {
    background: var(--purple-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--purple-glow)
}

/* Hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all var(--fast) var(--ease);
}

.nav-hamburger span:nth-child(1) {
    top: 0
}

.nav-hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%)
}

.nav-hamburger span:nth-child(3) {
    bottom: 0
}

.nav-hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg)
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0
}

.nav-hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg)
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(24px);
    padding: 24px 48px 32px;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    transition: all var(--smooth) var(--ease);
}

.nav-mobile.active {
    display: flex;
    transform: translateY(0);
    opacity: 1
}

.btn-nav-mobile {
    padding: 12px 24px;
    border-radius: var(--radius-full);
    background: var(--purple);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    border: none;
}


/* ============================================
   BUTTONS (shared)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--smooth) var(--ease);
    position: relative;
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem
}

.btn-primary {
    background: #fff;
    color: #000
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12)
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03)
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--purple-glow), transparent, var(--purple-glow));
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity var(--smooth);
}

.btn-glow:hover::after {
    opacity: 1
}

.btn .material-icons-outlined {
    font-size: 1.1rem;
    transition: transform var(--fast) var(--ease)
}

.btn:hover .material-icons-outlined {
    transform: translateX(3px)
}


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

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    animation: gridBreath 10s ease-in-out infinite;
}

@keyframes gridBreath {

    0%,
    100% {
        opacity: .5
    }

    50% {
        opacity: 1
    }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 70%);
    top: 5%;
    right: -8%;
    animation: orbFloat1 14s ease-in-out infinite
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    bottom: 10%;
    left: -5%;
    animation: orbFloat2 18s ease-in-out infinite
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
    top: 45%;
    left: 35%;
    animation: orbFloat3 12s ease-in-out infinite
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(-30px, 25px) scale(1.08)
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(25px, -20px) scale(1.06)
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(.9);
        opacity: .4
    }

    50% {
        transform: translate(-15px, 15px) scale(1.1);
        opacity: 1
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--purple-light);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp .7s .1s var(--ease-out) forwards;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    animation: dotPulse 2s infinite
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.4)
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px
}

.hero-line {
    font-size: clamp(3rem, 7.5vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .8s var(--ease-out) forwards;
}

.hero-line:nth-child(1) {
    animation-delay: .15s
}

.hero-line:nth-child(2) {
    animation-delay: .3s
}

.hero-line:nth-child(3) {
    animation-delay: .45s
}

.hero-gradient {
    background: linear-gradient(135deg, #a78bfa 0%, #c084fc 40%, #818cf8 70%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(.95rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeUp .8s .6s var(--ease-out) forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp .8s .75s var(--ease-out) forwards;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 64px;
    opacity: 0;
    animation: fadeUp .8s 1s var(--ease-out) forwards;
}

.stat {
    text-align: center;
    padding: 0 36px
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--mono);
    color: var(--text);
    letter-spacing: -0.02em
}

.stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--purple-light)
}

.stat-label {
    display: block;
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500
}

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}


/* ============================================
   SECTION HEADERS (shared)
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: var(--purple-subtle);
    color: var(--purple-light);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

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


/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 120px 48px 140px;
    position: relative
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all var(--smooth) var(--ease);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.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(--smooth);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    background: var(--bg-card-hover);
}

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

.service-icon-wrap {
    margin-bottom: 24px
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform var(--smooth) var(--ease-spring);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-3deg)
}

.si-blue {
    background: rgba(59, 130, 246, 0.12);
    color: var(--blue)
}

.si-purple {
    background: rgba(139, 92, 246, 0.12);
    color: var(--purple)
}

.si-emerald {
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald)
}

.si-rose {
    background: rgba(244, 63, 94, 0.12);
    color: var(--rose)
}

.si-amber {
    background: rgba(245, 158, 11, 0.12);
    color: var(--amber)
}

.si-cyan {
    background: rgba(6, 182, 212, 0.12);
    color: var(--cyan)
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em
}

.service-card p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 18px
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.service-tags li {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: .72rem;
    font-weight: 500;
    color: var(--text-muted);
}


/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: 120px 48px 140px;
    position: relative
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    gap: 24px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    transition: all var(--smooth) var(--ease);
    opacity: 0;
    transform: translateY(30px);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0)
}

.process-step:last-child {
    border-bottom: none
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--mono);
    background: linear-gradient(135deg, var(--purple-light), rgba(139, 92, 246, 0.2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px
}

.step-content p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.65
}

.step-visual {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--purple-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--smooth) var(--ease-spring);
}

.step-visual .material-icons-outlined {
    font-size: 1.3rem;
    color: var(--purple-light)
}

.process-step:hover .step-visual {
    transform: scale(1.1);
    background: rgba(139, 92, 246, 0.2)
}


/* ============================================
   TECH STACK MARQUEE
   ============================================ */
.tech-stack {
    padding: 80px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border)
}

.tech-stack .section-header {
    margin-bottom: 40px
}

.tech-marquee {
    overflow: hidden;
    position: relative
}

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

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

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

.tech-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.tech-track:hover {
    animation-play-state: paused
}

.tech-chip {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all var(--fast) var(--ease);
}

.tech-chip:hover {
    border-color: var(--purple);
    color: var(--purple-light);
    background: var(--purple-subtle)
}

@keyframes marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}


/* ============================================
   WHY US
   ============================================ */
.why-us {
    padding: 120px 48px 140px
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
    transition: all var(--smooth) var(--ease);
}

.why-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3)
}

.why-icon {
    font-size: 2rem;
    color: var(--purple-light);
    margin-bottom: 16px;
    display: block
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px
}

.why-card p {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6
}


/* ============================================
   CTA / CONTACT
   ============================================ */
.contact-cta {
    padding: 120px 48px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto
}

.cta-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 14px
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 48px 28px
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto 48px;
}

.footer-logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px
}

.footer-tagline {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px
}

.footer-col h5 {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.footer-col a {
    font-size: .85rem;
    color: var(--text-muted);
    transition: color var(--fast)
}

.footer-col a:hover {
    color: var(--purple-light)
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    max-width: 1100px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: .8rem;
    color: var(--text-muted)
}

.footer-made {
    display: flex;
    align-items: center;
    gap: 4px
}

.heart {
    color: var(--rose);
    font-size: .9rem;
    animation: heartbeat 2s infinite
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.15)
    }
}


/* ============================================
   CLIENTS PAGE — Hero
   ============================================ */
.clients-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 80px;
    overflow: hidden;
    text-align: center;
}

.clients-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px
}

.clients-hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
    line-height: 1.15;
    opacity: 0;
    animation: fadeUp .8s .15s var(--ease-out) forwards;
}

.clients-hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp .8s .35s var(--ease-out) forwards;
}

/* Logo Marquee */
.clients-logos-section {
    padding: 40px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border)
}

.logos-marquee {
    overflow: hidden;
    position: relative
}

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

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

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

.logos-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 25s linear infinite;
    align-items: center
}

.logo-item {
    padding: 12px 32px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--fast) var(--ease);
}

.logo-item:hover {
    border-color: var(--border-hover)
}

.logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: -0.01em
}


/* ============================================
   PROJECTS
   ============================================ */
.projects-section {
    padding: 100px 48px 120px
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.project-card-large {
    grid-column: 1/-1
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--smooth) var(--ease);
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35)
}

.project-card-large {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center
}

.project-preview {
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center
}

.project-info {
    padding: 32px
}

.project-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--purple-subtle);
    color: var(--purple-light);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 12px;
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em
}

.project-info p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.project-tech span {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: .72rem;
    font-weight: 500;
    color: var(--text-muted);
}


/* === Project Mockups (CSS-only) === */
.project-mockup {
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%
}

/* Browser mockup */
.mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%
}

.dot-red {
    background: #f43f5e
}

.dot-yellow {
    background: #eab308
}

.dot-green {
    background: #22c55e
}

.mockup-body {
    padding: 16px;
    min-height: 180px;
    background: rgba(255, 255, 255, 0.015);
    display: flex;
    gap: 12px;
}

.mockup-saas .mock-sidebar {
    width: 48px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: var(--radius-sm);
    flex-shrink: 0
}

.mockup-saas .mock-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.mock-chart {
    height: 80px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.08));
}

.mock-cards {
    display: flex;
    gap: 8px
}

.mock-card-sm {
    flex: 1;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04)
}

.mock-kanban {
    display: flex;
    gap: 8px;
    flex: 1
}

.mock-column {
    flex: 1;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04)
}

/* ERP mockup */
.mockup-erp .mockup-body {
    flex-direction: column;
    padding: 12px
}

.mock-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1
}

.mock-row {
    height: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.025)
}

.mock-row-header {
    background: rgba(139, 92, 246, 0.08)
}

/* Web mockup */
.mockup-web .mockup-body {
    flex-direction: column;
    gap: 10px
}

.mock-hero-block {
    height: 70px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(6, 182, 212, 0.06))
}

.mock-grid-3 {
    display: flex;
    gap: 8px
}

.mock-card-tall {
    flex: 1;
    height: 80px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.03)
}

/* Phone mockup */
.mockup-mobile {
    display: flex;
    justify-content: center;
    padding: 24px
}

.phone-frame {
    width: 140px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

.phone-notch {
    width: 60px;
    height: 6px;
    border-radius: 0 0 8px 8px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 auto;
}

.phone-screen {
    padding: 10px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.phone-header-bar {
    height: 16px;
    border-radius: 4px;
    background: rgba(139, 92, 246, 0.1)
}

.phone-card-1 {
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04)
}

.phone-card-2 {
    height: 36px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.08)
}

.phone-nav-bar {
    display: flex;
    gap: 4px;
    margin-top: auto;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.phone-nav-bar span {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.08)
}

.phone-chat-1 {
    height: 20px;
    width: 70%;
    border-radius: 10px 10px 10px 4px;
    background: rgba(139, 92, 246, 0.1);
    align-self: flex-start
}

.phone-chat-2 {
    height: 20px;
    width: 60%;
    border-radius: 10px 10px 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    align-self: flex-end
}

.phone-input-bar {
    height: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 48px 120px
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all var(--smooth) var(--ease);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px)
}

.testimonial-stars {
    color: var(--amber);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px
}

.testimonial-text {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px
}

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

.av-1 {
    background: linear-gradient(135deg, var(--purple), var(--blue))
}

.av-2 {
    background: linear-gradient(135deg, var(--rose), var(--amber))
}

.av-3 {
    background: linear-gradient(135deg, var(--emerald), var(--cyan))
}

.testimonial-author strong {
    font-size: .88rem;
    font-weight: 600;
    display: block
}

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


/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-in {
    opacity: 0;
    transform: translateY(28px);
    transition: all .7s var(--ease-out)
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0)
}

.stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s var(--ease-out)
}

.stagger.visible>*:nth-child(1) {
    transition-delay: 0s;
    opacity: 1;
    transform: translateY(0)
}

.stagger.visible>*:nth-child(2) {
    transition-delay: .08s;
    opacity: 1;
    transform: translateY(0)
}

.stagger.visible>*:nth-child(3) {
    transition-delay: .16s;
    opacity: 1;
    transform: translateY(0)
}

.stagger.visible>*:nth-child(4) {
    transition-delay: .24s;
    opacity: 1;
    transform: translateY(0)
}

.stagger.visible>*:nth-child(5) {
    transition-delay: .32s;
    opacity: 1;
    transform: translateY(0)
}

.stagger.visible>*:nth-child(6) {
    transition-delay: .40s;
    opacity: 1;
    transform: translateY(0)
}


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

    .why-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .testimonials-grid {
        grid-template-columns: 1fr
    }

    .projects-grid {
        grid-template-columns: 1fr
    }

    .project-card-large {
        grid-template-columns: 1fr
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:768px) {
    .navbar {
        padding: 0 20px
    }

    .nav-links {
        display: none
    }

    .nav-hamburger {
        display: block
    }

    .nav-mobile {
        padding: 24px 20px 32px
    }

    .hero {
        padding: 100px 20px 60px
    }

    .hero-line {
        font-size: clamp(2.2rem, 10vw, 3.5rem)
    }

    .hero-actions {
        flex-direction: column;
        width: 100%
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px
    }

    .stat-divider {
        width: 40px;
        height: 1px
    }

    .stat {
        padding: 0
    }

    .services,
    .process,
    .why-us,
    .testimonials,
    .projects-section {
        padding: 80px 20px 100px
    }

    .contact-cta {
        padding: 80px 20px
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .why-grid {
        grid-template-columns: 1fr
    }

    .process-step {
        grid-template-columns: 50px 1fr 44px;
        gap: 16px;
        padding: 28px 0
    }

    .step-number {
        font-size: 1.8rem
    }

    .step-visual {
        width: 44px;
        height: 44px
    }

    .footer {
        padding: 48px 20px 20px
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center
    }

    .clients-hero {
        padding: 120px 20px 60px;
        min-height: 40vh
    }

    .cta-actions {
        flex-direction: column;
        width: 100%
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center
    }
}

@media(max-width:480px) {
    .hero-line {
        font-size: 2.2rem
    }

    .section-title {
        font-size: 1.6rem
    }

    .service-card,
    .why-card,
    .testimonial-card,
    .project-card {
        padding: 24px
    }

    .project-preview {
        padding: 20px
    }
}