/* ==================================================
   3d-modeling-animation.css
================================================== */

.three-d-page {
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 6%, rgba(var(--site-secondary-rgb), .13), transparent 24rem),
        radial-gradient(circle at 92% 4%, rgba(var(--site-primary-rgb), .1), transparent 28rem),
        linear-gradient(180deg, var(--site-white), rgba(var(--site-bg-light-rgb), .74));
}

.three-d-page section {
    padding: clamp(3.5rem, 6vw, 6rem) 0;
}

header .navbar > .container-fluid {
    max-width: 100%;
}

.three-d-hero > .container-fluid {
    max-width: 100%;
}


.brand-fallback {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--site-dark);
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -.04em;
}

.brand-fallback span {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    color: var(--site-dark);
    background: var(--site-secondary);
}

.three-d-hero {
    position: relative;
    overflow: hidden;
    padding: 2rem 0 0 !important;
    background:
        radial-gradient(circle at 8% 18%, rgba(var(--site-secondary-rgb), .12), transparent 24rem),
        radial-gradient(circle at 92% 12%, rgba(var(--site-accent-1-rgb), .12), transparent 28rem),
        var(--site-white);
}

.three-d-breadcrumb {
    position: relative;
    z-index: 2;
    margin-bottom: 2.25rem;
}

.three-d-breadcrumb a,
.three-d-breadcrumb span {
    color: rgba(var(--site-white-rgb), .64);
}

.three-d-breadcrumb a:hover,
.three-d-breadcrumb strong {
    color: var(--site-secondary);
}

.three-d-hero-panel {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 680px;
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: 2rem;
    color: var(--site-white);
    background:
        radial-gradient(circle at 85% 18%, rgba(var(--site-accent-1-rgb), .2), transparent 26rem),
        radial-gradient(circle at 28% 86%, rgba(var(--site-primary-rgb), .45), transparent 24rem),
        radial-gradient(circle at 100% 100%, rgba(var(--site-secondary-rgb), .18), transparent 20rem),
        linear-gradient(135deg, var(--site-dark) 0%, var(--site-dark-hover) 48%, var(--site-primary) 100%);
    box-shadow: var(--shadow-md);
}

.three-d-hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(rgba(var(--site-white-rgb), .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--site-white-rgb), .05) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 50% 40%, var(--site-dark) 0, transparent 72%);
}

.three-d-hero-panel::after {
    content: "";
    position: absolute;
    right: -11rem;
    bottom: -18rem;
    width: 42rem;
    height: 42rem;
    border-radius: 50%;
    border: 1px dashed rgba(var(--site-secondary-rgb), .34);
    opacity: .7;
}

.hero-mesh {
    position: absolute;
    pointer-events: none;
    opacity: .22;
}

.hero-mesh::before,
.hero-mesh::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(var(--site-white-rgb), .16);
}

.hero-mesh-one {
    right: 4rem;
    top: 3rem;
    width: 12rem;
    height: 12rem;
    background-image: radial-gradient(rgba(var(--site-secondary-rgb), .55) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
}

.hero-mesh-two {
    left: -6rem;
    bottom: -4rem;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: rgba(var(--site-white-rgb), .08);
}

.three-d-badge {
    gap: .55rem;
    color: var(--site-secondary);
    background: rgba(var(--site-secondary-rgb), .12);
    border: 1px solid rgba(var(--site-secondary-rgb), .28);
}

.three-d-hero h1 {
    max-width: 45rem;
    margin: 1.15rem 0 1.25rem;
    color: var(--site-white);
    font-size: clamp(2.7rem, 5vw, 5.1rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.06em;
}

.three-d-hero h1::first-letter {
    color: var(--site-secondary);
}

.three-d-hero-text {
    max-width: 39rem;
    color: rgba(var(--site-white-rgb), .78);
    font-size: 1.06rem;
    line-height: 1.85;
}

.three-d-checks {
    display: grid;
    gap: .85rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.three-d-checks li {
    position: relative;
    padding-left: 1.9rem;
    color: rgba(var(--site-white-rgb), .86);
    font-weight: 650;
}

.three-d-checks li::before {
    content: "\f058";
    position: absolute;
    left: 0;
    top: .05rem;
    color: var(--site-secondary);
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
}

.three-d-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .9rem;
    margin-top: 1.8rem;
}

.three-d-stage-mockup {
    position: relative;
    min-height: 35rem;
    display: grid;
    place-items: center;
}

.stage-grid {
    position: absolute;
    inset: 5rem 2.5rem 4rem;
    border: 1px solid rgba(var(--site-white-rgb), .08);
    border-radius: 2rem;
    background:
        linear-gradient(rgba(var(--site-white-rgb), .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--site-white-rgb), .06) 1px, transparent 1px),
        rgba(var(--site-white-rgb), .04);
    background-size: 28px 28px;
    transform: perspective(900px) rotateX(60deg) rotateZ(-8deg);
    transform-origin: center;
}

.axis {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 13rem;
    height: .12rem;
    border-radius: 999px;
    transform-origin: left center;
}

.axis-x { background: var(--site-accent-2); transform: rotate(0deg); }
.axis-y { background: var(--site-primary); transform: rotate(120deg); }
.axis-z { background: var(--site-accent-1); transform: rotate(-58deg); }

.object-orbit {
    position: absolute;
    border: 1px dashed rgba(var(--site-secondary-rgb), .34);
    border-radius: 50%;
}

.orbit-large { width: 27rem; height: 27rem; }
.orbit-small { width: 18rem; height: 18rem; border-color: rgba(var(--site-accent-1-rgb), .36); }

.cube-object {
    position: relative;
    width: 9rem;
    height: 9rem;
    transform-style: preserve-3d;
    transform: rotateX(-22deg) rotateY(38deg) rotateZ(2deg);
    z-index: 3;
}

.cube-object .face {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(var(--site-white-rgb), .35);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.face-front {
    background: linear-gradient(135deg, var(--site-primary), var(--site-accent-1));
    transform: translateZ(4.5rem);
}

.face-top {
    background: linear-gradient(135deg, var(--site-secondary));
    transform: rotateX(90deg) translateZ(4.5rem);
}

.face-side {
    background: linear-gradient(135deg, var(--site-accent-2), var(--site-accent-7));
    transform: rotateY(90deg) translateZ(4.5rem);
}

.model-panel,
.render-card {
    position: absolute;
    z-index: 4;
    border: 1px solid rgba(var(--site-white-rgb), .12);
    border-radius: 1.25rem;
    background: rgba(var(--site-white-rgb), .92);
    color: var(--site-dark);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.model-panel {
    min-width: 12rem;
    padding: 1rem;
    display: grid;
    gap: .2rem;
}

.model-panel i {
    width: 2.45rem;
    height: 2.45rem;
    margin-bottom: .4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    color: var(--site-white);
    background: var(--site-primary);
}

.model-panel strong { font-weight: 950; }
.model-panel small { color: rgba(var(--site-body-color-rgb), .6); font-weight: 650; }
.panel-product { left: 0; top: 5rem; }
.panel-motion { right: 0; top: 8rem; }
.panel-xr { left: 4rem; bottom: 4rem; }

.panel-motion i { background: var(--site-accent-1); }
.panel-xr i { background: var(--site-accent-2); }

.render-card {
    right: 2rem;
    bottom: 2.2rem;
    width: 17rem;
    padding: 1rem;
}

.render-head {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .85rem;
}

.render-head span {
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: rgba(var(--site-dark-rgb), .18);
}

.render-head strong {
    margin-left: .45rem;
    font-size: .82rem;
    font-weight: 950;
}

.render-preview {
    height: 7rem;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: .6rem;
    border-radius: 1rem;
    background: var(--site-dark);
}

.render-preview i {
    width: 2.5rem;
    border-radius: 999px 999px .2rem .2rem;
    background: linear-gradient(180deg, var(--site-secondary), var(--site-primary));
}

.render-preview i:nth-child(1) { height: 3.5rem; }
.render-preview i:nth-child(2) { height: 5rem; background: linear-gradient(180deg, var(--site-accent-1), var(--site-primary)); }
.render-preview i:nth-child(3) { height: 2.6rem; background: linear-gradient(180deg, var(--site-accent-2), var(--site-secondary)); }

.render-meta {
    display: flex;
    justify-content: space-between;
    margin-top: .8rem;
    color: rgba(var(--site-body-color-rgb), .66);
    font-size: .78rem;
    font-weight: 800;
}

.three-d-capabilities-panel {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 2rem auto 0;
    padding: 1.15rem;
    border: 1px solid rgba(var(--site-dark-rgb), .08);
    border-radius: 1.5rem;
    background: rgba(var(--site-white-rgb), .94);
    box-shadow: var(--shadow-sm);
}

.capability-item {
    min-height: 7rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1.1rem;
    color: var(--site-body-color);
}

.capability-item:not(:last-child) {
    border-right: 1px solid rgba(var(--site-dark-rgb), .08);
}

.capability-item i {
    width: 3.2rem;
    height: 3.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--site-primary);
    background: rgba(var(--site-primary-rgb), .1);
    font-size: 1.35rem;
}

.capability-item:nth-child(2) i { color: var(--site-secondary); background: rgba(var(--site-secondary-rgb), .14); }
.capability-item:nth-child(3) i { color: var(--site-accent-1); background: rgba(var(--site-accent-1-rgb), .1); }
.capability-item:nth-child(4) i { color: var(--site-accent-2); background: rgba(var(--site-accent-2-rgb), .1); }

.capability-item h3 {
    margin: 0 0 .25rem;
    font-size: 1rem;
    font-weight: 950;
}

.capability-item span {
    color: rgba(var(--site-body-color-rgb), .64);
    font-size: .88rem;
    line-height: 1.45;
}

.three-d-solutions {
    background: linear-gradient(180deg, var(--site-white), var(--site-bg-light));
}

.three-d-solution-card {
    height: 100%;
    padding: 2rem;
    border: 1px solid rgba(var(--site-dark-rgb), .08);
    border-radius: 1.55rem;
    background: var(--site-white);
    box-shadow: var(--shadow-xs);
}

.three-d-solution-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--site-primary-rgb), .24);
    box-shadow: var(--shadow-xs);
}

.solution-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    color: var(--site-primary);
    background: rgba(var(--site-primary-rgb), .1);
    font-size: 1.45rem;
}

.solution-animation .solution-icon { background: rgba(var(--site-secondary-rgb), .1); color: var(--site-secondary); }
.solution-xr .solution-icon { background: rgba(var(--site-accent-1-rgb), .1); color: var(--site-accent-1); }

.three-d-solution-card > span {
    color: var(--site-primary);
    font-size: .8rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.solution-animation > span { color: var(--site-secondary); }
.solution-xr > span { color: var(--site-accent-1); }

.three-d-solution-card h3 {
    margin: .5rem 0 .8rem;
    font-size: 1.35rem;
    font-weight: 950;
    letter-spacing: -.025em;
}

.three-d-solution-card p {
    color: rgba(var(--site-body-color-rgb), .68);
    line-height: 1.75;
}

.three-d-solution-card ul {
    display: grid;
    gap: .75rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.three-d-solution-card li {
    position: relative;
    padding-left: 1.65rem;
    color: rgba(var(--site-body-color-rgb), .74);
}

.three-d-solution-card li::before {
    content: "\f058";
    position: absolute;
    left: 0;
    top: .02rem;
    color: var(--site-primary);
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
}

.three-d-workflow {
    background: var(--site-bg-light);
}

.workflow-panel,
.three-d-cta-panel {
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 90% 12%, rgba(var(--site-secondary-rgb), .16), transparent 22rem),
        var(--site-white);
    box-shadow: var(--shadow-sm);
}

.workflow-panel h2,
.xr-showcase h2,
.three-d-cta-panel h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -.045em;
}

.workflow-panel p,
.xr-showcase p,
.three-d-cta-panel p {
    color: rgba(var(--site-body-color-rgb), .7);
    line-height: 1.8;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.workflow-steps article {
    min-height: 12rem;
    padding: 1.5rem;
    border: 1px solid rgba(var(--site-dark-rgb), .08);
    border-radius: 1.25rem;
    background: var(--site-bg-light);
}

.workflow-steps span {
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--site-white);
    background: var(--site-primary);
    font-weight: 950;
}

.workflow-steps h3 {
    margin-bottom: .6rem;
    font-size: 1.08rem;
    font-weight: 950;
}

.workflow-steps p { margin: 0; font-size: .94rem; }

.xr-showcase {
    background: var(--site-white);
}

.xr-interface {
    position: relative;
    min-height: 34rem;
    display: grid;
    place-items: center;
}

.xr-device {
    position: relative;
    width: min(100%, 30rem);
    padding: 1rem;
    border-radius: 2rem;
    background: var(--site-dark);
    box-shadow: var(--shadow-lg);
}

.xr-screen {
    position: relative;
    min-height: 22rem;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at 50% 40%, rgba(var(--site-accent-1-rgb), .2), transparent 14rem),
        linear-gradient(135deg, rgba(var(--site-primary-rgb), .32), rgba(var(--site-secondary-rgb), .18)),
        var(--site-dark);
}

.xr-screen::before {
    content: "";
    position: absolute;
    inset: 2rem;
    border: 1px dashed rgba(var(--site-white-rgb), .18);
    border-radius: 50%;
}

.xr-cube {
    position: relative;
    width: 7rem;
    height: 7rem;
    transform-style: preserve-3d;
    transform: rotateX(-18deg) rotateY(36deg);
}

.xr-cube span {
    position: absolute;
    inset: 0;
    border-radius: .8rem;
    border: 1px solid rgba(var(--site-white-rgb), .3);
}

.xr-cube span:nth-child(1) { background: var(--site-primary); transform: translateZ(3.5rem); }
.xr-cube span:nth-child(2) { background: var(--site-secondary); transform: rotateX(90deg) translateZ(3.5rem); }
.xr-cube span:nth-child(3) { background: var(--site-accent-1); transform: rotateY(90deg) translateZ(3.5rem); }

.xr-screen button {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 3.3rem;
    height: 3.3rem;
    border: 0;
    border-radius: 50%;
    color: var(--site-dark);
    background: var(--site-secondary);
}

.xr-side-card {
    position: absolute;
    min-width: 14rem;
    padding: 1rem;
    display: grid;
    gap: .25rem;
    border: 1px solid rgba(var(--site-dark-rgb), .08);
    border-radius: 1.15rem;
    background: rgba(var(--site-white-rgb), .94);
    box-shadow: var(--shadow-md);
}

.xr-side-card i {
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: .25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .8rem;
    color: var(--site-primary);
    background: rgba(var(--site-primary-rgb), .1);
}

.xr-side-card strong { font-weight: 950; }
.xr-side-card span { color: rgba(var(--site-body-color-rgb), .62); font-size: .86rem; }
.card-ar { left: 0; top: 4rem; }
.card-vr { right: 0; top: 7rem; }
.card-360 { left: 6rem; bottom: 2rem; }
.card-vr i { color: var(--site-accent-1); background: rgba(var(--site-accent-1-rgb), .1); }
.card-360 i { color: var(--site-accent-2); background: rgba(var(--site-accent-2-rgb), .1); }

.three-d-stats {
    padding-top: 2rem !important;
    background: linear-gradient(180deg, var(--site-white), rgba(var(--site-bg-light-rgb), .76));
}

.stats-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border-radius: 1.5rem;
    color: var(--site-white);
    background:
        radial-gradient(circle at 85% 20%, rgba(var(--site-secondary-rgb), .2), transparent 22rem),
        linear-gradient(135deg, var(--site-dark), var(--site-primary));
}

.stat-item {
    min-height: 9rem;
    padding: 1.5rem;
    display: grid;
    align-content: center;
    gap: .45rem;
    background: rgba(var(--site-white-rgb), .035);
}

.stat-item i {
    color: var(--site-secondary);
    font-size: 1.8rem;
}

.stat-item strong {
    font-size: 2rem;
    font-weight: 950;
}

.stat-item span {
    color: rgba(var(--site-white-rgb), .72);
}

.three-d-cta {
    padding-top: 2rem !important;
}

.three-d-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: var(--site-white);
    background:
        radial-gradient(circle at 85% 20%, rgba(var(--site-secondary-rgb), .28), transparent 22rem),
        linear-gradient(135deg, var(--site-primary), var(--site-primary-hover));
}

.three-d-cta-panel .section-label {
    color: var(--site-secondary);
    background: rgba(var(--site-white-rgb), .12);
}

.three-d-cta-panel h2,
.three-d-cta-panel p {
    max-width: 52rem;
    color: var(--site-white);
}

.three-d-cta-panel p {
    margin-bottom: 0;
    color: rgba(var(--site-white-rgb), .78);
}

@media (max-width: 1199.98px) {
    .three-d-capabilities-panel { grid-template-columns: repeat(2, 1fr); }
    .capability-item:nth-child(2) { border-right: 0; }
    .capability-item:nth-child(-n+2) { border-bottom: 1px solid rgba(var(--site-dark-rgb), .08); }
}

@media (max-width: 991.98px) {
    .three-d-hero-panel { min-height: auto; }
    .three-d-stage-mockup { min-height: 32rem; }
    .panel-product { left: 1rem; }
    .panel-motion { right: 1rem; }
    .render-card { right: 1rem; }
    .xr-interface { min-height: 40rem; }
    .three-d-cta-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
    .three-d-page section { padding: 3rem 0; }
    .three-d-hero-panel { padding: 1.5rem; border-radius: 1.5rem; }
    .three-d-hero h1 { font-size: 2.65rem; }
    .three-d-stage-mockup { min-height: auto; display: grid; gap: 1rem; padding-top: 2rem; }
    .stage-grid,
    .axis,
    .object-orbit { display: none; }
    .cube-object { margin: 2rem auto; }
    .model-panel,
    .render-card,
    .xr-side-card {
        position: static;
        width: 100%;
    }
    .three-d-capabilities-panel,
    .workflow-steps,
    .stats-panel { grid-template-columns: 1fr; }
    .capability-item,
    .capability-item:not(:last-child),
    .capability-item:nth-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid rgba(var(--site-dark-rgb), .08);
    }
    .capability-item:last-child { border-bottom: 0; }
    .xr-interface { min-height: auto; display: grid; gap: 1rem; }
}

@media (max-width: 575.98px) {
    .three-d-hero-actions .btn,
    .three-d-hero-actions .btn-green,
    .three-d-hero-actions .btn-white { width: 100%; }
    .three-d-solution-card,
    .workflow-panel,
    .workflow-steps article,
    .three-d-cta-panel { padding: 1.35rem; border-radius: 1.25rem; }
}
