/* ========================================================
   JASABANTUIT.COM — Complete New Template V3
   ======================================================== */

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

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

/* ── Tokens ── */
:root {
    --c-bg: #f8f9fc;
    --c-bg-alt: #f0f2f8;
    --c-surface: #ffffff;
    --c-text: #111827;
    --c-text-2: #4b5563;
    --c-text-3: #9ca3af;
    --c-border: #e5e7eb;
    --c-border-soft: #f3f4f6;

    --c-accent: #6C5CE7;
    --c-accent-2: #A29BFE;
    --c-green: #10B981;
    --c-pink: #EC4899;
    --c-blue: #3B82F6;
    --c-yellow: #F59E0B;
    --c-teal: #14B8A6;

    --font-body: 'Inter', -apple-system, system-ui, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.dark {
    --c-bg: #0a0a14;
    --c-bg-alt: #111122;
    --c-surface: #16162a;
    --c-text: #f1f5f9;
    --c-text-2: #94a3b8;
    --c-text-3: #475569;
    --c-border: #1e293b;
    --c-border-soft: #1a1a30;
}

body {
    font-family: var(--font-body);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--c-accent), var(--c-teal), var(--c-accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradMove 5s ease infinite;
}

@keyframes gradMove {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ═══════════════════════════════════════════════
   NAVBAR — Floating pill style
   ═══════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 1140px;
    border-radius: 100px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--c-border);
    transition: all 0.35s var(--ease);
}

html.dark .navbar {
    background: rgba(10, 10, 20, 0.75);
    border-color: rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    top: 10px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 32px;
}

.nav-links {
    display: none;
    gap: 4px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--c-text-2);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
    transition: all 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--c-accent);
    background: rgba(108, 92, 231, 0.06);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--c-border);
    background: transparent;
    color: var(--c-text-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
}

.theme-toggle:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
}

.nav-cta {
    display: none;
    padding: 8px 20px;
    border-radius: 100px;
    background: var(--c-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.nav-cta:hover {
    background: #5A4BD1;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.35);
}

/* Hamburger */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav dropdown */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 4px;
        background: var(--c-surface);
        border: 1px solid var(--c-border);
        border-radius: var(--radius-lg);
        padding: 16px;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    }

    .nav-links.open {
        display: flex;
        animation: slideDown 0.3s var(--ease-bounce);
    }

    .nav-link {
        padding: 12px 16px;
        border-radius: var(--radius);
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }

    .nav-cta {
        display: inline-flex;
    }

    .nav-hamburger {
        display: none;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }

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

/* ═══════════════════════════════════════════════
   HERO — Full-width centered
   ═══════════════════════════════════════════════ */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 60px;
}

/* Background effects */
.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(108, 92, 231, 0.2);
    top: -120px;
    left: -100px;
    animation: orb1 18s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(20, 184, 166, 0.15);
    bottom: -80px;
    right: -60px;
    animation: orb2 20s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.1);
    top: 30%;
    right: 20%;
    animation: orb3 15s ease-in-out infinite;
}

@keyframes orb1 {

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

    50% {
        transform: translate(80px, 60px)
    }
}

@keyframes orb2 {

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

    50% {
        transform: translate(-60px, -40px)
    }
}

@keyframes orb3 {

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

    50% {
        transform: translate(-40px, 30px) scale(1.1)
    }
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1140px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.hero-content {
    max-width: 100%;
}

.hero-image-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.hero-mascot-img {
    width: 70%;
    max-width: 520px;
    padding-bottom: 50px;
    height: auto;
    object-fit: contain;
    border-radius: 24px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transform: scale(1.35);
    transform-origin: bottom center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px 6px 10px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-accent);
    margin-bottom: 28px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        opacity: 0.4;
        transform: scale(0.8)
    }
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.hero-description {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--c-text-2);
    margin: 0 0 36px 0;
    line-height: 1.8;
    max-width: 520px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-bottom: 48px;
}

.btn-filled {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    background: var(--c-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
}

.btn-filled:hover {
    background: #5A4BD1;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(108, 92, 231, 0.4);
}

.btn-filled svg {
    width: 18px;
    height: 18px;
}

.btn-ghost-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    background: transparent;
    color: var(--c-text);
    border: 1.5px solid var(--c-border);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.btn-ghost-hero:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}

.btn-ghost-hero svg {
    width: 18px;
    height: 18px;
}

/* Stats ribbon */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 20px 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 520px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 0 16px;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-accent);
}

.hero-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-stat-divider {
    width: 1px;
    background: var(--c-border);
    align-self: stretch;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-indicator span {
    font-size: 11px;
    color: var(--c-text-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border-radius: 12px;
    border: 2px solid var(--c-text-3);
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--c-text-3);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1
    }

    100% {
        transform: translateY(10px);
        opacity: 0
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 16px)
    }

    to {
        opacity: 0.4;
        transform: translate(-50%, 0)
    }
}

/* ═══════════════════════════════════════════════
   SHOWCASE — Infinite horizontal scroll strip
   ═══════════════════════════════════════════════ */
.showcase-section {
    padding: 16px 0;
    overflow: hidden;
    background: var(--c-bg-alt);
    border-top: 1px solid var(--c-border-soft);
    border-bottom: 1px solid var(--c-border-soft);
}

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

.showcase-item {
    flex: 0 0 auto;
    width: 280px;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-border-soft);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.showcase-item:hover img {
    transform: scale(1.05);
}

@keyframes scrollX {
    from {
        transform: translateX(0);
    }

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

/* ═══════════════════════════════════════════════
   SERVICES — Bento Grid
   ═══════════════════════════════════════════════ */
.services-section {
    padding: 100px 0;
}

.section-intro {
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-accent);
    margin-bottom: 12px;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--c-text-2);
    max-width: 520px;
    line-height: 1.7;
}

/* Accordion Gallery */
.accordion-gallery {
    display: flex;
    width: 100%;
    height: 480px;
    gap: 16px;
    margin-top: 24px;
}

.acc-panel {
    position: relative;
    flex: 1;
    border-radius: 32px;
    background: var(--bg);
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.acc-panel:hover,
.acc-panel.active {
    flex: 5;
}

.acc-icon {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.acc-icon svg {
    width: 22px;
    height: 22px;
}

.acc-content {
    width: 100%;
    padding: 0 40px 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
    pointer-events: none;
    min-width: 400px;
}

.acc-panel:hover .acc-content,
.acc-panel.active .acc-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.acc-content h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    letter-spacing: -0.01em;
}

.acc-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.acc-title-vertical {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.acc-panel:hover .acc-title-vertical,
.acc-panel.active .acc-title-vertical {
    opacity: 0;
}

@media (max-width: 900px) {
    .accordion-gallery {
        flex-direction: column;
        height: 750px;
    }

    .acc-title-vertical {
        transform: translateY(-50%);
        bottom: auto;
        left: 80px;
        top: 37px;
    }

    .acc-content {
        min-width: 100%;
        padding: 0 24px 30px;
    }

    .acc-icon {
        top: 13px;
        left: 16px;
    }
}

/* ═══════════════════════════════════════════════
   PORTFOLIO — Glassmorphic Grid
   ═══════════════════════════════════════════════ */
.portfolio-section {
    padding: 100px 0;
    position: relative;
    background: var(--c-bg);
}


/* Portfolio Slider */
.portfolio-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.port-list {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.slider-slide {
    min-width: 100%;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 48px;
}

@media (max-width: 992px) {
    .slider-slide {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-dot.active {
    background: var(--c-accent);
    transform: scale(1.3);
}

.port-row {

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    border-bottom: 1px solid var(--c-border-soft);
    text-decoration: none;
    color: var(--c-text);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.port-row::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(0deg, rgba(108, 92, 231, 0.05), transparent);
    transition: all 0.4s var(--ease);
    z-index: 1;
    opacity: 0;
}

.port-row:hover::before {
    height: 100%;
    opacity: 1;
}

.port-row:hover {
    padding-left: 24px;
    padding-right: 24px;
    border-bottom-color: var(--c-accent);
}

.port-row-left,
.port-row-center,
.port-row-right {
    position: relative;
    z-index: 2;
}

.port-row-left {
    display: flex;
    align-items: baseline;
    gap: 32px;
    width: 35%;
}

.port-row-num {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-text-3);
    font-family: monospace;
}

.port-row-title {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

.port-row:hover .port-row-title {
    color: var(--c-accent);
}

.port-row-center {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.port-row-desc {
    font-size: 0.95rem;
    color: var(--c-text-3);
    font-family: monospace;
    font-weight: 500;
}

.port-row-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.p-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--c-border-soft);
    color: var(--c-text-2);
    background: var(--c-surface);
    transition: all 0.3s;
}

.port-row:hover .p-tag {
    border-color: rgba(108, 92, 231, 0.3);
    color: var(--c-accent);
    background: rgba(108, 92, 231, 0.05);
}

.port-row-right {
    width: 15%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.port-row-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-3);
    transition: all 0.4s var(--ease);
    background: var(--c-surface);
}

.port-row:hover .port-row-arrow {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
    transform: rotate(-45deg);
}

.port-row-more {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    border: 1px dashed var(--c-border);
    border-radius: 24px;
    background: rgba(108, 92, 231, 0.02);
}

.port-row-more p {
    font-size: 1.1rem;
    color: var(--c-text-2);
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .port-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px 0;
    }

    .port-row-left,
    .port-row-center,
    .port-row-right {
        width: 100%;
    }

    .port-row-left {
        gap: 16px;
    }

    .port-row-arrow {
        width: 44px;
        height: 44px;
    }

    .port-row:hover {
        padding-left: 0;
        padding-right: 0;
    }

    .port-row-right {
        position: absolute;
        right: 0;
        top: 24px;
        width: auto;
    }
}

/* ═══════════════════════════════════════════════
   ABOUT — Two-column storytelling
   ═══════════════════════════════════════════════ */
.about-section {
    padding: 100px 0;
    background: var(--c-bg-alt);
    position: relative;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.about-desc {
    font-size: 1.05rem;
    color: var(--c-text-2);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    transition: transform 0.25s var(--ease);
}

.chip:hover {
    transform: translateY(-2px);
}

.chip-purple {
    background: rgba(108, 92, 231, 0.08);
    color: #6C5CE7;
}

.chip-green {
    background: rgba(16, 185, 129, 0.08);
    color: #10B981;
}

.chip-pink {
    background: rgba(236, 72, 153, 0.08);
    color: #EC4899;
}

.chip-blue {
    background: rgba(59, 130, 246, 0.08);
    color: #3B82F6;
}

.chip-yellow {
    background: rgba(245, 158, 11, 0.08);
    color: #D97706;
}

.about-card-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-info-card {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px 24px;
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease);
}

.about-info-card:hover {
    transform: translateX(6px);
    border-color: rgba(108, 92, 231, 0.15);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.about-card-icon {
    width: 20px;
    height: 20px;
    color: var(--c-accent);
    flex-shrink: 0;
}

.about-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.about-info-card p {
    font-size: 13px;
    color: var(--c-text-2);
    margin: 0;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   CONTACT — Full-width form + aside
   ═══════════════════════════════════════════════ */
.contact-section {
    padding: 100px 0;
}

.contact-wrapper {}

.contact-header {
    margin-bottom: 48px;
}

.contact-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.contact-form {
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: var(--radius-xl);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--c-text);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 14px;
    transition: all 0.25s var(--ease);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.08);
    background: var(--c-surface);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 15px;
    gap: 8px;
}

.btn-submit svg {
    width: 18px;
    height: 18px;
}

/* Contact aside */
.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aside-cta-card {
    background: linear-gradient(135deg, var(--c-accent), #5A4BD1);
    color: #fff;
    padding: 32px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.aside-cta-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -60px;
    right: -60px;
}

.aside-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.aside-cta-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.aside-cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.aside-cta-card p {
    opacity: 0.85;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    background: #25D366;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.btn-wa:hover {
    background: #1FAD54;
    transform: translateY(-2px);
}

.btn-wa img {
    width: 20px;
    height: 20px;
}

.aside-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--c-text-2);
    font-weight: 500;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--c-green);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   FOOTER — Multi column
   ═══════════════════════════════════════════════ */
.site-footer {
    padding: 64px 0 0;
    background: var(--c-bg-alt);
    border-top: 1px solid var(--c-border-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand img {
    margin-bottom: 20px;
    height: 72px;
    width: auto;
    position: relative;
    top: -24px;
    z-index: 20;
}

.footer-brand p {
    font-size: 14px;
    color: var(--c-text-2);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--c-text);
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--c-text-2);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--c-accent);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--c-border-soft);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--c-text-3);
}

/* ═══════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════ */
.toast-notif {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    min-width: 300px;
    transform: translateX(400px);
    transition: transform 0.5s var(--ease-bounce);
}

.toast-notif.show {
    transform: translateX(0);
}

.toast-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.toast-desc {
    font-size: 13px;
    color: var(--c-text-2);
}

/* ═══════════════════════════════════════════════
   WA FAB
   ═══════════════════════════════════════════════ */
.wa-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: all 0.3s var(--ease);
}

.wa-fab img {
    width: 32px;
    height: 32px;
}

.wa-fab:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.wa-fab::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: fabPulse 2s ease-out infinite;
}

@keyframes fabPulse {
    0% {
        transform: scale(1);
        opacity: .6
    }

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

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (min-width: 769px) {
    .about-layout {
        grid-template-columns: 1.2fr 1fr;
    }

    .contact-body {
        grid-template-columns: 1.3fr 1fr;
    }
}

@media (max-width: 900px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrapper {
        justify-content: center !important;
        margin-top: 32px;
    }

    .hero-cta-group {
        justify-content: center;
    }

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

    .bento-large,
    .bento-medium {
        grid-column: span 2;
    }

    .bento-small {
        grid-column: span 1;
    }

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

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-medium,
    .bento-small {
        grid-column: span 1;
    }

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

    .hero-stat-divider {
        width: 100%;
        height: 1px;
    }

    .hero-stat {
        padding: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .showcase-item {
        width: 220px;
        height: 140px;
    }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--c-border);
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--c-text-3);
}

::selection {
    background: rgba(108, 92, 231, 0.15);
}

/* ═══════════════════════════════════════════════
   FLOATING AFTER-SALES BANNER
   ═══════════════════════════════════════════════ */
.floating-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    top: auto;
    right: auto;
    width: 180px;
    /* Reduced 30% from 250px */
    background: var(--c-surface);
    border: 1px solid var(--c-border-soft);
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: bannerSlideIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards, floatGentle 4s ease-in-out 0.8s infinite;
    opacity: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@keyframes bannerSlideIn {
    0% {
        transform: translate(-100%, 20px);
        opacity: 0;
    }

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

@keyframes floatGentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.close-banner {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s;
}

.close-banner:hover {
    background: rgba(0, 0, 0, 0.8);
}

.close-banner svg {
    width: 14px;
    height: 14px;
}

.fb-img-wrapper {
    width: 100%;
    height: 180px;
    background: radial-gradient(circle at top, rgba(108, 92, 231, 0.15), transparent 80%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-bottom: 1px solid var(--c-border-soft);
    overflow: hidden;
    padding-top: 20px;
}

.fb-avatar {
    height: 100%;
    width: auto;
    object-fit: contain;
    transform: scaleX(-1.15) scaleY(1.15);
    transform-origin: bottom center;
}

.fb-content {
    padding: 16px;
    text-align: center;
}

.fb-content p {
    font-size: 0.85rem;
    color: var(--c-text);
    line-height: 1.4;
    margin-bottom: 12px;
}

.fb-content p strong {
    color: var(--c-accent);
    font-weight: 700;
}

.fb-content span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-text-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 12px;
}

.fb-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c-accent);
    cursor: pointer;
    transition: color 0.3s;
}

.fb-arrow:hover {
    color: #A29BFE;
}

.fb-arrow svg {
    width: 16px;
    height: 16px;
    animation: bounceY 2s infinite;
}

@keyframes bounceY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* Penyesuaian khusus iPad/Tablet Landscape agar kepala avatar utama tidak nabrak atas */
@media (max-width: 1200px) and (max-height: 900px) and (orientation: landscape) {
    .hero-mascot-img {
        transform: scale(1.15);
    }
}

@media (max-width: 600px),
(max-width: 950px) and (orientation: landscape) and (max-height: 500px) {
    .floating-banner {
        width: calc(100% - 70px);
        /* Ruang 70px kanan disisakan khusus area Whatsapp Icon */
        left: 0;
        bottom: 0;
        top: auto;
        right: auto;
        border-radius: 0 16px 0 0;
        border-left: none;
        border-bottom: none;
        animation: slideUpMobile 0.8s ease forwards;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    }

    .fb-img-wrapper {
        display: none;
    }

    /* Hanya teks sesuai request */
    .fb-content {
        padding: 12px 32px 12px 16px;
        text-align: left;
    }

    .fb-content p {
        font-size: 0.75rem;
        margin: 0;
        line-height: 1.4;
    }

    .fb-content span {
        display: none;
    }

    .fb-arrow {
        display: none;
    }

    .close-banner {
        top: 50%;
        right: 8px;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background: rgba(0, 0, 0, 0.1);
        color: var(--c-text);
    }

    html.dark .close-banner {
        background: rgba(255, 255, 255, 0.1);
    }

    .close-banner svg {
        width: 14px;
        height: 14px;
    }

    @keyframes slideUpMobile {
        0% {
            transform: translateY(100%);
            opacity: 0;
        }

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

/* ═══════════════════════════════════════════════
   MOUSE GLOW EFFECT
   ═══════════════════════════════════════════════ */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    margin-left: -300px;
    margin-top: -300px;
    /* Increased brightness: brighter center + a defined mid-glow */
    background: radial-gradient(circle, rgba(108, 92, 231, 0.45) 0%, rgba(108, 92, 231, 0.15) 30%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    /* Behind text, above background pattern */
    transform: translate(0, 0);
    will-change: transform;
    opacity: 0;
    transition: opacity 0.6s var(--ease);
}

html:not(.dark) .cursor-glow {
    background: radial-gradient(circle, rgba(108, 92, 231, 0.25) 0%, rgba(108, 92, 231, 0.08) 30%, transparent 60%);
}
.hero-animated-ribbon {
    animation: ribbonFloat 6s ease-in-out infinite;
}

@keyframes ribbonFloat {
    0%, 100% {
        transform: scale(1.35) translateY(0);
        filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.4));
    }
    50% {
        transform: scale(1.35) translateY(-15px);
        filter: drop-shadow(0 30px 50px rgba(108, 92, 231, 0.7));
    }
}

/* ═══════════════════════════════════════════════
   TERMINAL ANIMATION
   ═══════════════════════════════════════════════ */
.terminal-card {
    width: 100%;
    max-width: 520px;
    height: 440px;
    background: #0d1117;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: #161b22;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.term-dots {
    display: flex;
    gap: 8px;
}

.term-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.term-dot.red { background: #ff5f56; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #27c93f; }

.term-title {
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-family: monospace;
    padding-right: 44px; /* to center it ignoring the dots */
}

.terminal-body {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    color: #a5d6ff;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.term-line {
    display: flex;
    opacity: 0;
}

.term-prompt {
    color: #7ee787;
    margin-right: 12px;
    font-weight: bold;
}

/* Typing animations */
.play-anim .term-line-1 { animation: termFadeIn 0.1s forwards 0.5s; }
.play-anim .term-typing-1 {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
    width: 0;
    animation: termType 1s steps(30, end) forwards 0.6s, termBlink 0.5s step-end 2 0.6s;
}

.play-anim .term-line-2 { animation: termFadeIn 0.1s forwards 1.8s; }
.play-anim .term-typing-2 {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
    width: 0;
    animation: termType 1.5s steps(40, end) forwards 1.9s, termBlink 0.5s step-end 3 1.9s;
}

.play-anim .term-line-3 { animation: termFadeIn 0.1s forwards 3.6s; }
.term-success {
    color: #7ee787;
    animation: pulseGlow 2s infinite;
}

.play-anim .term-line-4 { animation: termFadeIn 0.1s forwards 4.5s; }
.play-anim .term-typing-4 {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
    width: 0;
    animation: termType 1s steps(30, end) forwards 4.6s, termBlink 0.5s step-end 3 4.6s;
}

.play-anim .term-line-5 { animation: termFadeIn 0.1s forwards 6.5s; }

.play-anim .term-line-6 { animation: termFadeIn 0.1s forwards 7.5s; }
.play-anim .term-typing-6 {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
    width: 0;
    animation: termType 1.5s steps(40, end) forwards 7.6s, termBlink 0.5s step-end 4 7.6s;
}

.play-anim .term-line-7 { animation: termFadeIn 0.1s forwards 10s; }

.play-anim .term-line-8 { animation: termFadeIn 0.1s forwards 11.5s; }

.play-anim .term-line-9 { animation: termFadeIn 0.1s forwards 13s; }
.play-anim .term-typing-9 {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #a5d6ff;
    width: 0;
    animation: termType 2s steps(40, end) forwards 13.1s, termBlinkCursor 1s step-end infinite 13.1s;
}

@keyframes termFadeIn {
    to { opacity: 1; }
}

@keyframes termType {
    from { width: 0; }
    to { width: 100%; border-color: transparent; }
}

@keyframes termBlink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #a5d6ff; }
}

@keyframes termBlinkCursor {
    0%, 100% { border-color: transparent; }
    50% { border-color: #a5d6ff; }
}

@keyframes pulseGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(126, 231, 135, 0.2); }
    50% { text-shadow: 0 0 15px rgba(126, 231, 135, 0.8); }
}

.terminal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(108, 92, 231, 0.3);
    transition: all 0.4s ease;
    border-color: rgba(108, 92, 231, 0.4);
}

/* ═══════════════════════════════════════════════
   CLIENTS SECTION (STATIC GRID)
   ═══════════════════════════════════════════════ */
.clients-section {
    padding: 48px 0;
    background: var(--c-bg-alt);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.clients-header {
    text-align: center;
    margin-bottom: 32px;
}

.clients-title {
    color: var(--c-accent);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.clients-subtitle {
    color: var(--c-text-2);
    font-size: 14px;
}

.client-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.client-category {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    padding: 12px 24px;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.client-category:hover {
    transform: translateY(-4px);
    border-color: var(--c-accent);
    background: var(--c-bg);
}

.cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 8px;
    color: var(--c-accent);
}

.cat-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
}

.client-marquee-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 12px;
}
.client-marquee-viewport::before,
.client-marquee-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.client-marquee-viewport::before {
    left: 0;
    background: linear-gradient(to right, var(--c-bg-alt), transparent);
}
.client-marquee-viewport::after {
    right: 0;
    background: linear-gradient(to left, var(--c-bg-alt), transparent);
}

.marquee-track-rtl {
    display: flex;
    gap: 12px;
    padding-right: 12px;
    width: max-content;
    animation: scrollRTL 60s linear infinite;
}

.marquee-track-ltr {
    display: flex;
    gap: 12px;
    padding-right: 12px;
    width: max-content;
    animation: scrollLTR 60s linear infinite;
}

.marquee-track-rtl:hover,
.marquee-track-ltr:hover {
    animation-play-state: paused;
}

@keyframes scrollRTL {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollLTR {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.client-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 6px;
    color: var(--c-text-2);
    font-size: 13px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.client-chip:hover {
    background: var(--c-bg);
    color: var(--c-text);
    border-color: var(--c-accent);
}

.client-chip-more {
    text-align: center;
    color: var(--c-text-3);
    font-size: 13px;
    font-style: italic;
    margin-top: 24px;
}
