:root {
    --primary-color: #00d2b4;
    /* Teal inspired by logo */
    --hover-color: #00a890;
    --bg-color: #050505;
    /* Deep black */
    --card-bg: #121212;
    --text-color: #ffffff;
    --text-muted: #b3b3b3;
    --font-main: 'Cairo', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.2;
    top: -50px;
    right: -50px;
    border-radius: 50%;
}

.hero-content {
    z-index: 1;
}

.logo {
    max-width: 150px;
    margin-bottom: 2rem;
    border-radius: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 210, 180, 0.3);
}

.cta-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 210, 180, 0.4);
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
    /* Vertically align cards if heights differ */
}

.pricing-card {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}

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

.pricing-card.popular {
    border-color: var(--primary-color);
    background: linear-gradient(145deg, #121212, #1a1e1d);
    transform: scale(1.05);
    /* Slightly larger */
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #000;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.card-header h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.currency {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.features {
    list-style: none;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.features li {
    margin-bottom: 1rem;
}

.select-plan {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.popular .select-plan,
.pricing-card:hover .select-plan {
    background-color: var(--primary-color);
    color: #000;
}

/* Download Section */
.download-app {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(to top, #121212, #000000);
}

.download-app h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-app p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    background-color: #000;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 10px 25px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    min-width: 180px;
}

.store-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.store-btn i {
    font-size: 2rem;
    margin-left: 15px;
    /* RTL margin */
}

.btn-text {
    text-align: left;
    /* Keep english store text left-aligned even in RTL */
    display: flex;
    flex-direction: column;
}

.btn-text small {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.btn-text span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 2rem 0;
    background-color: #050505;
    border-top: 1px solid #1a1a1a;
    color: #555;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.developer-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.made-with-love {
    font-size: 0.9rem;
    text-transform: lowercase;
}

.developer-logo {
    height: 25px;
    /* Adjust size as needed */
    vertical-align: middle;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.developer-logo:hover {
    opacity: 1;
}

.copyright {
    font-size: 0.9rem;
}

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

    .pricing-card.popular {
        transform: scale(1);
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}