@import url('../fonts/helvetica-now-display/stylesheet.css');  

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
    .no-scrollbar::-webkit-scrollbar {
        display: none;
    }

    .no-scrollbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    overflow: hidden;
    background: var(--primary-200);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
}

p {
    font-family: var(--font-sans);
}

body.active-loader {
    overflow: hidden;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-200);
    padding: calc(30px + (100 - 30) * ((100vw - 375px) / (1920 - 375)));
    z-index: 99999999999;
}

.loading-text {
    font-size: 40px;
    font-weight: 700;
}

.loader-container .loading-text i {
    animation-fill-mode: both;
    animation: loaderbblFadInOut 1.8s infinite ease-in-out;
}

.loader-container .loading-text i {
    display: inline-block;
}

.loader-container .loading-text i:nth-child(2) {
    animation-delay: -0.16s;
}

.loader-container .loading-text i:nth-child(1) {
    animation-delay: -0.32s;
}

@keyframes loaderbblFadInOut {

    0%,
    80%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

.website-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    z-index: 999999;
    border: 1px solid var(--primary-900);
    border-radius: 50%;
    pointer-events: none;
    transition:
        scale .7s cubic-bezier(0.075, 0.82, 0.165, 1);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    will-change: transform;
}

.website-cursor.active {
    background-color: var(--primary-700);
    border-color: var(--primary-700);
}

.website-cursor__dot {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-900);
    pointer-events: none;
    transition: all 0.3s ease, scale 0.3s ease;
}

.website-cursor.link-tags {
    border: none;
    box-shadow: none;
    mix-blend-mode: difference;
}

.website-cursor.link-tags .website-cursor__dot {
    width: 26px;
    height: 26px;
}

.btn-primary {
    background: var(--primary-900);
    border-radius: 50px;
    color: var(--white);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    line-height: 18px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-900);
    color: var(--primary-900);
    line-height: 18px;
    border-radius: 50px;
}

.btn-md {
    width: fit-content;
    padding: 12px 34px;
}

.btn-lg {
    width: fit-content;
    padding: 16px 48px;
}

.btn-icon {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-primary:hover {
    background: var(--primary-900);
    
    color: var(--white);
}

.btn-primary.btn-outline:hover {
    background: var(--primary-900);
    color: var(--white);
}

.brand-logo {
    width: 258px;
    height: 68px;
}

/* Replaced Tailwind @layer components with standard CSS for CDN compatibility */
.social-icon {
    display: flex;
    height: 42px;
    width: 42px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    color: var(--white);
}

svg.icon-sm,
.social-icon.icon-sm svg {
    height: 20px;
    width: 20px;
}

.social-icon:hover {
    color: var(--white);
    background-color: #2D68FF;
}

.social-icon-primary {
    color: var(--black);
}

.social-icon-secondary {
    background-color: transparent;
    color: #211f54;
}

.social-icon-secondary:hover {
    background-color: #211f54;
    color: #ffffff;
}


/* Section helpers: plain CSS — Play CDN does not compile @apply in linked stylesheets. */
.section-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 1.25rem;
    width: 100%;
    overflow: hidden;
}

.section-container-full {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}


.section-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 1920px;
    border-radius: 24px;
    border: 1px solid rgba(181, 175, 255, 0.35);
    background: #211F54;
    overflow: hidden;
    padding: 2rem 1.5rem 2.5rem;
    box-shadow: 0 24px 60px rgba(8, 0, 102, 0.12);
}

.section-container-dark {
    background-color: #211F54;
    overflow: hidden;
    padding: 1.25rem;
}

.section-card-full {
    padding: 1.25rem;
}

.section-intro-top {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.section-intro-top.dark .section-title-display,
.section-intro-top.dark .section-lede-aside {
    color: #D6F6FF;
}

.section-intro-top.dark .section-kicker-label {
    color: rgba(214, 246, 255, 0.65);
}

.section-intro-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.section-kicker-inner {
    border-radius: 50.9px;
    border: 0.94px solid #08006626;
    background: linear-gradient(90deg, rgba(8, 0, 102, 0.13) 0%, rgba(8, 0, 102, 0.04) 100%);
    padding: 0.75rem 1rem;
}

.section-intro-top.dark .section-kicker-inner {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 0.94px solid #FFFFFF26
}

.section-kicker-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: #211f54;
}

.section-title-display {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #211f54;
    overflow: hidden;
}

.section-title-display span {
    display: inline-block;
}


.section-lede-aside {
    max-width: 36rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: #211f54;
}

/* This is styles for work and industries cards */
.work-card {
    border: 1px solid var(--primary-300);
    border-radius: 1.5rem;
    scroll-snap-align: center;
    flex-shrink: 0;
    width: fit-content;
    height: 20rem;
    max-width: 20rem;
    padding: 1rem;
    box-shadow: 4px 4px 8px 2px #00000014;
    background: var(--primary-200);
}

.work-card__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.work-card__heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.work-card.dark {
    color: #FFFFFF;
    background: #211F54;
}

.work-card__title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    text-transform: uppercase;
}

.work-card__content {
    font-size: 1rem;
    line-height: 1.5rem;
    max-width: 318px;
}

.work-card.dark .work-card__title,
.work-card.dark .work-card__content {
    color: #D6F6FF;
}

/* portfolio */
.portfolio-list__container {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
}

.portfolio-list__item {
    position: relative;
    border-radius: 30px;
}

.portfolio-list__row {
    display: grid;
    grid-template-columns: minmax(3.5rem, 5.5rem) minmax(0, 1fr) auto;
    grid-template-columns: minmax(130px, 1fr) minmax(0, 2fr) auto;
    gap: 1rem 1.25rem;
    align-items: center;
    padding: 1.25rem 2rem;
    text-decoration: none;
    color: #f4f6ff;
    border-radius: 16px;
    transition: background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-list__code {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
}

.portfolio-list__desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    font-weight: 400;
    color: rgba(244, 246, 255, 0.78);
}

.portfolio-list__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4f6ff;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
}

.portfolio-list__arrow svg {
    height: 12px;
    width: 14px;
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-list__item:hover .portfolio-list__arrow svg path {
        transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        stroke: #1b1b3a;
    }

    .portfolio-list__item:hover .portfolio-list__arrow {
        background-color: #ffffff;
        transform: rotate(-45deg);
    }
}

.portfolio-list__preview {
    position: absolute;
    left: 0;
    top: 0;
    width: min(30vw, 200px);
    pointer-events: none;
    border-radius: 16px;
    overflow: hidden;
    z-index: 4;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: scale(0.94);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: left, top, transform, opacity;
}

@media (hover: none),
(pointer: coarse) {
    .portfolio-list__preview {
        display: none;
    }
}

.portfolio-list__preview img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 280 / 190;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-list__item:hover .portfolio-list__preview {
        opacity: 1;
        visibility: visible;
        rotate: 10deg;
        transform: scale(1);
    }
}

.portfolio-list__footer {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    padding-top: 0.5rem;
}

.portfolio-list__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 2.25rem;
    border-radius: 999px;
    background: #ffffff;
    color: #1b1b3a;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.portfolio-list__cta:hover {
    background: #f0f0ff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}


/* animations */
@keyframes gelatine {

    from,
    to {
        transform: scale(1, 1);
    }

    25% {
        transform: scale(0.9, 1.1);
    }

    50% {
        transform: scale(1.1, 0.9);
    }

    75% {
        transform: scale(0.95, 1.05);
    }
}

@keyframes moveY {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-30px);
    }
}

@keyframes moveX {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-30px);
    }
}


@keyframes waveExpand {
    0% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(0.85);
    }

    80% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.15);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes floatA {

    0%,
    100% {
        transform: translateY(0px) rotate(-10deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes floatB {

    0%,
    100% {
        transform: translateY(0px) rotate(20deg);
    }

    50% {
        transform: translateY(-12px) rotate(-2deg);
    }
}

/* Footer watermark spotlight effect */
.footer-watermark-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    overflow: hidden;
}

.footer-watermark {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    user-select: none;
}
 

/* =============================================
   CTA SECTION STYLES & ANIMATIONS
============================================= */

/* ── Banner Card ──────────────────────────── */
.banner-wrapper {
    padding: 2.5rem 2rem;
}

/* ── Rocket Icon Box ──────────────────────── */
.icon-box {
    width: 72px;
    height: 72px;
    background-color: #4A3AFF;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(74, 58, 255, 0.35);
    animation: rocketPulse 3s ease-in-out infinite;
}

@keyframes rocketPulse {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 8px 24px rgba(74, 58, 255, 0.35);
    }

    50% {
        transform: translateY(-4px) rotate(-3deg);
        box-shadow: 0 16px 32px rgba(74, 58, 255, 0.5);
    }
}

/* ── Typography ───────────────────────────── */
.banner-title {
    font-weight: 800;
    font-size: 2.5rem;
    color: #211F54;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.banner-sub {
    color: #211F54;
    font-size: 0.9rctaem;
    line-height: 1.6;
    font-weight: 400;
}

/* ── CTA Zone ─────────────────────────────── */
.cta-zone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    margin: auto;
    min-width: 300px;
    min-height: 180px;
}

/* ── Get Started Button ───────────────────── */
.get-started-wrapper {
    position: relative;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
}

.get-started-btn {
    position: relative;
    z-index: 10;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #4A3AFF;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    letter-spacing: 0.01em;
}

.get-started-btn:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 0 8px rgba(74, 58, 255, 0.2),
        0 16px 48px rgba(74, 58, 255, 0.55);
        color: var(--white);
}

.get-started-btn:active {
    transform: scale(0.97);
}

/* ── Wave Rings ───────────────────────────── */
.wave-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(74, 58, 255, 0.25);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: waveExpand 1.8s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
    pointer-events: none;
}

.wave-ring-1 {
    width: 130px;
    height: 130px;
    animation-delay: 0s;
}

.wave-ring-2 {
    width: 165px;
    height: 165px;
    animation-delay: 0.6s;
    border-color: rgba(74, 58, 255, 0.15);
}

.wave-ring-3 {
    width: 200px;
    height: 200px;
    animation-delay: 1.2s;
    border-color: rgba(74, 58, 255, 0.08);
}

/* ── Floating Icon Boxes ──────────────────── */
.float-icon {
    width: 48px;
    height: 48px;
    background-color: #4A3AFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(74, 58, 255, 0.3);
    position: absolute;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.float-icon:hover {
    box-shadow: 0 10px 30px rgba(74, 58, 255, 0.5);
}

/* Terminal: bottom-left of cta zone */
.float-icon-terminal {
    bottom: 0px;
    left: 0px;
    animation: floatA 4s ease-in-out infinite;
}

/* Mobile: top-right of cta zone */
.float-icon-mobile {
    top: 0px;
    right: 0px;
    animation: floatB 4.5s ease-in-out infinite;
}

/* faq section */
.faq-item .faq-icon {
    color: #211F54;
    border: 1px solid #211F54;
    border-radius: 33px;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background-color: #211F54;
    color: #FFFFFF;
    transition: all 0.5s ease;
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    color: var(--primary-600);
}


/* Technologies section*/
.technologies__marquee-clip {
    mask-image: linear-gradient(90deg,
            transparent 0%,
            #000 10%,
            #000 90%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(90deg,
            transparent 0%,
            #000 10%,
            #000 90%,
            transparent 100%);
}

.technologies__badge {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 0.94px solid #FFFFFF26;
}

.icon-cursor {
    background: transparent !important;
    border: 1px solid var(--primary-700);
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 1rem;
}

.tech-card__icon {
    display: flex;
    width: 4.25rem;
    height: 4.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0.5px solid #FFFFFF80;
    background: linear-gradient(135deg, rgba(73, 71, 124, 0) 14.75%, #49477C 75%);
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0px 0px 5px 3.33px #00000014 inset;
    transition: filter 0.35s var(--ease-out, ease), opacity 0.35s var(--ease-out, ease),
        transform 0.35s var(--ease-out, ease);
}

.tech-card__icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

[data-tech-hover-root].technologies__marquee--focus .tech-card:not(.is-hover) {
    filter: blur(2px);
    opacity: 0.38;
    transform: scale(0.96);
}

[data-tech-hover-root].technologies__marquee--focus .tech-card.is-hover {
    filter: none;
    opacity: 1;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .technologies__marquee-clip {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .technologies-card.is-cursor-active {
        cursor: auto;
    }

    .technologies__cursor {
        display: none;
    }
}