:root {
    --bg-color: #0f0b1a;
    /* Darker purple tint background */
    --text-color: #e0e0e0;
    --primary-color: hsl(271, 81%, 56%);
    /* Revendi Purple */
    --primary-hover: hsl(271, 81%, 46%);
    --secondary-color: #1a1a1a;
    --accent-color: #ffffff;
    --gradient-brand: linear-gradient(135deg, hsl(271, 81%, 56%) 0%, hsl(280, 80%, 65%) 100%);
    --card-bg: #161224;
    --border-color: #2d2440;
    --font-main: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-ended {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

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

/* Header */
.header {
    padding: 20px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.nav {
    display: flex;
    justify-content: center;
    /* Centered logo */
    align-items: center;
    margin-top: 20px;
}

.nav img {
    height: 32px;
    filter: brightness(0) invert(1);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.alert-box {
    display: inline-block;
    background: rgba(255, 59, 48, 0.15);
    color: #ff453a;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 59, 48, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--accent-color);
    font-weight: 800;
}

.text-gradient {
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #a09bb0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(15, 11, 26, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Countdown */
.countdown-container {
    margin-bottom: 40px;
}

.countdown-container p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #888;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.time-block {
    background: #231d36;
    padding: 12px 20px;
    border-radius: 8px;
    min-width: 80px;
    border: 1px solid var(--border-color);
}

.time-block span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.time-block small {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.4);
    background: var(--primary-hover);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(138, 43, 226, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
    }
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--text-color);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 12px;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: #130f20;
}

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

.pricing-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--accent-color);
    font-weight: 700;
}

.pricing-header p {
    color: #a09bb0;
    font-size: 1.1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.08) 0%, var(--card-bg) 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.price-container {
    margin-bottom: 8px;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1rem;
    margin-bottom: -5px;
}

.price {
    display: flex;
    align-items: flex-start;
    color: var(--accent-color);
}

.currency {
    font-size: 1.5rem;
    margin-top: 8px;
    margin-right: 4px;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.cents {
    font-size: 1.5rem;
    margin-top: 8px;
    font-weight: 600;
}

.payment-desc {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

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

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: #ccc;
    font-size: 0.95rem;
}

.features-list li svg {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: var(--primary-color);
}

/* Benefits */
.benefits {
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.benefit-item {
    padding: 20px;
}

.icon-box {
    margin-bottom: 20px;
    background: rgba(138, 43, 226, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    color: var(--primary-color);
}

.icon-box svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.alert-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 59, 48, 0.15);
    color: #ff453a;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 59, 48, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

.alert-box svg {
    width: 18px;
    height: 18px;
}

.benefit-item h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-weight: 700;
}

.benefit-item p {
    color: #a09bb0;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: #130f20;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--accent-color);
    font-weight: 700;
}

.faq-header p {
    color: #a09bb0;
    font-size: 1.1rem;
}

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

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(138, 43, 226, 0.05);
}

.faq-answer p {
    padding: 0 24px 24px;
    color: #a09bb0;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: #666;
    font-size: 0.9rem;
    background: #0f0b1a;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .time-block {
        min-width: 60px;
        padding: 8px 12px;
    }

    .time-block span {
        font-size: 1.5rem;
    }
}