/* يسر - تطبيق تحليل النماذج والعملات */
/* iOS Theme - Matching App Design */

/* إعادة تعيين أساسية */
.yasir-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.yasir-page {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Segoe UI', 'Cairo', 'Tajawal', 'Arial', sans-serif;
    background: #000000; /* Pure Black - matching iOS app */
    color: #FFFFFF; /* Pure White - matching iOS app */
    line-height: 1.6;
    direction: rtl;
    min-height: 100vh;
}

/* Header */
.yasir-header {
    text-align: center;
    padding: 100px 20px 50px;
    animation: fadeInDown 1s ease-in-out;
    background: linear-gradient(180deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
}

.yasir-title {
    font-size: 4em;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(0, 122, 255, 0.5);
    font-weight: 700;
    letter-spacing: 2px;
    color: #007AFF; /* iOS Blue */
}

.yasir-tagline {
    font-size: 1.4em;
    opacity: 0.9;
    margin-bottom: 30px;
    font-weight: 400;
    color: #8E8E93; /* iOS Secondary Text */
}

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

/* Hero Section */
.yasir-hero {
    text-align: center;
    padding: 50px 30px;
    background: #1C1C1E; /* iOS Dark Surface */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 80px;
    animation: fadeIn 1.5s ease-in-out;
    border: 0.5px solid rgba(142, 142, 147, 0.2); /* iOS border style */
}

.yasir-hero h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    font-weight: 600;
}

.yasir-hero p {
    font-size: 1.3em;
    line-height: 1.9;
    max-width: 850px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.yasir-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.yasir-btn {
    padding: 16px 45px;
    font-size: 17px; /* iOS button text size */
    border: none;
    border-radius: 16px; /* iOS rounded corners */
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.yasir-btn-primary {
    background: #007AFF; /* iOS Blue */
    color: #FFFFFF;
    box-shadow: none; /* iOS style - no elevation */
}

.yasir-btn-primary:hover {
    background: #0A84FF; /* Lighter iOS Blue */
    transform: translateY(-2px);
}

.yasir-btn-secondary {
    background: transparent;
    color: #007AFF; /* iOS Blue */
    border: 1.5px solid #007AFF;
}

.yasir-btn-secondary:hover {
    background: rgba(0, 122, 255, 0.1);
    transform: translateY(-2px);
}

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

.yasir-feature-card {
    background: #1C1C1E; /* iOS Dark Surface */
    backdrop-filter: blur(10px);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 0.5px solid rgba(142, 142, 147, 0.2); /* iOS border style */
    position: relative;
    overflow: hidden;
}

.yasir-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007AFF, #0A84FF); /* iOS Blue gradient */
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.yasir-feature-card:hover::before {
    transform: scaleX(1);
}

.yasir-feature-card:hover {
    transform: translateY(-8px);
    background: #2C2C2E; /* iOS Card Background */
    border-color: rgba(0, 122, 255, 0.4);
}

.yasir-feature-icon {
    font-size: 3.5em;
    margin-bottom: 25px;
    display: block;
    font-weight: 300;
}

.yasir-feature-card h3 {
    font-size: 2em;
    margin-bottom: 18px;
    font-weight: 600;
}

.yasir-feature-card p {
    font-size: 1.1em;
    line-height: 1.8;
    opacity: 0.95;
    font-weight: 300;
}

/* Section Title */
.yasir-section-title {
    text-align: center;
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.yasir-section-subtitle {
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 50px;
    opacity: 0.9;
    font-weight: 300;
}

/* Accessibility Section */
.yasir-accessibility {
    background: #1C1C1E; /* iOS Dark Surface */
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 80px;
    border: 0.5px solid rgba(142, 142, 147, 0.2);
}

.yasir-accessibility-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    text-align: right;
}

.yasir-accessibility-item {
    background: #2C2C2E; /* iOS Card Background */
    padding: 30px 25px;
    border-radius: 16px; /* iOS rounded corners */
    transition: all 0.3s ease;
    border: 0.5px solid rgba(142, 142, 147, 0.2);
}

.yasir-accessibility-item:hover {
    background: rgba(0, 122, 255, 0.1);
    transform: scale(1.03);
    border-color: rgba(0, 122, 255, 0.4);
}

.yasir-accessibility-item strong {
    display: block;
    font-size: 1.4em;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
}

.yasir-accessibility-item p {
    font-size: 1.05em;
    line-height: 1.7;
    font-weight: 300;
}

/* Countries Section */
.yasir-countries {
    background: #1C1C1E; /* iOS Dark Surface */
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 80px;
    border: 0.5px solid rgba(142, 142, 147, 0.2);
}

.yasir-countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.yasir-country-card {
    background: #2C2C2E; /* iOS Card Background */
    padding: 30px 20px;
    border-radius: 16px; /* iOS rounded corners */
    transition: all 0.3s ease;
    text-align: center;
    border: 0.5px solid rgba(142, 142, 147, 0.2);
}

.yasir-country-card:hover {
    background: rgba(0, 122, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(0, 122, 255, 0.4);
}

.yasir-country-flag {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.yasir-country-card strong {
    display: block;
    font-size: 1.3em;
    margin-bottom: 8px;
    font-weight: 600;
}

.yasir-country-card p {
    font-size: 1em;
    opacity: 0.9;
    font-weight: 300;
}

/* Footer */
.yasir-footer {
    text-align: center;
    padding: 50px 20px;
    background: #1C1C1E; /* iOS Dark Surface */
    margin-top: 80px;
    border-top: 0.5px solid rgba(142, 142, 147, 0.2);
}

.yasir-footer p {
    margin: 12px 0;
    opacity: 0.95;
    font-size: 1.05em;
    color: #FFFFFF;
}

.yasir-footer a {
    color: #007AFF; /* iOS Blue */
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 122, 255, 0.5);
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.yasir-footer a:hover {
    border-bottom-color: #0A84FF;
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .yasir-title {
        font-size: 2.8em;
    }
    
    .yasir-hero h2 {
        font-size: 1.8em;
    }
    
    .yasir-hero p {
        font-size: 1.1em;
    }
    
    .yasir-feature-card {
        padding: 35px 25px;
    }
    
    .yasir-cta-buttons {
        flex-direction: column;
    }
    
    .yasir-btn {
        width: 100%;
    }
    
    .yasir-section-title {
        font-size: 2.2em;
    }
}

/* Privacy Page Styles */
.yasir-privacy {
    background: #000000; /* Pure Black - iOS style */
    padding: 40px 20px;
    min-height: 100vh;
}

.yasir-privacy-container {
    max-width: 950px;
    margin: 0 auto;
    background: #1C1C1E; /* iOS Dark Surface */
    padding: 60px 50px;
    border-radius: 20px; /* iOS rounded corners */
    border: 0.5px solid rgba(142, 142, 147, 0.2);
    color: #FFFFFF; /* Pure White */
    direction: rtl;
    text-align: right;
}

.yasir-privacy-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #007AFF; /* iOS Blue */
}

.yasir-privacy h1 {
    color: #007AFF; /* iOS Blue */
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.yasir-privacy-date {
    color: #8E8E93; /* iOS Secondary Text */
    font-size: 1em;
    font-style: italic;
    font-weight: 300;
}

.yasir-privacy h2 {
    color: #0A84FF; /* Lighter iOS Blue */
    margin-top: 45px;
    margin-bottom: 20px;
    font-size: 2em;
    border-right: 3px solid #007AFF; /* iOS Blue */
    padding-right: 20px;
    font-weight: 600;
    text-align: right;
}

.yasir-privacy p {
    margin-bottom: 18px;
    text-align: right;
    line-height: 1.9;
    font-size: 1.05em;
    color: #FFFFFF; /* Pure White */
    direction: rtl;
}

.yasir-privacy ul {
    margin: 20px 0;
    padding-right: 35px;
    text-align: right;
    direction: rtl;
    list-style-position: inside;
}

.yasir-privacy li {
    margin: 15px 0;
    line-height: 1.8;
    font-size: 1.05em;
    text-align: right;
}

.yasir-privacy strong {
    color: #007AFF; /* iOS Blue */
    font-weight: 600;
}

.yasir-highlight-box {
    background: #2C2C2E; /* iOS Card Background */
    border-right: 3px solid #007AFF; /* iOS Blue */
    padding: 30px;
    margin: 30px 0;
    border-radius: 16px; /* iOS rounded corners */
    border: 0.5px solid rgba(142, 142, 147, 0.2);
    text-align: right;
    direction: rtl;
}

.yasir-highlight-box ul {
    padding-right: 25px;
}

.yasir-contact-box {
    background: #2C2C2E; /* iOS Card Background */
    color: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    margin-top: 50px;
    text-align: center;
    border: 0.5px solid rgba(0, 122, 255, 0.3);
}

.yasir-contact-box h2 {
    color: #007AFF !important; /* iOS Blue */
    border: none !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.yasir-contact-box p {
    color: #FFFFFF;
    font-size: 1.1em;
    text-align: center;
}

.yasir-contact-box a {
    color: #007AFF; /* iOS Blue */
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 122, 255, 0.5);
    font-weight: 600;
    transition: all 0.3s ease;
}

.yasir-contact-box a:hover {
    border-bottom-color: #0A84FF;
    color: #0A84FF;
}

.yasir-back-link {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 40px;
    background: #007AFF; /* iOS Blue */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 16px; /* iOS rounded corners */
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 17px; /* iOS button text size */
}

.yasir-back-link:hover {
    background: #0A84FF; /* Lighter iOS Blue */
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .yasir-privacy-container {
        padding: 40px 25px;
    }
    
    .yasir-privacy h1 {
        font-size: 2.2em;
    }
    
    .yasir-privacy h2 {
        font-size: 1.6em;
    }
}