* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header with Glass Effect */
.header {
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.8)); }
}

.logo i {
    font-size: 2rem;
    color: #06b6d4;
    animation: iconRotate 10s linear infinite;
}

@keyframes iconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(45deg, #06b6d4, #a855f7, #06b6d4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #06b6d4, #a855f7);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

.nav-menu a:hover::before {
    width: 100%;
}

/* Hero Section with Parallax Effect */
.hero {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(6, 182, 212, 0.1), transparent, rgba(168, 85, 247, 0.1), transparent);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    animation: heroSlideUp 1s ease-out;
}

@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #06b6d4, #a855f7, #ec4899, #06b6d4);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowText 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

@keyframes rainbowText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.5;
    animation: textFade 1s ease-out 0.3s both;
}

@keyframes textFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    animation: buttonsSlide 1s ease-out 0.6s both;
}

@keyframes buttonsSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Enhanced Buttons with 3D Effects */
.btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn::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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #06b6d4, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0891b2, #1d4ed8, #1e40af);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.4);
}

.btn-outline {
    border: 2px solid #475569;
    color: #cbd5e1;
    background: rgba(71, 85, 105, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: #06b6d4;
    color: #06b6d4;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.2);
}

.premium-btn {
    background: linear-gradient(135deg, #a855f7, #ec4899, #f97316);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

.premium-btn:hover {
    background: linear-gradient(135deg, #9333ea, #db2777, #ea580c);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
}

.premium-outline {
    border-color: #a855f7;
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

.premium-outline:hover {
    background: #a855f7;
    color: #0f172a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.4);
}

.full-width {
    width: 100%;
}

/* Features Section with Stagger Animation */
.features {
    padding: 4rem 0;
    background: rgba(30, 41, 59, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ffffff, #06b6d4, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 96rem;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(6, 182, 212, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #06b6d4;
    box-shadow: 0 25px 50px rgba(6, 182, 212, 0.2);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-icon i {
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2) rotate(5deg);
}

.bg-cyan {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
}

.bg-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.bg-green {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

/* Pricing Section with Card Animations */
.pricing {
    padding: 5rem 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 96rem;
    margin: 0 auto;
}

.package-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid #334155;
    border-radius: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.package-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #06b6d4, #a855f7, #06b6d4);
    background-size: 200% 200%;
    border-radius: 1.5rem;
    z-index: -1;
    opacity: 0;
    animation: borderGlow 3s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.package-card:hover::before {
    opacity: 1;
}

.package-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.package-card.premium::before {
    background: linear-gradient(45deg, #a855f7, #ec4899, #a855f7);
    background-size: 200% 200%;
    animation: premiumBorderGlow 3s ease-in-out infinite;
}

@keyframes premiumBorderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.premium-badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

@keyframes badgePulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.package-image {
    width: 100%;
    height: 12rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.9);
}

.package-card:hover .package-image img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: priceShine 2s ease-in-out infinite;
}

@keyframes priceShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

/* Footer with Gradient Animation */
.footer {
    border-top: 1px solid #334155;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 3rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #06b6d4, #a855f7, #06b6d4, transparent);
    animation: footerLine 3s ease-in-out infinite;
}

@keyframes footerLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Loading Animations */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Particle Animation Background */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.particle {
    position: absolute;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 4rem);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stagger animations for features */
.feature-card:nth-child(1) { animation: slideInFromLeft 0.6s ease-out 0.1s both; }
.feature-card:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.3s both; }
.feature-card:nth-child(3) { animation: slideInFromRight 0.6s ease-out 0.5s both; }

.package-card:nth-child(1) { animation: slideInFromLeft 0.8s ease-out 0.2s both; }
.package-card:nth-child(2) { animation: slideInFromRight 0.8s ease-out 0.4s both; }

/* Continue with existing styles for remaining elements */
.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #94a3b8;
    position: relative;
    z-index: 1;
}

.package-header {
    text-align: center;
    padding: 2rem 1.5rem;
}

.package-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.package-icon i {
    font-size: 2rem;
    color: white;
}

.package-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.package-description {
    color: #94a3b8;
}

.package-content {
    padding: 0 1.5rem 1.5rem;
}

.feature-group {
    margin-bottom: 1.5rem;
}

.feature-group h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #06b6d4;
    margin-bottom: 0.75rem;
}

.premium .feature-group h5 {
    color: #a855f7;
}

.feature-group ul {
    list-style: none;
}

.feature-group li {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.feature-group li i {
    color: #22c55e;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.pricing-option {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.period {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.savings {
    color: #22c55e;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: #06b6d4;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.footer-description {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #06b6d4;
}
