/* ===========================================
   WOODEN CLOUDS — WORK PAGE
   Premium Light Theme Design System
   =========================================== */

/* === TOKENS === */
:root {
    --primary: #3B5BF0;
    --primary-light: #5B78F5;
    --secondary: #7C3AED;
    --teal: #0D9488;
    --bg: #F8FAFF;
    --bg-2: #EEF2FF;
    --surface: #FFFFFF;
    --surface-2: #F1F5F9;
    --surface-3: #E2E8F0;
    --text: #0F172A;
    --text-muted: #475569;
    --text-faint: #94A3B8;
    --border: rgba(15,23,42,0.08);
    --border-bright: rgba(15,23,42,0.14);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --glow-blue: 0 0 60px rgba(59,91,240,0.15);
    --glow-purple: 0 0 60px rgba(124,58,237,0.12);
    --font-head: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.2, 0, 0, 1);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

/* === CURSOR === */
.cursor, .cursor-follower {
    display: none !important;
}

/* === SCROLL PROGRESS === */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: var(--gradient);
    z-index: 9998;
    width: 0%;
    transition: width 0.1s linear;
}

/* === UTILITIES === */
.container { max-width: 1320px; margin: 0 auto; padding: 0 5%; }
em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.section-label {
    display: inline-flex; align-items: center; gap: 16px;
    font-size: 22px; font-weight: 800; letter-spacing: 3px;
    text-transform: uppercase; color: var(--primary);
    margin-bottom: 1.2rem;
}
.section-label::before {
    content: ''; display: block;
    width: 40px; height: 3px;
    background: transparent; border-radius: 3px;
}
.section-title {
    font-family: var(--font-head); font-size: clamp(2.5rem,5vw,4rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.section-desc {
    font-size: 1.1rem; color: var(--text-muted);
    max-width: 560px; line-height: 1.8;
}
.section-header { margin-bottom: 4rem; }

/* Reveal animations */
.reveal-up {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.fade-in-up {
    opacity: 0; transform: translateY(30px);
    animation: fadeUp 0.9s var(--ease) forwards;
}
.fade-in-right {
    opacity: 0; transform: translateX(40px);
    animation: fadeRight 1s var(--ease) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeRight { to { opacity: 1; transform: translateX(0); } }
.delay-1 { animation-delay: 0.15s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; transition-delay: 0.2s; }
.delay-3 { animation-delay: 0.45s; transition-delay: 0.3s; }
.delay-4 { animation-delay: 0.6s; transition-delay: 0.4s; }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 0.85rem 1.8rem;
    border-radius: 100px; font-weight: 600; font-size: 0.95rem;
    position: relative; overflow: hidden; transition: 0.3s var(--ease);
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient); color: white;
    box-shadow: 0 4px 24px rgba(79,110,247,0.3);
}
.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(79,110,247,0.5);
}
.btn-ghost {
    background: var(--surface); border: 1px solid var(--border-bright);
    color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-bright); }
.btn-outline {
    border: 1.5px solid var(--border-bright); color: var(--text);
    background: transparent;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-nav {
    background: var(--gradient); color: white; padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
}
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1rem; }

/* === NAVBAR === */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 500; padding: 1.5rem 0;
    transition: background 0.4s var(--ease), padding 0.3s var(--ease);
}
.navbar.scrolled {
    background: rgba(248,250,255,0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.nav-container {
    max-width: 1320px; margin: 0 auto; padding: 0 5%;
    display: flex; align-items: center; gap: 2.5rem;
}
.logo {
    display: inline-flex; align-items: center;
    flex-shrink: 0;
}
.logo-img {
    height: 20px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(0);
    transition: filter 0.3s ease, height 0.3s ease;
}
.nav-links { display: flex; gap: 2.5rem; margin-right: auto; }
.nav-links a {
    font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
    transition: color 0.3s; position: relative; padding-bottom: 4px;
}
.nav-links a:hover, .nav-active { color: var(--text) !important; }
.nav-active::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--gradient); border-radius: 2px;
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

.mobile-nav {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--surface); border-left: 1px solid var(--border);
    z-index: 499; display: flex; flex-direction: column;
    padding: 4rem 2.5rem 2.5rem; gap: 1.5rem;
    transition: right 0.4s var(--ease);
}
.mobile-nav.open { right: 0; }
.mobile-nav a { font-size: 1.2rem; font-weight: 600; color: var(--text-muted); }
.mobile-nav a:hover { color: var(--text); }

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    position: sticky; top: 0; z-index: 0; overflow: hidden; padding-top: 100px;
}
.content-wrapper {
    position: relative; z-index: 10; background: var(--bg);
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.orb {
    position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.orb-blue { width: 50vw; height: 50vh; background: rgba(59,91,240,0.12); top: -10%; left: -10%; animation: orbFloat 12s ease-in-out infinite alternate; }
.orb-purple { width: 40vw; height: 40vh; background: rgba(124,58,237,0.09); bottom: -5%; right: -5%; animation: orbFloat 15s ease-in-out infinite alternate-reverse; }
.orb-teal { width: 25vw; height: 25vh; background: rgba(13,148,136,0.07); top: 40%; left: 50%; animation: orbFloat 10s ease-in-out infinite; }
.orb-blue-soft { width: 80vw; height: 80vw; background: rgba(59,91,240,0.05); top: 50%; left: 50%; transform: translate(-50%,-50%); }
@keyframes orbFloat { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(4%,6%) scale(1.08); } }
.hero-canvas { position: absolute; inset: 0; opacity: 0.25; }
.hero-grid-lines {
    position: absolute; inset: 0; z-index: 0;
    background-image: linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
}
.container { position: relative; z-index: 1; }
.hero > .container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center; min-height: 80vh;
}
.hero-content { max-width: 640px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 0.5rem 1.2rem;
    background: rgba(59,91,240,0.08); border: 1px solid rgba(59,91,240,0.2);
    border-radius: 100px;
    font-size: 0.85rem; font-weight: 500; color: var(--primary);
    margin-bottom: 2rem;
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--teal);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(20,184,166,0.4); } 50% { box-shadow: 0 0 0 6px rgba(20,184,166,0); } }
.hero-heading {
    font-family: var(--font-head); font-size: clamp(3rem,5.5vw,5.5rem);
    font-weight: 800; line-height: 1.07; letter-spacing: -0.03em;
    margin-bottom: 1.8rem;
}
.hero-desc {
    font-size: clamp(1rem,1.5vw,1.2rem); color: var(--text-muted);
    max-width: 520px; line-height: 1.8; margin-bottom: 2.8rem;
}
.hero-actions { display: flex; gap: 1rem; margin-bottom: 3.5rem; }
.hero-stats { display: flex; gap: 2.5rem; align-items: center; }
.hero-stat strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.hero-stat span { font-size: 0.85rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border-bright); }

/* Hero Device Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.device-mockup-stack { position: relative; width: 100%; max-width: 560px; }
.mockup-frame { position: relative; }
.mockup-laptop {
    width: 100%; background: #E2E8F0;
    border-radius: 12px 12px 0 0;
    padding: 8px 8px 0;
    border: 2px solid #CBD5E1;
    box-shadow: 0 20px 80px rgba(15,23,42,0.15), var(--glow-blue);
}
.mockup-screen { border-radius: 8px 8px 0 0; overflow: hidden; }
.mockup-screen img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mockup-base {
    height: 14px; background: linear-gradient(180deg,#CBD5E1,#E2E8F0);
    border-radius: 0 0 4px 4px; margin: 0 -8px;
}
.mockup-stand {
    width: 40%; height: 10px; background: #E2E8F0;
    margin: 0 auto; border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px rgba(15,23,42,0.1);
}
.mockup-phone {
    position: absolute; bottom: -30px; right: -30px; width: 28%;
    background: #F1F5F9; border-radius: 20px; padding: 8px;
    border: 2px solid #CBD5E1;
    box-shadow: 0 20px 40px rgba(15,23,42,0.15);
}
.mockup-phone .mockup-screen { border-radius: 14px; overflow: hidden; }
.mockup-phone .mockup-screen img { aspect-ratio: 9/16; object-fit: cover; }
.floating-badge {
    position: absolute;
    background: var(--surface); border: 1px solid var(--border-bright);
    padding: 0.6rem 1.1rem; border-radius: 100px;
    font-size: 0.8rem; font-weight: 600;
    box-shadow: 0 8px 24px rgba(15,23,42,0.12);
    white-space: nowrap;
}
.badge-tech { top: -16px; right: 20%; color: var(--primary-light); animation: badgeFloat 4s ease-in-out infinite; }
.badge-stat { bottom: 20px; left: -20px; color: var(--teal); animation: badgeFloat 5s ease-in-out infinite 1s; }
@keyframes badgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; color: var(--text-faint); letter-spacing: 1px;
    animation: fadeUp 1s var(--ease) 1s both;
}
.scroll-mouse {
    width: 24px; height: 38px;
    border: 1.5px solid var(--border-bright); border-radius: 12px;
    display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
    width: 4px; height: 8px; background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel { 0%,100% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } }

/* === MARQUEE === */
.marquee-section {
    background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 1.2rem 0; overflow: hidden;
}
.marquee-track {
    display: flex; align-items: center; gap: 2rem; width: max-content;
    animation: marquee 30s linear infinite;
    font-size: 0.875rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.5px;
}
.marquee-dot { color: var(--primary); font-size: 0.5rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* === PROJECTS === */
.projects-section { padding: 4rem 0; }

.filter-bar {
    display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 4rem;
}
.filter-btn {
    padding: 0.55rem 1.3rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 100px; color: var(--text-muted);
    font-size: 0.875rem; font-weight: 500; transition: 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--border-bright); color: var(--text); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: white; }

.projects-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.project-card { border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: 0.4s var(--ease); }
.project-card.large { grid-column: span 2; }
.project-card.wide { grid-column: span 2; }
.project-card:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: 0 24px 64px rgba(15,23,42,0.12); }
.project-card.filtered-out { opacity: 0; transform: scale(0.9); pointer-events: none; transition: 0.3s; }

.project-card-inner {
    display: grid; gap: 0;
    height: 100%;
}
.project-card.large .project-card-inner,
.project-card.wide .project-card-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
}

.project-image {
    position: relative; overflow: hidden;
    background: var(--surface-2);
}
.project-card.large .project-image,
.project-card.wide .project-image { aspect-ratio: 4/3; }
.project-card:not(.large):not(.wide) .project-image { aspect-ratio: 4/3; }

.project-device {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
}
.device-browser {
    width: 100%; background: var(--surface-2); border-radius: var(--radius);
    border: 1px solid var(--border-bright);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15,23,42,0.12);
    transition: transform 0.5s var(--ease);
}
.project-card:hover .device-browser { transform: scale(1.03); }
.browser-bar {
    height: 30px; background: var(--surface); display: flex; align-items: center; gap: 6px; padding: 0 12px;
    border-bottom: 1px solid var(--border);
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--text-faint); }
.browser-bar span:nth-child(1) { background: #FF5F57; }
.browser-bar span:nth-child(2) { background: #FFBD2E; }
.browser-bar span:nth-child(3) { background: #28CA41; }
.device-browser img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }

.project-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, transparent 60%, var(--surface));
    pointer-events: none;
}
.project-card:not(.large):not(.wide) .project-image-overlay {
    background: linear-gradient(to bottom, transparent 60%, var(--surface));
}

.project-content { padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.project-card.large .project-content,
.project-card.wide .project-content { padding: 3rem; }
.project-meta { display: flex; gap: 1rem; align-items: center; }
.project-industry {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    color: var(--primary); background: rgba(59,91,240,0.08);
    padding: 0.3rem 0.8rem; border-radius: 100px;
}
.project-year { font-size: 0.85rem; color: var(--text-faint); }
.project-title {
    font-family: var(--font-head); font-size: clamp(1.6rem,2.5vw,2.2rem);
    font-weight: 800; line-height: 1.2;
}
.project-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.project-tags span {
    font-size: 0.78rem; font-weight: 500; padding: 0.3rem 0.8rem;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 100px; color: var(--text-muted);
}
.project-cta {
    display: flex; align-items: center; gap: 0.6rem; margin-top: auto;
    font-weight: 600; font-size: 0.9rem; color: var(--primary);
    transition: gap 0.3s;
}
.project-card:hover .project-cta { gap: 1rem; }

/* === PROCESS === */
.process-section {
    padding: 4rem 0; background: var(--bg-2);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.process-steps {
    display: flex; gap: 0; align-items: flex-start;
    overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none;
}
.process-steps::-webkit-scrollbar { display: none; }
.process-step {
    min-width: 200px; flex: 1;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem 1.5rem;
    transition: 0.3s var(--ease);
}
.process-step:hover { background: var(--surface-2); border-color: var(--border-bright); transform: translateY(-6px); }
.step-number {
    font-family: var(--font-head); font-size: 2.5rem; font-weight: 800;
    -webkit-text-stroke: 1px rgba(59,91,240,0.3);
    color: transparent; margin-bottom: 1rem;
}
.process-step h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 0.6rem; }
.process-step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.process-connector {
    flex-shrink: 0; width: 50px; display: flex; align-items: center; padding-top: 2.5rem;
    color: var(--primary); opacity: 0.5;
}
.process-connector svg { width: 50px; height: auto; }

/* === STATS === */
.stats-section {
    padding: 4rem 0; position: relative; overflow: hidden;
}
.stats-bg { position: absolute; inset: 0; z-index: 0; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 2px;
    border-radius: var(--radius-xl); overflow: hidden;
    border: 1px solid var(--border);
    position: relative; z-index: 1;
}
.stat-card {
    background: var(--surface); padding: 3.5rem 2.5rem;
    text-align: center; transition: 0.3s var(--ease);
    border-right: 1px solid var(--border);
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: var(--surface-2); }
.stat-number {
    font-family: var(--font-head); font-size: 4rem; font-weight: 800;
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-label { font-size: 1.1rem; font-weight: 600; margin: 0.8rem 0 0.5rem; }
.stat-desc { font-size: 0.85rem; color: var(--text-muted); }

/* === TESTIMONIALS === */
.testimonials-section { padding: 4rem 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.testimonial-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2.5rem;
    transition: 0.4s var(--ease); position: relative;
}
.testimonial-card:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: var(--glow-blue); }
.quote-icon {
    font-family: serif; font-size: 5rem; line-height: 0.7; color: var(--primary);
    opacity: 0.3; margin-bottom: 1.5rem; display: block;
}
.testimonial-text { font-size: 1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author h4 { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-faint); }
.stars { margin-left: auto; color: #F59E0B; font-size: 0.85rem; }

/* === TECHNOLOGY === */
.tech-section { padding: 4rem 0; }
.tech-categories { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.tech-category {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem;
}
.tech-category h4 {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2px; color: var(--text-faint);
    margin-bottom: 1.2rem; padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}
.tech-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-pill {
    font-size: 0.82rem; font-weight: 500;
    padding: 0.4rem 0.9rem;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 100px; color: var(--text-muted);
    transition: 0.3s var(--ease); cursor: default;
}
.tech-pill:hover {
    background: rgba(59,91,240,0.08); border-color: var(--primary);
    color: var(--primary);
}

/* === CTA === */
.cta-section {
    padding: 10rem 0; position: relative; overflow: hidden;
    text-align: center;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg .orb-blue { left: -20%; top: 10%; opacity: 0.12; }
.cta-bg .orb-purple { right: -20%; bottom: 10%; opacity: 0.09; }
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-content .section-label {
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}
.cta-content h2 {
    font-family: var(--font-body);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300; line-height: 1.1; letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text);
}
.cta-content p { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 3rem; line-height: 1.8; }
.cta-actions { display: flex; justify-content: center; gap: 1.2rem; margin-bottom: 3rem; }
.cta-trust { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text-muted); }
.trust-item svg { color: var(--primary); }

/* === FOOTER === */
.footer {
    background: #F7F6F2;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
    padding: 5rem 0 3.5rem;
    color: #2c2a26;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.15fr 1fr 1.35fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}
.footer-brand p {
    margin-top: 1.35rem;
    font-size: 0.94rem;
    color: #55534e;
    line-height: 1.65;
    max-width: 270px;
    font-weight: 400;
}
.footer-socials {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.75rem;
}
.footer-socials a {
    font-size: 0.88rem;
    color: #55534e;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}
.footer-socials a:hover {
    color: #000000;
}
.footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}
.footer-links h5, .footer-contact-block h5 {
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #8c8880;
    margin-bottom: 1.25rem;
}
.footer-links a, .contact-link {
    font-size: 0.92rem;
    color: #2c2a26;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    line-height: 1.5;
}
.footer-links a:hover, .contact-link:hover {
    color: #000000;
}
.contact-link {
    display: block;
    margin-bottom: 0.35rem;
}
.address-text {
    font-size: 0.88rem;
    color: #55534e;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
    font-size: 0.82rem;
    color: #8c8880;
}
.footer-bottom a {
    color: #8c8880;
    transition: color 0.2s ease;
}
.footer-bottom a:hover {
    color: #000000;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    .hero > .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-desc { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card.large, .project-card.wide { grid-column: span 1; }
    .project-card.large .project-card-inner, .project-card.wide .project-card-inner { grid-template-columns: 1fr; }
    .project-image-overlay { background: linear-gradient(to bottom, transparent 60%, var(--surface)) !important; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-card:nth-child(2) { border-right: none; }
    .tech-categories { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid .testimonial-card:last-child { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
    .process-steps { flex-direction: column; }
    .process-connector { transform: rotate(90deg); width: 40px; height: 40px; padding: 0; justify-content: center; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child { grid-column: span 1; }
    .tech-categories { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-trust { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .nav-links { display: none; }
    .btn-nav { display: none; }
    .hamburger { display: flex; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .filter-bar { gap: 0.5rem; }
}

/* === PREMIUM ANIMATION SYSTEM === */

/* -- GPU Acceleration hints -- */
.btn, .project-card, .koko-card, .koko-glance-card, .koko-insight-item,
.nav-links a, .footer-socials a, .footer-links a {
    will-change: transform;
}

/* -- Premium Button Hover -- */
.btn {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                color 0.3s ease;
}
.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(59, 91, 240, 0.2);
}
.btn:active {
    transform: translateY(0) scale(0.99);
    transition-duration: 0.1s;
}

/* -- Project Card Hover — editorial scale + shadow lift -- */
.project-card {
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

/* -- Nav Links hover — understated slide-underline -- */
.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover::after { width: 100%; }

/* -- Image Clip Reveal default state (must not hide before JS loads) -- */
.gs-ed-img {
    overflow: hidden;
}
.gs-ed-img > img {
    transform-origin: center bottom;
}

/* -- Reduced Motion: kill all animations -- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .split-word { transform: none !important; }
    .gs-ed-img { clip-path: none !important; }
}
