@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

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

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0D0D0D;
    color: #FFFFFF;
    line-height: 1.6;
    font-size: 16px;
}

/* Navigation */
nav {
    padding: 20px 24px;
    border-bottom: 1px solid #252525;
    position: sticky;
    top: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 1;
}

nav a.active {
    opacity: 1;
    font-weight: 600;
}

.language-selector {
    margin-left: auto;
}

.language-select {
    background: #181818;
    border: 1px solid #252525;
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 32px 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFFFFF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 160px;
}

.language-select:hover {
    border-color: #3a3a3a;
    background-color: #252525;
}

.language-select:focus {
    outline: none;
    border-color: #FFFFFF;
}

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

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 120px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1.1;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0E0E0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 20px;
    color: #6B6B6B;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-features {
    max-width: 600px;
    margin: 0 auto 48px;
    text-align: left;
    background: #181818;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #252525;
}

.hero-features p {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-features p:last-child {
    margin-bottom: 0;
}

.hero .cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: #FFFFFF;
    color: #0D0D0D;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.hero .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #FFFFFF;
    line-height: 1.2;
}

.section-header p {
    font-size: 18px;
    color: #6B6B6B;
    font-weight: 400;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 120px;
}

.feature-item {
    padding: 32px;
    background: #181818;
    border: 1px solid #252525;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #3a3a3a;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-number {
    font-size: 14px;
    color: #6B6B6B;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.feature-item p {
    font-size: 16px;
    color: #6B6B6B;
    line-height: 1.6;
    font-weight: 400;
}

/* Pricing Section */
.pricing-section {
    margin-bottom: 120px;
}

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

.pricing-card {
    background: #181818;
    border: 1px solid #252525;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: #3a3a3a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 16px;
    right: 16px;
    background: #FFFFFF;
    color: #0D0D0D;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-plan-name {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 14px;
    color: #6B6B6B;
    margin-bottom: 24px;
}

.pricing-savings {
    font-size: 14px;
    color: #00D26A;
    margin-bottom: 24px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: auto;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 14px;
    color: #6B6B6B;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00D26A;
    font-weight: 600;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #FFFFFF;
    color: #0D0D0D;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.pricing-button:hover {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    opacity: 0.95;
}

.pricing-button.secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid #252525;
}

.pricing-button.secondary:hover {
    background: #252525;
    border-color: #3a3a3a;
    opacity: 1;
}

/* How to Install */
.install-steps {
    max-width: 800px;
    margin: 0 auto 120px;
}

.install-step {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.install-step-number {
    font-size: 14px;
    color: #6B6B6B;
    font-weight: 600;
    min-width: 50px;
    letter-spacing: 0.5px;
}

.install-step-content {
    flex: 1;
    background: #181818;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #252525;
}

.install-step-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.install-step-content p {
    font-size: 16px;
    color: #6B6B6B;
    line-height: 1.6;
    font-weight: 400;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 40px 0;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    background: #FFFFFF;
    border: none;
    color: #000000;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 220px;
    max-width: 280px;
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    text-align: center;
    flex: 0 0 auto;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.store-badge-text-small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #000000;
    margin-bottom: 4px;
    line-height: 1.2;
    text-transform: uppercase;
}

.store-badge-text-large {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

.app-store-button,
.play-store-button {
    background: #FFFFFF;
    color: #000000;
}

.app-store-button:hover,
.play-store-button:hover {
    background: #F5F5F5;
    color: #000000;
}

/* RTL Support for Arabic */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .hero h1,
[dir="rtl"] .section-header h2,
[dir="rtl"] .feature-item h3,
[dir="rtl"] .install-step-content h3 {
    text-align: right;
}

[dir="rtl"] .hero-features {
    text-align: right;
}

[dir="rtl"] .pricing-features li {
    padding-right: 24px;
    padding-left: 0;
}

[dir="rtl"] .pricing-features li::before {
    right: 0;
    left: auto;
}

[dir="rtl"] .footer-main {
    direction: rtl;
}

[dir="rtl"] .footer-section {
    text-align: right;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 24px;
    margin: 80px 0;
    padding: 48px 40px;
    background: #181818;
    border-radius: 12px;
    border: 1px solid #252525;
}

.trust-badge {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.03);
}

.trust-badge-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-badge-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.trust-badge-title {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.trust-badge-desc {
    font-size: 13px;
    color: #6B6B6B;
    line-height: 1.4;
}

/* Footer */
footer {
    margin-top: 120px;
    padding: 0;
    border-top: 1px solid #252525;
    background: #0D0D0D;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 40px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 32px;
    padding-bottom: 32px;
    border-top: 1px solid #252525;
}

.footer-links a {
    color: #6B6B6B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-divider {
    color: #252525;
    font-size: 14px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-section h4 {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-company-name {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-duns,
.footer-address {
    color: #6B6B6B;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-contact-item {
    margin-bottom: 12px;
}

.footer-contact-item a {
    color: #6B6B6B;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-contact-item a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
}

.copyright {
    color: #6B6B6B;
    font-size: 12px;
    margin: 0;
}

/* Text Styles */
h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: #FFFFFF;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #FFFFFF;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #FFFFFF;
}

p {
    font-size: 16px;
    color: #6B6B6B;
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 400;
}

.subtle {
    color: #6B6B6B;
    font-size: 14px;
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 42px;
    margin-bottom: 16px;
}

.legal-content .last-updated {
    font-size: 16px;
    color: #6B6B6B;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid #252525;
}

.legal-content h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.legal-content h3 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.legal-content ul {
    list-style: none;
    padding-left: 0;
    margin: 24px 0;
}

.legal-content ul li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: #6B6B6B;
    line-height: 1.6;
}

.legal-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FFFFFF;
}

.legal-content a {
    color: #FFFFFF;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.legal-content a:hover {
    opacity: 0.7;
}

.legal-content strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        gap: 16px;
    }
    
    .language-selector {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .container {
        padding: 60px 16px;
    }
    
    .hero-features {
        padding: 24px;
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
        padding: 32px 24px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .download-button {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .pricing-price {
        font-size: 28px;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        gap: 28px;
    }
    
    .download-button {
        padding: 16px 24px;
        height: 70px;
        min-width: 200px;
    }
    
    .store-badge-text-small {
        font-size: 11px;
    }
    
    .store-badge-text-large {
        font-size: 18px;
    }
}
