:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --accent: #a78bfa;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --border: #27272a;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-dark);
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
        var(--bg-dark);
    z-index: -1;
}

/* Hero Section Background */
.hero::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url('image1.png') center/cover no-repeat;
    border-radius: 20px;
    z-index: -1;
    opacity: 1;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.logo:hover {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
    position: relative;
}

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

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 5% 6rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    cursor: pointer;
    color: #7c3aed;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #ffffff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
    font-weight: 500;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--border);
}

.cta-button.secondary:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 5%;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.testimonial-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* CTA Section */
.final-cta {
    text-align: center;
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

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

/* Pricing Section (for Paymenter pages) */
.pricing {
    padding: 5rem 5% 4rem;
    background: rgba(15, 15, 15, 0.95);
    min-height: 80vh;
}

.pricing h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 800;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    background: rgba(40, 40, 40, 0.95);
}

.badge {
    background: var(--primary);
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
    cursor: pointer;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    cursor: pointer;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem 0;
    color: var(--text-primary);
}

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

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #333;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.features-list li:before {
    content: "✓ ";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.select-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #222;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    margin-top: 1rem;
}

.select-button:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

/* My Servers Section */
.my-servers {
    padding: 5rem 5% 4rem;
    min-height: 80vh;
}

.my-servers h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    cursor: pointer;
    font-weight: 800;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.server-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
}

.server-card:hover {
    border-color: var(--primary);
}

.server-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.server-card p {
    color: var(--text-secondary);
}

/* Checkout Section */
.checkout-section {
    padding: 5rem 5% 4rem;
    min-height: 80vh;
    max-width: 900px;
    margin: 0 auto;
}

.checkout-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    font-weight: 800;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.checkout-info, .checkout-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.checkout-info h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.checkout-info p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.checkout-form h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.checkout-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.checkout-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.back-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: #333;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    display: block;
    text-align: center;
    max-width: 200px;
    margin: 2rem auto 0;
}

.back-button:hover {
    background: #444;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 5%;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

footer p {
    margin: 0.5rem 0;
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .pricing h2 {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

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

    .final-cta h2 {
        font-size: 2rem;
    }

    .checkout-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}