/* 
    Propanoff Next-Gen | Precision Alignment Setup
    V 3.0 - Perfect Grids & Refined Layouts
*/

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=Inter:wght@300;400;500;700&display=swap');

:root {
    --bg-black: #060608;
    --surface-low: #0e0e12;
    --surface-mid: #14141a;
    --accent-primary: #e65100;
    --accent-glow: rgba(230, 81, 0, 0.4);
    --text-high: #ffffff;
    --text-mid: #a1a1a6;
    --text-low: #66666e;
    --border-thin: rgba(255, 255, 255, 0.06);
    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 90px;
    --content-max: 1650px;
    --bento-gap: 1.5rem;
    --radius-lg: 24px;
    --radius-md: 16px;
}

html.theme-light {
    --bg-black: #f5f5f7;
    --surface-low: #ffffff;
    --surface-mid: #eaeaea;
    --text-high: #1c1c1e;
    --text-mid: #86868b;
    --text-low: #6e6e73;
    --border-thin: rgba(0, 0, 0, 0.08);
}

html.theme-light body::before {
    filter: invert(1);
    opacity: 0.1;
}

html.theme-light .gradient-text {
    background: linear-gradient(135deg, #1c1c1e 20%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

html.theme-light .portfolio-car-title,
html.theme-light .portfolio-car-spec {
    color: #ffffff;
}

html.theme-light .rate-price,
html.theme-light .step-title,
html.theme-light .faq-btn,
html.theme-light .rate-list-active,
html.theme-light .rate-name-active,
html.theme-light .hero-desc {
    color: var(--text-high);
}

html.theme-light .site-nav.scrolled {
    background: rgba(245, 245, 247, 0.9);
}

html.theme-light .hero-visual::after {
    background: linear-gradient(180deg, rgba(245, 245, 247, 0.75) 0%, rgba(245, 245, 247, 0.9) 60%, rgba(245, 245, 247, 1) 100%) !important;
}

html.theme-light .footer-map-module [class$="-ground-pane"] {
    filter: none;
    -webkit-filter: none;
}

html.theme-light .timer-module {
    background: #08080a !important;
}

html.theme-light .timer-module .timer-super,
html.theme-light .timer-module .timer-title,
html.theme-light .timer-module .timer-val,
html.theme-light .timer-module .timer-label {
    color: #ffffff !important;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8) !important;
}

html.theme-light .timer-module .gradient-text {
    background: linear-gradient(135deg, #fff 20%, var(--accent-primary) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: initial;
    cursor: none;
}

body {
    background-color: var(--bg-black);
    color: var(--text-high);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden !important;
}

/* Background Texture */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 10000;
}

/* Custom Cursor */
.cursor-follower {
    position: fixed;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10005;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-weight: 900;
}

.title-xl {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 1.05;
}

.title-lg {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 6rem;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 20%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 4%;
}

section {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

/* Navigation */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    align-items: center;
}

.site-nav.scrolled {
    background: rgba(6, 6, 8, 0.9);
    backdrop-filter: blur(15px);
    height: 70px;
    border-bottom: 1px solid var(--border-thin);
}

.site-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text-high);
    text-decoration: none;
}

.logo:link,
.logo:visited,
.logo:hover,
.logo:active {
    color: var(--text-high);
    text-decoration: none;
}

.logo-img {
    width: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-text-h {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--text-high);
}

.logo-text-s {
    font-size: 0.74rem;
    letter-spacing: 3.9px;
    color: var(--text-high);
    font-weight: 500;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-mid);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

/* Buttons */
.btn-modern {
    background: var(--accent-primary);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 900;
    font-family: var(--font-heading);
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 0 0 var(--accent-glow);
    transition: 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-modern:hover {
    box-shadow: 0 10px 30px var(--accent-glow);
    transform: translateY(-2px);
    background: #ff5722;
}

/* Hero Section */
.hero-wrap {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    width: 140%;
    max-width: none;
    margin-right: -20%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
    transform: perspective(1000px) rotateY(-5deg);
}

/* Grid & Bento Alignment */
.grid-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: var(--bento-gap);
    width: 100%;
}

.module {
    background: var(--surface-low);
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: border-color 0.4s ease;
}

/* Hover Spotlight */
.module::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.02), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.module:hover::after {
    opacity: 1;
}

.span-12 {
    grid-column: span 12;
}

.span-8 {
    grid-column: span 8;
}

.span-6 {
    grid-column: span 6;
}

.span-4 {
    grid-column: span 4;
}

/* Image Modules */
.module-img {
    padding: 0;
}

.module-img img,
.module-img video {
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
}

/* Calculators and Sliders */
.slider-group {
    margin-bottom: 3rem;
    width: 100%;
}

.modern-slider {
    -webkit-appearance: none;
    background: linear-gradient(to right, var(--accent-primary) var(--progress, 50%), var(--border-thin) var(--progress, 50%));
    height: 6px;
    width: 100%;
    margin-top: 1.5rem;
    outline: none;
    border-radius: 3px;
    touch-action: none;
}

.modern-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-primary);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), background 0.3s;
}

.modern-slider:active::-webkit-slider-thumb {
    transform: scale(1.4);
    background: var(--accent-primary);
}

.modern-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-primary);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), background 0.3s;
}

.modern-slider:active::-moz-range-thumb {
    transform: scale(1.4);
    background: var(--accent-primary);
}

/* Rates & Packages */
.rate-card {
    justify-content: space-between;
}

.rate-bestseller {
    background: var(--surface-mid);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(230, 81, 0, 0.05);
}

.rate-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.rate-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-mid);
}

.rate-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
}

/* Timeline/Steps Alignment */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--bento-gap);
    text-align: center;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border-thin);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    background: var(--bg-black);
    padding: 1rem;
    border-radius: 20px;
}

.step-num {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--border-thin);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    background: var(--surface-low);
    transition: 0.3s;
}

.step-item:hover .step-num {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Portfolio Hotspots */
.hotspot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    box-sizing: border-box;
    border: 4px solid var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
    cursor: pointer;
    z-index: 50;
    transform: translate(-50%, -50%);
}

.hotspot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1);
    border-radius: 50%;
    border: 1.5px solid var(--accent-primary);
    animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes ping {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

.hotspot-tooltip {
    position: absolute;
    background: white;
    color: black;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    z-index: 100;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* Timer */
.timer-flex {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.timer-block {
    text-align: center;
}

.timer-val {
    font-size: clamp(3rem, 6vw, 5rem);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.timer-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 2px;
}

/* FAQ Alignment */
.faq-grid {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 4rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-thin);
    padding: 2.5rem 0;
    cursor: pointer;
}

.faq-q {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.4s ease;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    color: var(--text-mid);
    opacity: 0;
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.faq-item.active .faq-a {
    max-height: 200px;
    margin-top: 1.5rem;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-primary);
}

/* Lead Form Align */
.lead-form-inline {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.modal-form-vertical,
.modal-messenger-layout {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.modal-title-lg {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.lead-input {
    background: var(--bg-black);
    border: 1px solid var(--border-thin);
    height: 70px;
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-high);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    outline: none;
    flex: 1;
    min-width: 250px;
    transition: border-color 0.3s;
    border: 1px solid #424242;
}

.lead-input:focus {
    border-color: var(--accent-primary);
}

/* Success Validation States */
.lead-input.input-valid {
    border-color: #00E676;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.15);
    color: #00E676;
}

.btn-modern.btn-valid {
    background: #00E676;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
}

.gradient-text {
    transition: background 0.4s ease;
}

.gradient-text.gradient-valid {
    background: linear-gradient(135deg, #fff 20%, #00E676 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Infinite Marquee */
.marquee-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-thin);
    border-bottom: 1px solid var(--border-thin);
    display: flex;
    white-space: nowrap;
    background: var(--bg-black);
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-track p {
    font-size: 4rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 900;
    color: var(--bg-black);
    -webkit-text-stroke: 1px var(--text-low);
    margin: 0 3rem;
    display: inline-block;
}

.marquee-track p span {
    color: var(--accent-primary);
    -webkit-text-stroke: 0;
}

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

    100% {
        transform: translateX(-50%);
    }
}

/* Portfolio / Hotspots */
.portfolio-module {
    padding: 0;
    overflow: hidden;
    height: 52vh;
    min-height: 450px;
    background: url('../img/background_slide.jpg') center/cover no-repeat;
    position: relative;
}

.portfolio-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.portfolio-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.portfolio-slide.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.portfolio-slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portfolio-controls {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 50;
    display: flex;
    gap: 1rem;
}

.portfolio-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.3rem;
    line-height: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.portfolio-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

.hotspot-1 {
    top: 45%;
    left: 35%;
}

.hotspot-2 {
    top: 55%;
    left: 65%;
}

.portfolio-overlay {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10;
}

.portfolio-car-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.portfolio-car-spec {
    color: white;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.portfolio-savings-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-thin);
}

.portfolio-savings-lbl {
    font-size: 0.7rem;
    color: var(--text-mid);
    font-weight: 700;
    letter-spacing: 2px;
}

.portfolio-savings-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-primary);
}

/* Responsive Alignment */
@media (max-width: 1024px) {

    .span-8,
    .span-6,
    .span-4 {
        grid-column: span 12;
    }

    .theme-toggle {
        top: 90px !important;
    }

    .hero-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        position: static;
    }

    .hero-visual {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin-top: 0;
        border-radius: 0;
        z-index: 0;
    }

    .hero-visual::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(8, 8, 10, 0.75) 0%, rgba(8, 8, 10, 0.9) 60%, rgba(8, 8, 10, 1) 100%);
        z-index: 1;
    }

    .hero-visual-img,
    .hero-visual-video {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
        position: absolute;
        inset: 0;
        box-shadow: none;
    }

    .hero-content {
        position: relative;
        z-index: 5;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .steps-grid::before {
        display: none;
    }

    .timer-flex {
        gap: 2rem;
    }
}

/* Mobile Call Buttons (Hidden on PC by default) */
.sticky-call-btn,
.mobile-header-phone {
    display: none;
}

@media (max-width: 768px) {
    .title-xl {
        font-size: clamp(1.6rem, 7.6vw, 2.5rem) !important;
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.1;
    }

    .title-lg {
        font-size: clamp(1.4rem, 6.5vw, 2.0rem) !important;
        margin-bottom: 3rem !important;
    }

    .hero-wrap {
        padding-top: 100px !important;
        padding-bottom: 2rem !important;
        min-height: auto !important;
    }

    .site-nav {
        height: 70px !important;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 2.5rem 0;
    }

    .site-footer {
        padding: 3rem 0 2rem 0;
        margin-top: 3rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .lead-form-inline {
        flex-direction: column;
    }

    .btn-modern {
        width: 100%;
    }

    .portfolio-overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        gap: 10px;
    }

    .portfolio-overlay {
        align-items: flex-start !important;
    }

    .portfolio-car-title {
        font-size: 1rem !important;
    }

    .portfolio-overlay {
        bottom: 1rem !important;
        left: 1rem !important;
    }

    .portfolio-savings-card {
        padding: 0.7rem 1rem !important;
    }

    .portfolio-car-spec {
        font-size: 0.9rem;
    }

    .portfolio-savings-card {
        align-self: flex-start;
        padding: 1rem 1.5rem;
    }

    .portfolio-module {
        height: 42vh;
        min-height: 320px;
    }

    .portfolio-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .portfolio-car-title {
        margin-bottom: 0;
    }

    .hotspot-tooltip {
        white-space: normal;
        width: 90%;
        text-align: center;
    }

    .mobile-header-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 61, 0, 0.1);
        border: 1px solid var(--accent-primary);
        color: var(--accent-primary);
        border-radius: 50%;
        text-decoration: none;
    }

    .sticky-call-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background: var(--accent-primary);
        color: white;
        text-decoration: none;
        padding: 0.4rem;
        border-radius: 12px;
        z-index: 9999;
        box-shadow: 0 10px 30px rgba(255, 61, 0, 0.4);
        text-align: center;
    }

    .sticky-call-lbl {
        font-family: 'Inter', sans-serif;
        font-size: 0.65rem;
        letter-spacing: 4px;
        text-transform: uppercase;
        font-weight: 700;
        opacity: 0.8;
        margin-bottom: 2px;
    }

    .sticky-call-val {
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 900;
        letter-spacing: 1px;
    }

    body {
        padding-bottom: 90px;
    }
}

/* =========================================
   EXTRACTED INLINE STYLES (Refactored)
   ========================================= */

/* Utilities & Globals */
.w-100 {
    width: 100%;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-6 {
    margin-bottom: 6rem;
}

.mt-4rem {
    margin-top: 4rem;
}

.p-0 {
    padding: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.h-min-500 {
    min-height: 500px;
}

.h-min-300 {
    min-height: 300px;
}

.h-60px,
.h-70px,
.modal-form .btn-modern {
    height: auto;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: #ff3d00;
}

.text-max-600 {
    max-width: 600px;
}

.text-mid-md {
    color: var(--text-mid);
    font-size: 1.1rem;
}

.text-mid-sm {
    color: var(--text-mid);
    font-size: 0.9rem;
}

.justify-center {
    justify-content: center;
}

.p-4rem {
    padding: 2rem;
}

.bg-dark {
    background: var(--surface-low);
}

.module-heading {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

/* Header & Nav */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.btn-nav {
    padding: 0.8rem 1.8rem;
    font-size: 0.7rem;
}

/* Hero */
.hero-subtitle {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-desc {
    color: var(--text-mid);
    margin: 3rem 0;
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-low);
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-indicator {
    width: 8px;
    height: 8px;
    background: #00E676;
    border-radius: 50%;
    box-shadow: 0 0 10px #00E676;
}

.hero-visual-img,
.hero-visual-video {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Marquee */
.section-marquee {
    padding: 0;
    margin-bottom: 0;
}

/* About / Installment Bento */
.bento-installment {
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px dashed var(--border-thin);
}

.installment-val {
    font-size: 6rem;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1;
    margin: 0;
}

.installment-desc {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-top: 1rem;
}

/* Calc Section */
.calc-left {
    gap: 2rem;
    background: var(--surface-low);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--text-mid);
}

.slider-val {
    color: var(--text-high);
    font-size: 1rem;
}

.calc-right {
    justify-content: space-between;
    background: var(--surface-mid);
    border-color: var(--border-thin);
}

.calc-lbl {
    color: var(--text-low);
    font-size: 0.75rem;
    letter-spacing: 6px;
    font-weight: 700;
}

.calc-total-box {
    font-size: clamp(3rem, 7vw, 6rem);
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1;
}

.calc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.calc-footer-text {
    color: var(--text-mid);
    font-weight: 700;
    font-size: 0.9rem;
}

.calc-currency {
    font-size: 2rem;
    opacity: 0.2;
    font-family: var(--font-heading);
    margin: 0;
}

/* Tech Deep Dive */
.tech-accent-module {
    background: var(--accent-primary);
    color: white;
    border: none;
    justify-content: center;
    padding: 2rem;
}

.tech-heading {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    line-height: 1.1;
}

.tech-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

.tech-lbl {
    color: var(--text-low);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.tech-subheading {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Rates */
.rate-name {
    color: var(--text-low);
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.rate-price {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: white;
    margin: 0;
}

.btn-dark {
    margin-top: 4rem;
    width: 100%;
    background: #1a1a24;
    color: white;
}

.rate-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.rate-name-active {
    color: white;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 900;
}

.rate-bestseller-tag {
    background: var(--accent-primary);
    color: white;
    padding: 4px 10px;
    font-size: 0.6rem;
    font-weight: 900;
    border-radius: 4px;
}

.rate-list-active {
    color: white;
}



/* Steps */
.step-title {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.5rem;
}

/* Timer / Special */
.timer-module {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.timer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(1);
    z-index: 0;
}

.timer-content {
    position: relative;
    z-index: 2;
}

.timer-super {
    letter-spacing: 5px;
    color: var(--accent-primary);
    font-weight: 900;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.timer-title {
    margin-bottom: 3rem;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

/* FAQ */
.faq-btn {
    margin-top: 3rem;
    background: transparent;
    border: 1px solid var(--border-thin);
}

/* Contact Form */
.section-contact {
    padding-bottom: 0;
}

.contact-module {
    padding: 3rem 1rem;
    background: var(--surface-low);
    border-color: var(--accent-primary);
    align-items: center;
    text-align: center;
}

.contact-title {
    margin-bottom: 1.5rem;
}

.contact-privacy {
    color: var(--text-low);
    font-size: 0.75rem;
    margin-top: 2rem;
}

.mini-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--surface-mid);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0 0;
    border: 1px solid var(--border-thin);
}

.mini-timer span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-high);
    line-height: 1;
}

.mini-timer #mt-h,
.mini-timer #mt-m,
.mini-timer #mt-s {
    color: var(--accent-primary);
}

.mini-timer .mt-sep {
    font-size: 1.2rem;
    color: var(--text-low);
    margin-top: -2px;
}

/* Footer */
.site-footer {
    padding: 6rem 0 3rem 0;
    margin-top: 8rem;
    border-top: 1px solid var(--border-thin);
    background: var(--surface-low);
}

.footer-grid {
    margin-bottom: 4rem;
    align-items: stretch;
}

.footer-contacts {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 2rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-style: normal;
    color: var(--text-high);
}

.footer-address {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-phone {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-primary);
}

.footer-email {
    font-size: 1.1rem;
    color: var(--text-mid);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-thin);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.social-tg {
    box-shadow: 0 0 15px rgba(39, 167, 231, 0.1);
}

.social-wa {
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.1);
}

.social-vk {
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.1);
}

.footer-map-module {
    padding: 0;
    overflow: hidden;
    min-height: 350px;
    border-radius: 12px;
}

/* Применяем темный фильтр ИСКЛЮЧИТЕЛЬНО к тайлам подложки карты (чтобы не убить цвет маркера) */
.footer-map-module [class$="-ground-pane"] {
    filter: grayscale(220%) invert(1);
    -webkit-filter: grayscale(220%) invert(1);
    transition: filter 0.4s ease, -webkit-filter 0.4s ease;
}

.footer-iframe {
    min-height: 350px;
}

.footer-legal-block {
    border-top: 1px solid var(--border-thin);
    padding-top: 2rem;
    color: var(--text-low);
    font-size: 0.75rem;
    line-height: 1.8;
}

.footer-legal-text {
    margin-bottom: 0.5rem;
    max-width: 1000px;
}

.footer-legal-link {
    color: var(--text-mid);
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-legal-link:hover {
    color: var(--accent-primary);
}

/* Modal Overlay & Transitions */
.btn-how-to-get {
    max-width: 330px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 1.5rem;
    padding: 1rem 1.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-high);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-how-to-get:hover {
    background: rgba(255, 87, 34, 0.1);
    border-color: var(--text-accent);
    color: var(--text-accent);
    transform: translateY(-2px);
}

.modal-video-content {
    max-width: 800px;
    padding: 0;
    /* Stripped arbitrary padding */
    background: transparent;
    border: none;
    box-shadow: none;
}

.modal-video-wrapper {
    width: 100%;
    margin-top: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: ew-resize;
    /* Indicate horizontal scrub interaction */
    touch-action: pan-y;
    /* Prevent Chrome swipe-to-go-back interference but keep vertical scroll */
}

/* Native Touch Slider UI overlaying Video */
.video-scrub-container {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    /* Expanding across container cleanly */
    width: calc(100% - 2rem);
    z-index: 10;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.modal-video-wrapper:hover .video-scrub-container,
.video-scrub-container:hover,
.video-scrub-container:active {
    opacity: 1;
}

.video-slider {
    width: 100%;
    height: 6px;
    margin: 0;
    cursor: grab;
    background: rgba(255, 255, 255, 0.2);
    /* Base line track color */
}

.video-slider:active {
    cursor: grabbing;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-overlay {
    display: none;
}

.modal-content {
    background: var(--surface-low);
    border: 1px solid var(--border-thin);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 420px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.modal-close:hover {
    opacity: 1;
    color: var(--accent-primary);
}

/* Modal Messengers */
.msg-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    background: var(--surface-low);
    color: var(--text-high);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-thin);
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.msg-btn:hover {
    transform: translateY(-2px);
}

.msg-wa {
    border-color: rgba(37, 211, 102, 0.4);
}

.msg-wa:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 1);
}

.msg-tg {
    border-color: rgba(0, 136, 204, 0.4);
}

.msg-tg:hover {
    background: rgba(0, 136, 204, 0.1);
    border-color: rgba(0, 136, 204, 1);
}

.msg-max {
    border-color: rgba(255, 193, 7, 0.4);
}

.msg-max:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 1);
}

.msg-call {
    border-color: rgba(255, 61, 0, 0.4);
}

.msg-call:hover {
    background: rgba(255, 61, 0, 0.1);
    border-color: rgba(255, 61, 0, 1);
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    overflow: hidden;
    transition: 0.3s;
    outline: none;
    color: var(--text-high);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle span {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s;
}

.theme-toggle .icon-sun {
    transform: translateY(30px);
    opacity: 0;
}

.theme-toggle .icon-moon {
    transform: translateY(0);
    opacity: 1;
}

html.theme-light .theme-toggle .icon-sun {
    transform: translateY(0);
    opacity: 1;
}

html.theme-light .theme-toggle .icon-moon {
    transform: translateY(-30px);
    opacity: 0;
}

/* Mobile Logo & Burger Styles */
@media (max-width: 768px) {
    .logo-img {
        width: 38px !important;
    }
    .logo-text-h {
        font-size: 1.05rem !important;
        letter-spacing: 1px !important;
    }
    .logo-text-s {
        font-size: 0.6rem !important;
        letter-spacing: 2px !important;
    }
    
    /* Header layout grouping on mobile */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .header-actions-mobile {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    /* Mobile Phone Header Button */
    .mobile-header-phone {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(230, 81, 0, 0.1);
        border: 1px solid var(--accent-primary);
        color: var(--accent-primary);
        border-radius: 50%;
        text-decoration: none;
    }
    
    /* Burger Button - Sleek styling on mobile header */
    .burger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 40px;
        height: 40px;
        padding: 14px 10px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        cursor: pointer;
        z-index: 2001; /* Keep it above everything to close menu */
        transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    }
    
    .burger-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-high);
        border-radius: 2px;
        transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s;
    }
    
    .burger-btn.active span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }
    
    .burger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-btn.active span:nth-child(3) {
        transform: translateY(-4px) rotate(-45deg);
    }
    
    /* Premium Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(230, 81, 0, 0.15) 0%, rgba(6, 6, 8, 0.98) 70%);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        z-index: 2000; /* Extremely high to cover sticky elements */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.4s;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 24px 24px 30px 24px;
        overflow-y: auto;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    /* Header inside Menu Overlay */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin-bottom: 20px;
    }
    
    .mobile-menu-title {
        font-family: var(--font-heading);
        font-size: 0.8rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--text-low);
        font-weight: 700;
    }
    
    /* Sleek Close Cross Button inside overlay header */
    .mobile-menu-close {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: var(--text-high);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .mobile-menu-close:hover {
        background: rgba(230, 81, 0, 0.1);
        border-color: var(--accent-primary);
        color: var(--accent-primary);
        transform: rotate(90deg);
    }
    
    /* Body & Nav Links */
    .mobile-menu-body {
        flex-grow: 1;
        display: flex;
        align-items: center;
        margin: 20px 0;
    }
    
    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
    }
    
    .mobile-menu-links a {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        font-weight: 900;
        text-transform: uppercase;
        color: var(--text-mid);
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        display: block;
        letter-spacing: 1px;
        position: relative;
        padding-left: 0;
    }
    
    .mobile-menu-links a::before {
        content: '// ';
        color: var(--accent-primary);
        opacity: 0;
        transition: 0.3s;
        margin-right: 5px;
    }
    
    .mobile-menu-links a.active,
    .mobile-menu-links a:hover {
        color: var(--text-high);
        padding-left: 10px;
        text-shadow: 0 0 15px var(--accent-glow);
    }
    
    .mobile-menu-links a.active::before,
    .mobile-menu-links a:hover::before {
        opacity: 1;
    }
    
    /* Footer section of menu overlay */
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        gap: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 24px;
    }
    
    .mobile-menu-cta-wrap {
        width: 100%;
    }
    
    .mobile-menu-info-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .mobile-menu-info-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .info-label {
        font-size: 0.65rem;
        letter-spacing: 2px;
        color: var(--text-low);
        text-transform: uppercase;
        font-weight: 700;
    }
    
    .mobile-menu-phone {
        font-size: 1.3rem;
        font-weight: 900;
        color: var(--text-high);
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .mobile-menu-phone:hover {
        color: var(--accent-primary);
    }
    
    .mobile-menu-address {
        font-size: 0.85rem;
        color: var(--text-mid);
        font-style: normal;
        line-height: 1.4;
    }
    
    .mobile-menu-socials {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-menu-socials .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        height: 46px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        color: var(--text-high);
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 700;
        transition: all 0.3s;
    }
    
    .mobile-menu-socials .social-icon img {
        transition: transform 0.3s;
    }
    
    .mobile-menu-socials .social-icon:hover {
        transform: translateY(-2px);
    }
    
    .mobile-menu-socials .msg-tg:hover {
        background: rgba(0, 136, 204, 0.1);
        border-color: rgba(0, 136, 204, 0.4);
    }
    
    .mobile-menu-socials .msg-wa:hover {
        background: rgba(37, 211, 102, 0.1);
        border-color: rgba(37, 211, 102, 0.4);
    }

    .mobile-menu-socials .msg-max:hover {
        background: rgba(255, 193, 7, 0.1);
        border-color: rgba(255, 193, 7, 0.4);
    }
    
    /* Hide conflicting floating phone and theme elements when mobile menu is active */
    body.no-scroll .sticky-call-btn,
    body.no-scroll .theme-toggle {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}