﻿:root {
    --bg: #020617;
    --bg-soft: #0b1228;
    --surface: rgba(12, 22, 47, 0.68);
    --surface-strong: rgba(16, 28, 58, 0.92);
    --border: rgba(151, 183, 255, 0.22);
    --text: #e6ecff;
    --text-muted: #9cadcf;
    --primary: #55a3ff;
    --primary-strong: #2d7de6;
    --accent: #4de9c5;
    --danger: #ff5e78;
    --success: #4bc98e;
    --shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 20% 10%, rgba(48, 93, 197, 0.22), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(23, 158, 196, 0.2), transparent 30%),
        radial-gradient(circle at 30% 80%, rgba(43, 84, 172, 0.24), transparent 38%),
        var(--bg);
    min-height: 100%;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.site-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image: linear-gradient(rgba(135, 162, 228, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(135, 162, 228, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at center, black 28%, transparent 84%);
}

.container {
    width: min(var(--container), calc(100% - 2.4rem));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(16px);
    background: rgba(3, 9, 24, 0.82);
    border-bottom: 1px solid rgba(151, 183, 255, 0.16);
}

.nav-wrap {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.12);
    padding: 5px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(145deg, #63b0ff, #4de9c5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 20px rgba(63, 165, 255, 0.35);
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-muted);
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(133, 175, 255, 0.16);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.menu-toggle {
    display: none;
    border: 0;
    background: rgba(133, 175, 255, 0.14);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 11px;
    font-weight: 600;
    padding: 0.72rem 1.12rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #061027;
    background: linear-gradient(150deg, #8bc5ff, #4de9c5);
    box-shadow: 0 12px 28px rgba(77, 178, 234, 0.34);
}

.btn-secondary {
    color: var(--text);
    background: rgba(102, 146, 235, 0.2);
    border: 1px solid rgba(139, 186, 255, 0.4);
}

.btn-ghost {
    color: var(--text-muted);
    background: transparent;
    border: 1px solid rgba(151, 183, 255, 0.27);
}

.hero {
    padding: 5.2rem 0 4.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2.6rem;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d6ecff;
    background: rgba(98, 150, 244, 0.2);
    border: 1px solid rgba(118, 174, 255, 0.42);
}

.hero-title {
    margin: 1rem 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4.7vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #f4f8ff;
}
.hero-title span {
    background: linear-gradient(160deg, #95ccff, #5cedcf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 59ch;
}

.hero-actions {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.metric-row {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.metric-card {
    padding: 0.88rem;
    background: rgba(19, 32, 67, 0.65);
    border: 1px solid rgba(151, 183, 255, 0.2);
    border-radius: 12px;
}

.metric-card strong {
    display: block;
    font-size: 1.08rem;
}

.metric-card span {
    color: var(--text-muted);
    font-size: 0.83rem;
}

.device-stage {
    position: relative;
    min-height: 520px;
}

.device {
    position: absolute;
    background: linear-gradient(160deg, #0f1b3a, #091127);
    border: 1px solid rgba(160, 193, 255, 0.26);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.device::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 34%);
}

.device-screen {
    height: 100%;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.screen-bar {
    height: 10px;
    width: 42%;
    border-radius: 99px;
    background: rgba(163, 198, 255, 0.38);
}

.screen-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0.5rem;
}

.widget {
    border-radius: 10px;
    border: 1px solid rgba(172, 201, 255, 0.2);
    background: rgba(28, 45, 92, 0.72);
    min-height: 54px;
}

.widget.accent {
    background: linear-gradient(130deg, rgba(71, 130, 229, 0.9), rgba(50, 216, 178, 0.8));
    border-color: rgba(130, 223, 255, 0.34);
}

.widget.tall {
    min-height: 130px;
}

.device-laptop {
    width: 470px;
    height: 295px;
    right: 0;
    top: 78px;
    animation: floatY 6.5s ease-in-out infinite;
}

.device-tablet {
    width: 250px;
    height: 338px;
    left: 45px;
    top: 150px;
    animation: floatY 7.2s ease-in-out infinite;
}

.device-phone {
    width: 170px;
    height: 330px;
    right: 82px;
    top: 190px;
    border-radius: 28px;
    animation: floatY 5.9s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    padding: 0.72rem 0.82rem;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.45;
    background: rgba(8, 18, 42, 0.83);
    border: 1px solid rgba(154, 187, 255, 0.28);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3);
}

.floating-card strong {
    display: block;
    color: #d9ecff;
}

.float-a {
    top: 24px;
    left: 70px;
}

.float-b {
    right: 20px;
    bottom: 20px;
}

.section {
    padding: 4.6rem 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    color: #7ebeff;
    font-weight: 700;
}

.section-title {
    margin: 0.5rem 0 0.8rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.55rem, 2.9vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-copy {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.72;
    max-width: 70ch;
}

.surface {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.transformation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.transformation-col {
    padding: 1.3rem;
}

.transformation-col h3 {
    margin-top: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.status-badge {
    font-size: 0.72rem;
    display: inline-flex;
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    font-weight: 600;
    border: 1px solid;
    margin-bottom: 0.9rem;
}

.status-badge.bad {
    color: #ff95a8;
    border-color: rgba(255, 94, 120, 0.45);
    background: rgba(255, 94, 120, 0.12);
}

.status-badge.good {
    color: #85f2db;
    border-color: rgba(77, 233, 197, 0.45);
    background: rgba(77, 233, 197, 0.12);
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 0.5rem;
    background: #86c6ff;
}

.grid {
    display: grid;
    gap: 1rem;
}

.grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(158, 189, 255, 0.18);
    background: rgba(12, 21, 44, 0.66);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(150, 212, 255, 0.4);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.card h3,
.card h4 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
}

.card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.66;
}

.industry-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    margin-bottom: 0.75rem;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, rgba(94, 154, 255, 0.37), rgba(77, 233, 197, 0.33));
    border: 1px solid rgba(151, 183, 255, 0.36);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
}

.showcase-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(150, 182, 246, 0.24);
    background: rgba(9, 17, 39, 0.72);
}

.showcase-thumb {
    border-radius: 13px;
    border: 1px solid rgba(154, 183, 245, 0.28);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #d4e8ff;
    background: linear-gradient(140deg, rgba(65, 106, 191, 0.5), rgba(30, 56, 117, 0.5));
    overflow: hidden;
}

.showcase-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #95cef4;
    font-size: 0.8rem;
}


.showcase-meta-row {
    display: flex;
    align-items: center;
    gap: 0.72rem;
}

.showcase-meta-block {
    min-width: 0;
}

.showcase-meta-block h3 {
    margin: 0.08rem 0 0;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

.product-logo-badge {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    border: 1px solid rgba(153, 203, 255, 0.36);
    background: linear-gradient(150deg, rgba(19, 37, 79, 0.94), rgba(10, 22, 53, 0.9));
    box-shadow: 0 14px 24px rgba(2, 9, 24, 0.36);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.product-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.35rem;
}

.product-logo-badge span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.84rem;
    color: #d2edff;
    letter-spacing: 0.03em;
}

.product-logo-badge-lg {
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

.product-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    margin: 0.62rem 0 0.85rem;
    padding: 0.36rem 0.46rem;
    border-radius: 16px;
    border: 1px solid rgba(143, 196, 255, 0.22);
    background: rgba(9, 20, 44, 0.58);
}

.product-brand-copy {
    display: grid;
    gap: 0.14rem;
}

.product-brand-copy strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.96rem;
    line-height: 1.2;
}

.product-brand-copy span {
    font-size: 0.74rem;
    color: #9ec7ee;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}.showcase-actions {
    margin-top: auto;
}

.device-highlight {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.device-card {
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(149, 182, 242, 0.26);
    background: rgba(11, 20, 44, 0.7);
}

.device-frame {
    height: 180px;
    border-radius: 16px;
    border: 1px solid rgba(150, 185, 255, 0.24);
    background: linear-gradient(160deg, rgba(19, 36, 72, 0.9), rgba(10, 19, 41, 0.9));
    margin-bottom: 0.9rem;
    padding: 0.7rem;
    display: grid;
    gap: 0.4rem;
}

.device-frame .mini {
    border-radius: 7px;
    background: rgba(107, 151, 243, 0.24);
    border: 1px solid rgba(160, 195, 255, 0.24);
}

.device-frame .mini.tall {
    min-height: 60px;
}

.project-card {
    overflow: hidden;
}

.project-card .showcase-thumb {
    height: 180px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(160, 196, 255, 0.35);
    background: linear-gradient(140deg, rgba(79, 131, 227, 0.7), rgba(69, 220, 188, 0.6));
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stars {
    color: #ffd67a;
    letter-spacing: 0.08em;
    font-size: 0.84rem;
}

.cta {
    padding: 1.4rem;
    border-radius: 20px;
    background: linear-gradient(140deg, rgba(33, 77, 167, 0.85), rgba(14, 126, 117, 0.76));
    border: 1px solid rgba(155, 217, 255, 0.3);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.cta h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.cta p {
    margin: 0.45rem 0 0;
    color: #d9f1ff;
}

.footer {
    border-top: 1px solid rgba(151, 183, 255, 0.18);
    margin-top: 4.2rem;
    padding: 2.1rem 0;
    background: rgba(2, 9, 24, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
}

.footer h4 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-family: 'Space Grotesk', sans-serif;
}

.footer p,
.footer li,
.footer a {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.92rem;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-hero {
    padding: 4.2rem 0 2.4rem;
}

.page-hero p {
    max-width: 68ch;
}
.about-hero .section-title {
    max-width: 22ch;
}

.about-hero .section-copy {
    max-width: 74ch;
}

.about-pillars,
.about-offers {
    align-items: stretch;
}

.about-card,
.timeline-card,
.about-offer-card {
    position: relative;
    overflow: hidden;
}

.about-card::after,
.timeline-card::after,
.about-offer-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(123, 184, 255, 0.75), rgba(84, 231, 200, 0.7));
    opacity: 0.82;
}

.about-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.timeline-card {
    min-height: 220px;
}

.timeline-year {
    display: inline-flex;
    align-items: center;
    padding: 0.24rem 0.64rem;
    border-radius: 999px;
    background: rgba(98, 150, 244, 0.22);
    border: 1px solid rgba(133, 184, 255, 0.42);
    color: #d8edff;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.72rem;
}

.about-offer-card {
    background: linear-gradient(160deg, rgba(14, 28, 59, 0.86), rgba(7, 18, 42, 0.9));
}

.about-offer-card p {
    color: #c8d9ff;
}

.detail-card {
    padding: 1.4rem;
}

.form-wrap {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1rem;
}

.form-card,
.info-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(154, 184, 245, 0.25);
    background: rgba(11, 20, 43, 0.72);
}

label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    color: #bbcdf3;
}

.input,
.textarea,
.select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(152, 183, 245, 0.25);
    background: rgba(5, 12, 30, 0.85);
    color: var(--text);
    padding: 0.72rem 0.82rem;
    font-size: 0.93rem;
}

.textarea {
    min-height: 130px;
    resize: vertical;
}

.form-grid {
    display: grid;
    gap: 0.9rem;
}

.form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.alert {
    border-radius: 11px;
    padding: 0.7rem 0.85rem;
    font-size: 0.89rem;
    margin-bottom: 0.9rem;
}

.alert-success {
    background: rgba(75, 201, 142, 0.15);
    border: 1px solid rgba(75, 201, 142, 0.35);
    color: #baf1d3;
}

.alert-danger {
    background: rgba(255, 94, 120, 0.13);
    border: 1px solid rgba(255, 94, 120, 0.33);
    color: #ffc2ce;
}

.flash-errors {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.3rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatY {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 1060px) {
    .hero-grid,
    .form-wrap {
        grid-template-columns: 1fr;
    }

    .device-stage {
        min-height: 480px;
    }

    .grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-links {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(6, 13, 31, 0.96);
        border-bottom: 1px solid rgba(151, 183, 255, 0.18);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.9rem 1.2rem 1.2rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-actions .btn-ghost {
        display: none;
    }

    .grid.cols-3,
    .grid.cols-2,
    .device-highlight,
    .transformation,
    .footer-grid,
    .form-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .device-laptop {
        width: calc(100% - 2rem);
        height: 240px;
        left: 1rem;
        right: 1rem;
        top: 60px;
    }

    .device-tablet {
        width: 210px;
        height: 290px;
        left: 0;
        top: 195px;
    }

    .device-phone {
        width: 144px;
        height: 280px;
        right: 0;
        top: 210px;
    }

    .metric-row {
        grid-template-columns: 1fr;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-timeline {
        grid-template-columns: 1fr;
    }
}




.meta {
    color: var(--text-muted);
    font-size: 0.83rem;
}


/* Device trio component for product/project/testimonial showcases */
.device-trio {
    position: relative;
    width: 100%;
}

.device-trio .device-shell {
    position: absolute;
    margin: 0;
    border-radius: 20px;
    border: 1px solid rgba(160, 196, 255, 0.25);
    background: linear-gradient(160deg, rgba(12, 24, 52, 0.98), rgba(7, 14, 34, 0.98));
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(2, 7, 21, 0.52);
}

.device-trio .shell-mobile {
    border-radius: 28px;
}

.device-trio .device-screen {
    height: 100%;
    width: 100%;
    background: radial-gradient(circle at 15% 10%, rgba(126, 178, 255, 0.15), transparent 35%),
        rgba(6, 14, 33, 0.9);
}

.device-trio .device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.device-fallback {
    display: grid;
    gap: 0.4rem;
    padding: 0.65rem;
    height: 100%;
}

.device-fallback span {
    border-radius: 9px;
    border: 1px solid rgba(145, 180, 245, 0.3);
    background: rgba(56, 96, 176, 0.32);
}

.device-fallback span:nth-child(1) {
    height: 26%;
}

.device-fallback span:nth-child(2) {
    height: 46%;
    background: linear-gradient(120deg, rgba(64, 111, 209, 0.56), rgba(63, 205, 178, 0.52));
}

.device-fallback span:nth-child(3) {
    height: 26%;
}

.device-trio-compact {
    min-height: 180px;
}

.device-trio-compact .shell-desktop {
    width: 74%;
    height: 145px;
    right: 0;
    top: 12px;
}

.device-trio-compact .shell-tablet {
    width: 34%;
    height: 132px;
    left: 6%;
    top: 44px;
}

.device-trio-compact .shell-mobile {
    width: 23%;
    height: 124px;
    right: 18%;
    top: 50px;
}

.device-trio-detail {
    min-height: 390px;
}

.device-trio-detail .shell-desktop {
    width: 72%;
    height: 260px;
    right: 0;
    top: 24px;
}

.device-trio-detail .shell-tablet {
    width: 36%;
    height: 234px;
    left: 2%;
    top: 104px;
}

.device-trio-detail .shell-mobile {
    width: 24%;
    height: 210px;
    right: 12%;
    top: 150px;
}

.device-trio-mini {
    min-height: 125px;
}

.device-trio-mini .shell-desktop {
    width: 72%;
    height: 96px;
    right: 0;
    top: 4px;
}

.device-trio-mini .shell-tablet {
    width: 34%;
    height: 90px;
    left: 4%;
    top: 28px;
}

.device-trio-mini .shell-mobile {
    width: 23%;
    height: 86px;
    right: 17%;
    top: 34px;
}

.variant-focus_left .shell-desktop {
    left: 0;
    right: auto;
}

.variant-focus_left .shell-tablet {
    left: auto;
    right: 4%;
}

.variant-focus_left .shell-mobile {
    left: auto;
    right: 26%;
}

.variant-focus_right .shell-desktop {
    right: 0;
}

.detail-layout {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.2rem;
    align-items: center;
}

.detail-focus_right .detail-visual {
    order: 2;
}

.detail-focus_right .detail-content {
    order: 1;
}

.detail-content h3 {
    margin: 0.2rem 0 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.testimonial-media {
    margin-top: 0.3rem;
}

@media (max-width: 1060px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .device-trio-detail {
        min-height: 320px;
    }

    .device-trio-detail .shell-desktop {
        height: 220px;
    }

    .device-trio-detail .shell-tablet {
        height: 180px;
        top: 98px;
    }

    .device-trio-detail .shell-mobile {
        height: 170px;
        top: 120px;
    }
}

@media (max-width: 860px) {
    .device-trio-compact {
        min-height: 170px;
    }

    .device-trio-detail {
        min-height: 290px;
    }

    .device-trio-detail .shell-desktop {
        width: 76%;
        height: 180px;
    }

    .device-trio-detail .shell-tablet {
        width: 37%;
        height: 154px;
        top: 86px;
    }

    .device-trio-detail .shell-mobile {
        width: 24%;
        height: 138px;
        top: 110px;
    }
}

/* Conversion-focused product detail refinements */
.product-detail-card {
    background: linear-gradient(160deg, rgba(9, 20, 47, 0.92), rgba(6, 15, 36, 0.86));
    border-color: rgba(137, 181, 255, 0.24);
}

.detail-layout {
    align-items: flex-start;
}

.detail-visual-sticky {
    position: sticky;
    top: 106px;
}

.product-detail-card .device-trio-detail {
    min-height: 330px;
}

.product-detail-card .device-trio-detail .shell-desktop {
    height: 230px;
}

.product-detail-card .device-trio-detail .shell-tablet {
    height: 190px;
    top: 96px;
}

.product-detail-card .device-trio-detail .shell-mobile {
    height: 164px;
    top: 122px;
}

.proof-strip {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.proof-strip span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(126, 183, 255, 0.3);
    background: rgba(41, 87, 172, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
    color: #cfe7ff;
}

.offer-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.offer-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(125, 188, 255, 0.32);
    background: rgba(44, 94, 181, 0.16);
    color: #a9d7ff;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.3rem 0.62rem;
}

.detail-heading {
    margin: 0.2rem 0 0.6rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.detail-lead {
    max-width: 58ch;
}

.benefit-grid {
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.62rem;
    border: 1px solid rgba(130, 176, 255, 0.2);
    border-radius: 12px;
    background: rgba(15, 30, 64, 0.58);
    padding: 0.68rem 0.74rem;
}

.benefit-item p {
    margin: 0;
    color: #d9e8ff;
    line-height: 1.58;
}

.benefit-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 0.36rem;
    background: linear-gradient(150deg, #96c7ff, #4de9c5);
    box-shadow: 0 0 0 4px rgba(77, 233, 197, 0.12);
}

.conversion-panel {
    border: 1px solid rgba(129, 208, 255, 0.32);
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(34, 80, 164, 0.55), rgba(18, 128, 119, 0.42));
    padding: 1rem;
    margin: 1.1rem 0 1rem;
}

.conversion-panel strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.06rem;
}

.conversion-panel p {
    margin: 0.5rem 0 0;
    color: #d8f1ff;
    line-height: 1.65;
}

.conversion-actions {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.description-stack {
    margin-top: 0.9rem;
}

.description-stack h3 {
    margin: 0 0 0.45rem;
    font-family: 'Space Grotesk', sans-serif;
}

.collapsible-copy {
    margin-top: 0.85rem;
    border: 1px solid rgba(130, 175, 255, 0.24);
    border-radius: 12px;
    background: rgba(9, 22, 52, 0.48);
    padding: 0.6rem 0.75rem;
}

.collapsible-copy summary {
    cursor: pointer;
    color: #9ad0ff;
    font-weight: 600;
    list-style: none;
}

.collapsible-copy summary::-webkit-details-marker {
    display: none;
}

.collapsible-copy[open] summary {
    margin-bottom: 0.65rem;
}

.section-tight {
    padding-top: 0;
}

.cta-wide {
    align-items: center;
}

.cta-inline-actions {
    display: flex;
    align-items: center;
}

@media (max-width: 1060px) {
    .detail-visual-sticky {
        position: static;
    }

    .product-detail-card .device-trio-detail {
        min-height: 290px;
    }

    .product-detail-card .device-trio-detail .shell-desktop {
        height: 186px;
    }

    .product-detail-card .device-trio-detail .shell-tablet {
        height: 150px;
        top: 82px;
    }

    .product-detail-card .device-trio-detail .shell-mobile {
        height: 132px;
        top: 105px;
    }
}

/* Hero slider driven by admin/project screenshots */
.hero-slider {
    position: relative;
    min-height: 520px;
    perspective: 1200px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(8px) scale(0.99);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.hero-copy-panel {
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s ease;
}

body.hero-intro-running .hero-copy-panel,
body.hero-intro-complete .hero-copy-panel {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    filter: blur(0) !important;
    pointer-events: auto;
}

body.hero-intro-running .hero-kicker,
body.hero-intro-running .hero-copy,
body.hero-intro-running .hero-actions,
body.hero-intro-running .metric-row {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
}

body.hero-intro-running .hero-kicker {
    animation: heroTextRise 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.04s both;
}

body.hero-intro-running .hero-copy {
    animation: heroTextRise 0.66s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

body.hero-intro-running .hero-actions {
    animation: heroTextRise 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}

body.hero-intro-running .metric-row {
    animation: heroTextRise 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.56s both;
}

.hero-title.hero-type-ready {
    white-space: normal;
}

.hero-title.hero-type-ready .hero-char {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 0.46em, 0);
    filter: blur(8px);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #f4f8ff;
    -webkit-text-fill-color: #f4f8ff;
}

/* Fallback: never keep heading hidden if intro class is missing/interrupted. */
body:not(.hero-intro-running) .hero-title.hero-type-ready:not(.is-writing) .hero-char {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

.hero-title.hero-type-ready .hero-word {
    display: inline-flex;
    white-space: nowrap;
    vertical-align: baseline;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #f4f8ff;
    -webkit-text-fill-color: #f4f8ff;
}
.hero-title.hero-type-ready.is-writing .hero-char {
    animation: heroTypeCharIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--char-index) * 0.028s);
}

.hero-title.hero-type-ready.is-written .hero-char {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    color: #f4f8ff;
    -webkit-text-fill-color: #f4f8ff;
}

.hero-slider .device-laptop,
.hero-slider .device-tablet,
.hero-slider .device-phone {
    animation: none;
}

.hero-slide.active .device-laptop {
    animation: floatY 7s ease-in-out infinite;
}

.hero-slide.active .device-tablet {
    animation: floatY 7.8s ease-in-out infinite;
}

.hero-slide.active .device-phone {
    animation: floatY 6.1s ease-in-out infinite;
}

.hero-slide.is-entering .device-tablet .hero-device-screen {
    animation: tabletReveal 0.84s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.hero-slide.is-entering .device-laptop .hero-device-screen {
    animation: desktopReveal 0.92s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.hero-slide.is-entering .device-phone .hero-device-screen {
    animation: phoneReveal 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}

.hero-slide.is-entering .float-a {
    animation: heroCardReveal 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.58s both;
}

.hero-slide.is-entering .float-b {
    animation: heroCardReveal 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.72s both;
}

.hero-slider.hero-intro {
    overflow: hidden;
}

.hero-slider.hero-intro::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 12%;
    left: -36%;
    width: 44%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(159, 205, 255, 0.26), rgba(255, 255, 255, 0));
    filter: blur(8px);
    pointer-events: none;
    z-index: 4;
    animation: heroSweep 1.14s cubic-bezier(0.25, 1, 0.5, 1) 0.12s both;
}

.hero-slider.hero-intro .hero-slide.active .device,
.hero-slider.hero-intro .hero-slide.active .floating-card {
    opacity: 0;
}

.hero-slider.hero-intro .hero-slide.active .device-tablet {
    animation: heroIntroTablet 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.hero-slider.hero-intro .hero-slide.active .device-laptop {
    animation: heroIntroDesktop 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.hero-slider.hero-intro .hero-slide.active .device-phone {
    animation: heroIntroPhone 0.84s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}

.hero-slider.hero-intro .hero-slide.active .float-a {
    animation: heroCardReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.63s both;
}

.hero-slider.hero-intro .hero-slide.active .float-b {
    animation: heroCardReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.79s both;
}

.hero-slider[data-animation='fade'] .hero-slide.is-entering .device-laptop .hero-device-screen,
.hero-slider[data-animation='fade'] .hero-slide.is-entering .device-tablet .hero-device-screen,
.hero-slider[data-animation='fade'] .hero-slide.is-entering .device-phone .hero-device-screen,
.hero-slider[data-animation='none'] .hero-slide.is-entering .device-laptop .hero-device-screen,
.hero-slider[data-animation='none'] .hero-slide.is-entering .device-tablet .hero-device-screen,
.hero-slider[data-animation='none'] .hero-slide.is-entering .device-phone .hero-device-screen {
    animation: none;
}

.hero-slider[data-animation='none'] .hero-slide {
    transition: none;
}

.hero-device-screen {
    padding: 0;
    overflow: hidden;
}

.hero-shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 6;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid rgba(175, 209, 255, 0.4);
    background: rgba(122, 164, 235, 0.26);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background: linear-gradient(140deg, #8dc8ff, #4de9c5);
    transform: scale(1.08);
}

@keyframes desktopReveal {
    0% {
        transform: translate3d(-132px, 16px, 0) scale(0.9);
        opacity: 0.72;
    }

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

@keyframes tabletReveal {
    0% {
        transform: perspective(1000px) rotateY(-34deg) translate3d(-176px, 20px, 0) scale(0.85);
        opacity: 0.68;
    }

    100% {
        transform: perspective(1000px) rotateY(0deg) translate3d(0, 0, 0) scale(1);
        opacity: 1;
    }
}

@keyframes phoneReveal {
    0% {
        transform: perspective(900px) rotateY(78deg) translate3d(-114px, 16px, 0) scale(0.84);
        opacity: 0.65;
    }

    64% {
        transform: perspective(900px) rotateY(-8deg) translate3d(4px, 0, 0) scale(1.01);
        opacity: 0.95;
    }

    100% {
        transform: perspective(900px) rotateY(0deg) translate3d(0, 0, 0) scale(1);
        opacity: 1;
    }
}

@keyframes heroIntroTablet {
    0% {
        transform: translate3d(-220px, 22px, 0) scale(0.76);
        opacity: 0;
    }

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

@keyframes heroIntroDesktop {
    0% {
        transform: translate3d(-150px, 16px, 0) scale(0.86);
        opacity: 0;
    }

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

@keyframes heroIntroPhone {
    0% {
        transform: perspective(900px) rotateY(70deg) translate3d(-120px, 20px, 0) scale(0.82);
        opacity: 0;
    }

    100% {
        transform: perspective(900px) rotateY(0deg) translate3d(0, 0, 0) scale(1);
        opacity: 1;
    }
}

@keyframes heroCardReveal {
    0% {
        transform: translate3d(-32px, 18px, 0) scale(0.92);
        opacity: 0;
    }

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

@keyframes heroSweep {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    22% {
        opacity: 1;
    }

    100% {
        transform: translateX(360%);
        opacity: 0;
    }
}

@keyframes heroTypeCharIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 0.46em, 0) scale(0.98);
        filter: blur(8px);
    }

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

@keyframes heroTextRise {
    0% {
        opacity: 0;
        transform: translate3d(0, 16px, 0);
        filter: blur(6px);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@media (max-width: 860px) {
    .hero-slider-dots {
        bottom: -10px;
    }

    .hero-slider.hero-intro::after {
        left: -52%;
        width: 64%;
    }

    .hero-slider.hero-intro .hero-slide.active .device-tablet {
        animation-duration: 0.66s;
        animation-delay: 0.04s;
    }

    .hero-slider.hero-intro .hero-slide.active .device-laptop {
        animation-duration: 0.72s;
        animation-delay: 0.18s;
    }

    .hero-slider.hero-intro .hero-slide.active .device-phone {
        animation-duration: 0.7s;
        animation-delay: 0.34s;
    }

    .hero-title.hero-type-ready.is-writing .hero-char {
        animation-duration: 0.52s;
        animation-delay: calc(var(--char-index) * 0.022s);
    }
}

/* Cinematic loader + stronger section animations */
body.is-preloading {
    overflow: hidden;
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    pointer-events: none;
    isolation: isolate;
    background: radial-gradient(circle at 18% 20%, rgba(80, 138, 251, 0.22), transparent 35%),
        radial-gradient(circle at 82% 78%, rgba(77, 233, 197, 0.15), transparent 42%),
        rgba(2, 7, 21, 0.98);
}

.preloader-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 52%;
    background: linear-gradient(140deg, rgba(7, 19, 46, 0.98), rgba(2, 10, 30, 0.98));
    box-shadow: 0 0 40px rgba(31, 95, 216, 0.22);
    transition: transform 1.05s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.preloader-panel-left {
    left: 0;
}

.preloader-panel-right {
    right: 0;
}

.preloader-center {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 560px;
    padding: 0 1.2rem;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.preloader-logo-wrap {
    width: clamp(84px, 11vw, 116px);
    aspect-ratio: 1 / 1;
    border-radius: 26px;
    margin: 0 auto 1rem;
    padding: 0.9rem;
    border: 1px solid rgba(153, 196, 255, 0.42);
    background: linear-gradient(150deg, rgba(21, 39, 85, 0.92), rgba(8, 18, 45, 0.92));
    box-shadow: 0 20px 40px rgba(5, 16, 41, 0.72), 0 0 0 1px rgba(99, 158, 255, 0.14);
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preloader-title {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.03em;
    font-weight: 700;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.preloader-subtitle {
    margin: 0.45rem 0 0;
    color: rgba(210, 229, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.6;
}

.site-preloader.is-leaving .preloader-panel-left {
    transform: translateX(-106%);
}

.site-preloader.is-leaving .preloader-panel-right {
    transform: translateX(106%);
}

.site-preloader.is-leaving .preloader-center {
    opacity: 0;
    transform: translateY(-16px) scale(0.95);
}

body.preloader-done .site-preloader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease 0.42s, visibility 0s linear 0.87s;
}

@keyframes preloaderPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 20px 40px rgba(5, 16, 41, 0.72), 0 0 0 1px rgba(99, 158, 255, 0.14);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 26px 48px rgba(5, 16, 41, 0.82), 0 0 0 1px rgba(126, 194, 255, 0.28);
    }
}

.reveal {
    --reveal-delay: 0ms;
    opacity: 0;
    transform: translate3d(0, 52px, 0) scale(0.94);
    filter: blur(6px);
    transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay);
    will-change: opacity, transform, filter;
}

.reveal.in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.reveal.reveal-left {
    transform: translate3d(-80px, 28px, 0) scale(0.95);
}

.reveal.reveal-right {
    transform: translate3d(80px, 28px, 0) scale(0.95);
}

.reveal.reveal-pop {
    transform: translate3d(0, 44px, 0) scale(0.84);
}

.reveal.reveal-tilt {
    transform: perspective(1200px) rotateX(16deg) translate3d(0, 44px, 0) scale(0.92);
}

.reveal.reveal-zoom {
    transform: translate3d(0, 36px, 0) scale(0.8);
    filter: blur(7px);
}

.reveal.in-view.reveal-left,
.reveal.in-view.reveal-right,
.reveal.in-view.reveal-pop,
.reveal.in-view.reveal-tilt,
.reveal.in-view.reveal-zoom {
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.hero-slider {
    --hero-progress: 0;
    --hero-intensity: 1;
}

.hero-slide.active .floating-card {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.hero-slide.active .float-a {
    transform: translate3d(calc(var(--hero-progress) * -14px), calc(var(--hero-progress) * -26px), 0);
}

.hero-slide.active .float-b {
    transform: translate3d(calc(var(--hero-progress) * 10px), calc(var(--hero-progress) * 16px), 0);
}

.hero-slide.active .device {
    filter: saturate(calc(1 + (var(--hero-intensity) - 1) * 0.22));
}

@media (prefers-reduced-motion: reduce) {
    .site-preloader,
    .preloader-panel,
    .preloader-center,
    .preloader-logo-wrap,
    .reveal,
    .hero-slide,
    .hero-slide.active .device {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
}

@media (max-width: 860px) {
    .preloader-logo-wrap {
        border-radius: 22px;
    }

    .preloader-subtitle {
        font-size: 0.84rem;
    }

    .reveal {
        transform: translate3d(0, 42px, 0) scale(0.95);
    }
}
















/* Cursor-follow storytelling + 3D staircase services */
.hero {
    position: relative;
    overflow: clip;
}

.digital-hunter {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 7;
    --hunter-x: -240px;
    --hunter-y: -240px;
    --hunter-energy: 0;
    --hunter-drift-x: 0;
    --hunter-drift-y: 0;
}

.digital-hunter::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
            rgba(112, 183, 255, 0.32) 0%,
            rgba(75, 233, 197, 0.16) 34%,
            rgba(45, 122, 223, 0.06) 58%,
            transparent 74%);
    transform: translate3d(calc(var(--hunter-x) - 110px), calc(var(--hunter-y) - 110px), 0);
    opacity: calc(0.42 + var(--hunter-energy) * 0.46);
    transition: opacity 0.3s ease;
    filter: blur(1px);
}

.digital-hunter .hunter-core,
.digital-hunter .hunter-node,
.digital-hunter .hunter-prompt {
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform, opacity;
}

.digital-hunter .hunter-core {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(145deg, #9ccfff, #4de9c5);
    box-shadow: 0 0 0 7px rgba(94, 182, 255, 0.14),
        0 0 26px rgba(77, 233, 197, 0.42);
    transform: translate3d(calc(var(--hunter-x) - 9px), calc(var(--hunter-y) - 9px), 0) scale(calc(0.88 + var(--hunter-energy) * 0.24));
    opacity: 0.96;
}

.digital-hunter .hunter-core::after {
    content: '';
    position: absolute;
    inset: -34px;
    border-radius: 50%;
    border: 1px solid rgba(147, 208, 255, 0.24);
    opacity: calc(0.1 + var(--hunter-energy) * 0.4);
}

.digital-hunter .hunter-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 0.72rem;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #d9efff;
    background: rgba(9, 23, 53, 0.78);
    border: 1px solid rgba(140, 194, 255, 0.34);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    opacity: calc(0.54 + var(--hunter-energy) * 0.4);
    transform: translate3d(calc(var(--hunter-x) + var(--node-x) + (var(--hunter-drift-x) * 12px)), calc(var(--hunter-y) + var(--node-y) + (var(--hunter-drift-y) * 8px)), 0) scale(calc(0.96 + var(--hunter-energy) * 0.06));
}

.digital-hunter .node-keyboard {
    --node-x: -150px;
    --node-y: -82px;
}

.digital-hunter .node-mouse {
    --node-x: 26px;
    --node-y: -76px;
}

.digital-hunter .node-pc {
    --node-x: -132px;
    --node-y: 28px;
}

.digital-hunter .node-cloud {
    --node-x: 44px;
    --node-y: 34px;
}

.digital-hunter .hunter-prompt {
    max-width: 240px;
    padding: 0.56rem 0.7rem;
    border-radius: 12px;
    font-size: 0.77rem;
    color: #d6eeff;
    border: 1px solid rgba(132, 187, 255, 0.33);
    background: linear-gradient(145deg, rgba(13, 30, 64, 0.86), rgba(7, 18, 44, 0.88));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
    transform: translate3d(calc(var(--hunter-x) + 54px), calc(var(--hunter-y) + 64px), 0);
    opacity: calc(0.3 + var(--hunter-energy) * 0.56);
}

.services-staircase-section {
    overflow: clip;
}

.service-staircase {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    perspective: 1250px;
    padding: 0.2rem 0.2rem 0.4rem;
}

.service-step {
    position: relative;
    width: min(94%, calc(70% + (var(--step-index) * 2%)));
    margin-left: calc(var(--step-index) * 3.2%);
    min-height: 132px;
    padding: 1.05rem 1.1rem 1.02rem;
    border-radius: 18px;
    background: linear-gradient(158deg, rgba(13, 26, 56, 0.9), rgba(7, 16, 40, 0.92));
    border: 1px solid rgba(151, 187, 255, 0.28);
    box-shadow: 0 22px 36px rgba(2, 9, 24, 0.45);
    transform: translate3d(calc(var(--step-mouse-x, 0) * 11px), calc((var(--step-index) * 14px) + (var(--step-progress, 0) * -18px) + (var(--step-mouse-y, 0) * 7px)), 0) rotateX(calc((1 - var(--step-progress, 0)) * 7deg));
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-step::before {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    top: -12px;
    height: 14px;
    border-radius: 12px 12px 4px 4px;
    border: 1px solid rgba(147, 188, 255, 0.22);
    background: linear-gradient(180deg, rgba(93, 146, 255, 0.24), rgba(93, 146, 255, 0.03));
    transform: skewX(-18deg);
}

.service-step::after {
    content: '';
    position: absolute;
    inset: auto 20px -14px 20px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(61, 132, 238, 0.35), rgba(8, 20, 49, 0));
    filter: blur(4px);
    opacity: 0.68;
}

.service-step:hover {
    border-color: rgba(156, 218, 255, 0.46);
    box-shadow: 0 28px 44px rgba(3, 12, 32, 0.56);
}

.service-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #cbecff;
    border: 1px solid rgba(132, 195, 255, 0.35);
    background: rgba(42, 92, 184, 0.35);
}

.service-step h3 {
    margin-bottom: 0.45rem;
}

.service-step p {
    color: #b3c8ee;
}

@media (max-width: 1060px) {
    .digital-hunter {
        display: none;
    }

    .service-step {
        width: min(100%, calc(84% + (var(--step-index) * 2%)));
        margin-left: calc(var(--step-index) * 1.8%);
        transform: translate3d(0, calc(var(--step-index) * 9px), 0);
    }
}

@media (max-width: 860px) {
    .service-step {
        width: 100%;
        margin-left: 0;
        transform: none;
    }

    .service-step::before,
    .service-step::after {
        display: none;
    }
}

body.has-coarse-pointer .digital-hunter {
    display: none;
}
/* Hero typing safety: keep the heading readable if animation is interrupted. */
.hero-title.hero-type-ready:not(.is-writing):not(.is-written) .hero-char,
.hero-title.hero-type-ready.is-written .hero-char {
    opacity: 1;
    transform: none;
    filter: none;
}

body.hero-intro-running .hero-kicker,
body.hero-intro-running .hero-copy,
body.hero-intro-running .hero-actions,
body.hero-intro-running .metric-row {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
}










