:root {
    --bg-color: #050505;
    --accent-color: #00f2ff;
    --secondary-accent: #7000ff;
    --text-color: #ffffff;
    --text-dim: #b0b0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

body.dark-mode {
    background-color: var(--bg-color);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

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

.progress-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    z-index: 1000;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--accent-color);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.spatial-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero-card {
    padding: 50px;
    max-width: 600px;
    transform: translateY(30px);
    opacity: 0;
}

.pre-title {
    color: var(--accent-color);
    letter-spacing: 4px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

h1.gradient-text {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.count {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
}

.label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.4);
}

.cta-btn.small {
    padding: 10px 25px;
    font-size: 0.8rem;
}

.cta-btn.full-width {
    width: 100%;
}

#hero-3d-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 5;
}

/* Map Section */
.hoarding-map-section {
    padding: 100px 10%;
    min-height: 100vh;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-viewport {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
}

.map-legend {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.available {
    background: #00ff7f;
    box-shadow: 0 0 10px #00ff7f;
}

.dot.booked {
    background: #ff4444;
    box-shadow: 0 0 10px #ff4444;
}

.map-instruction {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(5px);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.75rem;
    color: var(--text-dim);
    border: 1px solid var(--glass-border);
    pointer-events: none;
    z-index: 10;
}

.floating-panel {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 350px;
    padding: 30px;
    z-index: 100;
    max-height: 85%;
    overflow-y: auto;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-panel::-webkit-scrollbar {
    width: 6px;
}

.floating-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.floating-panel::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

#direct-book-btn {
    animation: pulseGlow 2s infinite;
    margin-top: 15px;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.7);
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 242, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0);
        transform: scale(1);
    }
}

.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.close-panel,
.close-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
}

.site-preview {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.status-tag {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 15px 0;
}

.status-tag.available {
    background: rgba(0, 255, 127, 0.2);
    color: #00ff7f;
}

.status-tag.booked {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.site-price {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Service Hub */
.service-hub {
    padding: 100px 10%;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.hoarding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.hoarding-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s;
}

.hoarding-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.2);
}

.service-card {
    padding: 60px;
    text-align: center;
    transition: transform 0.5s;
}

.service-card:hover {
    transform: translateY(-15px);
}

.icon-3d {
    height: 200px;
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.features {
    list-style: none;
    margin: 30px 0;
    color: var(--text-dim);
}

.features li {
    margin: 10px 0;
    position: relative;
    display: inline-block;
    padding: 0 15px;
}

.buy-now-btn {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-now-btn:hover {
    background: var(--accent-color);
    color: black;
}

/* Heritage Section */
.heritage-section {
    padding: 100px 10%;
    background: radial-gradient(circle at center, rgba(112, 0, 255, 0.05) 0%, transparent 70%);
}

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

.client-marquee {
    margin-top: 80px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: scroll 12s linear infinite;
}

.marquee-content span {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    margin: 0 50px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.marquee-content span:hover {
    color: var(--accent-color);
}

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

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

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.3s;
}

.checkout-modal {
    width: 90%;
    max-width: 500px;
    padding: 50px;
}

#checkout-form input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    margin-bottom: 20px;
}

footer {
    padding: 50px 10%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
}

/* Contact Section */
.contact-section {
    padding: 100px 10%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
    margin-top: 30px;
}

.info-list li {
    margin: 15px 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dim);
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.glitch {
    font-weight: 800;
    font-size: 3rem;
    position: relative;
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
        0.025em 0.04em 0 #fffc00;
    animation: glitch 725ms infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff, 0.025em 0.04em 0 #fffc00;
    }

    15% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff, 0.025em 0.04em 0 #fffc00;
    }

    16% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff, -0.05em -0.05em 0 #fffc00;
    }

    49% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff, -0.05em -0.05em 0 #fffc00;
    }

    50% {
        text-shadow: 0.03em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff, 0 -0.04em 0 #fffc00;
    }

    99% {
        text-shadow: 0.03em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff, 0 -0.04em 0 #fffc00;
    }

    100% {
        text-shadow: -0.05em 0 0 #00fffc, -0.03em -0.025em 0 #fc00ff, -0.04em -0.04em 0 #fffc00;
    }
}

@media (max-width: 768px) {
    .glass-nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    h1.gradient-text {
        font-size: 2.5rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 20px;
    }

    #hero-3d-container {
        display: none;
    }

    .hero-content {
        width: 100%;
    }

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

    .floating-panel {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        width: 100%;
        right: auto;
        border-radius: 20px 20px 0 0;
    }
}