/* 
   Visión AI STUDIO - Expert UI/UX
   OLED Black (#000000) + Metallic Gold + Cyan Neon Intense
*/

:root {
    --bg-black: #000000;
    --neon-cyan: #00FFFF;
    --neon-cyan-glow: rgba(0, 255, 255, 0.82);
    --gold-static: #D4AF37;
    --gold-metallic: linear-gradient(to bottom, #f9f295 0%, #e0aa3e 25%, #e0aa3e 40%, #b8860b 80%, #f9f295 100%);
    --font-futuristic: 'Orbitron', sans-serif;
    --font-clean: 'Inter', sans-serif;
}

/* Fix Android & OLED Background */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background-color: var(--bg-black);
    color: #ffffff;
    overflow-x: hidden;
    overflow-y: auto !important; /* Forced Scroll */
    font-family: var(--font-clean);
    -webkit-overflow-scrolling: touch;
}

/* Deep Space Nebula Background */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    filter: brightness(0.4) grayscale(0.2);
}

/* Main Hero Video Section */
.video-hero {
    position: relative;
    width: 100%;
    height: 85vh; /* Occupies between 80vh and 90vh of the screen */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Dark semi-transparent overlay for text contrast */
    z-index: 2;
    backdrop-filter: blur(1px); /* Subtle premium blur */
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero-title {
    font-family: var(--font-futuristic);
    color: var(--neon-cyan);
    font-size: clamp(2rem, 8vw, 4.2rem);
    letter-spacing: clamp(5px, 1.8vw, 14px);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 0 20px var(--neon-cyan-glow), 0 0 40px rgba(0, 255, 255, 0.4);
    animation: text-pulse-glow 4s infinite ease-in-out;
}

@keyframes text-pulse-glow {
    0%, 100% {
        text-shadow: 0 0 20px var(--neon-cyan-glow), 0 0 40px rgba(0, 255, 255, 0.4);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 35px var(--neon-cyan-glow), 0 0 65px rgba(0, 255, 255, 0.6);
        transform: scale(1.03);
    }
}

/* Metatron Container & Rings */
.metatron-container {
    position: relative;
    width: clamp(280px, 80vw, 500px);
    height: clamp(280px, 80vw, 500px);
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.neon-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 30px var(--neon-cyan-glow), inset 0 0 20px var(--neon-cyan-glow);
}

.ring-outer {
    width: 100%;
    height: 100%;
    border-width: 2px;
    opacity: 0.9;
    animation: ring-pulse-expert 4s infinite ease-in-out;
}

.ring-dual {
    width: 94%;
    height: 94%;
    border-width: 1px;
    border-style: solid;
    opacity: 0.6;
    animation: rotate-slow-expert 20s infinite linear reverse;
}

/* 3D Metatron Cube */
.metatron-3d {
    width: 75%;
    height: 75%;
    z-index: 5;
    transform-style: preserve-3d;
}

.metatron-svg {
    width: 100%;
    height: 100%;
    animation: metatron-rotate-expert 12s infinite linear;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

/* Services Cards */
.services-container {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #000000 !important; /* Pure OLED Black */
    border: 2px solid var(--neon-cyan); /* Cyan Neon Border */
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    cursor: pointer;
}

.service-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 60px var(--neon-cyan-glow);
}

.card-image-wrapper {
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    padding-bottom: 15px;
    box-sizing: border-box;
}

.service-svg {
    height: 100%;
    max-height: 120px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-svg {
    transform: scale(1.12) rotate(3deg);
}

.card-icon {
    font-family: var(--font-futuristic);
    color: var(--neon-cyan);
    font-size: 1.6rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.service-card h3 {
    font-family: var(--font-futuristic);
    color: #fff;
    font-size: 1.9rem;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 1.15rem;
}

/* Floating WhatsApp Button */
.wa-float-cta {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 75px;
    height: 75px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    box-shadow: 0 0 35px rgba(37, 211, 102, 0.55);
    animation: wa-bounce-expert 2s infinite ease-in-out;
}

.wa-icon { width: 42px; height: 42px; fill: #fff; }

/* Modal & Large Form */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.active { display: flex; }

.modal-content {
    width: 95%;
    max-width: 600px;
    background: rgba(10, 10, 10, 0.85); /* Glass Background */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 35px;
    padding: 45px;
    position: relative;
    box-shadow: 0 0 120px var(--neon-cyan-glow);
}


.close-btn {
    position: absolute;
    top: 25px; right: 25px;
    background: none; border: none;
    color: var(--neon-cyan); font-size: 2.8rem;
    cursor: pointer;
}

.modal-title {
    font-family: var(--font-futuristic);
    color: var(--neon-cyan);
    text-align: center;
    margin-bottom: 45px;
    font-size: 2.2rem;
    letter-spacing: 5px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-futuristic);
    color: rgba(0, 255, 255, 0.9);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.form-group input, .form-group select {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 18px;
    padding: 22px;
    color: #fff;
    font-size: 1.2rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus { border-color: var(--neon-cyan); }

.submit-btn {
    width: 100%;
    padding: 26px;
    background: var(--neon-cyan);
    color: #000;
    border: none;
    border-radius: 18px;
    font-family: var(--font-futuristic);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.3rem;
    letter-spacing: 4px;
    cursor: pointer;
    box-shadow: 0 0 50px var(--neon-cyan-glow);
    transition: all 0.3s ease;
}

.submit-btn:active { transform: scale(0.96); filter: brightness(1.2); }

/* Animations - Specialist Level */
@keyframes ring-pulse-expert {
    0%, 100% { transform: scale(1); opacity: 0.85; filter: blur(0px); }
    50% { transform: scale(1.08); opacity: 1; filter: blur(2px); }
}

@keyframes rotate-slow-expert {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes metatron-rotate-expert {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    100% { transform: rotateY(360deg) rotateX(360deg); }
}

@keyframes wa-bounce-expert {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* Scroll Optimized for Android */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--neon-cyan); border-radius: 10px; }

/* Mobile Tweaks */
@media (max-width: 480px) {
    .modal-content { padding: 35px 20px; }
    .submit-btn { font-size: 1.1rem; padding: 22px; }
    .hero-title { font-size: 1.8rem; letter-spacing: 3px; }
    .service-card { padding: 30px 20px; }
}