:root {
    --primary-neon: #ff00ff;
    --secondary-neon: #00ffff;
    --accent-gold: #ffd700;
    --dark-bg: #050505;
    --light-bg: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-black: #111111;
    --font-main: 'Poppins', sans-serif;
    --nav-height: 80px;
    --market-bg: rgba(20, 20, 25, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Nav Base */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    height: 70px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 3000;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    background: rgba(5, 5, 8, 0.95);
    height: 60px;
    border-bottom-color: var(--primary-neon);
}

.nav-logo {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 3px;
    background: linear-gradient(to right, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-neon);
    transition: 0.3s;
    box-shadow: 0 0 10px var(--primary-neon);
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #ffffff !important;
    cursor: pointer;
    z-index: 3100;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-toggle i,
.menu-toggle svg {
    color: #ffffff !important;
    stroke: #ffffff;
    /* Lucide uses stroke for color */
    width: 24px;
    height: 24px;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-neon);
}

/* Base Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-neon {
    0% {
        box-shadow: 0 0 5px var(--primary-neon);
    }

    50% {
        box-shadow: 0 0 20px var(--primary-neon), 0 0 30px var(--primary-neon);
    }

    100% {
        box-shadow: 0 0 5px var(--primary-neon);
    }
}

.reveal {
    animation: fadeIn 1s ease forwards;
}

/* Sections */
section {
    padding: 100px 8%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
}

.neon-glow {
    text-shadow: 0 0 10px var(--primary-neon), 0 0 20px var(--primary-neon);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('black_1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 6rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Comparison Slider Enhancements */
.comparison-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 650px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    cursor: col-resize;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-neon);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 15px var(--primary-neon);
    cursor: grab;
}

.slider-handle:active {
    cursor: grabbing;
}

.slider-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary-neon);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 3px solid white;
    animation: pulse-neon 2s infinite;
}

/* Concept Sections */
.concept-header {
    margin-bottom: 60px;
    border-left: 10px solid var(--primary-neon);
    padding-left: 30px;
}

.concept-header h2 {
    font-size: 4rem;
    color: var(--primary-neon);
}

.concept-header.white {
    border-left-color: var(--secondary-neon);
}

.concept-header.white h2 {
    color: var(--secondary-neon);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    padding-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.5s;
    background: var(--glass-bg);
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: 0.4s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 1.5rem;
    color: var(--primary-neon);
}

/* Features Grid */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--glass-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.feature-card i {
    font-size: 4rem;
    margin-bottom: 30px;
    color: var(--secondary-neon);
}

/* Budget Table */
.budget-wrapper {
    background: var(--glass-bg);
    border-radius: 30px;
    padding: 50px;
    margin-top: 50px;
}

.budget-table {
    width: 100%;
    border-collapse: collapse;
}

.budget-table tr {
    border-bottom: 1px solid var(--glass-border);
}

.budget-table td {
    padding: 25px;
    font-size: 1.2rem;
}

.budget-table td:first-child {
    font-weight: bold;
    color: var(--primary-neon);
    width: 30%;
}

/* Environment Comparison Grid */
.env-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    justify-content: center;
}

.env-card {
    background: var(--glass-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.env-card:hover {
    border-color: var(--primary-neon);
}

.env-slider {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.env-info {
    padding: 25px;
}

.env-info h3 {
    color: var(--primary-neon);
    margin-bottom: 15px;
}

.env-info p {
    font-size: 0.95rem;
    color: #ccc;
}

/* Lightbox Styles */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    transform: translateY(-50%);
}

.lightbox-nav i {
    font-size: 3rem;
    color: white;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 50%;
    transition: 0.3s;
}

.lightbox-nav i:hover {
    background: var(--primary-neon);
}

/* Strategic Proposal & Market Analysis */
.market-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.market-card {
    background: var(--market-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.4s;
}

.market-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.market-card h4 {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.market-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #ccc;
}

.story-block {
    margin: 80px 0;
    padding: 60px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(0, 0, 0, 0));
    border-radius: 30px;
    border-left: 5px solid var(--accent-gold);
}

.story-block h3 {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.roi-table {
    width: 100%;
    margin-top: 40px;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.roi-table tr {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.roi-table td {
    padding: 25px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.roi-table td:first-child {
    border-left: 1px solid var(--glass-border);
    border-radius: 15px 0 0 15px;
    font-weight: 700;
    color: var(--accent-gold);
    width: 30%;
}

.roi-table td:last-child {
    border-right: 1px solid var(--glass-border);
    border-radius: 0 15px 15px 0;
    color: #eee;
}

.growth-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.stat-bar-container {
    flex-grow: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.stat-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), #fff);
    border-radius: 6px;
    transition: 1.5s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    section {
        padding: 80px 5%;
    }

    .hero-content h1 {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .env-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 4%;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .comparison-container {
        height: 400px;
    }

    .concept-header h2 {
        font-size: 3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .env-grid {
        grid-template-columns: 1fr;
    }

    .env-slider {
        height: 300px;
    }

    .budget-wrapper {
        padding: 25px;
        border-radius: 15px;
        overflow-x: auto;
    }

    .budget-table td {
        padding: 15px 10px;
        font-size: 1rem;
    }

    .lightbox-nav i {
        font-size: 2rem;
        padding: 15px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }

    #lightbox-caption {
        font-size: 1.2rem;
    }
}

/* Mobile Menu Specifics */
@media (max-width: 900px) {
    nav {
        width: 95%;
        top: 15px;
        padding: 0 25px;
        height: 60px;
    }

    .hero-content {
        padding-top: 80px;
        /* Space for the floating nav */
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-toggle svg {
        width: 28px !important;
        height: 28px !important;
        stroke-width: 2.5;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background: radial-gradient(circle at center, #1a0a1a, #050505);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        backdrop-filter: blur(30px);
        z-index: 2900;
        gap: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 5px;
        color: white;
        opacity: 0;
        transform: scale(0.8);
        transition: 0.5s;
    }

    .nav-links.active a {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .story-block {
        padding: 30px 20px;
        border-radius: 15px;
        margin: 40px 0;
    }

    .story-block h3 {
        font-size: 1.6rem;
    }

    .story-block p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .roi-table td {
        padding: 15px;
        display: block;
        width: 100% !important;
        border: none;
    }

    .roi-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid var(--glass-border);
        border-radius: 15px;
        overflow: hidden;
    }

    .roi-table td:first-child {
        background: rgba(255, 215, 0, 0.1);
        border-radius: 0;
        padding-bottom: 5px;
    }

    .roi-table td:last-child {
        border-radius: 0;
        padding-top: 5px;
        font-size: 0.95rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .gallery-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.4);
    }

    .gallery-item:hover img {
        transform: none;
    }

    .slider-handle::after {
        width: 60px;
        height: 60px;
    }

    /* Larger touch targets */
}

/* Business Intelligence & Data Visuals */
.kpi-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.kpi-box {
    background: rgba(255, 215, 0, 0.05);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.kpi-box:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.kpi-box h5 {
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.kpi-value {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--accent-gold);
    display: block;
}

.kpi-trend {
    font-size: 0.85rem;
    color: #4CAF50;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.report-section {
    background: #0a0a0f;
    padding: 60px;
    border-radius: 40px;
    margin-top: 60px;
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .report-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.benefit-tag {
    display: inline-block;
    padding: 6px 15px;
    background: var(--accent-gold);
    color: black;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.comparison-list {
    list-style: none;
    margin-top: 30px;
}

.comparison-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.comparison-list li i {
    color: var(--accent-gold);
    margin-top: 5px;
}

.comparison-list b {
    color: var(--accent-gold);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}