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

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    background: url('bg.jpg') center/cover no-repeat;
    height: 100vh;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #666;
}

.lang-btn.active {
    background: #ff6b6b;
    color: white;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

/* Header */
.header {
    text-align: center;
    margin: 0 0 20px 0;
}

.logo-container {
    display: inline-block;
    background: rgba(248, 248, 248, 0.8);
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo {
    height: 60px;
    max-width: 200px;
}

.logo-big {
    height: 120px;
    max-width: 400px;
    width: 100%;
    object-fit: contain;
}

/* Featured Logo Section */
.featured-logo {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 900px;
    width: 100%;
    position: relative;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.4;
}

/* Coupon Section */
.coupon-section {
    margin: 20px 0;
}

.coupon-box {
    background: rgba(255, 255, 255, 0.8);
    border: 3px dashed #ff6b35;
    border-radius: 15px;
    padding: 25px;
    margin: 20px auto;
    color: #333;
    position: relative;
    max-width: 450px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(5px);
}

.coupon-code {
    text-align: center;
    margin-bottom: 20px;
}

.code-text {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ff6b35;
    font-weight: 600;
}

.code-value {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #1a1a1a;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.copy-btn {
    background: #1a1a1a;
    border: 2px solid #1a1a1a;
    color: white;
    padding: 18px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 20px 15px 20px;
    width: calc(100% - 40px);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.copy-btn:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.3);
}

.copy-btn:active {
    transform: translateY(-1px);
}

.coupon-details {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 15px 0;
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.detail-item {
    display: block;
    margin-bottom: 8px;
    color: #ff6b35;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    display: none;
}

.cta-btn {
    background: #1a1a1a;
    color: white;
    border: 2px solid #1a1a1a;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 20px;
    width: calc(100% - 40px);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.3);
}

.cta-btn:active {
    transform: translateY(-1px);
}

.benefits {
    margin-top: 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    text-align: center;
}

.benefits-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 20px;
    padding: 15px 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

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

.copyright {
    font-size: 0.9rem;
    margin: 0;
}

/* RTL Support */
[dir="rtl"] .language-switcher {
    right: auto;
    left: 20px;
}

[dir="rtl"] .benefits {
    border-left: none;
    border-right: 5px solid #4ecdc4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding: 30px 20px;
        margin: 10px 0;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .coupon-box {
        padding: 20px 15px;
    }
    
    .code-value {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .copy-btn, .cta-btn {
        padding: 16px 25px;
        font-size: 1.1rem;
        margin: 0 15px 12px 15px;
        width: calc(100% - 30px);
    }
    
    .logo {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
    }
    
    .code-value {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .copy-btn, .cta-btn {
        padding: 14px 20px;
        font-size: 1rem;
        margin: 0 10px 10px 10px;
        width: calc(100% - 20px);
    }
    
    .detail-item {
        font-size: 0.9rem;
    }
    
    .hero-section {
        padding: 25px 15px;
    }
    
    .logo {
        height: 40px;
    }
}

/* Animation for page load */
.hero-section {
    animation: slideUp 0.8s ease-out;
}

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

/* Success animation for copy button */
.copy-btn.copied {
    background: #28a745;
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
