/* =========================================
   KORYSOL - Luxury Dark Theme
   ========================================= */

:root {
    /* Colors */
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-dim: #666666;
    --accent-glow: rgba(255, 255, 255, 0.15);

    /* Silver Gradient Text */
    --gradient-silver: linear-gradient(180deg, #FFFFFF 0%, #E0E0E0 50%, #A0A0A0 100%);

    /* Spacing */
    --container-max: 1200px;
    --section-padding: clamp(60px, 10vw, 120px) 20px;
    /* Fluid padding */

    /* Fonts */
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    overflow-y: auto;
    /* Force vertical scroll */
}

html {
    overflow-y: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* =========================================
   Typography & Utilities
   ========================================= */

h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text,
h1,
h2,
.logo {
    background: var(--gradient-silver);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /* Fluid vertical padding: 10px mobile -> 20px desktop */
    /* Fluid horizontal padding: 20px mobile -> 40px desktop */
    padding: clamp(10px, 2vw, 20px) clamp(20px, 4vw, 40px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: 100%;
    max-width: var(--container-max);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
    /* Prevent wrapping */
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.nav-links a:hover {
    color: #fff;
}

.btn-contact {
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Fluid padding and font size */
    padding: clamp(6px, 1.2vw, 8px) clamp(12px, 2.5vw, 20px);
    border-radius: 99px;
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    white-space: nowrap;
}

.btn-contact:hover {
    background: white;
    color: black;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    opacity: 0;
    animation: fadeInName 1.5s ease forwards 0.5s;
    will-change: opacity, transform;
    /* Hardware Acceleration */
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
}

@keyframes fadeInName {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Scroll Reveal Section
   ========================================= */
.scroll-reveal-section {
    min-height: 100vh;
    /* Reduced to minimum screen height */
    /* Extra height for scroll duration */
    position: relative;
    display: flex;
    justify-content: center;
    background: black;
    overflow: hidden;
    /* Ensure blobs don't spill */
}

.reveal-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* Changed to column to stack blob properly if needed */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.reveal-text {
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    max-width: 1000px;
    color: #333;
    /* Default dim color */
}

/* Individual word styling managed by JS */
.reveal-word {
    transition: color 0.1s linear;
    will-change: color;
    /* Hardware Acceleration */
}

.reveal-word.active {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* =========================================
   Service Sections (Alternating)
   ========================================= */
.service-section {
    padding: var(--section-padding);
    background: black;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-reverse .service-layout {
    direction: rtl;
    /* visual flip */
}

.service-reverse .service-content {
    direction: ltr;
    /* restore text direction */
}

.service-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.service-desc {
    font-size: 1.1rem;
    color: #bbb;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Visual Cards */
.visual-card {
    width: 100%;
    aspect-ratio: 4/3;
    background: #111;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
}

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    gap: 20px;
}

.step-num {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #444;
    font-weight: 600;
    padding-top: 5px;
}

.step-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
    background: none;
    -webkit-text-fill-color: initial;
}

.step-info p {
    font-size: 0.95rem;
    color: #888;
}

/* Benefits List */
.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.benefits-list li {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list li::before {
    content: '+';
    color: #666;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-link {
    display: block;
    font-size: 1.5rem;
    color: #fff;
    border-bottom: 1px solid #333;
    text-decoration: none;
    line-height: 1.5;
}

.contact-link:hover {
    border-bottom-color: #fff;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 900px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .service-reverse .service-layout {
        direction: ltr;
        /* Reset direction for all mobile/tablet */
    }

    .service-content {
        text-align: left;
        /* Keep readable format */
        padding: 0 10px;
    }

    .service-content h2,
    .service-desc,
    .steps-list {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Center text on tablet if desired, or keep left for readability. 
       Let's center headings for balance. */
    .service-content h2 {
        text-align: center;
    }

    .visual-card {
        max-width: 800px;
        margin: 0 auto;
        aspect-ratio: 16/9;
        /* Widescreen for tablet/mobile to save vertical space */
    }
}

/* =========================================
   Luxury Loader
   ========================================= */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loader-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    /* Fluid size */
    text-align: center;
    padding: 0 20px;
    line-height: 1.3;
    letter-spacing: 0.1em;
    /* Reduced slightly for better fit */
    color: #fff;
    /* Fallback */
    background: linear-gradient(90deg, #666 0%, #fff 50%, #666 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 2s linear infinite;
}

.loader-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: expandLine 1.5s ease-in-out forwards;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@keyframes expandLine {
    0% {
        width: 0;
        opacity: 0;
    }

    50% {
        width: 100px;
        opacity: 1;
    }

    100% {
        width: 100px;
        opacity: 1;
    }

}
}

/* HERO TITLE CONTAINER */
.hero-title-container {
    /* height: 4rem; Remove fixed height to let title flow if needed, or use min-height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

/* Ensure container takes height of absolute elements... tricky with absolute.
   Better: Grid stack or fixed height. 
   Titles can be long. Let's use Grid Stack (1fr 1fr). */
.hero-title-container {
    display: grid;
    place-items: center;
}

.hero-title-container>* {
    grid-area: 1 / 1;
}

.hero-title.original-text,
.hero-title.alternate-text {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.hero-title.original-text {
    opacity: 1;
    transform: translateY(0);
}

.hero-title.alternate-text {
    opacity: 0;
    transform: translateY(50px);
}

/* Switches for Title */
.hero-title-container.switched .original-text {
    opacity: 0;
    transform: translateY(-50px);
}

.hero-title-container.switched .alternate-text {
    opacity: 1;
    transform: translateY(0);
}


/* HERO SUBTITLE CONTAINER */
.hero-subtitle-container {
    position: relative;
    display: grid;
    place-items: center;
    /* height: 3rem;  Use grid stack instead of fixed height/absolute */
    overflow: hidden;
    margin-top: 10px;
}

.hero-subtitle-container>* {
    grid-area: 1 / 1;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    /* text-transform: uppercase; REMOVED AS REQUESTED */
    color: #4a4a4a;
    background: linear-gradient(180deg, #888 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* margin-top: 10px; Handled by container */
    width: 100%;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.hero-subtitle.original-text {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle.alternate-text {
    opacity: 0;
    transform: translateY(50px);
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #ccc;
    font-weight: 400;
    text-transform: none;
    -webkit-text-fill-color: #ccc;
    background: none;
}

/* State: Switched */
.hero-subtitle-container.switched .original-text {
    opacity: 0;
    transform: translateY(-50px);
}

.hero-subtitle-container.switched .alternate-text {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Scroll Indicator
   ========================================= */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 20;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

/* Mouse Animation */
.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

/* Arrow Animation */
.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin: -4px 0;
    animation: scrollArrow 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* =========================================
   Background Glow Blobs (Neon Green)
   ========================================= */
.bg-glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    /* Much brighter core */
    background: radial-gradient(circle at center, rgba(57, 255, 20, 0.35) 0%, rgba(57, 255, 20, 0.1) 50%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    /* Organic blob shape base */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 1;
    /* Max visibility */
    mix-blend-mode: screen;
}

.blob-right {
    top: 5%;
    right: -200px;
    width: 700px;
    height: 700px;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    transform: rotate(10deg);
}

.blob-left {
    bottom: -100px;
    left: -200px;
    width: 800px;
    height: 600px;
    border-radius: 41% 59% 41% 59% / 41% 59% 41% 59%;
    transform: rotate(-15deg);
}

.blob-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    opacity: 0.25;
    /* Still kept slightly lower to not blind, but much brighter than before */
    border-radius: 50%;
    /* Center can stay roundish or slightly organic */
}

/* Ensure sections contain the blobs */
.service-section,
.scroll-reveal-section {
    position: relative;
    overflow: hidden;
}

/* =========================================
   Interactive Transition Section
   ========================================= */
.transition-section {
    height: 100vh;
    /* Full height for perfect centering */
    background: #000000;
    position: relative;
    z-index: 50;
    transition: height 0.1s;
    /* For collapse effect */
}

.transition-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

.transition-text {
    font-size: clamp(2rem, 5vw, 4rem);
    background: linear-gradient(180deg, #FFFFFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.transition-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.transition-progress-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.transition-progress-container.visible {
    opacity: 1;
}

.transition-bar {
    width: 0%;
    height: 100%;
    background: #39FF14;
    /* Neon Green */
    box-shadow: 0 0 10px #39FF14;
    transition: width 2.5s cubic-bezier(0.22, 1, 0.36, 1);
    /* Auto-fill animation */
}

/* Overlay for final flash/fade */
.transition-overlay {
    position: absolute;
    inset: 0;
    background: black;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

/* =========================================
   Crossroads Section
   ========================================= */
.crossroads-section {
    padding: 100px 20px;
    text-align: center;
}

.section-title-center {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 60px;
    background: linear-gradient(180deg, #FFFFFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.crossroads-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.crossroads-btn {
    position: relative;
    width: 300px;
    height: 180px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.crossroads-btn .btn-text {
    font-size: 1.4rem;
    font-weight: 700;
    z-index: 2;
}

.crossroads-btn .btn-sub {
    font-size: 0.9rem;
    color: #888;
    z-index: 2;
}

/* Active State (Revizní firmy) */
.crossroads-btn.active:hover {
    background: rgba(40, 40, 40, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.crossroads-btn.active::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.crossroads-btn.active:hover::before {
    opacity: 1;
}

/* Disabled State */
.crossroads-btn.disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.01);
    border-color: rgba(255, 255, 255, 0.05);
}

/* =========================================
   Visual Card Backgrounds (Added V29)
   ========================================= */
.visual-card {
    /* Keep existing layout styles */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.visual-card::after {
    /* Slight overlay to blend with dark theme */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.visual-card.invoice {
    background-image: url('images/invoice.png');
}

.visual-card.receptionist {
    background-image: url('images/receptionist.png');
}

.visual-card.reminder {
    background-image: url('images/reminder.png');
}

.visual-card.booking {
    background-image: url('images/booking.png');
}

.visual-card.database {
    background-image: url('images/database.png');
}

/* =========================================
   MODAL & AUDIT FORM STYLES
   ========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 40px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #fff;
}

.hidden {
    display: none !important;
}

/* Modal Content */
.modal-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
}

.modal-desc {
    text-align: center;
    color: #aaa;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.5;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 0.9rem;
}

.form-group input,
.audit-step textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.audit-step textarea:focus {
    outline: none;
    border-color: #39FF14;
}

.btn-primary {
    background: linear-gradient(90deg, #39FF14 0%, #2ec212 100%);
    color: #000;
    font-weight: 700;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(57, 255, 20, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    color: #fff;
    border-color: #fff;
}

.full-width {
    width: 100%;
}

/* Audit Specifics */
.upsell-box {
    background: rgba(57, 255, 20, 0.05);
    border-left: 3px solid #39FF14;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 30px;
}

.upsell-text {
    color: #ddd;
    line-height: 1.6;
}

.audit-progress {
    margin-bottom: 30px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #bbb;
    font-size: 0.85rem;
}

.progress-track {
    background: rgba(255, 255, 255, 0.1);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    background: #39FF14;
    height: 100%;
    transition: width 0.3s ease;
}

/* Steps */
.audit-step h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 10px;
}

.audit-hint {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option,
.check-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #ddd;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: background 0.2s;
}

.radio-option:hover,
.check-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.radio-option input,
.check-option input {
    accent-color: #39FF14;
    width: 18px;
    height: 18px;
}

.audit-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

margin-bottom: 20px;
}

/* =========================================
   MOBILE OPTIMIZATION (Max-Width 480px)
   ========================================= */
@media (max-width: 480px) {
    :root {
        --section-padding: 80px 15px;
        /* Smaller padding */
    }

    /* Navbar Compact - Critical Fix for Overlap */
    /* Removed redundant static overrides - allowing fluid base styles to handle this. */
    /* Kept only structural changes if needed */
    .nav-container {
        gap: 10px;
        /* Ensure gap remains on very small screens if fluid gap triggers too wide */
    }

    .logo {
        /* Allow base clamp to work, but enforce no-wrap */
        white-space: nowrap;
    }

    .btn-contact {
        /* Allow base clamp to work */
    }

    /* General Layout */
    .container {
        padding: 0 15px;
    }

    h1,
    h2,
    h3 {
        word-wrap: break-word;
        /* Prevent overflow */
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.2rem;
        /* Smaller for mobile */
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .scroll-indicator {
        bottom: 15px;
        transform: translateX(-50%) scale(0.8);
        /* Smaller indicator */
    }

    /* Scroll Reveal Text */
    .reveal-text {
        font-size: 1.5rem;
        /* Readable size */
        padding: 0 10px;
    }

    /* Service Sections */
    .service-content h2 {
        font-size: 2rem;
    }

    .service-desc {
        font-size: 1rem;
    }

    /* Visual Cards - optimize vertical space */
    .visual-card {
        aspect-ratio: 16/9;
        /* Widen to save height */
    }

    /* Blobs - optimize for mobile GPU */
    .bg-glow-blob {
        opacity: 0.4;
        filter: blur(30px);
        /* Significant reduction for performance */
    }

    /* Crossroads Buttons */
    .crossroads-btn {
        width: 100%;
        /* Full width cards */
        height: 140px;
        /* Slightly shorter */
    }

    .section-title-center {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    /* MODAL MOBILE */
    .modal-container {
        width: 95%;
        padding: 20px;
        /* More space for content */
        max-height: 90vh;
        overflow-y: auto;
        /* Scrollable internal content */
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-desc {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* Form Elements */
    .form-group input,
    .audit-step textarea {
        padding: 10px;
        font-size: 16px;
        /* Prevent zoom on iOS input focus (needs 16px+) */
    }

    .audit-controls {
        flex-direction: column-reverse;
        /* Stack buttons, Next on top usually or standard stack */
        gap: 10px;
    }

    .audit-controls button {
        width: 100%;
    }

    /* Loader - ensure text fits */
    .loader-logo {
        /* Handled by fluid base style */
        width: 100%;
        /* Ensure centering works */
    }
}

/* =========================================
   REDUCED MOTION (Accessibility)
   ========================================= */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .blob-center,
    .blob-left,
    .blob-right,
    .bg-glow-blob {
        display: none;
        /* Hide heavy effects */
    }
}