/* Ooredoo Landing Page Styles */

/* Import Arabic Fonts */
@font-face {
    font-family: 'Rubik';
    src: url('../assets/css/fonts/Rubik-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../assets/css/fonts/Rubik-SemiBold.woff') format('woff');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../assets/css/fonts/Rubik-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

/* Root Variables */
:root {
    --ooredoo-red: #E30613;
    --ooredoo-dark-red: #B30510;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --background: #ffffff;
    --background-light: #f9f9f9;
    --border-color: #e0e0e0;
    --success-color: #4CAF50;
    --shadow: 0 2px 20px rgba(227, 6, 19, 0.1);
    --shadow-hover: 0 4px 30px rgba(227, 6, 19, 0.2);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.lang-switch {
    background: var(--background-light);
    border: 2px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-switch:hover {
    background: var(--ooredoo-red);
    color: white;
    border-color: var(--ooredoo-red);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff 0%, #ffe5e7 100%);
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-title .highlight {
    color: var(--ooredoo-red);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.badge svg {
    flex-shrink: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ooredoo-red);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(227, 6, 19, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    background: var(--ooredoo-dark-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(227, 6, 19, 0.4);
}

.cta-button.large {
    font-size: 1.5rem;
    padding: 22px 50px;
}

.hero-image {
    animation: fadeInLeft 0.8s ease;
    text-align: center;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Amounts Section */
.amounts-section {
    padding: 80px 0;
    background: var(--background);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.amounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.amount-card {
    background: white;
    border: 3px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.amount-card:hover {
    transform: translateY(-5px);
    border-color: var(--ooredoo-red);
    box-shadow: var(--shadow-hover);
}

.amount-card.featured {
    border-color: var(--ooredoo-red);
    background: linear-gradient(135deg, #fff 0%, #ffe5e7 100%);
    box-shadow: var(--shadow);
}

.badge-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--ooredoo-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.amount-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--ooredoo-red);
    margin-bottom: 10px;
}

.amount-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.secondary-cta {
    display: inline-block;
    color: var(--ooredoo-red);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 30px;
    border: 2px solid var(--ooredoo-red);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.secondary-cta:hover {
    background: var(--ooredoo-red);
    color: white;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: var(--background-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--ooredoo-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--ooredoo-red);
    font-weight: 700;
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--ooredoo-red) 0%, var(--ooredoo-dark-red) 100%);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.payment-methods {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-text {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 50px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .cta-button.large {
        font-size: 1.2rem;
        padding: 18px 35px;
    }
    
    .trust-badges {
        gap: 15px;
    }
    
    .badge {
        font-size: 0.85rem;
        padding: 10px 15px;
    }
    
    .amounts-grid {
        grid-template-columns: 1fr;
    }
    
    .amount-value {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.cta-button {
    animation: pulse 2s infinite ease-in-out;
}

.cta-button:hover {
    animation: none;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

