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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f0514 0%, #1a0933 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(15, 5, 20, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(156, 39, 176, 0.1);
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(15, 5, 20, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(156, 39, 176, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(156, 39, 176, 0.6));
    transition: all 0.3s ease;
}

.nav-logo:hover img {
    filter: drop-shadow(0 0 15px rgba(156, 39, 176, 0.8));
}

.nav-logo::after {
    content: 'Ultrane';
    position: relative;
    margin-left: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(to right, #9c27b0, #673ab7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.nav-logo:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #b39ddb;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #9c27b0, #673ab7);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

.nav-links a:hover, 
.nav-links a.active {
    color: white;
    background: rgba(156, 39, 176, 0.1);
    text-shadow: 0 0 8px rgba(156, 39, 176, 0.7);
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: #9c27b0;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    margin-bottom: 28vh; /* Adjusted from 30vh to 28vh to maintain proper spacing */
    margin-top: -8vh; /* Adjusted from -10vh to -8vh */
}

/* Logo styling */
.logo {
    margin-bottom: 2rem;
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
    background: rgba(156, 39, 176, 0.1);
    padding: 5px;
    border-radius: 50%;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(156, 39, 176, 0.6));
    animation: pulse 3s infinite ease-in-out;
    transform-origin: center;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #9c27b0, #673ab7);
    border-radius: 2px;
}

@keyframes pulse {
    0% { transform: scale(1); filter: brightness(1.2) drop-shadow(0 0 10px rgba(156, 39, 176, 0.6)); }
    50% { transform: scale(1.1); filter: brightness(1.4) drop-shadow(0 0 15px rgba(156, 39, 176, 0.8)); }
    100% { transform: scale(1); filter: brightness(1.2) drop-shadow(0 0 10px rgba(156, 39, 176, 0.6)); }
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #9c27b0, #673ab7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(156, 39, 176, 0.3);
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #b39ddb;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* CTA buttons container */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Base button styles */
.cta-button {
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    min-width: 200px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

/* Primary button - for exploring solutions */
.cta-button.primary {
    background: linear-gradient(to right, #9c27b0, #673ab7);
    color: white;
    box-shadow: 0 4px 20px rgba(156, 39, 176, 0.5);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(156, 39, 176, 0.7);
}

/* Secondary button - for contact */
.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(156, 39, 176, 0.9);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
    text-shadow: 0 0 5px rgba(156, 39, 176, 0.5);
}

.cta-button.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.6);
    background: rgba(156, 39, 176, 0.2);
    color: #ffffff;
    text-shadow: 0 0 8px rgba(156, 39, 176, 0.7);
}

.planet-container {
    position: absolute;
    bottom: -25%; /* Changed from -20% to -25% to move the planet slightly down */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px; /* Increased from 1000px to 1400px to make the planet much larger */
    z-index: 1;
    overflow: visible;
}

/* Simplified wrapper for the planet image */
.planet-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.planet-image {
    width: 100%;
    height: auto;
    border-radius: 50%; /* Make sure the image is treated as a circle */
    /* Apply a cleaner, more subtle glow directly to the image */
    filter: drop-shadow(0 0 30px rgba(156, 39, 176, 0.6));
    position: relative;
    z-index: 2;
}

/* Remove the problematic ring effect */
.planet-wrapper::after {
    display: none;
}

/* Remove the additional glow that's creating the ring */
.planet-wrapper::before {
    display: none;
}

/* Remove the previous glow effect */
.planet-container::before {
    display: none;
}

/* Add a subtle star background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

/* Add responsive styles */
@media (max-width: 992px) {
    .nav-container {
        padding: 0.8rem 1.5rem;
    }
    
    .nav-logo img {
        height: 35px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 5, 20, 0.95);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        border-bottom: 1px solid rgba(156, 39, 176, 0.3);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem 2rem;
        width: 100%;
        border-radius: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        max-width: 90%;
    }
    
    .hero-content {
        margin-bottom: 23vh; /* Adjusted from 25vh to 23vh for tablets */
        margin-top: -4vh; /* Adjusted from -5vh to -4vh for tablets */
    }
    
    .planet-container {
        bottom: -20%; /* Changed from -15% to -20% for tablets */
        max-width: 1200px; /* Increased from 800px to 1200px for tablets */
    }
    
    .logo {
        width: 50px;
        height: 50px;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 1.1rem;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        height: 30px;
    }
    
    .nav-logo::after {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-content {
        margin-bottom: 18vh; /* Adjusted from 20vh to 18vh for mobile */
        margin-top: 0; /* Kept the same for mobile */
    }
    
    .planet-container {
        bottom: -15%; /* Changed from -10% to -15% for mobile */
        max-width: 900px; /* Increased from 600px to 900px for mobile */
    }
    
    .logo {
        width: 45px;
        height: 45px;
        margin-bottom: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }
} 