/* ================================================================
   WAJHA – Core Stylesheet (Cinematic Edition)
   ================================================================ */

/* === Reset === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

html {
    font-size: 16px;
    scroll-behavior: initial;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.65;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* === Layout === */
.container {
    width: 100%;
    max-width: 1200px;
    padding-inline: max(var(--space-3), 4vw);
    margin-inline: auto;
}

/* === Typography === */
.display-xl {
    font-size: var(--text-display-xl);
    font-weight: 900;
    line-height: 1.05;
}

.display-l {
    font-size: var(--text-display-l);
    font-weight: 700;
    line-height: 1.15;
}

.display-m {
    font-size: var(--text-display-m);
    font-weight: 600;
    line-height: 1.2;
}

.body-large {
    font-size: var(--text-body-large);
    line-height: 1.75;
    color: var(--color-text-light);
}

.body-regular {
    font-size: var(--text-body);
    line-height: 1.75;
    color: var(--color-text-light);
}

.micro {
    font-size: var(--text-micro);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.text-primary {
    color: var(--color-primary);
}

/* === GSAP Reveal Helpers === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(60px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(-60px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
}

.reveal-clip {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
}

/* === Scroll Progress Bar === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 1000;
    pointer-events: none;
}

/* === Interactive Gradient BG === */
.gradient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(91, 101, 174, 0.06), transparent 40%);
    transition: background 0.3s ease;
}

/* === Custom Cursor === */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary);
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
        border-radius 0.35s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg);
    font-size: var(--text-micro);
    font-weight: 600;
    opacity: 0;
}

.cursor.active {
    width: 70px;
    height: 70px;
    mix-blend-mode: normal;
}

.cursor .cursor-text {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cursor.active .cursor-text {
    opacity: 1;
}

@media (hover: none) {
    .cursor {
        display: none !important;
    }
}

/* === Grain === */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    padding: var(--space-2) 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(253, 247, 241, 0.9);
    border-bottom: 1px solid rgba(91, 101, 174, 0.06);
    transition: transform 0.4s var(--ease-out);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-link {
    font-size: var(--text-body);
    font-weight: 500;
    padding: 6px 12px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.4s var(--ease-out);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: var(--text-body);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.btn-primary {
    color: var(--color-bg);
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(91, 101, 174, 0.25);
}

.btn-outline {
    color: var(--color-primary);
    background: transparent;
    border: 2px solid rgba(91, 101, 174, 0.3);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-light {
    color: var(--color-primary);
    background: var(--color-bg);
    border: 2px solid var(--color-bg);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(253, 247, 241, 0.2);
}

.site-header .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(-4px);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.magnetic {
    transition: transform 0.3s var(--ease-out);
}

/* === Section === */
.section-header {
    margin-bottom: var(--space-8);
}

.section-header-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    border: 1px solid rgba(91, 101, 174, 0.25);
    padding: 5px 16px;
    border-radius: 40px;
    margin-bottom: var(--space-3);
    font-size: var(--text-micro);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.section-desc {
    max-width: 560px;
    margin-top: var(--space-2);
    color: var(--color-text-light);
}

.section-header-center .section-desc {
    margin-inline: auto;
}

/* ================================================================
   HERO
   ================================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--space-10) + 60px) 0 var(--space-10);
    overflow: hidden;
}

#heroParticles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.deco-circle {
    position: absolute;
    animation: spin 35s linear infinite;
}

.deco-circle-1 {
    width: 320px;
    height: 320px;
    top: -80px;
    left: -60px;
}

.deco-circle-2 {
    width: 160px;
    height: 160px;
    bottom: 60px;
    left: 35%;
}

.deco-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--color-primary);
}

.deco-dot-1 {
    width: 6px;
    height: 6px;
    top: 20%;
    right: 12%;
    opacity: 0.3;
}

.deco-dot-2 {
    width: 10px;
    height: 10px;
    top: 55%;
    right: 25%;
    opacity: 0.15;
}

.deco-dot-3 {
    width: 5px;
    height: 5px;
    bottom: 25%;
    left: 8%;
    opacity: 0.25;
}

.deco-grid {
    position: absolute;
    top: 8%;
    right: 3%;
    width: 160px;
    height: 160px;
    background-image: linear-gradient(rgba(91, 101, 174, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 101, 174, 0.05) 1px, transparent 1px);
    background-size: 18px 18px;
    border-radius: 10px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-8);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.hero-tag {
    align-self: flex-start;
}

.hero-desc {
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: var(--space-1);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img-wrapper {
    position: relative;
    max-width: 440px;
    perspective: 1000px;
}

.hero-img {
    border-radius: 16px;
}

.hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-surface);
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    font-weight: 600;
    font-size: 0.8rem;
}

.badge-icon {
    font-size: 1rem;
}

.badge-1 {
    top: 12%;
    right: -20px;
}

.badge-2 {
    bottom: 18%;
    left: -15px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(91, 101, 174, 0.4);
    border-radius: 14px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-text {
    color: var(--color-text-light);
    opacity: 0.5;
}

/* ================================================================
   MARQUEE
   ================================================================ */
.marquee-section {
    padding: var(--space-4) 0;
    border-top: 1px solid rgba(91, 101, 174, 0.06);
    border-bottom: 1px solid rgba(91, 101, 174, 0.06);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    animation: marqueeScroll 25s linear infinite;
    white-space: nowrap;
    flex-shrink: 0;
    padding-inline-end: var(--space-5);
}

.marquee-item {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    opacity: 0.12;
}

.marquee-dot {
    color: var(--color-primary);
    font-size: 0.7rem;
    opacity: 0.3;
}

/* ================================================================
   CLIENTS
   ================================================================ */
.clients-section {
    padding: var(--space-12) 0;
    background: var(--color-surface-alt);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    max-width: 1000px;
    margin: 0 auto;
}

.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 16px;
    padding: var(--space-5) var(--space-4);
    min-height: 120px;
    border: 1px solid rgba(91, 101, 174, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.client-logo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 101, 174, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
}

.client-logo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(91, 101, 174, 0.12);
    border-color: rgba(91, 101, 174, 0.15);
}

.client-logo-card:hover::before {
    opacity: 1;
}

.client-logo-card img {
    max-height: 80px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.client-logo-card:hover img {
    transform: scale(1.08);
}

.client-logo-card.invert-logo img {
    filter: brightness(0);
}

/* ================================================================
   SERVICES
   ================================================================ */
.services-section {
    padding: var(--space-12) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.service-card {
    background: var(--color-surface);
    border-radius: 16px;
    padding: var(--space-5);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(91, 101, 174, 0.06);
    transition: all 0.5s var(--ease-out);
    transform-style: preserve-3d;
}

.service-card:hover {
    box-shadow: 0 20px 60px rgba(91, 101, 174, 0.12);
    border-color: rgba(91, 101, 174, 0.15);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card:hover .service-icon {
    background: rgba(91, 101, 174, 0.15);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.service-number {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    color: var(--color-primary);
    opacity: 0.08;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(300px circle at var(--glow-x, 50%) var(--glow-y, 50%),
            rgba(91, 101, 174, 0.1), transparent 50%);
}

.service-card:hover .card-glow {
    opacity: 1;
}

/* ================================================================
   WHY US
   ================================================================ */
.whyus-section {
    padding: var(--space-12) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0c0e1a 0%, #14172b 40%, #1a1d3a 100%);
    color: #f0f0f8;
}

.whyus-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.whyus-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
}

.whyus-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #5B65AE 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: whyusFloat1 12s ease-in-out infinite;
}

.whyus-shape-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
    animation: whyusFloat2 15s ease-in-out infinite;
}

.whyus-shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: whyusFloat3 10s ease-in-out infinite;
}

@keyframes whyusFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 20px) scale(1.1);
    }
}

@keyframes whyusFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -30px) scale(1.15);
    }
}

@keyframes whyusFloat3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.whyus-tag {
    color: #c4b5fd !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

.whyus-title {
    color: #fff;
}

.whyus-desc-text {
    color: rgba(240, 240, 248, 0.65);
}

.whyus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    position: relative;
    z-index: 1;
}

.whyus-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: var(--space-5) var(--space-4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    overflow: hidden;
}

.whyus-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(91, 101, 174, 0.2), 0 0 40px rgba(139, 92, 246, 0.08);
}

.whyus-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: radial-gradient(300px circle at var(--glow-x, 50%) var(--glow-y, 50%),
            rgba(139, 92, 246, 0.12), transparent 60%);
    pointer-events: none;
}

.whyus-card:hover .whyus-card-glow {
    opacity: 1;
}

.whyus-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(91, 101, 174, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    margin-bottom: var(--space-1);
    transition: all 0.4s ease;
    position: relative;
}

.whyus-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(99, 102, 241, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.whyus-card:hover .whyus-icon-wrap::before {
    opacity: 1;
}

.whyus-card:hover .whyus-icon-wrap {
    background: linear-gradient(135deg, rgba(91, 101, 174, 0.4) 0%, rgba(139, 92, 246, 0.3) 100%);
    color: #c4b5fd;
    transform: scale(1.08);
}

.whyus-icon-wrap svg {
    width: 30px;
    height: 30px;
}

.whyus-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.whyus-card-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(240, 240, 248, 0.55);
}

.whyus-card-accent {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #5B65AE, #8b5cf6, #6366f1);
    border-radius: 3px 3px 0 0;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.whyus-card:hover .whyus-card-accent {
    width: 60%;
}

/* Responsive */
@media (max-width: 1024px) {
    .whyus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .whyus-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   ABOUT PREVIEW
   ================================================================ */
.about-preview-section {
    padding: var(--space-12) 0;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.about-preview-img {
    border-radius: 16px;
    width: 100%;
}

.about-preview-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin: var(--space-3) 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.92rem;
}

.feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Image Reveal */
.img-reveal {
    overflow: hidden;
    border-radius: 16px;
}

/* ================================================================
   PROCESS
   ================================================================ */
.process-section {
    padding: var(--space-12) 0;
    background: var(--color-surface-alt);
}

.process-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    right: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(91, 101, 174, 0.1);
}

.process-line-fill {
    position: absolute;
    right: 28px;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--color-primary);
    z-index: 1;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-5);
    padding: var(--space-5) 0;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(91, 101, 174, 0.25);
}

.step-content h3 {
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.step-content p {
    color: var(--color-text-light);
    max-width: 460px;
    font-size: 0.9rem;
}

/* ================================================================
   HORIZONTAL SCROLL WORK
   ================================================================ */
.hscroll-section {
    position: relative;
    background: var(--color-primary);
    color: var(--color-bg);
    overflow: hidden;
}

.hscroll-wrapper {
    padding: var(--space-10) 0;
    padding-inline: max(var(--space-3), 4vw);
}

.hscroll-header {
    margin-bottom: var(--space-6);
}

.hscroll-header .section-tag {
    color: var(--color-bg);
    border-color: rgba(253, 247, 241, 0.2);
}

.hscroll-track {
    display: flex;
    gap: var(--space-4);
    width: max-content;
}

.hscroll-card {
    width: 380px;
    flex-shrink: 0;
    cursor: pointer;
}

.hscroll-img {
    height: 440px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s var(--ease-out);
}

.hscroll-card:hover .hscroll-img {
    transform: scale(0.97);
}

.hscroll-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-3);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    border-radius: 0 0 14px 14px;
}

.hscroll-card h3 {
    margin-top: var(--space-2);
    font-size: 1.2rem;
}

.hscroll-card .body-regular {
    opacity: 1;
    font-size: 0.85rem;
    color: rgba(253, 247, 241, 0.85);
}

.hscroll-cta {
    margin-top: var(--space-6);
    color: var(--color-bg);
    border-color: rgba(253, 247, 241, 0.3);
}

.hscroll-cta:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}



/* ================================================================
   CTA
   ================================================================ */
.cta-section {
    background: var(--color-surface-alt);
    color: var(--color-text);
    padding: var(--space-12) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--color-primary);
}

.cta-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    right: -60px;
    top: -60px;
    animation: spin 40s linear infinite;
}

.cta-circle circle {
    stroke: var(--color-primary);
    opacity: 0.08;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.cta-illustration {
    max-width: 220px;
    border-radius: 16px;
}

.cta-desc {
    max-width: 460px;
    opacity: 1;
    color: var(--color-text-light);
}

.cta-section .btn-light {
    background: var(--color-primary);
    color: var(--color-bg);
    border: 2px solid var(--color-primary);
}

.cta-section .btn-light:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background: #111118;
    color: #ffffff;
    padding: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: var(--space-6);
    padding: var(--space-10) 0 var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: var(--text-display-m);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    line-height: 1.8;
    max-width: 320px;
    margin-bottom: var(--space-3);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-heading {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.footer-nav li a:hover {
    color: #ffffff;
    padding-inline-end: 6px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.footer-contact li svg {
    flex-shrink: 0;
    color: var(--color-primary);
    opacity: 0.9;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

.footer-cta {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.footer-cta:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* ================================================================
   SUBPAGES
   ================================================================ */
.work-hero {
    min-height: 45vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--space-10) + 60px) 0 var(--space-6);
}

.work-grid-section {
    padding-bottom: var(--space-12);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

.work-item {
    cursor: pointer;
}

.work-link {
    display: block;
}

.work-item .work-img {
    background-color: #e0e0e0;
    aspect-ratio: 4/5;
    border-radius: 12px;
}

.project-expansion-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-primary);
    z-index: var(--z-fixed);
    transform: translateY(100%);
    pointer-events: none;
}

.overlay-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-text {
    color: var(--color-bg);
    opacity: 0;
}

.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: calc(var(--space-10) + 60px) 0 var(--space-10);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.about-intro {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: var(--space-6);
}

.philosophy-section {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: var(--space-12) 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.philosophy-item-offset {
    margin-top: var(--space-10);
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact-section {
    padding: var(--space-12) 0;
    background: linear-gradient(135deg, #1a1d3a 0%, #2d3161 50%, #1a1d3a 100%);
    position: relative;
    overflow: hidden;
}

.contact-section .section-tag {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

.contact-section .display-l {
    color: #fff;
}

.contact-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.contact-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.contact-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
}

.contact-shape-2 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    bottom: -80px;
    left: -60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-6);
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--space-4);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(91, 101, 174, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
}

.contact-card-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-card-value {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

a.contact-card-value:hover {
    color: #a5b4fc;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--space-6);
    backdrop-filter: blur(12px);
}

.contact-form-card .form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    padding: var(--space-3) var(--space-4);
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.3s ease;
}

.contact-form-card .form-input:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 101, 174, 0.2);
}

.contact-form-card .form-label {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form-card .form-input:focus+.form-label,
.contact-form-card .form-input:not(:placeholder-shown)+.form-label {
    color: #a5b4fc;
}

.contact-form-card .form-line {
    display: none;
}

.contact-form-card .form-group {
    margin-bottom: var(--space-3);
}

.contact-form-card textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.contact-form-card .btn-full {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   UTILITIES
   ================================================================ */
.mt-4 {
    margin-top: var(--space-4);
}

.form-message {
    opacity: 0;
    display: none;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(1.5deg);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px);
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-featured {
        transform: none;
    }

    .hscroll-card {
        width: 300px;
    }

    .hscroll-img {
        height: 360px;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-3);
    }
}

@media (max-width: 768px) {

    .hero-grid,
    .about-preview-grid,
    .about-hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .services-grid,
    .work-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .client-logo-card {
        min-height: 100px;
        padding: var(--space-4) var(--space-3);
    }

    .process-line,
    .process-line-fill {
        display: none;
    }




    .deco-grid,
    .deco-circle {
        display: none;
    }

    .hero-badge {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .hscroll-card {
        width: 260px;
    }

    .hscroll-img {
        height: 300px;
    }
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-section {
    padding: var(--space-12) 0;
    background: var(--color-surface-alt);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.faq-item {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(91, 101, 174, 0.08);
    background: var(--color-surface);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(91, 101, 174, 0.15);
    box-shadow: 0 4px 20px rgba(91, 101, 174, 0.06);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: right;
    gap: var(--space-2);
    font-family: inherit;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--color-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s ease;
    padding: 0 var(--space-4);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 var(--space-4) var(--space-3);
}

.faq-answer p {
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.85;
}

/* ================================================================
   FLOATING WHATSAPP BUTTON
   ================================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
    animation: none;
}

.whatsapp-float svg {
    pointer-events: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.15);
    }

    100% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    }
}