html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

:root {
    --primary: #720099;
    --accent: #000000;
}

body {
    overflow-x: hidden;
}
/* Service Agreement Lightbox Styles */
#agreement-lightbox, #privacy-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 1.5rem;
}

#agreement-lightbox.active, #privacy-lightbox.active {
    display: flex;
    opacity: 1;
}

.agreement-modal {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    background: white;
    border-radius: 2.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#agreement-lightbox.active .agreement-modal, #privacy-lightbox.active .agreement-modal {
    transform: translateY(0) scale(1);
}

.agreement-header {
    padding: 2.5rem 2.5rem 1.5rem;
    background: white;
    border-bottom: 1px solid #f1f1f1;
    z-index: 10;
}

.agreement-header h3 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.agreement-header p {
    color: #666;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.agreement-body {
    padding: 2.5rem;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    color: #444;
    line-height: 1.7;
    background: #fafafa;
}

.agreement-body h4 {
    font-weight: 800;
    color: #111;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.agreement-body h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
}

.agreement-body h4:first-child {
    margin-top: 0;
}

.agreement-body p {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.agreement-footer {
    padding: 2rem 2.5rem;
    background: white;
    border-top: 1px solid #f1f1f1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.agreement-actions {
    display: flex;
    gap: 1rem;
}

.btn-accept {
    flex: 2;
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 1.25rem;
    font-weight: 900;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(114, 0, 153, 0.3);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -8px rgba(114, 0, 153, 0.4);
    filter: brightness(1.1);
}

.btn-close-agreement {
    flex: 1;
    background: #f1f1f1;
    color: #666;
    border: none;
    padding: 1.25rem;
    border-radius: 1.25rem;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-close-agreement:hover {
    background: #e5e5e5;
    color: #333;
}

.signature-lines {
    border: 2px dashed #eee;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: #fff;
    margin-top: 1rem;
}

.sig-line {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

.sig-line:last-child {
    margin-bottom: 0;
}

/* Scrollbar for agreement body */
.agreement-body::-webkit-scrollbar {
    width: 6px;
}

.agreement-body::-webkit-scrollbar-track {
    background: transparent;
}

.agreement-body::-webkit-scrollbar-thumb {
    background: rgba(114, 0, 153, 0.2);
    border-radius: 10px;
}

.agreement-body::-webkit-scrollbar-thumb:hover {
    background: rgba(114, 0, 153, 0.4);
}
/* Premium Button Styles */
.btn-premium {
    background: linear-gradient(135deg, var(--primary) 0%, #9d00d3 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px rgba(114, 0, 153, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-premium:hover::after {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 35px -10px rgba(114, 0, 153, 0.5);
    filter: brightness(1.1);
}

.btn-premium:active {
    transform: translateY(-1px) scale(0.98);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #720099;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Glassmorphism utility classes */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-white {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Micro-interactions */
button {
    cursor: pointer;
}

img {
    user-select: none;
    pointer-events: none;
}

/* Zone Lightbox Styles */
.zone-clickable {
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.zone-clickable:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

#zone-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#zone-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #111;
    border-radius: 2.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.active .lightbox-content {
    transform: scale(1);
}

.lightbox-map-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    background: white;
    color: black;
    transform: rotate(90deg);
}

.lightbox-info {
    padding: 2rem;
    text-align: center;
}

.lightbox-zone-name {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: white;
}

.lightbox-zone-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    font-weight: 500;
}



