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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Gradient Backgrounds */
.gradient-bg-1 {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #8b5cf6, #10b981);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #10b981, #3b82f6);
}

.gradient-bg-4 {
    background: linear-gradient(135deg, #3b82f6, #10b981);
}

.gradient-bg-5 {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

.gradient-bg-6 {
    background: linear-gradient(135deg, #10b981, #8b5cf6);
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4b5563;
    border: 2px solid #d1d5db;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-white {
    background: white;
    color: #8b5cf6;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: #f3f4f6;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: white;
    color: #8b5cf6;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8b5cf6;
}

.desktop-nav {
    display: none;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: #4b5563;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.mobile-nav.active {
    display: flex;
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #fdf2f8, #f3e8ff, #dbeafe);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.feature-item h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: #6b7280;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.logo-container {
    position: relative;
}

.hero-logo {
    width: 100%;
    max-width: 24rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.logo-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981);
    border-radius: 1.5rem;
    filter: blur(3rem);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features-grid {
    display: grid;
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.feature-card .feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

/* Technology Section */
.technology {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fafb, #f3e8ff);
}

.technology-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tech-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.tech-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: #6b7280;
}

.stats-card {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981);
    color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    position: relative;
}

.stats-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981);
    border-radius: 1.5rem;
    filter: blur(2rem);
    opacity: 0.3;
    z-index: -1;
}

.stats-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Ecosystem Section */
.ecosystem {
    padding: 5rem 0;
    background: white;
}

.ecosystem-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.ecosystem-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.ecosystem-card:hover {
    transform: translateY(-4px);
}

.ecosystem-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: box-shadow 0.3s ease;
}

.ecosystem-card:hover .ecosystem-icon {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.ecosystem-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
}

.ecosystem-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.ecosystem-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.stat {
    font-size: 0.875rem;
    font-weight: 600;
    color: #8b5cf6;
}

.cta-section {
    background: linear-gradient(135deg, #dbeafe, #f3e8ff, #d1fae5);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

/* Developers Section */
.developers {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1f2937, #581c87);
    color: white;
}

.developers .section-header h2,
.developers .section-header p {
    color: white;
}

.developers .section-header p {
    color: #d1d5db;
}

.dev-resources {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.resource-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.resource-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.resource-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #60a5fa, #10b981);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.resource-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.resource-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.resource-card p {
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.resource-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: #93c5fd;
}

.dev-cta {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981);
    padding: 2rem;
    border-radius: 1.5rem;
}

.dev-cta-content {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.dev-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.dev-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.dev-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.code-example {
    background: #1f2937;
    border-radius: 1rem;
    overflow: hidden;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
}

.code-header {
    background: #374151;
    padding: 0.75rem 1rem;
    color: #d1d5db;
    font-weight: 600;
}

.code-content {
    padding: 1rem;
}

.code-line {
    color: white;
    margin-bottom: 0.5rem;
}

.code-line.comment {
    color: #10b981;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    justify-content: center;
}

.social-link {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: #9ca3af;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cta-buttons {
        flex-direction: row;
    }
    
    .dev-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dev-resources {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .technology-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ecosystem-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .dev-resources {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .dev-cta-content {
        grid-template-columns: 1fr 1fr;
    }
}

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

/* Icon styles */
.icon {
    width: 1.25rem;
    height: 1.25rem;
}