/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #0A0A0A;
    color: #FFFFFF;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #0A0A0A;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #4F46E5, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4F46E5, #EC4899);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.quantum-text {
    background: linear-gradient(90deg, #4F46E5, #10B981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(90deg, #4F46E5, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: #A1A1AA;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #4F46E5, #EC4899);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.secondary-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Features Section */
.features {
    padding: 4rem 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    justify-items: center;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    max-width: 300px;
    width: 100%;
}

.section-title {
    font-size: 1.5rem;
    color: #E4E4E7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ecosystem Section */
.ecosystem {
    padding: 4rem 0;
    text-align: center;
}

.ecosystem .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    max-width: 350px;
    width: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.card h3 {
    margin-bottom: 1rem;
    color: #E4E4E7;
}

.card p {
    color: #A1A1AA;
    margin-bottom: 1.5rem;
}

.card ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: #A1A1AA;
}

.card li {
    margin-bottom: 0.5rem;
}

/* Sandbox */
.sandbox-interface {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
}

.code-editor {
    background: #1E1E1E;
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    margin: 1rem 0;
    overflow-x: auto;
}

code {
    color: #9CDCFE;
    display: block;
    white-space: pre-wrap;
}

[contenteditable="true"]:focus {
    outline: none;
}

.sandbox-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.output-console {
    background: #1E1E1E;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1.5rem;
}

.output-console h4 {
    margin-bottom: 0.5rem;
    color: #E4E4E7;
}

.output-content {
    color: #A1A1AA;
    font-family: 'Courier New', monospace;
    min-height: 100px;
}

/* Footer - Fixed Alignment */
.footer {
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(10px);
    padding: 6rem 0 2rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 4rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    align-items: center;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #E4E4E7;
}

.footer-column a {
    color: #A1A1AA;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #FFFFFF;
}

.footer-social {
    margin: 3rem 0;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-social a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    width: 100%;
}

.copyright {
    color: #A1A1AA;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar .container {
        gap: 1rem;
    }
    
    .hero {
        padding-top: 150px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .ecosystem .container,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .footer-column {
        text-align: center;
        align-items: center;
    }
    
    .footer-social {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Utility Classes */
.card-link {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}




@media (max-width: 768px) {
    .nav-links {
        gap: 0.75rem;
        font-size: 0.8rem;
        justify-content: space-around;
        width: 100%;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .card h3 {
        font-size: 1.1rem;
    }
}


@media (max-width: 768px) {
    .card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .ecosystem .container {
        gap: 1.5rem;
    }
}



@media (max-width: 768px) {
    .card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .ecosystem .container {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .sandbox-interface {
        padding: 1rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .code-editor {
        font-size: 0.9rem;
    }
    
    .sandbox-controls {
        flex-direction: column;
        align-items: center;
    }
    
    button {
        width: 100%;
        padding: 0.75rem !important;
    }
}

.nav-links a {
    padding: 0.5rem 1rem;
}

.secondary-button, .cta-button {
    min-width: 120px;
    text-align: center;
}

.features-grid, 
.ecosystem .container,
.footer-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 769px) {
    .features-grid,
    .ecosystem .container,
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

body {
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 95%;
    padding: 0 2.5%;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        min-height: 80vh;
    }
    
    .quantum-text {
        display: block;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
    
    .footer-column {
        padding: 0 1rem;
    }
}