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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    color: #e0e6ed;
    overflow-x: hidden;
    line-height: 1.6;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 0, 149, 0.129), transparent 40%),
        radial-gradient(circle at 80% 40%, rgba(0, 200, 255, 0.2), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(255, 213, 0, 0.2), transparent 40%),
        #000000;
    /* base pure black */

}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    padding: 20px 50px;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 50px;
    background: rgba(10, 14, 39, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(30deg);
    }
}

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

.nav-links a {
    color: #a0a9c9;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #00d4ff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7);
    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;
    position: relative;
    padding: 100px 50px 50px;
}

.hero-content {
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text p {
    font-size: 1.2rem;
    color: #a0a9c9;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    border: 2px solid #00d4ff;
    color: #00d4ff;
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

/* 3D Molecule Visualization */
.molecule-demo {
    position: relative;
    width: 100%;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 20px;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.floating-molecule {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.atom-1 {
    background: radial-gradient(circle, #00d4ff, #0099cc);
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.atom-2 {
    background: radial-gradient(circle, #ff6b6b, #cc5252);
    top: 40%;
    left: 50%;
    width: 80px;
    height: 80px;
    animation-delay: 1s;
}

.atom-3 {
    background: radial-gradient(circle, #7b2ff7, #5a1fb8);
    top: 60%;
    left: 70%;
    animation-delay: 2s;
}

.bond {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform-origin: left center;
    animation: pulse 2s ease-in-out infinite;
}

.bond-1 {
    width: 150px;
    top: 30%;
    left: 35%;
    transform: rotate(25deg);
}

.bond-2 {
    width: 120px;
    top: 45%;
    left: 55%;
    transform: rotate(-30deg);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* Features Section */
.features {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(0, 212, 255, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 38, 255, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #007bff45, #9a2ff745);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: #a0a9c9;
    line-height: 1.6;
}

/* Usage Section */
.usage {
    padding: 100px 50px;
    background: rgba(0, 0, 0, 0.3);
}

.usage-content {
    max-width: 1400px;
    margin: 0 auto;
}

.code-demo {
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.code-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

pre {
    color: #e0e6ed;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
}

.code-line {
    transition: all 0.3s ease;
}

.code-line:hover {
    background: rgba(0, 212, 255, 0.05);
    margin: 0 -30px;
    padding: 0 30px;
}

/* Footer */
footer {
    padding: 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 100px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-links a {
    color: #a0a9c9;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #00d4ff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    animation: drift linear infinite;
}

@keyframes drift {
    from {
        transform: translateY(100vh) translateX(0);
    }

    to {
        transform: translateY(-100vh) translateX(100px);
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 50px;
    max-width: 800px;
    margin: 0 auto;

}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;

}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    color: #aaa;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    padding: 40px 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

.footer a {
    color: #FFD700;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .pricing-container {
        padding: 0 20px;
    }

    .pricing-card {
        width: 100%;
    }

    .features-section {
        padding: 60px 20px;
    }

    .faq-section {
        padding: 60px 20px;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading .loading-spinner {
    display: block;
}

.loading .btn-text {
    display: none;
}

img {
    margin-top: 20px;
    border-radius: 10px;
}