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

:root {
    --primary-color: #007AFF;
    --primary-dark: #0051D5;
    --secondary-color: #34C759;
    --text-dark: #1d1d1f;
    --text-gray: #6e6e73;
    --bg-light: #f5f5f7;
    --bg-white: #ffffff;
    --border-color: #d2d2d7;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    direction: rtl;
}

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

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-login {
    padding: 8px 20px;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn-login:hover {
    background: var(--bg-light);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

.btn-primary.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 12px 28px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--text-dark);
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
    gap: 16px;
}

.mobile-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0;
}

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

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.highlight {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    margin-bottom: 60px;
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-gray);
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

.hero-image {
    display: none;
}

.mockup {
    position: relative;
    max-width: 500px;
}

.mockup-browser {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.browser-bar {
    background: #f5f5f7;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d2d2d7;
}

.browser-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lead-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    animation: slideIn 0.5s ease;
}

.lead-icon {
    font-size: 24px;
}

.lead-info {
    flex: 1;
}

.lead-info strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.lead-info small {
    color: var(--text-gray);
    font-size: 14px;
}

.lead-badge {
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

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

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 20px;
    color: var(--text-gray);
}

/* Features Section */
.features {
    background: var(--bg-white);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.feature-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    color: white;
}

.feature-card.featured h3,
.feature-card.featured p {
    color: white;
}

.feature-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: white;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    background: var(--bg-light);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-gray);
    line-height: 1.6;
}

.step-arrow {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 800;
}

/* Pricing */
.pricing {
    background: var(--bg-white);
}

.pricing-notice {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--text-dark);
    padding: 16px 32px;
    border-radius: 12px;
    text-align: center;
    margin-top: 24px;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.3);
}

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

.price-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.price-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.price-card.popular {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -16px;
    right: 50%;
    transform: translateX(50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.price-card h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.price {
    margin-bottom: 32px;
}

.old-price {
    font-size: 32px;
    color: var(--text-gray);
    text-decoration: line-through;
    display: block;
    margin-bottom: 8px;
}

.new-price {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.price-period {
    display: block;
    color: var(--text-gray);
    margin-top: 8px;
    font-size: 14px;
}

.features-list {
    list-style: none;
    text-align: right;
    margin-bottom: 32px;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: 16px;
}

.features-list li:last-child {
    border-bottom: none;
}

.note {
    display: block;
    margin-top: 16px;
    color: var(--text-gray);
    font-size: 13px;
}

.pricing-footer {
    text-align: center;
    margin-top: 48px;
    color: var(--text-gray);
    font-size: 14px;
}

/* FAQ */
.faq {
    background: var(--bg-light);
}

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

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

.faq-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

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

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

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

.faq-answer p {
    padding: 0 32px 24px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
    transform: scale(1.05);
}

.cta-section .cta-note {
    color: white;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col a,
.footer-col p {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: white;
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlide 0.4s ease;
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.popup-close:hover {
    color: var(--text-dark);
}

.popup-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
    text-align: center;
}

.popup-content p {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 32px;
    font-size: 16px;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popup-form input {
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    direction: ltr;
    text-align: center;
    transition: border-color 0.3s;
}

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

.popup-success {
    display: none;
    text-align: center;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 16px;
}

.popup-success.show {
    display: block;
}

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

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
    }

    .stat {
        flex: 1;
        min-width: 120px;
    }

    .section-header h2 {
        font-size: 32px;
    }

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

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

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

    .price-card.popular {
        transform: none;
    }

    .popup-content {
        padding: 32px 24px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 80px;
    }

    .hero-image {
        display: block;
    }
}
