/* Base Styles */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --background: #111827;
    --background-light: #1f2937;
    --text: #ffffff;
    --text-secondary: #9ca3af;
    --border: rgba(59, 130, 246, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
}

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

@keyframes glow {
    0% { text-shadow: 0 0 10px rgba(59, 130, 246, 0.5); }
    50% { text-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.6); }
    100% { text-shadow: 0 0 10px rgba(59, 130, 246, 0.5); }
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

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

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.5s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.7s;
}

/* Navigation */
.navbar {
    background: rgba(31, 41, 55, 0.3);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 50;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.875rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary), #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.3s;
}

.logo-text:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    padding: 1rem;
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 2rem;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    animation: gradient 15s ease infinite;
    background-size: 200% 200%;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
}

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

.hero-subtitle {
    font-size: 1.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
    color: var(--text-secondary);
}

/* Buttons */
.cta-button, .purchase-button, .submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover, .purchase-button:hover, .submit-button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    animation: pulse-border 1.5s infinite;
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
}

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

.feature-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.3);
}

.icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.icon-blur {
    position: absolute;
    inset: -4px;
    background: var(--primary);
    border-radius: 0.5rem;
    filter: blur(8px);
    opacity: 0.25;
}

.icon-wrapper i {
    position: relative;
    color: var(--primary);
    width: 2rem;
    height: 2rem;
    animation: pulse 2s infinite;
}

/* Products Section */
.products-section {
    padding: 8rem 2rem 6rem;
    max-width: 1280px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s;
}

.product-card.highlight {
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    transition: transform 0.3s;
}

.feature-list li:hover {
    transform: translateX(0.5rem);
}

.feature-list i {
    color: var(--primary);
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: glow 2s ease-in-out infinite;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    background: rgba(31, 41, 55, 0.3);
    margin: 4rem 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

/* Contact Section */
.contact-section {
    padding: 8rem 2rem 6rem;
    max-width: 1280px;
    margin: 0 auto;
}

.contact-container {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    margin-bottom: 3rem;
    transition: all 0.3s;
}

.contact-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.3);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--primary);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    margin-top: 3rem;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 2rem;
}

.testimonial-content {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.3);
}

.quote-icon {
    position: absolute;
    top: -1rem;
    left: 2rem;
    background: var(--background);
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--primary);
    width: 2.5rem;
    height: 2.5rem;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.75;
    margin: 1.5rem 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.author-image {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.author-info h4 {
    color: var(--text);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--primary);
    font-size: 0.875rem;
    margin: 0;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-arrow {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border);
    color: var(--primary);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slider-arrow i {
    width: 1.5rem;
    height: 1.5rem;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--text-secondary);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.5);
}

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

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav {
        display: none;
    }

    .mobile-nav.active {
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-link {
        color: var(--text-secondary);
        text-decoration: none;
        padding: 0.75rem 0;
        transition: all 0.3s;
    }

    .mobile-nav-link:hover {
        color: var(--text);
        padding-left: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Nitro Boosts Section */
.nitro-boosts-section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.boost-duration-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 4rem;
}

.boost-tab {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.boost-tab:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text);
    border-color: var(--primary);
}

.boost-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.boost-packages {
    transition: opacity 0.3s ease-in-out;
}

.boost-packages.hidden {
    display: none;
}

.boost-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.boost-card .product-header {
    justify-content: center;
    text-align: center;
}

.boost-card .product-header h2 {
    text-align: center;
}

.boost-details {
    text-align: center;
    margin: 2rem 0;
}

.boost-duration {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-align: center;
}

.boost-card .purchase-button {
    margin: 0 auto;
    justify-content: center;
}

/* Checkout Styles */
.checkout-section {
    padding: 8rem 2rem 6rem;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 100vh;
}

.checkout-container {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto;
}

.checkout-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.checkout-header h1 {
    font-size: 1.875rem;
    color: var(--text);
}

.secure-icon {
    color: var(--primary);
    width: 1.5rem;
    height: 1.5rem;
}

.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    color: var(--text-secondary);
}

.progress-step.active {
    color: var(--text);
}

.progress-step.completed .step-indicator {
    background: var(--primary);
    border-color: var(--primary);
}

.step-indicator {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 41, 55, 0.5);
    transition: all 0.3s;
}

.progress-step.active .step-indicator {
    border-color: var(--primary);
    animation: pulse-border 1.5s infinite;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 1rem;
}

.checkout-form {
    display: none;
    margin-bottom: 2rem;
}

.checkout-form.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text);
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.continue-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.continue-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.continue-button:not(:disabled):hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-option {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: rgba(31, 41, 55, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.payment-option.paypal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #ffc439;
    border: none;
}

.paypal-logo {
    height: 26px;
}

.payment-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-secondary);
}

.payment-divider::before,
.payment-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.payment-divider span {
    padding: 0 1rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

#card-element {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: rgba(31, 41, 55, 0.3);
}

#card-errors {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.order-summary {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.summary-toggle {
    display: none;
    width: 100%;
    padding: 1rem;
    background: none;
    border: none;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary-content {
    padding: 1rem 0;
}

.summary-items {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.summary-totals {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.summary-row.total {
    color: var(--text);
    font-weight: 600;
    font-size: 1.125rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.checkout-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.badge i {
    color: var(--primary);
    width: 1.25rem;
    height: 1.25rem;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0.5;
}

.payment-methods img {
    height: 24px;
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 6rem 1rem 2rem;
    }

    .checkout-container {
        padding: 1.5rem;
    }

    .checkout-progress {
        padding: 0;
    }

    .step-indicator {
        width: 2.5rem;
        height: 2.5rem;
    }

    .progress-step span {
        font-size: 0.875rem;
    }

    .summary-toggle {
        display: flex;
    }

    .summary-content {
        display: none;
    }

    .summary-content.active {
        display: block;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}