:root {
    --bg-dark: #0f0f1a;
    --bg-darker: #070711;
    --primary-color: #a742f5;
    --secondary-color: #8a2be2;
    --text-light: #ffffff;
    --text-muted: #a0a0b8;
    --border-radius: 16px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --card-bg: #1a1a2e;
    --card-bg-hover: #22223a;
    --gradient: linear-gradient(135deg, #a742f5, #5e17eb);
    --heading-font: 'Outfit', sans-serif;
    --body-font: 'Plus Jakarta Sans', sans-serif;
    --anim-duration: 0.6s;
}

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

body {
    font-family: var(--body-font);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
    border: none;
    font-size: 1rem;
}

.primary-btn {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(167, 66, 245, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(167, 66, 245, 0.6);
}

.primary-btn:active {
    transform: translateY(2px);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: rgba(167, 66, 245, 0.1);
    transform: translateY(-3px);
}

.secondary-btn:active {
    transform: translateY(2px);
}

section {
    padding: 100px 7%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
}

.nav-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
}

.nav-toggle-icon {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.nav-toggle-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active .nav-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
    position: absolute;
    right: 60px;
    top: 15px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 15px;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.nav-toggle.active .nav-menu {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.nav-menu a {
    margin: 0 15px;
    font-weight: 600;
    color: var(--text-light);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-darker);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(167, 66, 245, 0.1) 0%, rgba(15, 15, 26, 0) 70%);
    z-index: 0;
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h1 {
    animation: fadeIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-content p {
    animation: fadeIn 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-content .btn {
    animation: fadeIn 0.8s ease 0.6s forwards;
    opacity: 0;
}

.features {
    background-color: var(--bg-darker);
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(167, 66, 245, 0.1);
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--card-bg-hover);
    border-color: rgba(167, 66, 245, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
    animation: float 3s ease-in-out infinite;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.plan-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(167, 66, 245, 0.1);
    display: flex;
    flex-direction: column;
    opacity: 0;
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: rgba(167, 66, 245, 0.3);
}

.plan-card.featured {
    background: var(--card-bg-hover);
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.plan-card.featured::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 30px;
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    content: 'Popular';
}

.plan-header {
    margin-bottom: 30px;
    text-align: center;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 15px;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 15px;
    color: var(--text-muted);
    position: relative;
    padding-left: 25px;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(167, 66, 245, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.faq-icon {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
    animation: fadeIn 0.5s ease forwards;
}

.faq-item:hover {
    border-color: rgba(167, 66, 245, 0.3);
}

footer {
    background: var(--bg-darker);
    padding: 50px 7%;
    text-align: center;
    border-top: 1px solid rgba(167, 66, 245, 0.1);
}

footer p {
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 20px;
        right: 0;
        top: 60px;
        width: 200px;
    }
    
    .nav-menu a {
        margin: 10px 0;
    }
    
    .features-grid, .plans-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(167, 66, 245, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(167, 66, 245, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(167, 66, 245, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

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

.animate {
    opacity: 0;
}

.animate.fadeIn {
    animation: fadeIn var(--anim-duration) ease forwards;
}

.animate.scaleIn {
    animation: scaleIn var(--anim-duration) ease forwards;
}

.animate.slideInRight {
    animation: slideInRight var(--anim-duration) ease forwards;
}

.animate.slideInLeft {
    animation: slideInLeft var(--anim-duration) ease forwards;
}

.hero-content h1, .hero-content p, .hero-content .btn {
    opacity: 0;
}

.plan-card:nth-child(odd) {
    transform: none;
}

.plan-card:nth-child(even) {
    transform: none;
}

.cursor-spotlight {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 66, 245, 0.15) 0%, rgba(167, 66, 245, 0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px rgba(167, 66, 245, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(167, 66, 245, 0.8);
    }
    100% {
        text-shadow: 0 0 5px rgba(167, 66, 245, 0.5);
    }
}

h1, h2 {
    animation: glow 4s ease-in-out infinite;
} 