/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme - Purple/Violet like 0G.AI */
    --primary-gradient: linear-gradient(135deg, #8B5CF6 0%, #C084FC 50%, #A78BFA 100%);
    --primary-color: #8B5CF6;
    --secondary-color: #A78BFA;
    --accent-color: #C084FC;
    --dark-bg: #0A0A0F;
    --darker-bg: #050508;
    --card-bg: rgba(139, 92, 246, 0.05);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --border-color: rgba(139, 92, 246, 0.15);
    --glow-purple: 0 0 20px rgba(139, 92, 246, 0.4);
    --glow-violet: 0 0 20px rgba(167, 139, 250, 0.3);
    --glow-lavender: 0 0 20px rgba(192, 132, 252, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(167, 139, 250, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(192, 132, 252, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundShift 20s ease infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
    z-index: 1000;
    padding: 1.2rem 0;
    animation: navSlideDown 0.8s ease;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: inherit;
}

.navbar.scrolled {
    top: 1rem;
    width: 90%;
    max-width: 1200px;
    padding: 0.6rem 2rem;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(30px);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.3), 0 0 80px rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
}

.navbar.scrolled::before {
    opacity: 1;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes navSlideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .nav-brand .logo {
    height: 35px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8));
}

.nav-brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-brand .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.nav-menu a:hover::after {
    width: 100%;
}

.navbar.scrolled .nav-menu a {
    font-size: 0.95rem;
}

.nav-cta a {
    background: var(--primary-gradient);
    padding: 0.6rem 1.8rem;
    border-radius: 25px;
    color: white !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.nav-cta a:hover {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.8), 0 0 80px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.nav-cta a::after {
    display: none;
}

.navbar.scrolled .nav-cta a {
    padding: 0.5rem 1.5rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: titleEntry 1s ease;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
}

@keyframes titleEntry {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-purple), 0 15px 40px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-secondary:hover::after {
    opacity: 0.15;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 400px;
    height: auto;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.4));
    animation: heroLogoReveal 1.5s ease, heroLogoFloat 4s ease-in-out infinite 1.5s;
}

@keyframes heroLogoReveal {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
        filter: drop-shadow(0 0 0 rgba(0, 212, 255, 0));
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.4));
    }
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-2deg); }
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite, colorShift 10s ease-in-out infinite;
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    opacity: 0.25;
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    opacity: 0.25;
    bottom: -10%;
    right: -10%;
    animation-delay: -2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    opacity: 0.2;
    top: 40%;
    right: 20%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-30px, -40px); }
    66% { transform: translate(30px, 20px); }
}

@keyframes colorShift {
    0%, 100% { filter: blur(80px) hue-rotate(0deg); }
    50% { filter: blur(100px) hue-rotate(30deg); }
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: var(--darker-bg);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: var(--glow-purple), 0 20px 40px rgba(139, 92, 246, 0.2);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.stat-suffix {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
    color: var(--text-primary);
}

.stat-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.feature-card:hover::before {
    top: -100%;
    right: -100%;
}

.feature-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--primary-color);
    box-shadow: var(--glow-purple), 0 20px 50px rgba(139, 92, 246, 0.2);
}

.feature-number {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--darker-bg);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.step-card {
    width: 100%;
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    opacity: 0;
    animation: stepSlideIn 0.8s ease forwards;
}

.step-card:nth-child(1) {
    animation-delay: 0.2s;
}

.step-card:nth-child(3) {
    animation-delay: 0.4s;
}

.step-card:nth-child(5) {
    animation-delay: 0.6s;
}

.step-card:nth-child(7) {
    animation-delay: 0.8s;
}

@keyframes stepSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) rotateX(20deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.6s;
}

.step-card:hover::before {
    left: 100%;
}

.step-card:hover {
    transform: translateX(10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: var(--glow-purple), 0 20px 50px rgba(139, 92, 246, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: var(--glow-purple);
    animation: numberPulse 3s ease-in-out infinite;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0;
    animation: ripple 2s ease-out infinite;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        box-shadow: var(--glow-purple);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.step-arrow {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 1rem 0;
    animation: arrowBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
    position: relative;
}

.step-arrow::before {
    content: '↓';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: arrowTrail 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(15px);
        opacity: 1;
    }
}

@keyframes arrowTrail {
    0% {
        opacity: 0;
        top: -20px;
    }
    50% {
        opacity: 0.5;
        top: 0;
    }
    100% {
        opacity: 0;
        top: 20px;
    }
}

/* Technology Section */
.technology {
    padding: 6rem 0;
    background: var(--darker-bg);
    position: relative;
}

.technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

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

.tech-card {
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: var(--glow-violet), 0 20px 50px rgba(167, 139, 250, 0.2);
    background: rgba(139, 92, 246, 0.05);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.4));
}

.tech-card:hover .tech-icon {
    transform: scale(1.2) rotate(10deg);
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1.2) rotate(10deg); }
    50% { transform: scale(1.3) rotate(-10deg); }
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tech-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: var(--glow-lavender), 0 20px 50px rgba(192, 132, 252, 0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-author p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Ecosystem Section */
.ecosystem {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.partner-card {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-10px) rotateZ(2deg);
    border-color: var(--primary-color);
    box-shadow: var(--glow-purple), 0 15px 40px rgba(139, 92, 246, 0.2);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(167, 139, 250, 0.05));
}

.partner-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.partner-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background: var(--darker-bg);
}

.newsletter .container {
    text-align: center;
    max-width: 600px;
}

.newsletter h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    box-shadow: var(--glow-purple);
    transform: scale(1.02);
}

.newsletter-form button {
    cursor: pointer;
}

.form-message {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.form-message.success {
    color: #10B981;
}

.form-message.error {
    color: #EF4444;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

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

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar.scrolled {
        width: 95%;
        padding: 0.5rem 1rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
        border-radius: 0;
    }

    .navbar.scrolled .nav-menu {
        top: 65px;
        width: 90%;
        border-radius: 20px;
        margin-top: 0.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    /* Responsive hero animations */
    .neural-network {
        width: 300px;
        height: 300px;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: 10%;
        opacity: 0.4;
    }

    .code-display {
        width: 280px;
        right: 50%;
        transform: translateX(50%);
        top: 70%;
    }

    .data-point {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .dp-1, .dp-2, .dp-3, .dp-4 {
        opacity: 0.7;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Particle System */
.particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: particleFloat 3s ease-in-out;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* Glitch Effect for Section Titles */
@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--primary-color), -0.05em -0.025em 0 var(--accent-color);
    }
    14% {
        text-shadow: 0.05em 0 0 var(--primary-color), -0.05em -0.025em 0 var(--accent-color);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color), 0.025em 0.025em 0 var(--accent-color);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color), 0.025em 0.025em 0 var(--accent-color);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color), 0.05em 0 0 var(--accent-color);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color), 0.05em 0 0 var(--accent-color);
    }
    100% {
        text-shadow: -0.025em 0 0 var(--primary-color), -0.025em -0.025em 0 var(--accent-color);
    }
}

.section-title:hover {
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Neural Network Visualization */
.neural-network {
    position: absolute;
    top: 10%;
    left: 20%;
    width: 400px;
    height: 400px;
    opacity: 0.6;
    animation: networkFadeIn 1.5s ease;
}

@keyframes networkFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    to {
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }
}

.network-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}

.network-line {
    stroke: var(--primary-color);
    stroke-width: 2;
    opacity: 0.4;
    animation: linePulse 3s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% {
        opacity: 0.2;
        stroke-width: 2;
    }
    50% {
        opacity: 0.6;
        stroke-width: 3;
    }
}

.network-node {
    fill: var(--secondary-color);
    filter: drop-shadow(0 0 8px var(--primary-color));
}

.node-pulse-1 {
    animation: nodePulse 2s ease-in-out infinite;
}

.node-pulse-2 {
    animation: nodePulse 2s ease-in-out infinite 0.6s;
}

.node-pulse-3 {
    animation: nodePulse 2s ease-in-out infinite 1.2s;
}

@keyframes nodePulse {
    0%, 100% {
        fill: var(--secondary-color);
        r: 8;
    }
    50% {
        fill: var(--accent-color);
        r: 12;
    }
}

/* Animated Code Display */
.code-display {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 320px;
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    animation: codeSlideIn 1s ease 0.5s backwards;
    backdrop-filter: blur(10px);
}

@keyframes codeSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.code-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid var(--border-color);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: dotBlink 2s ease-in-out infinite;
}

.code-dot:nth-child(1) {
    background: #EF4444;
}

.code-dot:nth-child(2) {
    background: #F59E0B;
    animation-delay: 0.3s;
}

.code-dot:nth-child(3) {
    background: #10B981;
    animation-delay: 0.6s;
}

@keyframes dotBlink {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.code-title {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
}

.code-content {
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    opacity: 0;
    animation: lineTypeIn 0.5s ease forwards;
    color: var(--text-primary);
}

.code-line:nth-child(1) {
    animation-delay: 1s;
}

.code-line:nth-child(2) {
    animation-delay: 1.3s;
}

.code-line:nth-child(3) {
    animation-delay: 1.6s;
}

.code-line:nth-child(4) {
    animation-delay: 1.9s;
}

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

.keyword {
    color: var(--primary-color);
    font-weight: 600;
}

.function {
    color: var(--accent-color);
}

.param {
    color: var(--secondary-color);
}

.variable {
    color: #F59E0B;
}

/* Floating Data Points */
.data-point {
    position: absolute;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    white-space: nowrap;
    font-family: 'Courier New', monospace;
}

.dp-1 {
    top: 20%;
    left: 40%;
    animation: floatData 4s ease-in-out infinite;
}

.dp-2 {
    top: 60%;
    left: 50%;
    animation: floatData 5s ease-in-out infinite 1s;
}

.dp-3 {
    top: 75%;
    right: 15%;
    animation: floatData 4.5s ease-in-out infinite 0.5s;
    color: #10B981;
    border-color: #10B981;
}

.dp-4 {
    top: 35%;
    right: 25%;
    animation: floatData 3.5s ease-in-out infinite 1.5s, liveBlink 1.5s ease-in-out infinite;
    color: #EF4444;
    border-color: #EF4444;
}

@keyframes floatData {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) translateX(10px) rotate(2deg);
        opacity: 1;
    }
}

@keyframes liveBlink {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(239, 68, 68, 0.6);
    }
}

