/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #d6e2f0;
    background: #0b1220; /* deep navy */
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #0f172a 0%, #0b1220 100%);
    border-bottom: 1px solid rgba(99, 179, 237, 0.15);
    color: white;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.logo h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, #67e8f9, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #67e8f9;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #67e8f9, #60a5fa);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 60vh;
}

.header-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.header-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    background: linear-gradient(45deg, #06b6d4, #3b82f6);
    color: #0b1220;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.45);
}

.header-image {
    background: radial-gradient(1200px 400px at 20% 20%, rgba(59, 130, 246, 0.15), transparent 60%),
                radial-gradient(800px 300px at 80% 60%, rgba(6, 182, 212, 0.15), transparent 60%),
                url(../img/73fa2d43-7146-4828-a56c-1d6bf95f3a4b.jpeg);
    background-size: cover;
    background-position: center;
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
    color: rgba(103, 232, 249, 0.5);
}

.floating-element:nth-child(1) { top: 20%; left: 20%; }
.floating-element:nth-child(2) { top: 60%; left: 60%; }
.floating-element:nth-child(3) { top: 40%; left: 80%; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Hero Section */
.hero {
    background: radial-gradient(800px 400px at 10% 10%, rgba(59, 130, 246, 0.08), transparent 60%),
                radial-gradient(800px 400px at 90% 80%, rgba(6, 182, 212, 0.08), transparent 60%),
                #0b1220;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #94a3b8;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(99, 179, 237, 0.15);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.4);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #67e8f9;
    margin-bottom: 10px;
}

.stat p {
    color: #94a3b8;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.chemical-reaction {
    position: relative;
    width: 100%;
    height: 100%;
}

.molecule {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #06b6d4, #3b82f6);
    border-radius: 50%;
    animation: moleculeFloat 4s ease-in-out infinite;
}

.molecule:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.molecule:nth-child(2) {
    top: 60%;
    left: 60%;
    animation-delay: 1s;
}

.molecule:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 2s;
}

@keyframes moleculeFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-element {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: bgFloat 6s ease-in-out infinite;
    left: var(--x);
    top: var(--y);
    color: #67e8f9;
}

@keyframes bgFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* How It Works Section */
.how-it-works {
    background: #0d1628;
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.process-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    border: 1px solid rgba(99, 179, 237, 0.2);
    color: #d6e2f0;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.process-card:hover::before {
    left: 100%;
}

.process-icon {
    margin-bottom: 20px;
}

.icon-bg {
    display: inline-block;
    font-size: 3rem;
    background: rgba(103, 232, 249, 0.15);
    padding: 20px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    color: #67e8f9;
}

.process-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.process-card p {
    line-height: 1.6;
    opacity: 0.9;
}

.floating-chemicals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.chemical-bubble {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #06b6d4, #3b82f6);
    border-radius: 50%;
    opacity: 0.3;
    animation: bubbleFloat 8s ease-in-out infinite;
    animation-delay: var(--delay);
}

.chemical-bubble:nth-child(1) { top: 20%; left: 10%; }
.chemical-bubble:nth-child(2) { top: 60%; left: 80%; }
.chemical-bubble:nth-child(3) { top: 80%; left: 20%; }

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-50px) scale(1.2); }
}

/* Features Section */
.features {
    background: radial-gradient(800px 400px at 20% 20%, rgba(59, 130, 246, 0.08), transparent 60%),
                radial-gradient(800px 400px at 80% 80%, rgba(6, 182, 212, 0.08), transparent 60%),
                #0b1220;
    padding: 100px 0;
    position: relative;
    color: white;
}

.features .section-header h2,
.features .section-header p {
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-item {
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(99, 179, 237, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(6, 182, 212, 0.08);
}

.feature-number {
    position: absolute;
    top: -20px;
    left: 30px;
    background: linear-gradient(45deg, #06b6d4, #3b82f6);
    color: #0b1220;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 20px;
}

.feature-item p {
    line-height: 1.6;
    opacity: 0.9;
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.molecular-structure {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    opacity: 0.1;
    background: 
        radial-gradient(circle at 30% 30%, #67e8f9 2px, transparent 2px),
        radial-gradient(circle at 70% 70%, #60a5fa 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, #93c5fd 2px, transparent 2px);
    background-size: 100px 100px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Testimonials Section */
.testimonials {
    background: #0d1628;
    padding: 100px 0;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: rgba(2, 6, 23, 0.6);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(2, 6, 23, 0.4);
    border: 1px solid rgba(99, 179, 237, 0.2);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 4rem;
    color: #60a5fa;
    font-family: serif;
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cbd5e1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #06b6d4, #3b82f6);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.author-info h4 {
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 5px;
}

.author-info p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.quote-marks {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    color: rgba(96, 165, 250, 0.05);
    font-family: serif;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #0d1628 0%, #0b1220 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: ctaFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
    color: #67e8f9;
}

.cta-element:nth-child(1) { top: 20%; left: 20%; }
.cta-element:nth-child(2) { top: 60%; left: 60%; }
.cta-element:nth-child(3) { top: 40%; left: 80%; }

@keyframes ctaFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* Footer */
.footer {
    background: #0a0f1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #67e8f9, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    color: #94a3b8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #67e8f9;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #67e8f9;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .header-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-text h1,
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .process-card,
    .feature-item,
    .testimonial-card {
        padding: 30px 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-card,
.feature-item,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

.process-card:nth-child(1) { animation-delay: 0.1s; }
.process-card:nth-child(2) { animation-delay: 0.2s; }
.process-card:nth-child(3) { animation-delay: 0.3s; }
.process-card:nth-child(4) { animation-delay: 0.4s; }

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
