/* =========================================
   1. GLOBAL & SETUP
   ========================================= */
:root {
    --primary: #00f2ff; /* Cyan */
    --secondary: #bc13fe; /* Purple */
    --tertiary: #ffd700; /* Gold */
    --dark: #050505;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --dynamic-color: var(--primary);
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--dark);
    color: white;
    perspective: 1000px;
}

/* =========================================
   2. GALAXY BACKGROUND (FIXED)
   ========================================= */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
}

.nebula {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: transparent url('https://cdn.pixabay.com/photo/2017/08/15/08/23/stars-2643089_960_720.jpg') repeat top center;
    opacity: 0.4;
    animation: rotateNebula 200s linear infinite;
    mix-blend-mode: screen;
}

@keyframes rotateNebula {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
    animation: twinkle 5s infinite;
}

.star1 { top: 20%; left: 30%; }
.star2 { top: 60%; left: 80%; }
.star3 { top: 80%; left: 10%; width: 3px; height: 3px; }
.star4 { top: 40%; left: 50%; }

@keyframes twinkle {
    50% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 20px var(--secondary); }
}

/* =========================================
   3. TYPOGRAPHY & NAVBAR
   ========================================= */
h1, h2, h3, h4, .logo, .subtitle {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary);
    transition: color 1s ease;
}

.dynamic-color {
    color: var(--dynamic-color) !important;
    text-shadow: 0 0 15px var(--dynamic-color) !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.logo { font-size: 1.2rem; font-weight: bold; }

.cta-btn {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    background: rgba(0, 242, 255, 0.1);
}

/* =========================================
   4. HERO SECTION & ROCKET
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 50px;
    text-align: center;
    position: relative;
    flex-direction: column;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.trust-badge {
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    display: inline-block;
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.launch-pad {
    position: relative;
    width: 200px;
    margin: 0 auto 10px;
    height: 100px;
}

.rocket-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 48px; /* Fixed Small Size */
    height: auto;
    z-index: -1;
    opacity: 0;
}

.rocket-launched .rocket-container {
    animation: rocketLaunch 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.rocket-img {
    width: 100%;
    height: auto;
    transform: rotate(0deg);
    filter: drop-shadow(0 0 10px var(--primary));
}

.rocket-fire {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    filter: blur(5px);
    opacity: 0.7;
    animation: EngineFlicker 0.1s infinite;
}

@keyframes rocketLaunch {
    0% { opacity: 1; bottom: 0; transform: translateX(-50%) scale(0.5); }
    100% { opacity: 1; bottom: 60px; transform: translateX(-50%) scale(1); }
}

@keyframes EngineFlicker {
    0% { height: 30px; opacity: 0.7; }
    100% { height: 40px; opacity: 1; background: linear-gradient(to bottom, var(--secondary), transparent); }
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BUTTONS */
.buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    z-index: 5;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    width: 100%;
    max-width: 250px;
    display: block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    color: white;
    box-shadow: 0 0 15px var(--secondary);
}

.btn-secondary {
    border: 2px solid #25D366;
    color: #25D366;
    background: rgba(0,0,0,0.8);
}

/* =========================================
   5. 3D CUBE ANIMATION
   ========================================= */
.hero-visual {
    margin-top: 60px;
    perspective: 1500px;
    transform: scale(0.8);
}

.world-cube {
    width: 250px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateWorld 25s infinite linear;
}

.map-face {
    position: absolute;
    width: 250px;
    height: 250px;
    background-image: url('map-texture.jpg');
    background-size: cover;
    background-blend-mode: overlay;
    background-color: rgba(0, 242, 255, 0.2);
    border: 1px solid var(--primary);
    opacity: 0.9;
}

.world-cube .front { transform: rotateY(0deg) translateZ(125px); }
.world-cube .back { transform: rotateY(180deg) translateZ(125px); }
.world-cube .right { transform: rotateY(90deg) translateZ(125px); }
.world-cube .left { transform: rotateY(-90deg) translateZ(125px); }
.world-cube .top { transform: rotateX(90deg) translateZ(125px); }
.world-cube .bottom { transform: rotateX(-90deg) translateZ(125px); }

@keyframes rotateWorld {
    from { transform: rotateX(15deg) rotateY(0deg); }
    to { transform: rotateX(15deg) rotateY(360deg); }
}

/* =========================================
   6. SECTIONS (LOCATIONS, STATS, INFO, TECH)
   ========================================= */
.locations-strip {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
    margin-top: 50px;
    overflow: hidden;
    white-space: nowrap;
}

.scrolling-text span {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin: 0 20px;
    font-weight: bold;
    display: inline-block;
    animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.stats-section {
    padding: 30px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background: var(--glass);
    padding: 20px;
    border-radius: 10px;
    width: 150px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-box h3 { font-size: 2rem; margin-bottom: 5px; }

.info-section, .tech-section {
    padding: 50px 5%;
    text-align: center;
}

.info-grid, .tech-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.info-box {
    background: var(--glass);
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: 0.3s;
}

.info-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.info-box i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.tech-item {
    background: rgba(255,255,255,0.05);
    padding: 10px 20px;
    border-radius: 5px;
    color: #ccc;
    border: 1px solid var(--border);
    font-size: 1.2rem;
}

.tech-item i { margin-right: 10px; color: var(--primary); }

/* =========================================
   7. PRICING CARDS
   ========================================= */
.pricing-section {
    padding: 50px 5%;
    text-align: center;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 20px;
    width: 100%;
    max-width: 350px;
    backdrop-filter: blur(15px);
    text-align: left;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.recommended {
    border: 1px solid var(--secondary);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 15px 0;
}

.features li {
    margin-bottom: 10px;
    color: #ddd;
    list-style: none;
    font-size: 0.9rem;
}

.btn-card {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

/* =========================================
   8. PROCESS & TESTIMONIALS (FIXED)
   ========================================= */
.process-section, .testimonials-section {
    padding: 50px 5%;
    text-align: center;
    margin-top: 50px;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.step {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid var(--border);
    width: 250px;
    position: relative;
    text-align: left;
    transition: 0.3s ease;
}

.step:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.step span {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.step h4 { color: var(--primary); margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: #ccc; }

.testimonials-section .info-grid {
    margin-top: 30px;
}

.testimonials-section .role {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

/* =========================================
   9. SEO MASTER & FAQ (FIXED)
   ========================================= */
.seo-master {
    margin: 50px 5%;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    border: 1px solid var(--border);
    text-align: center;
}

.seo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.seo-item {
    font-size: 0.8rem;
    background: rgba(0, 242, 255, 0.1);
    color: #aaa;
    padding: 5px 10px;
    border-radius: 5px;
}

.faq-section {
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

details {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: 0.3s;
}

details:hover {
    border-color: var(--primary);
    background: rgba(0, 242, 255, 0.05);
}

summary {
    color: var(--primary);
    font-weight: bold;
    list-style: none;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
}

summary::after { content: '+'; font-size: 1.5rem; }
details[open] summary::after { content: '-'; color: var(--secondary); }

details p {
    margin-top: 10px;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================
   10. MAP, FOOTER & WHATSAPP
   ========================================= */
.map-section {
    padding: 50px 5%;
    text-align: center;
    margin-top: 50px;
}

.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    border: 2px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.map-container iframe {
    filter: invert(90%) hue-rotate(180deg) contrast(90%);
    width: 100%;
    height: 400px;
    display: block;
}

footer {
    text-align: center;
    padding: 60px 20px;
    margin-top: 30px;
    border-top: 1px solid var(--border);
    background: linear-gradient(to top, black, transparent);
}

.visitor-counter-box {
    display: inline-block;
    padding: 15px 30px;
    background: black;
    border: 2px solid var(--secondary);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px var(--secondary);
}

.neon-counter {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
    letter-spacing: 5px;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    font-size: 35px;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}


/* DESKTOP TWEAKS */
@media (min-width: 769px) {
    .hero h1 { font-size: 4rem; }
    .hero-visual { transform: scale(1.2); margin-top: 0; position: absolute; right: 15%; }
    .hero { text-align: left; flex-direction: row; justify-content: space-between; padding: 0 10%; }
    .hero-content { max-width: 600px; }
    .buttons { justify-content: flex-start; }
    .rocket-container { left: 10%; }
}