:root {
    --primary: #6b38fb;
    --secondary: #38b6ff;
    --accent: #00fcff;
    --light: #f1f1ff;
    --dark: #0a0a1a;
    --darker: #050510;
    --danger: #ff3366;
    --success: #33ffaa;
    --warning: #ffcc33;
    --space-purple: #8860d0;
    --cosmic-blue: #5680e9;
    --nebula-pink: #c1549c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    background-image: url('/api/placeholder/1920/1080'); /* Replace with starfield/galaxy background */
    background-attachment: fixed;
    background-size: cover;
}

.galaxy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 10, 26, 0.85), rgba(5, 5, 16, 0.95));
    z-index: -1;
}

.galaxy-overlay-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 10, 26, 0.7), rgba(5, 5, 16, 0.8));
    z-index: -1;
}

header {
    background: rgba(5, 5, 16, 0.9);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    margin-right: 10px;
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.login-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(107, 56, 251, 0.4);
}

.hero {
    background: url('/api/placeholder/1920/1080') center/cover; /* Replace with deep space/galaxy image */
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 252, 255, 0.7);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0), rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(107, 56, 251, 0.5);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--light);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 252, 255, 0.5);
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--light);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-title p {
    color: #b9b9c5;
    max-width: 700px;
    margin: 20px auto 0;
}

.features {
    background-color: var(--darker);
    position: relative;
}

.features::before, .features::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.features::before {
    background-color: rgba(136, 96, 208, 0.15);
    top: 10%;
    left: 10%;
}

.features::after {
    background-color: rgba(0, 252, 255, 0.15);
    bottom: 10%;
    right: 10%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(15, 15, 35, 0.7);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 252, 255, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 25px;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 252, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--light);
}

.feature-card p {
    color: #b9b9c5;
}

.pricing {
    background-color: var(--dark);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pricing-card {
    background: rgba(15, 15, 35, 0.7);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 252, 255, 0.2);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: bold;
}

.pricing-price span {
    font-size: 1.2rem;
    font-weight: normal;
    opacity: 0.8;
}

.pricing-features {
    padding: 30px 25px;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li i {
    margin-right: 10px;
}

.pricing-features li i.fa-check {
    color: var(--success);
}

.pricing-features li.disabled {
    color: #666;
}

.pricing-features li.disabled i {
    color: #444;
}

.pricing-button {
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border-radius: 5px;
    margin: 0 10px;
}

.pricing-button:hover {
    box-shadow: 0 10px 20px rgba(107, 56, 251, 0.4);
    transform: translateY(-3px);
}

.enterprise {
    background: linear-gradient(135deg, var(--space-purple), var(--nebula-pink));
}

.about {
    background-color: var(--darker);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(0, 252, 255, 0.05);
    filter: blur(100px);
    top: 50%;
    left: 10%;
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.cosmic-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 252, 255, 0.3);
}

.cosmic-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    background: linear-gradient(45deg, var(--accent), transparent, var(--primary), transparent, var(--secondary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 30px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.about-text p {
    margin-bottom: 20px;
    color: #b9b9c5;
}

.testimonials {
    background-color: var(--dark);
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: rgba(15, 15, 35, 0.7);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 252, 255, 0.2);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    color: #b9b9c5;
}

.testimonial-text::before {
    content: '❝';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: -30px;
    left: -20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid var(--accent);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--light);
}

.author-info p {
    color: #888;
    font-size: 0.9rem;
}

.contact {
    background: url('/api/placeholder/1920/1080') center/cover; /* Replace with deep space image */
    position: relative;
    color: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.contact-info p {
    margin-bottom: 30px;
    color: #b9b9c5;
    font-size: 1.1rem;
}

.contact-details {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--light);
}

.contact-details i {
    width: 40px;
    height: 40px;
    background: rgba(0, 252, 255, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(15, 15, 35, 0.6);
    color: var(--light);
    font-size: 1rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 252, 255, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form textarea {
    height: 180px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(107, 56, 251, 0.4);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    overflow: auto;
}

.modal-content {
    background: rgba(15, 15, 35, 0.95);
    margin: 10% auto;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--danger);
}

.login-form {
    text-align: center;
}

.login-form h2 {
    font-size: 2.2rem;
    color: var(--light);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.login-form h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-form input {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(15, 15, 35, 0.6);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 252, 255, 0.3);
}

.login-form button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 15px 0;
    width: 100%;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.login-form button:hover {
    box-shadow: 0 10px 25px rgba(107, 56, 251, 0.4);
}

.login-options {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.login-options a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.login-options a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Star animation for background */
.star {
    position: fixed;
    width: 2px;
    height: 2px;
    background-color: white;
    border-radius: 50%;
    animation: twinkle var(--duration) infinite;
    opacity: var(--opacity);
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: var(--opacity); }
    50% { opacity: 0.2; }
}

/* Cosmic floating particles */
.particle {
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: rgba(var(--color), 0.7);
    border-radius: 50%;
    filter: blur(var(--blur));
    animation: float calc(var(--duration) * 1s) infinite ease-in-out;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(calc(var(--distance) * 1px)) translateX(calc(var(--distance) * 0.5px)); }
    50% { transform: translateY(0) translateX(calc(var(--distance) * 1px)); }
    75% { transform: translateY(calc(var(--distance) * -1px)) translateX(calc(var(--distance) * 0.5px)); }
}

/* Glowing effect for important elements */
.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 252, 255, 0.2) 0%, rgba(0, 252, 255, 0) 70%);
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
}

.glow:hover::after {
    opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--secondary), var(--accent));
}

/* Responsive styles */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto 40px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .about-text h2,
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .feature-icon {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .pricing-grid,
    .features-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }
}

/* JavaScript-powered elements */
.accordion-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(15, 15, 35, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light);
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: rgba(107, 56, 251, 0.1);
}

.accordion-content {
    display: none;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #b9b9c5;
}

.accordion-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

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

/* Policy section styles */
.policy-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 10px;
}

.policy-tab {
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 500;
    color: #b9b9c5;
    border-radius: 30px;
    background: rgba(15, 15, 35, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.policy-tab:hover {
    background: rgba(107, 56, 251, 0.2);
}

.policy-tab.active {
    color: var(--light);
    background: linear-gradient(135deg, rgba(107, 56, 251, 0.2), rgba(0, 252, 255, 0.2));
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0, 252, 255, 0.2);
}

.policy-content {
    background: rgba(15, 15, 35, 0.7);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: none;
    color: #b9b9c5;
}

.policy-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

.policy-content h3 {
    font-size: 1.8rem;
    color: var(--light);
    margin-bottom: 20px;
    position: relative;
}

.policy-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Add cosmic particles with JavaScript */
.cosmic-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}