/* CSS Variables */
:root {
    --primary: #2c3e50;
    --primary-dark: #1e2b38;
    --secondary: #3498db;
    --secondary-dark: #2980b9;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    direction: rtl;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__list a {
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
}

.nav__list a:hover {
    color: var(--secondary);
}

.header__actions {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.hero__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero__content {
    flex: 1;
}

.hero__title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.trust-badge {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__image {
    flex: 1;
    text-align: center;
}

.hero__image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Stats Bar */
.stats {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 0;
}

.stats__grid {
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
}

.stat-label {
    font-size: 1rem;
}

/* Steps Section */
.steps {
    padding: 4rem 0;
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 2rem;
}

.step-card h3 {
    margin-bottom: 0.5rem;
}

/* Features Section */
.features {
    background: var(--light);
    padding: 4rem 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.toggle-btn {
    padding: 10px 20px;
    border: none;
    background: var(--light);
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition);
}

.toggle-btn.active {
    background: var(--primary);
    color: var(--white);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.plan-card.popular {
    border: 2px solid var(--secondary);
    transform: scale(1.05);
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
}

.plan-price span {
    font-size: 1rem;
    font-weight: normal;
}

.plan-features {
    list-style: none;
    margin: 1rem 0;
    text-align: right;
}

.plan-features li {
    margin: 0.5rem 0;
}

/* Testimonials */
.testimonials {
    background: var(--light);
    padding: 4rem 0;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
}

/* FAQ */
.faq {
    padding: 4rem 0;
}

.faq__item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq__item.active .faq-answer {
    max-height: 500px;
    padding: 0 1rem 1rem;
}

.faq__item.active .faq-question i {
    transform: rotate(180deg);
}

/* CTA Banner */
.cta-banner {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

.cta-banner .btn {
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 3rem 0 1rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__col h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer__col ul {
    list-style: none;
}

.footer__col a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.footer__col a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.app-badges img {
    height: 40px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-size: 1rem;
}

textarea.form-control {
    resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        padding: 1rem;
    }
    .nav.active {
        display: block;
    }
    .nav__list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .header__actions {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero__title {
        font-size: 2rem;
    }
    .hero__inner {
        flex-direction: column;
        text-align: center;
    }
    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    .stats__grid {
        flex-direction: column;
    }
    .plan-card.popular {
        transform: none;
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}