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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(to bottom right, #f8fafc, #eff6ff, #e0e7ff);
    min-height: 100vh;
}

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

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.logo-img {
    height: 2.5rem;
}

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

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

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

.nav-link:hover {
    color: #2563eb;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

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

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

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(to right, #2563eb, #9333ea);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(to right, #1d4ed8, #7e22ce);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: #374151;
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-outline {
    background: transparent;
    border: 2px solid #374151;
    color: #374151;
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-white {
    background: white;
    color: #9333ea;
}

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

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(40px);
    opacity: 0.2;
}

.blob-1 {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: #60a5fa;
    animation: blob 7s infinite;
}

.blob-2 {
    top: 10rem;
    right: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: #a78bfa;
    animation: blob 7s infinite;
    animation-delay: 2s;
}

.blob-3 {
    bottom: -2rem;
    left: 50%;
    width: 18rem;
    height: 18rem;
    background: #f472b6;
    animation: blob 7s infinite;
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #2563eb, #9333ea, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 2rem;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

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

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.blob-4 {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: linear-gradient(to bottom right, #bfdbfe, #ddd6fe);
    opacity: 0.3;
}

.blob-5 {
    bottom: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: linear-gradient(to top right, #fbcfe8, #fed7aa);
    opacity: 0.2;
}

.blob-6 {
    top: 10rem;
    left: 50%;
    width: 16rem;
    height: 16rem;
    background: linear-gradient(to bottom left, #a5f3fc, #bfdbfe);
    opacity: 0.25;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #2563eb, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 42rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #93c5fd;
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    transition: transform 0.5s;
}

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

.gradient-purple-pink {
    background: linear-gradient(to right, #a855f7, #ec4899);
}

.gradient-blue-cyan {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
}

.gradient-orange-red {
    background: linear-gradient(to right, #f97316, #ef4444);
}

.gradient-green-emerald {
    background: linear-gradient(to right, #22c55e, #10b981);
}

.gradient-indigo-purple {
    background: linear-gradient(to right, #6366f1, #a855f7);
}

.gradient-pink-rose {
    background: linear-gradient(to right, #ec4899, #f43f5e);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: #111827;
}

.feature-description {
    color: #4b5563;
    line-height: 1.75;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, #eff6ff, #f3e8ff);
    position: relative;
    overflow: hidden;
}

.blob-7 {
    bottom: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background: linear-gradient(to top right, #ddd6fe, #fbcfe8);
    opacity: 0.3;
}

.blob-8 {
    top: 5rem;
    right: 5rem;
    width: 20rem;
    height: 20rem;
    background: linear-gradient(to bottom left, #bfdbfe, #c7d2fe);
    opacity: 0.25;
}

.blob-9 {
    bottom: 10rem;
    right: 33%;
    width: 12rem;
    height: 12rem;
    background: linear-gradient(to top right, #fef3c7, #fed7aa);
    opacity: 0.2;
}

.pricing-container {
    display: flex;
    justify-content: center;
    max-width: 72rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.pricing-card {
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    position: relative;
    max-width: 24rem;
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s;
}

.pricing-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pricing-popular {
    border: 2px solid #a855f7;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

.popular-badge span {
    background: linear-gradient(to right, #9333ea, #ec4899);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #111827;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(to right, #2563eb, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    color: #4b5563;
    margin-left: 0.25rem;
}

.pricing-description {
    color: #4b5563;
    font-size: 0.875rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.check {
    color: #22c55e;
    font-weight: bold;
    flex-shrink: 0;
}

.btn-pricing {
    width: 100%;
    background: linear-gradient(to right, #9333ea, #ec4899);
    color: white;
}

.btn-pricing:hover {
    background: linear-gradient(to right, #7e22ce, #db2777);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(to right, #2563eb, #9333ea, #ec4899);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIvPjwvc3ZnPg==');
}

.cta-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 3rem;
    }
}

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

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

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-logo {
    height: 2rem;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}
