@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #030014;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --neon-blue: #00f0ff;
    --neon-purple: #b026ff;
    --glass-border: rgba(255, 255, 255, 0.1);
}


body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(176, 38, 255, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.15) 0%, transparent 25%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Header */
header {
    background: rgba(3, 0, 20, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.logo {
    font-size: 2.8em;
    font-weight: 800;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(0, 240, 255, 0.2), 0 0 20px rgba(176, 38, 255, 0.2); }
    to { text-shadow: 0 0 20px rgba(0, 240, 255, 0.6), 0 0 30px rgba(176, 38, 255, 0.6); }
}

.primary-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 20px;
    font-size: 1.1em;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-nav a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neon-blue);
}

.primary-nav a:hover::before, .primary-nav a.active::before {
    width: 80%;
}

.primary-nav a:hover, .primary-nav a.active {
    color: #fff;
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* Page constraint */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: 60vh;
    animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: 3.5em;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}
.intro {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 0;
}
.intro h1 { margin-bottom: 15px; }
.intro p {
    font-size: 1.2em;
    color: var(--text-secondary);
}

/* Generic styling overrides */
a { color: var(--neon-blue); text-decoration: none; transition: 0.3s; }
a:visited { color: var(--neon-purple); }
a:hover { color: #fff; text-shadow: 0 0 10px var(--neon-blue); }
a.external-link { color: #ff3366; font-weight: bold;}

/* About Box */
.about-content {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    font-size: 1.1em;
}

.about-content img {
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.15);
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 40px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.pricing-table th, .pricing-table td {
    padding: 25px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.pricing-table th {
    background: rgba(0, 240, 255, 0.05);
    color: var(--neon-blue);
    font-weight: 600;
    font-size: 1.3em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-cell {
    font-weight: 800;
    color: var(--neon-purple);
    background: rgba(0,0,0,0.3);
    text-align: center;
    font-size: 1.8em;
    text-shadow: 0 0 10px rgba(176,38,255,0.4);
}

/* Nested table */
.nested-table td { border-bottom: 1px dashed rgba(255,255,255,0.1); padding: 8px 0; }
.nested-table tr:last-child td { border-bottom: none; }

/* Interactive Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-grid .thumbnail {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(40%) brightness(70%);
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.gallery-grid a:hover .thumbnail {
    transform: scale(1.1) translateY(-5px);
    filter: grayscale(0%) brightness(110%);
}

.gallery-grid a:hover {
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.2), 0 0 20px rgba(176, 38, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.5);
}

/* Premium Image Slider */
.slider-container {
    position: relative;
    max-width: 1320px;
    margin: auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(0, 240, 255, 0.1);
    border: 1px solid var(--glass-border);
    height: 650px;
}

.slide img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    filter: brightness(80%) contrast(110%);
    transform: scale(1.05); /* Slight zoom for visual weight */
    transition: transform 6s ease;
}

.slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.caption {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    padding: 20px 40px;
    position: absolute;
    bottom: 50px;
    left: 50px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--neon-blue);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

/* Slider Controls */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 25px;
    color: white;
    font-weight: bold;
    font-size: 32px;
    transition: 0.4s ease;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
}

.next { right: 30px; border-radius: 50%; }
.prev { left: 30px; border-radius: 50%; }

.prev:hover, .next:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 25px var(--neon-blue);
    border-color: var(--neon-blue);
    color: #000;
}

.fade {
    animation-name: customFade;
    animation-duration: 2s;
}

@keyframes customFade {
    from {opacity: 0.2; transform: scale(1.08);}
    to {opacity: 1; transform: scale(1.05);}
}

/* Contact Form & Map Layout - Neon Style */
.contact-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2em;
    margin-bottom: 40px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

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

.map-container {
    background: var(--card-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.3), inset 0 0 20px rgba(0, 240, 255, 0.2);
    min-height: 400px;
    position: relative;
    padding: 5px;
}

/* High-tech HUD Overlay */
.map-container::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    border: 2px solid rgba(0, 240, 255, 0.8);
    border-radius: 50%;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 15px var(--neon-blue);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.map-container::after {
    content: 'TARGET ACQUIRED // ' attr(data-label);
    position: absolute;
    top: 20px; left: 20px;
    color: var(--neon-blue);
    font-family: monospace;
    font-size: 14px;
    background: rgba(0,0,0,0.8);
    padding: 5px 15px;
    border: 1px left var(--neon-blue); /* Typo fixing: solid */
    border: 1px solid var(--neon-blue);
    z-index: 10;
    pointer-events: none;
    letter-spacing: 2px;
}

@keyframes ping {
    75%, 100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

.map-container iframe {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 18px;
    /* High-tech dark radar filter */
    filter: invert(100%) hue-rotate(180deg) brightness(85%) contrast(120%) sepia(30%) hue-rotate(180deg);
    transition: filter 0.5s;
}

.map-container iframe:hover {
    filter: invert(100%) hue-rotate(180deg) brightness(100%) contrast(130%) sepia(30%) hue-rotate(180deg);
}

.tech-text {
    font-family: monospace;
    color: var(--neon-blue);
    background: rgba(0,240,255,0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px dashed var(--neon-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
}

form {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 50px;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
    font-size: 1.1em;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 18px;
    background-color: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1em;
    transition: all 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    background-color: rgba(0,0,0,0.6);
}

.submit-btn {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    color: #fff;
    padding: 16px 45px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.4);
    display: block;
    margin: 40px auto 0;
}

.submit-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(176, 38, 255, 0.6);
}

.error-msg {
    color: #ff3366;
    font-size: 0.95em;
    margin-top: 8px;
    font-weight: 600;
}

/* Footer Section */
footer {
    background: rgba(3, 0, 20, 0.8);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
}

.footer-info p {
    font-size: 1.1em;
    margin: 10px 0;
    color: var(--text-secondary);
}

.secondary-nav {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.secondary-nav a {
    color: var(--text-secondary);
    font-weight: 600;
    margin: 0 10px;
}
.secondary-nav a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}
