/* ==========================================================
   TRON LEGACY — FULL-PAGE SCROLLING WORLD OVERLAY
   ========================================================== */
.tron-world {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.tron-world__grid {
    position: absolute;
    left: -25%;
    right: -25%;
    bottom: -10%;
    height: 90vh;
    background-image:
        linear-gradient(to right, rgba(0, 229, 255, 0.18) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 229, 255, 0.18) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(800px) rotateX(62deg) translateY(calc(var(--tron-grid-shift, 0) * 1px));
    transform-origin: 50% 100%;
    -webkit-mask-image: linear-gradient(to top, #000 10%, rgba(0,0,0,0.8) 50%, transparent 100%);
            mask-image: linear-gradient(to top, #000 10%, rgba(0,0,0,0.8) 50%, transparent 100%);
    animation: tronGridFlow 14s linear infinite;
    will-change: transform, background-position;
    opacity: 0.55;
}
.tron-world__grid--top {
    top: -10%;
    bottom: auto;
    transform: perspective(800px) rotateX(-62deg) translateY(calc(var(--tron-grid-shift, 0) * -1px));
    transform-origin: 50% 0%;
    -webkit-mask-image: linear-gradient(to bottom, #000 10%, rgba(0,0,0,0.8) 50%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 10%, rgba(0,0,0,0.8) 50%, transparent 100%);
    background-image:
        linear-gradient(to right, rgba(255, 107, 0, 0.10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 107, 0, 0.10) 1px, transparent 1px);
    opacity: 0.45;
}
@keyframes tronGridFlow {
    0%   { background-position: 0 0; }
    100% { background-position: 0 60px; }
}
.tron-world__beam {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    top: var(--tron-beam-y, 30%);
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 229, 255, 0) 5%,
        rgba(0, 229, 255, 0.55) 50%,
        rgba(0, 229, 255, 0) 95%,
        transparent 100%);
    box-shadow:
        0 0 4px rgba(0, 229, 255, 0.4),
        0 0 12px rgba(0, 229, 255, 0.2);
    transition: top 80ms linear;
    opacity: 0.35;
    mix-blend-mode: screen;
}
.tron-world__beam--orange {
    top: var(--tron-beam-y2, 70%);
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 107, 0, 0) 5%,
        rgba(255, 107, 0, 0.45) 50%,
        rgba(255, 107, 0, 0) 95%,
        transparent 100%);
    box-shadow:
        0 0 4px rgba(255, 107, 0, 0.35),
        0 0 12px rgba(255, 107, 0, 0.15);
    opacity: 0.25;
    mix-blend-mode: screen;
}
.tron-world__scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 3px,
        rgba(0, 229, 255, 0.025) 3px,
        rgba(0, 229, 255, 0.025) 4px
    );
    mix-blend-mode: screen;
    animation: tronScanShift 6s linear infinite;
}
@keyframes tronScanShift {
    0%   { transform: translateY(0); }
    100% { transform: translateY(4px); }
}
.tron-world__vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 50%, rgba(10, 25, 47, 0.7) 100%),
        radial-gradient(circle at 50% 50%, transparent 70%, rgba(0, 0, 0, 0.55) 100%);
}
nav, section, footer { position: relative; z-index: 2; }
.floating-contact    { position: fixed;    z-index: 9999 !important; }

/* ==========================================================
   LANGUAGE SWITCHER
   ========================================================== */
.nav__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 999px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: inset 0 0 12px rgba(0, 229, 255, 0.08);
}
.lang-switch:hover {
    border-color: var(--cyan);
    box-shadow:
        inset 0 0 18px rgba(0, 229, 255, 0.18),
        0 0 18px rgba(0, 229, 255, 0.35);
}
.lang-switch__flag { font-size: 0.95rem; line-height: 1; }
.lang-switch__opt {
    color: var(--white-60);
    transition: color 0.2s ease, text-shadow 0.2s ease;
    padding: 2px 4px;
}
.lang-switch__opt.is-active {
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.85), 0 0 16px rgba(0, 229, 255, 0.5);
}
.lang-switch__sep { color: rgba(255, 255, 255, 0.25); }

/* ==========================================================
   LOGO — EMPHASIZED HERO BRAND MARK
   ========================================================== */
.nav__logo--emphasized {
    gap: 14px;
    align-items: center;
}
.nav__logo-stage {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
}
.nav__logo--emphasized .nav__logo-icon {
    position: relative;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.22), rgba(10, 25, 47, 0) 70%);
    filter:
        drop-shadow(0 0 6px rgba(0, 229, 255, 0.9))
        drop-shadow(0 0 14px rgba(0, 229, 255, 0.55))
        drop-shadow(0 0 28px rgba(0, 229, 255, 0.3));
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease;
}
.nav__logo--emphasized:hover .nav__logo-icon {
    transform: scale(1.06) rotate(-1.5deg);
    filter:
        drop-shadow(0 0 8px #fff)
        drop-shadow(0 0 22px rgba(0, 229, 255, 1))
        drop-shadow(0 0 44px rgba(0, 229, 255, 0.65));
}
.nav__logo-ring,
.nav__logo-ring--outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.55);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.45), inset 0 0 8px rgba(0, 229, 255, 0.25);
    animation: logoRingSpin 9s linear infinite;
    z-index: 1;
}
.nav__logo-ring::before {
    content: '';
    position: absolute;
    top: -2px; left: 50%;
    width: 4px; height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--cyan), 0 0 16px var(--cyan);
}
.nav__logo-ring--outer {
    inset: -6px;
    border-color: rgba(255, 107, 0, 0.35);
    border-style: dashed;
    box-shadow: 0 0 14px rgba(255, 107, 0, 0.25);
    animation: logoRingSpinReverse 14s linear infinite;
}
@keyframes logoRingSpin       { to { transform: rotate(360deg); } }
@keyframes logoRingSpinReverse{ to { transform: rotate(-360deg); } }
.nav__logo-pulse {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.45) 0%, rgba(0, 229, 255, 0) 65%);
    animation: logoPulse 2.4s ease-in-out infinite;
    z-index: 2;
}
@keyframes logoPulse {
    0%, 100% { transform: scale(0.85); opacity: 0.55; }
    50%      { transform: scale(1.15); opacity: 1; }
}
.nav__logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.nav__logo--emphasized .nav__logo-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #fff 0%, #b9f5ff 50%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
}
.nav__logo-sub {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 8px;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
    margin-top: 2px;
}
.nav__logo--footer .nav__logo-stage { width: 52px; height: 52px; }
.nav__logo--footer .nav__logo-icon { width: 40px; height: 40px; }

/* ==========================================================
   OVERLAP-SAFE SPACING FIXES
   ========================================================== */
.hero__title,
.section__title,
.final-cta__title {
    line-height: 1.18;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: manual;
}
.hero__title { letter-spacing: 0; }
.hero__title--accent { display: inline-block; padding: 0 0.05em; }
.hero__tagline { line-height: 1.5; word-spacing: 0.05em; margin-bottom: 18px; }
.hero__subtitle { line-height: 1.65; max-width: 56ch; }
.section__title { padding-bottom: 6px; }
.section__title span { display: inline-block; }
.nav__container { gap: 24px; flex-wrap: nowrap; }
.nav__links { flex-wrap: wrap; row-gap: 6px; }
.nav__logo-text,
.nav__logo-sub { white-space: nowrap; }
.problem__pain strong { display: block; line-height: 1.2; margin-bottom: 2px; }
.problem__pain span { display: block; line-height: 1.4; }
.solution__card-title,
.guarantee__title,
.faq__question span { line-height: 1.3; }
.proof__metric-value { line-height: 1.2; word-break: keep-all; }

/* ==========================================================
   MOBILE RESPONSIVE — Logo + Lang Switcher + TRON
   ========================================================== */
@media (max-width: 900px) {
    .nav__logo--emphasized .nav__logo-text { font-size: 0.95rem; letter-spacing: 3px; }
    .nav__logo-sub { font-size: 0.55rem; letter-spacing: 6px; }
    .nav__logo-stage { width: 48px; height: 48px; }
    .nav__logo--emphasized .nav__logo-icon { width: 38px; height: 38px; }
}
@media (max-width: 768px) {
    .nav__actions { gap: 8px; }
    .lang-switch { padding: 6px 10px; font-size: 0.7rem; letter-spacing: 1px; }
    .nav__logo-wordmark { display: none; }
    .nav__logo-stage { width: 44px; height: 44px; }
    .tron-world__grid { height: 60vh; background-size: 40px 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .tron-world__grid,
    .tron-world__scanlines,
    .nav__logo-ring,
    .nav__logo-ring--outer,
    .nav__logo-pulse { animation: none !important; }
}
