@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(to bottom right, #020617, #581c87, #0f172a);
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* 3D Canvas */
#canvas3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

/* Grain overlay */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNhKSIgb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==');
}

/* Content wrapper */
.content {
    position: relative;
    z-index: 10;
}

/* Navigation */
nav {
    padding: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(to bottom right, #6366f1, #9333ea);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #818cf8;
}

.nav-cta {
    padding: 10px 24px;
    background: linear-gradient(to right, #6366f1, #9333ea);
    border: none;
    border-radius: 9999px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.5);
}

/* Hero Section */
.hero {
    padding: 80px 24px 128px;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    margin-bottom: 32px;
    animation: fadeIn 1s ease-out;
}

.hero-badge-text {
    font-size: 14px;
    color: #a5b4fc;
}

.hero-title {
    font-size: 96px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
}

.hero-title-line1 {
    display: block;
    background: linear-gradient(to right, white, #c7d2fe, #ddd6fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideDown 0.8s ease-out;
}

.hero-title-line2 {
    display: block;
    background: linear-gradient(to right, #818cf8, #c084fc, #f9a8d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 24px;
    color: #d1d5db;
    max-width: 768px;
    margin: 0 auto 32px;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.btn-primary {
    padding: 16px 32px;
    background: linear-gradient(to right, #6366f1, #9333ea);
    border: none;
    border-radius: 9999px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(129, 140, 248, 0.3);
    border-radius: 9999px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(129, 140, 248, 0.5);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    margin-top: 80px;
    animation: fadeIn 1s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #9ca3af;
    margin-top: 8px;
}

/* Features Section */
.features {
    padding: 128px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 24px;
    background: linear-gradient(to right, white, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 20px;
    color: #d1d5db;
    max-width: 672px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 32px;
    background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.5s;
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(to bottom right, #6366f1, #9333ea);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s;
}

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

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    transition: color 0.3s;
}

.feature-card:hover .feature-title {
    color: #818cf8;
}

.feature-description {
    color: #d1d5db;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 128px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

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

.pricing-card {
    position: relative;
    padding: 32px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.5s;
}

.pricing-card.basic {
    background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.pricing-card.popular {
    background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.3), rgba(147, 51, 234, 0.3));
    border: 2px solid rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.3);
}

.pricing-card:hover {
    transform: translateY(-16px);
}

.pricing-card.basic:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: linear-gradient(to right, #6366f1, #9333ea);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.price-amount {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    color: #9ca3af;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #d1d5db;
}

.check-icon {
    color: #818cf8;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-cta {
    width: 100%;
    padding: 12px;
    border-radius: 9999px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.pricing-card.popular .pricing-cta {
    background: linear-gradient(to right, #6366f1, #9333ea);
    border: none;
    color: white;
}

.pricing-card.popular .pricing-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.5);
}

.pricing-card.basic .pricing-cta {
    background: transparent;
    border: 2px solid rgba(129, 140, 248, 0.3);
    color: white;
}

.pricing-card.basic .pricing-cta:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(129, 140, 248, 0.5);
}

/* CTA Section */
.cta-section {
    padding: 128px 24px;
    max-width: 1024px;
    margin: 0 auto;
}

.cta-box {
    position: relative;
    padding: 80px 48px;
    background: linear-gradient(to bottom right, rgba(99, 102, 241, 0.4), rgba(147, 51, 234, 0.4));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    text-align: center;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnoiIHN0cm9rZT0iIzZiNzI4MCIgc3Ryb2tlLXdpZHRoPSIyIiBvcGFjaXR5PSIuMSIvPjwvZz48L3N2Zz4=');
    opacity: 0.2;
}

.cta-content {
    position: relative;
}

.cta-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 20px;
    color: #e5e7eb;
    max-width: 672px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.cta-button {
    padding: 16px 32px;
    background: white;
    color: #312e81;
    border: none;
    border-radius: 9999px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(255, 255, 255, 0.3);
}

.cta-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #d1d5db;
}



/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

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

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

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

/* Icons */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.icon-sm {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 40px;
    }

    .cta-title {
        font-size: 36px;
    }

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

    .btn-primary,
    .btn-secondary,
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}