:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #10b981;
    --background: #f9fafb;
    --card-background: #ffffff;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
    background: var(--card-background);
    padding: 5px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.lang-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: var(--background);
}

.lang-btn.active {
    background: var(--gradient);
    color: white;
}

/* Email Contact */
.email-contact {
    position: fixed;
    top: 80px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-background);
    padding: 10px 16px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    transition: all 0.3s;
}

.email-contact:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.email-icon {
    font-size: 18px;
    line-height: 1;
}

.email-text {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.email-contact:hover .email-text {
    color: var(--primary-color);
}

/* Responsive: Hide email text on small screens */
@media (max-width: 640px) {
    .email-text {
        display: none;
    }

    .email-contact {
        padding: 10px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    padding: 60px 0 40px;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
}

header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 80px;
}

.hero h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature {
    background: var(--card-background);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
}

/* Pricing Card */
.pricing-card {
    background: var(--card-background);
    border-radius: 24px;
    padding: 50px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 30px;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-right: 5px;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.period {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-left: 10px;
}

.benefits {
    list-style: none;
    margin-bottom: 40px;
}

.benefits li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.05rem;
}

.benefits li:last-child {
    border-bottom: none;
}

/* CTA Button */
.cta-button {
    width: 100%;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.cta-button:hover::before {
    transform: translateX(0);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.guarantee {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    max-width: 800px;
    margin: 0 auto 60px;
}

.faq h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.faq-item {
    background: var(--card-background);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.contact {
    margin-top: 10px;
    font-size: 0.95rem;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: white;
    margin-top: 20px;
    font-size: 1.1rem;
}

/* Success Page Styles */
.success-container {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.success-icon svg {
    width: 50px;
    height: 50px;
    stroke: white;
    stroke-width: 3;
}

.code-display {
    background: var(--card-background);
    border-radius: 16px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--success-color);
}

.code-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.invite-code {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
}

.copy-button {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.copy-button.copied {
    background: var(--success-color);
}

/* Info Sections */
.info-section {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 40px;
    background: var(--card-background);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
}

.info-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.benefit-list {
    list-style: none;
    margin-top: 20px;
}

.benefit-list li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: var(--background);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefit-list li strong {
    color: var(--text-primary);
}

/* Steps Section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 40px 20px;
}

.testimonials h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.rating {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial .author {
    color: var(--text-primary);
    font-weight: 600;
    font-style: normal;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .pricing-card {
        padding: 30px;
    }

    .amount {
        font-size: 3rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .info-section {
        padding: 25px;
    }

    .info-section h2 {
        font-size: 1.6rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}