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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    min-height: 100vh;
    background-color: #020617; /* Dark navy space background */
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    color: white;
}

/* === NAVIGATION === */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 25px 5%;
    background: rgba(2, 6, 23, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.main-nav.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-content p {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
}



.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(180, 150, 255, 0.8);
}

@media (max-width: 900px) {
    .main-nav {
        padding: 15px 5%;
    }
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
}

.hero-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#canvas-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, #0a1024 0%, #020617 100%);
}

#canvas-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    pointer-events: auto; /* Important for hover interaction */
    cursor: grab;
}

#canvas-logo:active {
    cursor: grabbing;
}

.hero-content {
    position: absolute;
    z-index: 3;
    text-align: center;
    pointer-events: none;
    bottom: 3%; /* Pushed further down to separate from helmet */
    opacity: 0;
    /* Delayed fade in: waits 2s, then fades in over 1.5s */
    animation: fade-in-delayed 1.5s ease-in-out 2s forwards;
}

@keyframes fade-in-delayed {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-indicator p {
    font-size: 0.75rem;
    font-weight: 300;
    color: #b496ff; /* Lilac */
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(180, 150, 255, 0.6); /* Soft neon glow */
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid #b496ff;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 10px rgba(180, 150, 255, 0.4), inset 0 0 5px rgba(180, 150, 255, 0.4);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background-color: #b496ff;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(180, 150, 255, 0.8);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}



/* === PRELOADER === */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #020617;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out;
}

#preloader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.preloader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(30px, -50%); /* Moves to the right of center */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    opacity: 0;
    animation: fade-in 1s ease-in-out forwards;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.preloader-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #b496ff;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(180, 150, 255, 0.8), 0 0 5px rgba(180, 150, 255, 0.5);
    animation: neon-pulse 2s infinite ease-in-out;
}

.preloader-percent {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 2px;
    margin-top: -4px;
}

@keyframes neon-pulse {
    0%, 100% { opacity: 0.6; text-shadow: 0 0 10px rgba(180, 150, 255, 0.4); }
    50% { opacity: 1; text-shadow: 0 0 20px rgba(180, 150, 255, 1), 0 0 10px rgba(180, 150, 255, 0.8); }
}

/* === NEW SECTIONS === */

.section {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 120px 5%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.giant-text {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 3rem;
}

p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

strong {
    color: #ffffff;
    font-weight: 600;
}

.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.glass:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(180, 150, 255, 0.3);
    transform: translateY(-5px);
}

/* === 3D SERVICES CAROUSEL === */
/* Services Grid (Restored) */
.services-section {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    padding-top: 40px !important; /* Reduce top spacing */
}

.services-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 90vh;
}

.services-text-column {
    flex: 0 0 40%;
    padding: 0 4rem;
    z-index: 20;
}

.services-text-column h2 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.services-text-column p {
    font-size: 1.2rem;
    white-space: nowrap;
}

/* === ORBITAL SYSTEMS === */
.orbital-system-wrapper {
    flex: 0 0 60%;
    position: relative;
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbital-system {
    position: relative;
    width: 1060px;
    height: 1060px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.85); /* Scales the orbit down slightly to prevent right-edge clipping */
}

.orbital-center {
    position: absolute;
    width: 200px;
    height: 200px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: sunDance 4s ease-in-out infinite alternate;
    pointer-events: none;
}

.sun-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
    animation: sunFlicker 3s infinite alternate;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border-radius: 50%;
    pointer-events: auto;
}

.orbital-center:hover .sun-img {
    transform: scale(1.1);
    filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 50px rgba(250, 204, 21, 1)) hue-rotate(10deg) !important;
    animation: none;
}

@keyframes sunFlicker {
    0% {
        filter: brightness(1) contrast(1.1) drop-shadow(0 0 15px rgba(250, 204, 21, 0.6)) hue-rotate(0deg);
    }
    33% {
        filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 40px rgba(255, 100, 50, 0.9)) hue-rotate(20deg);
    }
    66% {
        filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 25px rgba(180, 150, 255, 0.7)) hue-rotate(-15deg);
    }
    100% {
        filter: brightness(0.8) contrast(1.1) drop-shadow(0 0 10px rgba(250, 204, 21, 0.4)) hue-rotate(5deg);
    }
}

@keyframes sunDance {
    0% { transform: translateY(-5px) rotate(-5deg); }
    100% { transform: translateY(5px) rotate(5deg); }
}

.sun-bubble-wrapper {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 30;
}

.sun-bubble {
    background: #facc15;
    color: #1f1533;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
    animation: bubbleFloat 3s ease-in-out infinite alternate;
}

.sun-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #facc15 transparent transparent transparent;
}

@keyframes bubbleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translate(-50%, -50%);
    animation: orbitRotation linear infinite;
    transform-style: preserve-3d;
    pointer-events: none;
}

/* Pause animation on hover */
.orbit:hover,
.orbit:has(.celestial-body:hover) {
    animation-play-state: paused !important;
    border: 1px solid rgba(180, 150, 255, 0.4);
    box-shadow: inset 0 0 30px rgba(180, 150, 255, 0.1);
}
.orbit:hover .celestial-body,
.orbit:has(.celestial-body:hover) .celestial-body {
    animation-play-state: paused !important;
}

/* Orbit Sizes and Speeds */
.orbit-1 { width: 220px; height: 220px; animation-duration: 40s; }
.orbit-2 { width: 340px; height: 340px; animation-duration: 55s; animation-direction: reverse; }
.orbit-3 { width: 460px; height: 460px; animation-duration: 70s; }
.orbit-4 { width: 580px; height: 580px; animation-duration: 85s; animation-direction: reverse; }
.orbit-5 { width: 700px; height: 700px; animation-duration: 100s; }
.orbit-6 { width: 820px; height: 820px; animation-duration: 115s; animation-direction: reverse; }
.orbit-7 { width: 940px; height: 940px; animation-duration: 130s; }

/* The container that holds the image, positioned on the edge of the orbit */
.celestial-body {
    position: absolute;
    top: 0;
    left: 50%;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Counter rotation to keep images upright */
    animation: counterRotation linear infinite;
    pointer-events: auto;
}

.orbit-1 .celestial-body { animation-duration: 40s; }
.orbit-2 .celestial-body { animation-duration: 55s; animation-direction: reverse; }
.orbit-3 .celestial-body { animation-duration: 70s; }
.orbit-4 .celestial-body { animation-duration: 85s; animation-direction: reverse; }
.orbit-5 .celestial-body { animation-duration: 100s; }
.orbit-6 .celestial-body { animation-duration: 115s; animation-direction: reverse; }
.orbit-7 .celestial-body { animation-duration: 130s; }

.celestial-body img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen; /* Ensures any residual dark background from anti-aliasing is perfectly transparent */
    /* Default state: desaturated and slightly dim to look like white/grey vectors */
    filter: grayscale(100%) brightness(1.5) opacity(0.6);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.celestial-body:hover img {
    transform: scale(1.4);
    /* Hover state: full vivid color with a glow */
    filter: grayscale(0%) brightness(1) opacity(1) drop-shadow(0 0 15px rgba(180, 150, 255, 0.8));
}

/* Individual body sizes and positioning offset to center on the orbital line */
.planet-1 { width: 44px; height: 44px; top: -22px; margin-left: -22px; }
.planet-2 { width: 50px; height: 50px; top: -25px; margin-left: -25px; }
.planet-3 { width: 48px; height: 48px; top: -24px; margin-left: -24px; }
.planet-4 { width: 46px; height: 46px; top: -23px; margin-left: -23px; }
.planet-5 { width: 52px; height: 52px; top: -26px; margin-left: -26px; }
.planet-6 { width: 50px; height: 50px; top: -25px; margin-left: -25px; }
.planet-7 { width: 46px; height: 46px; top: -23px; margin-left: -23px; }

/* Tooltip styles */
.service-tooltip {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(20px) scale(0.95);
    background: rgba(5, 5, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(180, 150, 255, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    width: max-content;
    max-width: 250px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(180, 150, 255, 0.1) inset;
    z-index: 100;
    text-align: center;
}

/* Tooltip arrow pointing up */
.service-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(5, 5, 10, 0.9);
    border-top: 1px solid rgba(180, 150, 255, 0.2);
    border-left: 1px solid rgba(180, 150, 255, 0.2);
}

.celestial-body:hover .service-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px) scale(1);
}

.service-tooltip h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.service-tooltip p {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

@keyframes orbitRotation {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes counterRotation {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* 3D Card Deck for Packages */
.packages-section {
    position: relative;
    width: 100vw;
    height: 100vh; /* Pinned full screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.packages-section h2 {
    position: absolute;
    top: 5%; /* Moved up to detach from cards */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    text-align: center;
    margin: 0;
}

.cards-deck-container {
    perspective: 2000px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10vh; /* Moved down to detach from title */
}

.deck-center {
    position: relative;
    width: 280px; /* Restored card size */
    height: 420px; /* Restored card size */
    transform-style: preserve-3d;
}

.service-card-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
    /* GSAP will animate rotateY on this element to flip */
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Thick Glass Edge Simulation */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 
                inset 0 0 20px rgba(255, 255, 255, 0.1),
                0 20px 50px rgba(0, 0, 0, 0.5);
    /* Adding subtle 3D thickness */
    transform-style: preserve-3d;
}

.card-front {
    background: rgba(11, 17, 32, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 1rem; /* Minimized padding */
    justify-content: flex-start;
    /* TranslateZ gives the card physical thickness when flipping */
    transform: rotateY(180deg) translateZ(2px);
}

.card-back {
    background: rgba(11, 17, 32, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(0deg) translateZ(2px);
}

.back-pattern {
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px solid rgba(180, 150, 255, 0.15);
    border-radius: 12px;
    background-image: 
        linear-gradient(45deg, rgba(180, 150, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(180, 150, 255, 0.05) 75%, rgba(180, 150, 255, 0.05)), 
        linear-gradient(45deg, rgba(180, 150, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(180, 150, 255, 0.05) 75%, rgba(180, 150, 255, 0.05));
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Glass Carved Logo */
.back-logo-img {
    width: 35%; /* Reduced size of the star */
    z-index: 2;
    transform: translateZ(10px); /* Upright position, no rotation */
    /* Carved glass effect, matches card color */
    opacity: 0.6;
    mix-blend-mode: overlay;
    filter: drop-shadow(0px 2px 2px rgba(255, 255, 255, 0.4)) 
            drop-shadow(0px -2px 3px rgba(0, 0, 0, 0.9))
            drop-shadow(0px 0px 15px rgba(180, 150, 255, 0.8));
}

/* Dynamic purple reflection that interacts with the flip */
.card-back::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(180, 150, 255, 0.3) 0%, transparent 60%);
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: screen;
    /* GSAP or natural rotation makes this look like a moving light */
    transform: translateZ(5px);
}

/* Front card content styles for Packages */
.package-header h3 {
    font-size: 24px; /* Large title like "Galaxia" */
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.card-front p.package-desc {
    font-size: 11px;
    margin-top: 0;
    margin-bottom: 1rem; /* Space before price */
    color: #94a3b8; /* Grayish text */
    line-height: 1.3;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: auto; /* Pushes button to bottom */
}

.package-features li {
    font-size: 11px; 
    color: #cbd5e1;
    margin-bottom: 0.5rem; 
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.3;
}

.package-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 12px;
    height: 12px;
    background-color: #94a3b8; /* Default fallback */
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0 C50 40 60 50 100 50 C60 50 50 60 50 100 C50 60 40 50 0 50 C40 50 50 40 50 0 Z" fill="white"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0 C50 40 60 50 100 50 C60 50 50 60 50 100 C50 60 40 50 0 50 C40 50 50 40 50 0 Z" fill="white"/></svg>');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    mask-repeat: no-repeat;
}

#pkg-1 .package-features li::before { background-color: #ef3030; filter: drop-shadow(0 0 3px rgba(239, 48, 48, 0.8)); }
#pkg-2 .package-features li::before { background-color: #ffde82; filter: drop-shadow(0 0 3px rgba(255, 222, 130, 0.8)); }
#pkg-3 .package-features li::before { background-color: #8caeff; filter: drop-shadow(0 0 3px rgba(140, 174, 255, 0.8)); }

.package-price-large {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px; /* Very large like reference */
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: flex-start; /* Left aligned */
    align-items: baseline;
    gap: 2px;
}

.price-marte {
    color: #ef3030;
    text-shadow: 0 0 15px rgba(239, 48, 48, 0.3);
}

.price-venus {
    color: #ffde82;
    text-shadow: 0 0 15px rgba(255, 222, 130, 0.3);
}

.price-luna {
    color: #8caeff;
    text-shadow: 0 0 15px rgba(140, 174, 255, 0.3);
}

.price-period {
    font-size: 12px;
    font-weight: 400;
    color: #64748b; /* Muted period color */
    margin-left: 2px;
}

/* Outline Buttons */
.btn-outline-marte, .btn-outline-venus, .btn-outline-luna {
    border-radius: 50px;
    background: transparent;
    font-size: 11px;
    padding: 0.6rem;
    width: 100%;
    display: block;
    text-align: center;
    font-weight: 600;
    margin-top: auto;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-marte { border: 1px solid #ef3030; color: #ef3030; box-shadow: 0 0 10px rgba(239, 48, 48, 0.1); }
.card-front .btn-outline-marte:hover { background: #ef3030; color: #020617; border-color: #ef3030; box-shadow: 0 0 20px rgba(239, 48, 48, 0.4); }

.btn-outline-venus { border: 1px solid #ffde82; color: #ffde82; box-shadow: 0 0 10px rgba(255, 222, 130, 0.1); }
.card-front .btn-outline-venus:hover { background: #ffde82; color: #020617; border-color: #ffde82; box-shadow: 0 0 20px rgba(255, 222, 130, 0.4); }

.btn-outline-luna { border: 1px solid #8caeff; color: #8caeff; box-shadow: 0 0 10px rgba(140, 174, 255, 0.1); }
.card-front .btn-outline-luna:hover { background: #8caeff; color: #020617; border-color: #8caeff; box-shadow: 0 0 20px rgba(140, 174, 255, 0.4); }

.packages-disclaimer {
    margin-top: 2rem; /* Reduced distance from the cards */
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.packages-disclaimer p {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.packages-disclaimer span {
    color: #b496ff;
    font-weight: bold;
}

.card-front .btn-primary {
    font-size: 11px; /* +1 point from 10px */
    padding: 0.5rem 1rem;
    width: 100%;
    display: block;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .deck-center {
        width: 260px;
        height: 360px;
    }
    .card-front {
        padding: 1.5rem;
    }
    .card-front h3 {
        font-size: 1.3rem;
    }
    .card-front p {
        font-size: 0.85rem;
    }
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.package-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.premium-card {
    border-color: rgba(180, 150, 255, 0.4);
    box-shadow: 0 0 40px rgba(180, 150, 255, 0.1);
}

.package-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(180, 150, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Removed old overriding package styles */
.package-features li::before {
    content: '✦';
    position: absolute;
    left: -4px;
    color: #b496ff;
    font-size: 8px; /* Adjusted to fit the new smaller text */
}

.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: #ffffff;
    color: #020617;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    background: #b496ff;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(180, 150, 255, 0.4);
}

.premium-card .btn-primary {
    background: linear-gradient(135deg, #b496ff 0%, #8b5cf6 100%);
    color: #ffffff;
}

.premium-card .btn-primary:hover {
    background: linear-gradient(135deg, #c4aef5 0%, #9f7cf5 100%);
    box-shadow: 0 0 30px rgba(180, 150, 255, 0.6);
}

/* Timeline / Process Horizontal Scroll */
.process-section {
    height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
}

.process-wrapper {
    width: 100%;
    padding-left: 5%;
}

.process-wrapper h2 {
    margin-bottom: 4rem;
}

.timeline-container {
    display: flex;
    gap: 15vw;
    position: relative;
    padding: 4rem 10vw; /* Added padding so the start/end points are not clipped */
    width: max-content;
}

.timeline-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #b496ff, #facc15);
    border-radius: 2px;
}

.process-rocket {
    position: absolute;
    right: -40px; /* Half of rocket size */
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    width: 80px;
    height: 80px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    /* Optional glow for the rocket container */
    filter: drop-shadow(0 0 10px rgba(180, 150, 255, 0.8));
}

.process-rocket svg {
    width: 60px;
    height: 60px;
    /* Flames are currently not part of the SVG, but we can animate the whole svg slightly */
    animation: rocketHover 0.2s infinite alternate;
}

@keyframes rocketHover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-2px); }
}

/* Rocket Exhaust System */
.rocket-exhaust {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 50px;
    pointer-events: none;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
}

/* Active Ignition State */
.process-rocket.ignite .rocket-exhaust {
    opacity: 1;
}

.smoke {
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 30px;
    height: 30px;
    background: rgba(180, 150, 255, 0.6);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    filter: blur(4px);
    box-shadow: 0 0 15px rgba(180, 150, 255, 0.8);
}

.spark {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px #ff6432, 0 0 10px #facc15, 0 0 20px #facc15;
}

/* Animations Triggered Only in Ignite Mode */
.process-rocket.ignite .smoke:nth-child(1) { animation: smokeRise 1s infinite linear; }
.process-rocket.ignite .smoke:nth-child(2) { animation: smokeRise 1.2s infinite linear 0.3s; }
.process-rocket.ignite .smoke:nth-child(3) { animation: smokeRise 0.9s infinite linear 0.6s; }

.process-rocket.ignite .spark:nth-child(4) { animation: sparkFly 0.5s infinite linear; }
.process-rocket.ignite .spark:nth-child(5) { animation: sparkFly 0.6s infinite linear 0.2s; }
.process-rocket.ignite .spark:nth-child(6) { animation: sparkFly 0.4s infinite linear 0.4s; }
.process-rocket.ignite .spark:nth-child(7) { animation: sparkFly 0.7s infinite linear 0.1s; }

@keyframes smokeRise {
    0% { transform: translate(-50%, 0) scale(0.5); opacity: 1; }
    100% { transform: translate(calc(-50% + (random(20) - 10) * 1px), 50px) scale(2); opacity: 0; filter: blur(8px); }
}

@keyframes sparkFly {
    0% { transform: translate(-50%, 0) scale(1); opacity: 1; }
    100% { transform: translate(calc(-50% + 20px), 40px) scale(0); opacity: 0; }
}

/* Because CSS variables/random don't exist statically like that, let's use fixed scattered paths for sparks/smoke */
@keyframes smokeRise {
    0% { transform: translate(-50%, 0) scale(0.5); opacity: 1; }
    100% { transform: translate(-150%, 50px) scale(2); opacity: 0; filter: blur(8px); }
}
@keyframes sparkFly {
    0% { transform: translate(-50%, 0) scale(1); opacity: 1; }
    100% { transform: translate(500%, 60px) scale(0); opacity: 0; }
}
/* I'll make specialized ones so they scatter nicely */
.process-rocket.ignite .smoke:nth-child(1) { animation: smokeRise1 1s infinite linear; }
.process-rocket.ignite .smoke:nth-child(2) { animation: smokeRise2 1.2s infinite linear 0.3s; }
.process-rocket.ignite .smoke:nth-child(3) { animation: smokeRise3 0.9s infinite linear 0.6s; }

.process-rocket.ignite .spark:nth-child(4) { animation: sparkFly1 0.5s infinite linear; }
.process-rocket.ignite .spark:nth-child(5) { animation: sparkFly2 0.6s infinite linear 0.2s; }
.process-rocket.ignite .spark:nth-child(6) { animation: sparkFly3 0.4s infinite linear 0.4s; }
.process-rocket.ignite .spark:nth-child(7) { animation: sparkFly4 0.7s infinite linear 0.1s; }

@keyframes smokeRise1 { 0% { transform: translate(-50%, 0) scale(0.5); opacity: 1; } 100% { transform: translate(-250%, 100px) scale(3); opacity: 0; filter: blur(12px); } }
@keyframes smokeRise2 { 0% { transform: translate(-50%, 0) scale(0.5); opacity: 1; } 100% { transform: translate(150%, 90px) scale(4); opacity: 0; filter: blur(15px); } }
@keyframes smokeRise3 { 0% { transform: translate(-50%, 0) scale(0.5); opacity: 1; } 100% { transform: translate(-50%, 120px) scale(2.5); opacity: 0; filter: blur(10px); } }

@keyframes sparkFly1 { 0% { transform: translate(-50%, 0) scale(1); opacity: 1; } 100% { transform: translate(-800%, 80px) scale(0); opacity: 0; } }
@keyframes sparkFly2 { 0% { transform: translate(-50%, 0) scale(1); opacity: 1; } 100% { transform: translate(700%, 100px) scale(0); opacity: 0; } }
@keyframes sparkFly3 { 0% { transform: translate(-50%, 0) scale(1); opacity: 1; } 100% { transform: translate(-400%, 120px) scale(0); opacity: 0; } }
@keyframes sparkFly4 { 0% { transform: translate(-50%, 0) scale(1); opacity: 1; } 100% { transform: translate(500%, 70px) scale(0); opacity: 0; } }

.step-dot {
    width: 24px;
    height: 24px;
    background: #020617;
    border: 3px solid #b496ff;
    border-radius: 50%;
    margin: 2rem 0;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 5px rgba(180, 150, 255, 0);
}

.step-dot.active {
    background: #facc15;
    border-color: #facc15;
    transform: scale(1.5);
    box-shadow: 0 0 20px #facc15, 0 0 40px rgba(250, 204, 21, 0.6);
}

.timeline-step {
    position: relative;
    z-index: 1;
    width: 280px; /* Made smaller as requested */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-step:nth-child(even) {
    flex-direction: column-reverse;
}

/* Redundant .step-dot removed to prevent conflicts */

.step-content {
    text-align: center;
    padding: 2rem;
}

.step-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-content p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 2rem;
    overflow: hidden; /* Hide the rocket when it's off screen */
}

/* Moon Landing Scene */
.moon-landing-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to buttons */
    z-index: 0; /* Behind the text */
}

.cta-section .container {
    z-index: 1; /* Above the scene */
}

.contact-rocket {
    position: absolute;
    left: -150px; /* Start off-screen */
    right: auto;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 10px rgba(180, 150, 255, 0.8));
    z-index: 2; /* In front of moon initially */
}

.contact-rocket svg {
    width: 60px;
    height: 60px;
    animation: rocketHover 0.2s infinite alternate;
}

/* Simple exhaust for contact rocket */
.contact-exhaust {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 50px;
}
.c-smoke {
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(180, 150, 255, 0.6);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    filter: blur(4px);
    box-shadow: 0 0 10px rgba(180, 150, 255, 0.8);
    animation: smokeRise 0.8s infinite linear;
}
.c-smoke:nth-child(2) { animation-delay: 0.3s; animation-duration: 1s; }
.c-smoke:nth-child(3) { animation-delay: 0.6s; animation-duration: 0.7s; }

.c-spark {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px #ff6432, 0 0 10px #facc15;
    animation: sparkFly 0.5s infinite linear;
}
.c-spark:nth-child(5) { animation-delay: 0.2s; animation-duration: 0.6s; }
.c-spark:nth-child(6) { animation-delay: 0.4s; animation-duration: 0.4s; }
.c-spark:nth-child(7) { animation-delay: 0.1s; animation-duration: 0.7s; }

.contact-moon-container {
    position: absolute;
    right: 8vw;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 140px; /* Reduced from 200px */
    height: 140px;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(180, 150, 255, 0.8)) drop-shadow(0 0 50px rgba(255, 255, 255, 0.5));
    animation: moonFloat 4s ease-in-out infinite alternate;
}

@keyframes moonFloat {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(calc(-50% - 15px)) rotate(2deg); }
}

.contact-moon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen; 
    position: relative;
    z-index: 2; /* In front of flag */
}

.moon-flag {
    position: absolute;
    top: -20px; /* Above the moon */
    left: 50%;
    width: 40px; /* Reduced from 60px */
    height: 70px; /* Reduced from 100px */
    transform: translateX(-50%) scaleY(0);
    transform-origin: bottom;
    opacity: 0;
    z-index: 1; /* Behind moon image to look like it's planted inside a crater */
}
.moon-flag svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(180, 150, 255, 0.5));
}

.sub-cta {
    font-size: 1.5rem;
    margin-bottom: 4rem;
}

.btn-magnetic {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-magnetic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.btn-magnetic:hover {
    color: #020617;
    border-color: #ffffff;
}

.btn-magnetic:hover::before {
    width: 300px;
    height: 300px;
}

.footer {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    margin: 0;
}

/* Media Queries */
@media (max-width: 768px) {
    h2 { font-size: 2.5rem; }
    .giant-text { font-size: 3rem; }
    
    .timeline-container {
        flex-direction: column;
        gap: 3rem;
        padding-left: 2rem;
    }
    
    .timeline-track {
        top: 0;
        left: 10px;
        width: 2px;
        height: 100%;
        transform: none;
    }
    
    .timeline-progress {
        width: 100%;
        height: 0;
    }
    
    .timeline-step, .timeline-step:nth-child(even) {
        flex-direction: row;
        width: 100%;
        align-items: flex-start;
    }
    
    .step-dot {
        margin: 0 2rem 0 -11px; /* Align with vertical line */
        flex-shrink: 0;
    }
    
    .step-content {
        text-align: left;
    }

    /* Mobile Adjustments for Orbital System */
    .services-container {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 4rem;
    }

    .services-text-column {
        flex: 0 0 auto;
        padding: 0 2rem;
        text-align: center;
        margin-bottom: 4rem;
    }

    .services-text-column h2 {
        font-size: 2.5rem;
    }

    .orbital-system-wrapper {
        flex: 0 0 auto;
        min-height: auto;
        padding: 0;
        width: 100%;
    }
    
    .orbital-system {
        width: 100%;
        height: auto;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .orbital-center, .orbit {
        position: relative;
        width: 100% !important;
        height: auto !important;
        border: none;
        border-radius: 0;
        transform: none !important;
        animation: none !important;
        top: auto;
        left: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .celestial-body {
        position: relative;
        top: auto !important;
        left: auto !important;
        margin: 0 auto !important;
        animation: none !important;
        width: 80px;
        height: 80px;
    }

    .celestial-body:hover svg {
        transform: scale(1.1);
    }

    .service-tooltip {
        position: relative;
        left: auto;
        top: auto;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        width: 90%;
        max-width: 400px;
        margin-top: 2rem;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        text-align: center;
        box-shadow: none;
    }
    
    .service-tooltip::before {
        display: none;
    }
}

