@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.5);
    --secondary: #818cf8;
    --accent: #f43f5e;
    --bg-dark: #020617;
    --bg-surface: #0f172a;
    --bg-footer: #01040f;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --hero-overlay: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.4));
    --nav-height: 80px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-theme="light"] {
    --bg-dark: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-footer: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --hero-overlay: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
}

a {
    text-decoration: none !important;
    color: inherit;
}

img, video {
    max-width: 100%;
    height: auto;
}

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

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Premium Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    height: 70px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 38px;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-text span { color: var(--primary); }

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

.nav-links a {
    text-decoration: none !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
    position: relative;
}

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

/* Button Component */
.btn {
    padding: 0.8rem 2.2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 10px 25px -5px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(56, 189, 248, 0.5);
}

.btn-glass {
    background: var(--glass-border);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
}

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: -2;
    transform: scale(1.4);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(to right, #fff, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 550px;
}

/* Modern Sections */
.section { padding: 100px 0; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 99px;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.section-title { font-size: 3.5rem; margin-bottom: 4rem; }

/* Bento Grid Features */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.bento-item:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.bento-item h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.bento-item p { color: var(--text-secondary); font-size: 0.95rem; }

.bento-1 { grid-column: span 2; }
.bento-2 { grid-column: span 1; }
.bento-3 { grid-column: span 1; }
.bento-4 { grid-column: span 1; }
.bento-5 { grid-column: span 2; }
.bento-6 { grid-column: span 1; }

/* Pricing Tier */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.price-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4rem 3rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}
.map-container {
    transition: var(--transition);
}

.map-container:hover {
    transform: scale(1.01);
    border-color: var(--primary) !important;
    box-shadow: 0 30px 60px -12px rgba(56, 189, 248, 0.2);
}

.price-card.premium {
    border: 2px solid var(--primary);
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.05), transparent);
    transform: scale(1.05);
}

.price-tag { font-size: 2.8rem; font-weight: 800; color: var(--primary); margin: 2rem 0; }

.feature-list { list-style: none; text-align: left; margin-bottom: 3rem; }
.feature-list li {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background: var(--bg-footer);
    border-top: 1px solid var(--glass-border);
}

footer h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Mobile & Interactivity */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero-content { max-width: 100% !important; padding: 0 1rem; }
    .container { padding: 0 1rem; width: 100%; }
    .section { padding: 60px 0; }
    .gallery-grid { grid-template-columns: 1fr; gap: 2rem; }
    .gallery-item { aspect-ratio: 4/3; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-1, .bento-2, .bento-3, .bento-4, .bento-5, .bento-6 { grid-column: span 1; }
    .pricing-grid { grid-template-columns: 1fr; }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

@media (max-width: 1024px) {
    .mobile-menu-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        visibility: hidden;
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    backdrop-filter: blur(5px);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-label {
    transform: translateY(0);
}

/* Mosaic Gallery */
.gallery-grid.mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.gallery-grid.mosaic .gallery-item {
    aspect-ratio: auto; /* Overriding previous aspect-ratio for mosaic */
    height: 100%;
}

.span-2-2 { grid-column: span 2; grid-row: span 2; }
.span-1-2 { grid-row: span 2; }
.span-2-1 { grid-column: span 2; }

@media (max-width: 1024px) {
    .gallery-grid.mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .gallery-grid.mosaic .gallery-item {
        aspect-ratio: 4/3;
    }
    .span-2-2, .span-1-2, .span-2-1 {
        grid-column: span 1;
        grid-row: span 1;
    }
}
