/* Hall Effect service page — cobalt / cyan magnetic theme + 3D stages */

.he {
    --he-ink: #0b1220;
    --he-muted: #52607a;
    --he-blue: #0062ff;
    --he-blue-deep: #0047c2;
    --he-cyan: #00c6ff;
    --he-sky: #7eb6ff;
    --he-paper: #eef4fb;
    --he-card: #ffffff;
    --he-line: rgba(15, 35, 70, 0.1);
    color: var(--he-ink);
    background: var(--he-paper);
    overflow: clip;
}

.he a { color: var(--he-blue-deep); }
.he a:hover { color: #003a9e; }

.he-hero {
    position: relative;
    color: #f4f8ff;
    padding: 5.4rem 0 4.8rem;
    isolation: isolate;
    background:
        radial-gradient(820px 420px at 88% 8%, rgba(0, 198, 255, 0.32), transparent 62%),
        radial-gradient(560px 360px at 0% 90%, rgba(0, 98, 255, 0.28), transparent 58%),
        linear-gradient(165deg, #041018 0%, #0a1c38 55%, #0d2a55 100%);
}

.he-hero__fx {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.he-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(126, 210, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126, 210, 255, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 72% 38%, #000 12%, transparent 70%);
    transform: perspective(900px) rotateX(48deg) scale(1.35);
    transform-origin: 50% 0%;
}

.he-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    animation: he-float 10s ease-in-out infinite;
}

.he-hero__orb--a {
    width: 260px;
    height: 260px;
    right: 8%;
    top: 6%;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.5), transparent 68%);
}

.he-hero__orb--b {
    width: 200px;
    height: 200px;
    left: -30px;
    bottom: 12%;
    background: radial-gradient(circle, rgba(0, 98, 255, 0.45), transparent 70%);
    animation-direction: reverse;
    animation-duration: 12s;
}

.he-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 64px;
    background: linear-gradient(to bottom, transparent, var(--he-paper));
    pointer-events: none;
    z-index: 1;
}

.he-hero .container { position: relative; z-index: 2; }

.he-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(158, 204, 255, 0.35);
    background: rgba(126, 186, 255, 0.1);
    color: #c5e2ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.he-hero h1 {
    margin: 0 0 0.85rem;
    max-width: 14ch;
    color: #fff;
    font-size: clamp(2.15rem, 4.4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.he-lead {
    max-width: 38rem;
    margin: 0 0 1.15rem;
    color: rgba(232, 241, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.65;
}

.he-lead a { color: #9ecbff; font-weight: 700; text-decoration: none; }
.he-lead a:hover { text-decoration: underline; }

.he-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
}
.he-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #d9e8ff;
    font-size: 0.86rem;
    font-weight: 600;
}

.he-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.he-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0 1.15rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.he-btn:hover { transform: translateY(-2px); }

.he-btn-wa {
    color: #fff;
    background: linear-gradient(180deg, #2fd46a 0%, #1fad54 100%);
    box-shadow: 0 10px 22px rgba(31, 173, 84, 0.28);
}
.he-btn-ghost {
    color: #f4f8ff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.he-btn-ghost:hover { color: #fff; }

.he-note {
    margin: 0;
    color: rgba(210, 224, 245, 0.7);
    font-size: 0.84rem;
}

/* 3D stage */
.he-stage {
    position: relative;
    perspective: 1400px;
    min-height: 340px;
}

.he-stage__deck {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0a1424;
    transform: rotateY(-10deg) rotateX(6deg);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(126, 210, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: he-tilt 8s ease-in-out infinite;
}

.he-stage__deck img,
.he-stage__deck .hero-still,
.he-stage__deck .hero-loop-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.he-stage__chip {
    position: absolute;
    right: -2%;
    bottom: 6%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 210px;
    padding: 0.7rem 0.85rem;
    border-radius: 1rem;
    background: rgba(8, 18, 36, 0.9);
    border: 1px solid rgba(126, 210, 255, 0.32);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    transform: rotateY(8deg) translateZ(40px);
    animation: he-chip 6.5s ease-in-out infinite;
    color: #fff;
    z-index: 2;
}

.he-stage__chip img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 0.65rem;
    background: #fff;
    flex-shrink: 0;
    padding: 4px;
}

.he-stage__chip strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.he-stage__chip em {
    display: block;
    font-style: normal;
    color: var(--he-cyan);
    font-weight: 800;
    font-size: 1.05rem;
}
.he-stage__chip small {
    display: block;
    color: rgba(210, 224, 245, 0.7);
    font-size: 0.72rem;
}

.he-stage__ring {
    position: absolute;
    inset: -8% -6% auto auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px dashed rgba(126, 208, 255, 0.35);
    animation: he-spin 18s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.he-stage__ring::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 2px solid rgba(0, 198, 255, 0.35);
}

.he-metrics {
    position: relative;
    z-index: 2;
    margin: -2.2rem auto 0;
    max-width: 1140px;
    padding: 0 1rem;
}
.he-metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 20px;
    background: var(--he-card);
    border: 1px solid var(--he-line);
    box-shadow: 0 18px 40px rgba(15, 35, 70, 0.1);
}
.he-metrics article {
    text-align: center;
    padding: 0.65rem 0.4rem;
    transition: transform 0.25s ease;
}
.he-metrics article:hover { transform: translateY(-3px); }
.he-metrics strong {
    display: block;
    color: var(--he-blue);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}
.he-metrics span {
    color: var(--he-muted);
    font-size: 0.84rem;
}

.he-section { padding: 3.2rem 0; }
.he-section--white { background: #fff; }
.he-section--soft { background: var(--he-paper); }
.he-section--3d {
    background:
        radial-gradient(600px 280px at 90% 10%, rgba(0, 198, 255, 0.08), transparent 55%),
        linear-gradient(180deg, #0a1628 0%, #102440 100%);
    color: #e8f1ff;
}
.he-section--3d h2 { color: #fff; }
.he-section--3d .he-sub { color: rgba(210, 224, 245, 0.75); }

.he-section h2 {
    margin: 0 0 0.7rem;
    color: var(--he-ink);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.he-section .he-sub {
    margin: 0 0 1.6rem;
    max-width: 42rem;
    color: var(--he-muted);
    font-size: 1.02rem;
    line-height: 1.6;
}

.he-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.8rem;
}
.he-toc a {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--he-line);
    color: var(--he-ink);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
}
.he-toc a:hover {
    border-color: rgba(0, 98, 255, 0.35);
    color: var(--he-blue-deep);
}

.he-prose {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
}
.he-prose p { margin: 0 0 1rem; }
.he-prose a { font-weight: 700; text-decoration: none; }
.he-prose a:hover { text-decoration: underline; }
.he-prose ul {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
}
.he-prose li { margin-bottom: 0.45rem; }

.he-callout {
    margin: 1.2rem 0;
    padding: 1rem 1.15rem;
    border-radius: 0 14px 14px 0;
    border-left: 4px solid var(--he-blue);
    background: #eef5ff;
    color: #334155;
}
.he-callout strong { color: var(--he-ink); }

.he-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.6rem;
    align-items: start;
}

.he-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--he-line);
    background: #0b1220;
    transform: perspective(1000px) rotateY(-3deg);
    box-shadow: 0 24px 48px rgba(15, 35, 70, 0.14);
}
.he-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.he-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}
.he-gallery figure {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transform: perspective(900px) rotateX(2deg);
    transition: transform 0.3s ease;
}
.he-gallery figure:hover { transform: perspective(900px) translateY(-6px) rotateX(0); }
.he-gallery img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.he-gallery figcaption {
    padding: 0.7rem 0.85rem;
    color: rgba(220, 232, 250, 0.85);
    font-size: 0.82rem;
    background: rgba(8, 16, 32, 0.92);
}

.he-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}
.he-step {
    background: #fff;
    border: 1px solid var(--he-line);
    border-radius: 16px;
    padding: 1.1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.he-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 70, 180, 0.1);
}
.he-step b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 0.7rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #3b95ff, var(--he-blue));
    color: #fff;
    font-size: 0.9rem;
}
.he-step h3 {
    margin: 0 0 0.4rem;
    font-size: 1.02rem;
    font-weight: 800;
}
.he-step p {
    margin: 0;
    color: var(--he-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.he-compare {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}
.he-compare article {
    background: #fff;
    border: 1px solid var(--he-line);
    border-radius: 16px;
    padding: 1.15rem;
    height: 100%;
}
.he-compare article.is-active {
    border-color: rgba(0, 98, 255, 0.45);
    box-shadow: 0 16px 30px rgba(0, 70, 180, 0.1);
    background: linear-gradient(180deg, #f3f8ff 0%, #fff 42%);
}
.he-compare h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
}
.he-compare p {
    margin: 0 0 0.75rem;
    color: var(--he-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}
.he-compare .he-price {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--he-blue);
    font-size: 1.2rem;
    font-weight: 800;
}
.he-compare a {
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.he-prices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}
.he-price-card {
    background: #fff;
    border: 1px solid var(--he-line);
    border-radius: 18px;
    padding: 1.35rem 1.2rem;
    transition: transform 0.25s ease;
}
.he-price-card:hover { transform: translateY(-4px); }
.he-price-card.is-featured {
    border-color: rgba(0, 98, 255, 0.4);
    background: linear-gradient(180deg, #f0f6ff 0%, #fff 48%);
    box-shadow: 0 0 0 2px rgba(0, 98, 255, 0.12), 0 18px 40px rgba(0, 70, 180, 0.1);
}
.he-price-card h3 {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
    font-weight: 800;
}
.he-price-card .he-amount {
    margin: 0.55rem 0 0.35rem;
    color: var(--he-blue);
    font-size: 1.8rem;
    font-weight: 900;
}
.he-price-card ul {
    margin: 0.8rem 0 1rem;
    padding: 0;
    list-style: none;
}
.he-price-card li {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
    color: #475569;
    font-size: 0.92rem;
}
.he-price-card li i { color: #16a34a; }

.he-geo {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.2rem;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, #061018, #0d2a55);
    color: #e8f1ff;
}
.he-geo__copy { padding: 2rem 1.8rem; }
.he-geo__copy h2 { color: #fff; margin-top: 0; }
.he-geo__copy p { color: rgba(220, 232, 250, 0.8); line-height: 1.65; }
.he-geo__meta {
    display: grid;
    gap: 0.4rem;
    margin: 1rem 0 1.2rem;
    font-size: 0.95rem;
}
.he-geo__meta a { color: var(--he-cyan); font-weight: 700; text-decoration: none; }
.he-geo__photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.he-side {
    display: grid;
    gap: 0.85rem;
}
.he-side a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--he-line);
    color: var(--he-ink);
    font-weight: 600;
    text-decoration: none;
}
.he-side a:hover {
    border-color: rgba(0, 98, 255, 0.35);
    color: var(--he-blue-deep);
}
.he-side a i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eaf2ff;
    color: var(--he-blue);
}

.he-cta {
    padding: 3rem 0;
    text-align: center;
    color: #f4f8ff;
    background: linear-gradient(145deg, #07111c, #0d2a55);
}
.he-cta h2 {
    margin: 0 0 0.6rem;
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 800;
}
.he-cta p {
    margin: 0 auto 1.3rem;
    max-width: 36rem;
    color: rgba(230, 240, 255, 0.78);
}

@keyframes he-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes he-tilt {
    0%, 100% { transform: rotateY(-10deg) rotateX(6deg); }
    50% { transform: rotateY(-6deg) rotateX(3deg); }
}
@keyframes he-chip {
    0%, 100% { transform: rotateY(8deg) translateY(0); }
    50% { transform: rotateY(8deg) translateY(-8px); }
}
@keyframes he-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 991px) {
    .he-metrics__grid,
    .he-steps,
    .he-compare,
    .he-prices,
    .he-grid-2,
    .he-gallery,
    .he-geo {
        grid-template-columns: 1fr 1fr;
    }
    .he-hero h1 { max-width: none; }
    .he-stage { min-height: 0; }
    .he-stage__deck { transform: none; animation: none; }
    .he-stage__chip {
        position: static;
        margin-top: 0.75rem;
        transform: none;
        animation: none;
        width: 100%;
    }
    .he-stage__ring { display: none; }
    .he-media { transform: none; }
    .he-geo { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .he-metrics__grid,
    .he-steps,
    .he-compare,
    .he-prices,
    .he-grid-2,
    .he-gallery {
        grid-template-columns: 1fr;
    }
    .he-metrics { margin-top: -1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .he-hero__orb,
    .he-stage__deck,
    .he-stage__chip,
    .he-stage__ring { animation: none; }
    .he-step:hover,
    .he-price-card:hover,
    .he-metrics article:hover { transform: none; }
}
