/* DET Teknoloji premium visual experience — progressive enhancement layer */
:root {
    --experience-cyan: #22dfff;
    --experience-blue: #1176ff;
    --experience-deep: #020611;
}

/* Ambient progress and cursor glow */
.experience-progress {
    position: fixed;
    inset: 0 auto auto 0;
    width: 0;
    height: 3px;
    z-index: 500;
    pointer-events: none;
    background: linear-gradient(90deg, #22dfff, #1176ff 48%, #72f5ff);
    box-shadow: 0 0 22px rgba(34, 223, 255, .72);
}

.experience-cursor {
    position: fixed;
    width: 360px;
    height: 360px;
    left: 0;
    top: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    background: radial-gradient(circle, rgba(34, 223, 255, .075) 0, rgba(17, 118, 255, .038) 36%, transparent 70%);
    filter: blur(4px);
    transition: opacity .25s ease;
}

.experience-cursor.is-visible { opacity: 1; }

/* Hero refinements */
.mock-hero__content h1 {
    text-wrap: balance;
}

.mock-hero__content h1 span {
    background: linear-gradient(92deg, #22dfff 0%, #36a5ff 46%, #a4edff 78%, #1176ff 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: experienceTitleFlow 8s linear infinite;
}

.mock-hero__content > p {
    position: relative;
}

.mock-hero__content > p::before {
    content: "";
    display: block;
    width: 62px;
    height: 3px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22dfff, #1176ff, transparent);
    box-shadow: 0 0 18px rgba(34, 223, 255, .38);
}

.hero-scroll-cue {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: #93b4d9;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-scroll-cue i {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #dffaff;
    border: 1px solid rgba(34, 223, 255, .24);
    background: rgba(34, 223, 255, .08);
    animation: experienceScrollCue 2.1s ease-in-out infinite;
}

/* Premium button sheen */
.mock-btn,
.btn,
.nav-cta,
.det-game-start {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.mock-btn::before,
.btn::before,
.nav-cta::before,
.det-game-start::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -55%;
    width: 34%;
    z-index: -1;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
    transition: left .65s ease;
}

.mock-btn:hover::before,
.btn:hover::before,
.nav-cta:hover::before,
.det-game-start:hover::before {
    left: 125%;
}

/* Scrolling capability ribbon */
.tech-marquee {
    position: relative;
    overflow: hidden;
    border-block: 1px solid rgba(112, 186, 255, .1);
    background: linear-gradient(90deg, rgba(2, 6, 17, .92), rgba(10, 28, 52, .82), rgba(2, 6, 17, .92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), inset 0 -1px 0 rgba(255, 255, 255, .02);
}

.tech-marquee__track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    animation: experienceMarquee 34s linear infinite;
    will-change: transform;
}

.tech-marquee:hover .tech-marquee__track { animation-play-state: paused; }

.tech-marquee__track span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border-radius: 999px;
    color: #c7dcf7;
    border: 1px solid rgba(34, 223, 255, .12);
    background: rgba(255, 255, 255, .026);
    font-size: .83rem;
    font-weight: 750;
    white-space: nowrap;
}

.tech-marquee__track i { color: #22dfff; }

.tech-marquee__fade {
    position: absolute;
    inset-block: 0;
    width: min(130px, 14vw);
    z-index: 2;
    pointer-events: none;
}

.tech-marquee__fade--left {
    left: 0;
    background: linear-gradient(90deg, #030812, transparent);
}

.tech-marquee__fade--right {
    right: 0;
    background: linear-gradient(-90deg, #030812, transparent);
}

/* Product ecosystem visual section */
.visual-ecosystem {
    position: relative;
    padding: 64px 0 58px;
    overflow: hidden;
}

.visual-ecosystem::before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 118, 255, .13), rgba(34, 223, 255, .035) 45%, transparent 70%);
    pointer-events: none;
}

.visual-ecosystem__head {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 28px;
}

.visual-ecosystem__head > div { max-width: 830px; }

.visual-ecosystem__head h2 {
    margin: 8px 0 12px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    max-width: 820px;
}

.visual-ecosystem__head p:not(.kicker) {
    max-width: 760px;
    font-size: 1rem;
}

.ecosystem-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr .825fr .825fr;
    gap: 18px;
}

.ecosystem-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --pointer-x: 50%;
    --pointer-y: 50%;
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(91, 177, 255, .21);
    background: linear-gradient(180deg, rgba(10, 24, 43, .93), rgba(4, 10, 20, .98));
    box-shadow: 0 28px 80px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .045);
    transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-style: preserve-3d;
    transition: transform .18s ease, border-color .3s ease, box-shadow .3s ease;
    will-change: transform;
}

.ecosystem-card:hover {
    border-color: rgba(34, 223, 255, .42);
    box-shadow: 0 34px 92px rgba(0, 0, 0, .52), 0 0 38px rgba(34, 223, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.ecosystem-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, .16), transparent 34%);
    transition: opacity .25s ease;
}

.ecosystem-card:hover::after { opacity: 1; }

.ecosystem-card__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ecosystem-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 15, .04) 24%, rgba(2, 7, 17, .38) 55%, rgba(2, 7, 17, .96) 92%);
}

.ecosystem-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(.2, .75, .2, 1), filter .4s ease;
}

.ecosystem-card:hover .ecosystem-card__media img {
    transform: scale(1.065);
    filter: saturate(1.08) contrast(1.025);
}

.ecosystem-card__content {
    position: absolute;
    inset: auto 0 0;
    z-index: 4;
    padding: 28px;
    transform: translateZ(34px);
}

.ecosystem-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #dff7ff;
    border: 1px solid rgba(34, 223, 255, .22);
    background: rgba(5, 17, 31, .68);
    backdrop-filter: blur(10px);
    font-size: .76rem;
    font-weight: 800;
}

.ecosystem-card__eyebrow i { color: #22dfff; }

.ecosystem-card__content h3 {
    margin: 14px 0 9px;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.ecosystem-card__content p {
    max-width: 560px;
    color: #b8cbe5;
    font-size: .94rem;
    line-height: 1.62;
}

.ecosystem-card__content > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
    color: #75d8ff;
    font-weight: 850;
    font-size: .9rem;
}

.ecosystem-card__content > a i { transition: transform .24s ease; }
.ecosystem-card:hover .ecosystem-card__content > a i { transform: translateX(5px); }

.ecosystem-card__glow {
    position: absolute;
    width: 260px;
    height: 260px;
    right: -110px;
    bottom: -110px;
    z-index: 2;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 223, 255, .25), transparent 68%);
    filter: blur(12px);
    animation: experienceGlowPulse 5.4s ease-in-out infinite;
    pointer-events: none;
}

.ecosystem-card__scan {
    position: absolute;
    left: 6%;
    right: 6%;
    top: 7%;
    z-index: 2;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22dfff, #1176ff, transparent);
    box-shadow: 0 0 20px rgba(34, 223, 255, .8);
    animation: experienceProductScan 5.6s ease-in-out infinite;
}

/* Global premium section and card details */
.mock-title h2,
.section-head h2,
.page-hero h1 {
    text-wrap: balance;
}

.mock-title span {
    animation: experienceSectionLine 3.5s ease-in-out infinite;
}

.mock-stat,
.solution-card,
.why-box,
.premium-item,
.mock-project,
.process-step,
.listing-card,
.service-premium-card,
.logo-card {
    transition: transform .34s cubic-bezier(.2, .75, .2, 1), border-color .3s ease, box-shadow .3s ease;
}

.solution-card:hover,
.why-box:hover,
.premium-item:hover,
.mock-stat:hover,
.listing-card:hover,
.service-premium-card:hover {
    transform: translateY(-7px);
}

.mock-project::after,
.listing-card__media::after,
.service-premium-card__media::after {
    transition: opacity .35s ease;
}

.page-hero .shell {
    position: relative;
    overflow: hidden;
}

.page-hero .shell::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    top: -190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 223, 255, .18), transparent 70%);
    pointer-events: none;
    animation: experienceGlowPulse 7s ease-in-out infinite;
}

.site-footer {
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 223, 255, .8), transparent);
    box-shadow: 0 0 18px rgba(34, 223, 255, .5);
}

/* Back to top */
.experience-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    z-index: 90;
    display: grid;
    place-items: center;
    border-radius: 16px;
    border: 1px solid rgba(34, 223, 255, .23);
    color: #fff;
    background: linear-gradient(180deg, rgba(10, 28, 50, .92), rgba(3, 9, 19, .96));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .42), 0 0 24px rgba(34, 223, 255, .08);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, border-color .25s ease;
}

.experience-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.experience-to-top:hover {
    border-color: rgba(34, 223, 255, .48);
    transform: translateY(-3px);
}

@keyframes experienceTitleFlow {
    to { background-position: 220% center; }
}

@keyframes experienceScrollCue {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

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

@keyframes experienceGlowPulse {
    0%, 100% { opacity: .55; transform: scale(.94); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes experienceProductScan {
    0%, 12% { transform: translateY(0); opacity: 0; }
    20% { opacity: .9; }
    72% { opacity: .65; }
    88%, 100% { transform: translateY(310px); opacity: 0; }
}

@keyframes experienceSectionLine {
    0%, 100% { width: 58px; opacity: .65; }
    50% { width: 96px; opacity: 1; }
}

@media (max-width: 1180px) {
    .ecosystem-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ecosystem-card--vision { grid-column: 1 / -1; }
    .ecosystem-card--vision { min-height: 520px; }
}

@media (max-width: 920px) {
    .visual-ecosystem { padding-block: 44px; }

    .visual-ecosystem__head {
        display: grid;
        justify-items: start;
    }

    .ecosystem-card { min-height: 430px; }
    .ecosystem-card--vision { min-height: 480px; }

    .hero-scroll-cue { display: none; }
    .experience-cursor { display: none; }
}

@media (max-width: 720px) {
    .tech-marquee__track { padding-block: 10px; animation-duration: 28s; }
    .tech-marquee__track span { padding: 7px 11px; font-size: .72rem; }

    .visual-ecosystem { padding: 38px 0 34px; }
    .visual-ecosystem__head { gap: 18px; margin-bottom: 20px; }
    .visual-ecosystem__head h2 { font-size: clamp(1.75rem, 8vw, 2.35rem); }

    .ecosystem-grid { grid-template-columns: 1fr; gap: 16px; }
    .ecosystem-card--vision { grid-column: auto; }
    .ecosystem-card,
    .ecosystem-card--vision { min-height: 390px; border-radius: 22px; }
    .ecosystem-card__content { padding: 20px; }
    .ecosystem-card__content h3 { font-size: 1.75rem; }
    .ecosystem-card__content p { font-size: .86rem; }

    .experience-to-top {
        right: 14px;
        bottom: 78px;
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    html.js body {
        transform: none;
    }
}

@media (hover: none), (pointer: coarse) {
    .ecosystem-card {
        transform: none !important;
    }

    .ecosystem-card::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .tech-marquee__track,
    .mock-hero__content h1 span,
    .hero-scroll-cue i,
    .ecosystem-card__glow,
    .ecosystem-card__scan,
    .mock-title span,
    .page-hero .shell::before { animation: none !important; }
    .experience-cursor,
    .experience-progress { display: none; }
}
