/* System Font Stack */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #f5f5f7;
    color: #1d1d1f;
    -webkit-font-smoothing: antialiased;
    cursor: default;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* Lenis Recommended Styles */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Utilities */
.apple-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    transition: text-decoration 0.2s;
    cursor: pointer;
}

.apple-link:hover {
    text-decoration: underline;
}

.apple-link i {
    font-size: 12px;
    margin-left: 6px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.68s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.68s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.glass-nav {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Liquid Glass */
.liquid-glass {
    background: rgba(255, 255, 255, 0.015);
    background-blend-mode: luminosity;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 4px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.liquid-glass::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.05) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.05) 80%, rgba(255,255,255,0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.liquid-glass-strong {
    background: rgba(255, 255, 255, 0.02);
    background-blend-mode: luminosity;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.2);
    position: relative; overflow: hidden;
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.liquid-glass-strong::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px;
    background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

.btn-primary {
    background-color: #0071e3;
    color: white;
    border-radius: 980px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0077ed;
    transform: scale(1.02);
}

/* Mobile Bottom Nav Styling */
.mobile-bottom-nav {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: env(safe-area-inset-bottom);
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-item {
    position: relative;
    touch-action: none;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: 0;
    right: 0;
}

.nav-item.active i {
    color: #0071e3;
}

.nav-item.active span {
    color: #0071e3;
    font-weight: 600;
}

.fullscreen-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

.page-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page-section.active-page {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float-medium {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float-fast {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.animate-float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 5s ease-in-out infinite;
}

.animate-float-fast {
    animation: float-fast 4s ease-in-out infinite;
}

.typing-text {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    border-right: 2px solid transparent;
}

.group:hover .typing-2 {
    animation: typing 0.8s steps(20, end) forwards, blink 0.5s step-end infinite;
    border-right-color: #60a5fa;
    animation-delay: 0s;
}

.group:hover .typing-3 {
    animation: typing 0.5s steps(10, end) 0.8s forwards, blink 0.5s step-end infinite;
    border-right-color: #60a5fa;
    animation-delay: 0.8s;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}


.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

@keyframes blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #60a5fa
    }
}

@keyframes flash-burst {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
    }
}

.flash-overlay {
    pointer-events: none;
    background: white;
    opacity: 0;
}

.group:hover .flash-overlay {
    animation: flash-burst 0.6s ease-out;
}

.swatch {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom center;
}

.group:hover .swatch-1 {
    transform: rotate(-25deg) translate(-15px, 5px);
}

.group:hover .swatch-2 {
    transform: rotate(0deg) translate(0, -10px);
}

.group:hover .swatch-3 {
    transform: rotate(25deg) translate(15px, 5px);
}

.pen-tool {
    transition: transform 0.6s ease-out;
}

.group:hover .pen-tool {
    transform: translate(10px, -10px) rotate(-10deg);
}

.stack-layer {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .stack-1 {
    transform: translateY(-15px) scale(1.05);
    background-color: #3b82f6;
    border-color: #60a5fa;
}

.group:hover .stack-2 {
    transform: translateY(0px) scale(1.05);
    background-color: #60a5fa;
    border-color: #93c5fd;
}

.group:hover .stack-3 {
    transform: translateY(15px) scale(1.05);
    background-color: #93c5fd;
    border-color: #bfdbfe;
}

.studio-ring {
    transition: all 0.7s ease-out;
}

.group:hover .studio-ring {
    transform: scale(1.2);
    opacity: 0.5;
}

.studio-bulb {
    transition: all 0.3s ease;
}

.group:hover .studio-bulb {
    box-shadow: 0 0 30px 10px rgba(168, 85, 247, 0.4);
    background-color: #fff;
}

.growth-bar {
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.group:hover .bar-1 {
    height: 60px;
}

.group:hover .bar-2 {
    height: 90px;
}

.group:hover .bar-3 {
    height: 120px;
}

#mascot-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 48px;
    height: 60px;
    pointer-events: none;
    z-index: 40;
    opacity: 0;
    transform: translate(20px, 15px) scale(0.5);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
    transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media (max-width: 768px) {
    #mascot-follower {
        display: none !important;
        pointer-events: none !important;
    }
}

#mascot-follower svg {
    pointer-events: auto;
    cursor: grab;
    transition: color 0.3s;
    overflow: visible;
}

#mascot-follower svg:active {
    cursor: grabbing;
}

.mascot-eye {
    transform-origin: center;
    animation: blink-anim 4s infinite;
}

@keyframes blink-anim {

    0%,
    96% {
        transform: scaleY(1);
    }

    97% {
        transform: scaleY(0.1);
    }

    98% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(1);
    }
}

#mascot-skateboard-group {
    opacity: 0;
    transition: opacity 0.3s ease;
    transform-origin: 14px 28px;
}

.skating #mascot-skateboard-group {
    opacity: 1;
}

.skating #mascot-legs {
    opacity: 0;
}

#nav-logo-svg {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-logo-hidden {
    opacity: 0;
    transform: scale(0.8);
}

.anim-delay-2s {
    animation-delay: 2s;
}

.transition-delay-100ms {
    transition-delay: 0.1s;
}

.card-mask-fix {
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    transform: translateZ(0);
}

.works-card-link {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 40 40'%3E%3Cpath d='M10 10 L30 10 L30 30 M30 10 L10 30' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M10 10 L30 10 L30 30 M30 10 L10 30' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") 18 6, pointer;
}

.works-card-placeholder-logo {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.works-card-placeholder-logo-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.works-card-image {
    display: block;
    object-fit: cover;
    object-position: center;
    --works-image-zoom: 1;
    --works-image-zoom-hover: 1;
    transform: scale(var(--works-image-zoom));
    transition: transform 0.58s;
}

.group:hover .works-card-image {
    transform: scale(var(--works-image-zoom));
}

#works-carousel {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    display: block;
    box-sizing: content-box;
    transition-property: transform;
    transition-timing-function: var(--works-carousel-transition-timing-function, cubic-bezier(0.22, 0.61, 0.36, 1));
    transform: translate3d(0, 0, 0);
    will-change: transform;
    touch-action: pan-y;
    overflow: hidden;
}

#works-carousel .swiper-wrapper {
    align-items: stretch;
}

#works-carousel .swiper-slide {
    height: 640px;
}

#works-carousel.is-user-dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

#works-carousel [data-work-card] {
    transform: translateZ(0);
    backface-visibility: hidden;
}

@media (max-width: 767px) {
    #works-carousel {
        padding-left: 0 !important;
        padding-right: 0 !important;
        gap: 1.5rem !important;
    }

    #works-carousel .swiper-slide {
        height: calc((100vw - 48px) * 1.524) !important;
        max-height: 640px !important;
    }

    #works-carousel [data-work-card] {
        width: 100% !important;
        min-width: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
        border-radius: 1.5rem !important;
    }

    #works-controls {
        margin-top: 24px !important;
    }

    #works-carousel .work-card-cta {
        background: #ffffff !important;
        color: #000000 !important;
        border-color: transparent !important;
        opacity: 1 !important;
    }
}

.works-card-image--arabian {
    width: 105%;
    height: 91.1%;
    object-fit: contain;
    object-position: center -22%;
    --works-image-zoom: 1.8;
    --works-image-zoom-hover: 1.64;
}

.works-card-image--start {
    width: 105%;
    height: 100.7%;
    object-fit: contain;
    object-position: center -25%;
    --works-image-zoom: 2;
    --works-image-zoom-hover: 1.64;
}

.works-card-image--almouna {
    width: 100%;
    height: 100%;
    object-fit: contain;
    --works-image-zoom: 1.168;
    --works-image-zoom-hover: 1.2;
}

.works-card-image--byblos {
    width: 99.2%;
    height: 105%;
    object-fit: cover;
    object-position: 73% 88.4%;
    --works-image-zoom: 1.34;
    --works-image-zoom-hover: 1.08;
}

.works-card-image--al-yasmin {
    width: 102.8%;
    height: 109%;
    object-fit: cover;
    object-position: center 56%;
    --works-image-zoom: 1.8;
    --works-image-zoom-hover: 1.18;
}

.work-card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.work-card-title-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.work-card-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.work-card-logo-wrap img {
    width: 48px !important;
    height: 48px !important;
    margin-top: 0 !important;
    flex-shrink: 0;
}

.work-card-logo-wrap--shift-right {
    margin-left: 4px;
}

.work-card-logo-wrap--lg {
    width: 56px;
    height: 56px;
    margin-top: -8px;
}

.work-card-logo-wrap--lg img {
    width: 56px !important;
    height: 56px !important;
}

.work-card-logo-wrap--xl {
    width: 72px;
    height: 72px;
    margin-top: -16px;
}

.work-card-logo-wrap--xl img {
    width: 60px !important;
    height: 60px !important;
}

.work-card-title {
    margin: 0;
}

.work-card-subtitle {
    white-space: nowrap;
}

.work-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.work-card-description {
    margin-left: 0;
}

.work-card-cta {
    flex-shrink: 0;
}

.contact-intro-block {
    max-width: 40rem;
}

.contact-intro-title,
.contact-intro-copy {
    max-width: 34rem;
    margin-left: 0;
    text-align: left;
}

.contact-intro-title-line {
    display: block;
}

.contact-intro-title {
    text-wrap: balance;
}

.contact-intro-highlight {
    color: #0071e3 !important;
}

.contact-intro-copy {
    text-wrap: pretty;
}

@media (max-width: 1023px) {
    #contact {
        padding-top: 2.5rem !important;
        padding-bottom: 4rem !important;
    }

    .contact-intro-title {
        line-height: 1.05 !important;
        margin-bottom: 1.25rem !important;
    }

    .contact-intro-title-line {
        margin-top: 0;
    }

    .contact-intro-title,
    .contact-intro-copy {
        max-width: 100%;
    }
}

.ecosystem-grid {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 540px;
    gap: 0.85rem;
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 768px) {
    .ecosystem-grid {
        max-width: 1308px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── Hero-to-dark animated gradient entry ─────────────────────────── */
.section-entry-gradient {
    display: none;
}
.section-entry-gradient::before {
    content: "";
    position: absolute;
    left: -12%;
    right: -12%;
    top: 42%;
    bottom: -30%;
    background:
        linear-gradient(110deg,
            rgba(0, 113, 227, 0.18),
            rgba(124, 58, 237, 0.16),
            rgba(99, 102, 241, 0.14),
            rgba(0, 113, 227, 0.18)
        );
    background-size: 220% 220%;
    background-position: 0% 50%;
    filter: blur(48px);
    opacity: 0.55;
    transform: scale(1.03);
    animation: iabco-glow-shift 16s ease infinite;
}
.section-entry-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20,23,41,0) 0%,
        rgba(20,23,41,0.28) 42%,
        rgba(13,15,26,0.62) 78%,
        rgba(9,10,16,0.9) 100%
    );
}
.entry-orb {
    display: none;
}
@keyframes iabco-glow-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.platform-logos-section {
    position: relative;
    background: #050507;
}

.platform-logos-section::before {
    content: none;
}

.platform-logos-section > * {
    position: relative;
    z-index: 1;
}

.platform-logos-section,
#ecosystem-section,
#vybrane-prace,
#works-section,
.why-centered,
#why-section {
    background: #050507 !important;
    border: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#ecosystem-section {
    position: relative;
}

#ecosystem-section,
#vybrane-prace,
#works-section,
#why-section {
    position: relative;
    margin-top: -2px !important;
}

#why-section {
    padding-top: 2rem !important;
    padding-bottom: 22rem !important;
}

#vybrane-prace,
#works-section {
    padding-top: 2.5rem !important;
    padding-bottom: 0 !important;
}

#ecosystem-section::before,
#vybrane-prace::before,
#works-section::before,
#why-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -3px;
    height: 6px;
    background: #050507;
    pointer-events: none;
    z-index: 3;
}

/* ─────────────────────────────────────────────────────────────────── */

.ecosystem-card {
    position: relative;
    flex: 1.15;
    min-height: 540px;
    min-width: 0;
    border-radius: 2rem;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: flex 0.65s ease-in-out, transform 0.45s ease, box-shadow 0.45s ease, border-color 0.35s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
    box-sizing: border-box;
}

.ecosystem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 15, 28, 0.86) 18%, rgba(9, 15, 28, 0.35) 58%, rgba(9, 15, 28, 0.08) 100%);
    z-index: 1;
    pointer-events: none;
}

.ecosystem-card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.ecosystem-card:focus-visible {
    outline: 2px solid rgba(0, 113, 227, 0.9);
    outline-offset: 4px;
}

.ecosystem-card.is-active {
    flex: 3.9;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28);
}

.ecosystem-card:not(.is-active):hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.18);
}

.ecosystem-card-content {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 2;
    color: #ffffff;
    transition: top 0.35s ease, bottom 0.35s ease, left 0.35s ease, right 0.35s ease;
}

.ecosystem-card-kicker {
    margin: 0 0 0.45rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.ecosystem-card-content h3 {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 1.8vw, 2rem);
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.ecosystem-card-info {
    margin: 0.85rem 0 0;
    max-width: 35ch;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease-in 0.2s, transform 0.35s ease-in 0.2s;
}

.ecosystem-card.is-active .ecosystem-card-info {
    opacity: 1;
    transform: translateY(0);
}

.ecosystem-card-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease-in 0.24s, transform 0.35s ease-in 0.24s;
}

.ecosystem-card.is-active .ecosystem-card-tools {
    opacity: 1;
    transform: translateY(0);
}

.ecosystem-card-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    opacity: 0.88;
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.ecosystem-card-tool:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.ecosystem-card-tool i {
    font-size: 1.35rem;
    transition: color 0.25s ease;
}

.ecosystem-card-tool svg {
    width: 1.35rem;
    height: 1.35rem;
    filter: grayscale(1) brightness(2.1);
    opacity: 0.92;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.ecosystem-card-tool--shopify:hover {
    color: #96bf48;
}

.ecosystem-card-tool--woocommerce:hover {
    color: #7f54b3;
}

.ecosystem-card-tool--react:hover {
    color: #61dafb;
}

.ecosystem-card-tool--google:hover {
    color: #34a853;
}

.ecosystem-card-tool--meta:hover {
    color: #1877f2;
}

.ecosystem-card-tool--tiktok:hover {
    color: #ff2d8f;
}

.ecosystem-card-tool--figma:hover {
    color: #facc15;
}

.ecosystem-card-tool--shoptet:hover svg {
    filter: none;
    opacity: 1;
    transform: translateY(-1px);
}

.ecosystem-card-tool--camera:hover,
.ecosystem-card-tool--video:hover,
.ecosystem-card-tool--sliders:hover {
    color: #c084fc;
}

.ecosystem-card-tool--envelope:hover {
    color: #ec4899;
}

.ecosystem-card-tool--vector:hover,
.ecosystem-card-tool--print:hover {
    color: #f59e0b;
}

.ecosystem-card:not(.is-active) .ecosystem-card-content {
    position: absolute;
    inset: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    transition: none;
}

.ecosystem-card:not(.is-active) .ecosystem-card-kicker {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: auto;
    inline-size: max-content;
    max-inline-size: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 1;
    letter-spacing: 0.18em;
    text-align: center;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: translate(-50%, -50%) rotate(180deg);
}

.ecosystem-card:not(.is-active) .ecosystem-card-content h3 {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

/* ── Per-card kicker overrides — edit each individually ── */
.ecosystem-card .ecosystem-card-kicker.ecosystem-card-kicker--web-dev {
    /* font-size: 1.02rem; */
    /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; */
    /* font-weight: 700; */
    /* color: rgba(255, 255, 255, 0.88); */
    letter-spacing: 0.08em;
    /* text-transform: uppercase; */
    /* opacity: 1; */
    /* position: relative; */
    /* top: 0px; */
    /* left: 0px; */
    /* transform: rotate(180deg) translateX(0px) translateY(0px); */
}

.ecosystem-card .ecosystem-card-kicker.ecosystem-card-kicker--photography {
    /* font-size: 1.02rem; */
    /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; */
    /* font-weight: 700; */
    /* color: rgba(255, 255, 255, 0.88); */
    letter-spacing: 0.08em;
    /* text-transform: uppercase; */
    /* opacity: 1; */
    /* position: relative; */
    /* top: 0px; */
    /* left: 0px; */
    /* transform: rotate(180deg) translateX(0px) translateY(0px); */
}

.ecosystem-card .ecosystem-card-kicker.ecosystem-card-kicker--marketing {
    /* font-size: 1.02rem; */
    /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; */
    /* font-weight: 700; */
    /* color: rgba(255, 255, 255, 0.88); */
    letter-spacing: 0.08em;
    /* text-transform: uppercase; */
    /* opacity: 1; */
    /* position: relative; */
    /* top: 0px; */
    /* left: 0px; */
    /* transform: rotate(180deg) translateX(0px) translateY(0px); */
}

.ecosystem-card .ecosystem-card-kicker.ecosystem-card-kicker--design {
    /* font-size: 1.02rem; */
    /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; */
    /* font-weight: 700; */
    /* color: rgba(255, 255, 255, 0.88); */
    letter-spacing: 0.08em;
    /* text-transform: uppercase; */
    /* opacity: 1; */
    /* position: relative; */
    /* top: 0px; */
    /* left: 0px; */
    /* transform: rotate(180deg) translateX(0px) translateY(0px); */
}

.ecosystem-card:not(.is-active) .ecosystem-card-info {
    display: none;
}

.ecosystem-card:not(.is-active) .ecosystem-card-tools {
    display: none;
}

@media (max-width: 1024px) {
    .ecosystem-grid {
        min-height: 500px;
    }

    .ecosystem-card {
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .ecosystem-grid {
        flex-direction: column;
        min-height: auto;
    }

    .ecosystem-card {
        min-height: 180px;
        flex: none;
        min-width: 0;
        transition: min-height 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
    }

    .ecosystem-card.is-active {
        min-height: 320px;
        flex: none;
        transform: none;
    }

    .ecosystem-card-content {
        left: 1.2rem;
        right: 1.2rem;
        bottom: 1.2rem;
        width: auto;
        transform: none;
    }

    .ecosystem-card-content h3 {
        font-size: 1.45rem;
    }

    .ecosystem-card:not(.is-active) .ecosystem-card-content {
        inset: 0;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        transform: none;
        text-align: center;
    }

    .ecosystem-card:not(.is-active) .ecosystem-card-kicker {
        position: static;
        left: 0;
        top: 0;
        width: 100%;
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.56rem;
        letter-spacing: 0.12em;
        line-height: 1.2;
        white-space: normal;
        margin: 0;
        text-align: center;
    }

    .ecosystem-card:not(.is-active) .ecosystem-card-content h3 {
        display: none;
    }

    .ecosystem-card-tools {
        gap: 0.8rem;
        margin-top: 0.85rem;
    }

    .ecosystem-card-info {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ecosystem-card,
    .ecosystem-card-info {
        transition: none !important;
    }
}

@media (max-width: 768px) {
    .work-card-subtitle {
        white-space: nowrap;
    }

    .work-card-footer {
        gap: 0.75rem;
    }

    .work-card-description {
        max-width: 210px;
    }
}

/* Navbar dark-background adaptation */
.nav-adaptive-text { transition: color 0.35s ease; }
.nav-cta-btn { transition: background-color 0.35s ease, color 0.35s ease; }
#navbar.nav-on-dark .nav-adaptive-text { color: rgba(255, 255, 255, 0.92) !important; }
#navbar .nav-cta-btn.nav-cta-over-light { background-color: rgba(255, 255, 255, 0.95) !important; color: #1d1d1f !important; }
#navbar .nav-cta-btn.nav-cta-over-dark { background-color: #0071e3 !important; color: #ffffff !important; }

/* ============================================================
   HERO SECTION — CENTERED REDESIGN
   ============================================================ */

.hero-centered {
    position: relative;
    isolation: isolate;
    background: linear-gradient(
        to bottom,
        #f5f5f7 0%,
        #f5f5f7 62%,
        #eef0f8 76%,
        #d8dcef 86%,
        #c6cde8 94%,
        #b9c2e4 100%
    );
    border-bottom: none;
}

.hero-centered::after {
    content: "";
    position: absolute;
    left: -4%;
    right: -4%;
    bottom: -96px;
    height: 380px;
    pointer-events: none;
    z-index: 1;
    background: #050507;
    clip-path: polygon(
        0% 48%,
        18% 26%,
        38% 40%,
        58% 55%,
        73% 27%,
        86% 40%,
        100% 24%,
        100% 100%,
        0% 100%
    );
    filter: none;
    opacity: 1;
}

.hero-centered > * {
    position: relative;
    z-index: 1;
}

.why-centered {
    position: relative;
    isolation: isolate;
    background: #050507;
    border-bottom: none !important;
}

.why-centered::before {
    content: none;
}

.why-centered::after {
    content: none;
}

#why-section::after {
    content: "";
    position: absolute;
    left: -4%;
    right: -4%;
    bottom: 0;
    height: 380px;
    pointer-events: none;
    z-index: 1;
    background: #f5f5f7;
    clip-path: polygon(
        0% 48%,
        18% 26%,
        38% 40%,
        58% 55%,
        73% 27%,
        86% 40%,
        100% 24%,
        100% 100%,
        0% 100%
    );
}

.why-centered > * {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .section-entry-gradient::before,
    .platform-logos-section::before,
    .why-centered::after {
        animation: none !important;
    }
}

.hero-dashboard-wrap {
    display: none !important;
}

.hero-dashboard {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.08), 0 32px 80px rgba(0,0,0,0.18);
    overflow: hidden;
    transform: perspective(1400px) rotateX(4deg);
    transform-origin: top center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hero-dashboard:hover {
    transform: perspective(1400px) rotateX(0deg);
}

.hero-db-titlebar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 36px;
    padding: 0 12px;
    background: #f3f3f5;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    flex-shrink: 0;
}

.hero-db-lights { display: flex; gap: 5px; flex-shrink: 0; }

.hero-db-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border-width: 0.5px; border-style: solid;
}

.hero-db-tabs { display: flex; gap: 4px; flex: 1; justify-content: center; }

.hero-db-tab {
    font-size: 11px; font-weight: 600;
    padding: 3px 12px; border-radius: 6px;
    color: #6b7280; background: transparent;
    cursor: default;
}

.hero-db-tab--active {
    background: #ffffff; color: #1d1d1f;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hero-db-titlebar-right { flex-shrink: 0; }

.hero-db-panels {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 280px;
}

@media (min-width: 768px) {
    .hero-db-panels { min-height: 340px; }
}

.hero-db-panel {
    padding: 16px;
    border-right: 1px solid rgba(0,0,0,0.06);
    display: flex; flex-direction: column;
    position: relative; background: #fff; overflow: hidden;
}

.hero-db-panel:last-child { border-right: none; }
.hero-db-panel--center { background: #fafafa; }

.hero-db-panel-label {
    margin-top: auto; padding-top: 10px;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #9ca3af; display: flex; align-items: center;
}

.hero-db-urlbar {
    display: flex; align-items: center; gap: 5px;
    background: #f3f4f6; border-radius: 4px;
    padding: 3px 8px; margin-bottom: 10px;
}

.hero-db-urlbar-text { font-size: 10px; color: #6b7280; font-weight: 500; }

.hero-db-site-header {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 6px; padding: 12px; margin-bottom: 10px; flex-shrink: 0;
}

.hero-db-content-area { flex: 1; }

.hero-db-skeleton {
    background: #e5e7eb; border-radius: 4px; display: block;
}

.hero-db-card-thumb {
    background: #f3f4f6; border-radius: 4px; height: 48px;
}

.hero-db-platform-icon {
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.hero-db-metric {
    background: #fff; border: 1px solid #e5e7eb;
    border-radius: 6px; padding: 6px 8px; text-align: center;
}

.hero-db-metric--highlight { border-color: #bfdbfe; background: #eff6ff; }
.hero-db-metric-val { font-size: 13px; font-weight: 700; color: #1d1d1f; line-height: 1.2; }

.hero-db-metric-lbl {
    font-size: 8px; text-transform: uppercase;
    letter-spacing: 0.06em; color: #9ca3af;
    font-weight: 600; margin-top: 2px;
}

.hero-db-chart-area {
    flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
}

.hero-db-bars {
    display: flex; align-items: flex-end; gap: 3px; height: 60px;
}

.hero-db-bar { flex: 1; border-radius: 2px 2px 0 0; }

.hero-db-chart-label { font-size: 8px; color: #d1d5db; font-weight: 500; }

.hero-db-roi-block { display: flex; flex-direction: column; margin-bottom: 10px; }

.hero-db-roi-num {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 800; color: #16a34a;
    line-height: 1; letter-spacing: -0.02em;
}

.hero-db-roi-lbl { font-size: 10px; color: #9ca3af; font-weight: 500; margin-top: 3px; }

.hero-db-badge {
    font-size: 9px; font-weight: 700;
    padding: 3px 7px; border-radius: 99px;
    background: #f3f4f6; color: #6b7280;
    display: inline-flex; align-items: center;
}

.hero-db-badge--green { background: #dcfce7; color: #15803d; }

.hero-db-linechart-wrap { flex: 1; min-height: 60px; max-height: 90px; }

/* ---- Enhanced panel elements ---- */
.hero-db-status-pill {
    font-size: 8px; font-weight: 700; padding: 2px 7px; border-radius: 99px;
    background: #dcfce7; color: #15803d; display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0;
}
.hero-db-metric-trend { font-size: 7px; font-weight: 700; color: #16a34a; line-height: 1; margin-bottom: 2px; }
.hero-db-mini-stat { flex: 1; background: #f9fafb; border: 1px solid #f3f4f6; border-radius: 5px; padding: 4px 5px; text-align: center; }
.hero-db-mini-stat-val { font-size: 10px; font-weight: 700; color: #1d1d1f; line-height: 1.2; }
.hero-db-mini-stat-lbl { font-size: 7px; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-top: 1px; }
.hero-db-mini-stat--green .hero-db-mini-stat-val { color: #16a34a; }
.hero-db-rev-row { display: flex; gap: 6px; margin-bottom: 8px; }
.hero-db-rev-item { flex: 1; padding: 5px 7px; border-radius: 5px; }
.hero-db-rev-item--rev { background: #f0fdf4; }
.hero-db-rev-item--cost { background: #fef2f2; }
.hero-db-rev-label { font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #9ca3af; margin-bottom: 2px; }
.hero-db-rev-val { font-size: 10px; font-weight: 700; }
.hero-db-rev-val--rev { color: #16a34a; }
.hero-db-rev-val--cost { color: #dc2626; }

@media (max-width: 639px) {
    .hero-db-panels { grid-template-columns: 1fr; }
    .hero-db-panel {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        min-height: 160px;
    }
    .hero-db-panel:last-child { border-bottom: none; }
    .hero-dashboard { transform: perspective(1400px) rotateX(2deg); }
}

