/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-blue {
    color: #2563eb;
}

.text-center {
    text-align: center;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-small {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: white;
    color: #1a1a1a;
    border: 2px solid #e5e7eb;
}

.btn-outline:hover {
    border-color: #9ca3af;
}

.btn-white {
    background: white;
    color: #2563eb;
}

.btn-white:hover {
    background: #f3f4f6;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f3f4f6;
    z-index: 1000;
}

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

.nav-logo svg {
    height: 32px;
    width: auto;
}

.logo-svg .text-blue {
    fill: #2563eb;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: #4b5563;
    cursor: pointer;
    font-size: 0.875rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    left: 0;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    top: 8px;
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #f3f4f6;
    padding: 1rem 1.5rem;
}

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

.mobile-link {
    display: block;
    padding: 0.75rem 0;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: #1a1a1a;
}

/* Hero Section */
.hero-section {
    padding: 8rem 1.5rem 5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Stats Section */
.stats-section {
    padding: 2rem 1.5rem;
    background: white;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Referral Banner */
.referral-section {
    padding: 5rem 1.5rem;
}

.referral-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    border-radius: 2rem;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.referral-banner::before,
.referral-banner::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.referral-banner::before {
    background: #dbeafe;
    top: -100px;
    right: -100px;
}

.referral-banner::after {
    background: #e0e7ff;
    bottom: -100px;
    left: -100px;
}

.referral-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.referral-badge svg {
    color: #2563eb;
}

.referral-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.referral-text {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

/* Features Section */
.features-section {
    padding: 5rem 1.5rem;
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 8rem;
}

.feature-grid.reverse {
    direction: rtl;
}

.feature-grid.reverse > * {
    direction: ltr;
}

.feature-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-text {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.feature-image img {
    width: 100%;
    height: auto;
}

.feature-center {
    text-align: center;
    margin-bottom: 8rem;
}

.card-showcase {
    position: relative;
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.phone-img {
    width: 300px;
    height: auto;
    z-index: 10;
}

.payment-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.payment-badges img {
    height: 48px;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 1.5rem;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    border: 2px solid #f3f4f6;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.3s;
}

.benefit-card:hover .benefit-icon {
    background: #dbeafe;
}

.benefit-icon img {
    width: 40px;
    height: 40px;
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.benefit-text {
    color: #6b7280;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 1.5rem;
    background: #f9fafb;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 2px solid #f3f4f6;
    border-radius: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    transition: transform 0.3s;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: #6b7280;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: white;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.125rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-image img {
    width: 100%;
    height: auto;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 1.5rem 2rem;
}

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

.footer-logo svg {
    height: 26px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo .text-blue {
    fill: #2563eb;
}

.footer-text {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
}

.modal-overlay.active {
    display: block;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2001;
}

.modal.active {
    display: block;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.modal-progress {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #9ca3af;
}

.progress-step.active {
    background: #10b981;
    color: white;
}

.progress-step.completed {
    background: #10b981;
    color: white;
}

.modal-label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-item:hover {
    border-color: #2563eb;
}

.radio-item input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #2563eb;
}

.network-icon {
    width: 32px;
    height: 32px;
}

.modal-buttons {
    display: flex;
    gap: 0.75rem;
}

.modal-buttons .btn {
    flex: 1;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #111827;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(200%);
    transition: transform 0.3s ease;
    z-index: 3000;
}

.toast.show {
    transform: translateY(0);
}

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

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

    .hero-section {
        padding: 6rem 1rem 3rem;
    }

    .hero-grid,
    .feature-grid,
    .cta-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid {
        justify-content: center;
    }

    .referral-banner {
        padding: 2rem 1.5rem;
    }

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

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

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

    .modal {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .referral-title,
    .feature-title,
    .section-title,
    .cta-title {
        font-size: 1.75rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}