@font-face {
    font-family: 'Tajawal';
    src: url('tajawal-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #1c2170;
    /* رمضاني أخضر داكن */
    --secondary-color: #D4AF37;
    /* ذهبي رمضاني */
    --accent-blue: #1e5180;
    /* أخضر فاتح */
    --dark-bg: #1B4332;
    /* أخضر داكن للخلفيات */
    --light-bg: #F8F6F0;
    /* بيج فاتح */
    --text-color: #2C2C2C;
    --white: #FFFFFF;
    --whatsapp-color: #29ac59;
    --border-radius: 12px;
}

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

html,
body {
    height: 100%;
    width: 100%;
    font-family: 'Tajawal', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.4;
    overflow-x: hidden;
    /* Only hide horizontal scroll */
}

/* Main Layout */
.landing-page {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
}

/* Top bar */
.top-header {
    background: #405b82;
    color: var(--secondary-color);
    text-align: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(27, 67, 50, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    min-height: 100px;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
    position: absolute;
    right: 15px;
}

.logo-link:hover {
    transform: scale(1.05);
}

.header-logo {

    width: auto;
    display: block;
}

@media (min-width: 768px) {
    .top-header {
        min-height: 90px;
    }

    .logo-link {
        right: 50px;
    }

    .header-logo {
        height: 65px;

    }
}

/* Main Content Wrapper */
/* Main Content Wrapper */
.main-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    justify-content: center;
}

/* Mobile (Default) Stacked Layout */
.info-column {
    display: contents;
    /* Allows children to be reordered with siblings */
}

.hero-text {
    text-align: center;
    order: 1;
    /* First: Text */
}

.video-section {
    width: 100%;
    flex-grow: 1;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    /* Second: Video (Middle) */
}

.actions-section {
    text-align: center;
    order: 3;
    /* Third: Buttons */
}

/* Desktop Side-by-Side Layout */
@media (min-width: 768px) {
    .main-content-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: right;
    }

    .info-column {
        display: flex;
        /* Restore block/flex behavior */
        flex: 1;
        max-width: 45%;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        order: 1;
    }

    .hero-text {
        text-align: right;
        margin-bottom: 0;
        order: unset;
        /* Reset order inside container */
    }

    .actions-section {
        text-align: right;
        order: unset;
        /* Reset order inside container */
    }

    .video-section {
        flex: 1;
        max-width: 55%;
        height: 85vh;
        max-height: 700px;
        order: 2;
    }

    .secondary-actions {
        justify-content: flex-start;
    }
}

/* Typography & Components */
.main-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    contain: layout style paint;
}

@media (min-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
}

.highlight {
    color: var(--primary-color);
}

.sub-title {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.offer-minimal {
    display: inline-block;
    background: linear-gradient(135deg, #FFFEF7 0%, #FFF9E6 100%);
    border: 2px solid var(--secondary-color);
    padding: 15px 22px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.highlight-gold {
    font-weight: bold;
    color: var(--secondary-color);
}

/* Video Container */
.video-container {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222;
}

.play-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: relative;
    backdrop-filter: blur(5px);
}

.play-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid white;
}

/* Buttons */
.cta-button {
    display: none;
    /* مخفي - نستخدم الزرارين فقط */
}

.secondary-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    max-width: 400px;
    width: 100%;
}

.btn {
    flex: 1;
    padding: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    filter: brightness(0) invert(1);
}

.btn-direct {
    background: linear-gradient(135deg, #405b82 0%, #4a6a94 100%);
    color: white;
    border-color: transparent;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(64, 91, 130, 0.3);
}

.btn-direct:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(64, 91, 130, 0.4);
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: white;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1b9c4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.urgency-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #C41E3A;
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE8E8 100%);
    border-right: 4px solid #C41E3A;
    border-radius: 6px;
    max-width: 400px;
}

.free-shipping {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #F0FFF4 0%, #E6F9EC 100%);
    border-right: 4px solid var(--secondary-color);
    border-radius: 6px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.free-shipping::before {
    content: '●';
    font-size: 1.3rem;
    color: var(--secondary-color);
}

/* Footer */
.trust-footer {
    background: #405b82;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
    color: #FFFFFF;
    flex-shrink: 0;
    font-weight: 500;
    height: 75px;
}

.footer-logo {
    height: 50px;
    width: auto;
    order: 2;
}

.footer-logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
    order: 2;
}

.footer-logo-link:hover {
    transform: scale(1.05);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    order: 1;
}

@media (min-width: 768px) {
    .trust-footer {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 20px 40px;
    }

    .footer-logo-link {
        position: absolute;
        right: 40px;
        order: unset;
    }

    .footer-logo {
        height: 55px;
    }

    .trust-items {
        flex-wrap: nowrap;
        order: unset;
    }
}

.trust-item::before {
    content: '✦';
    color: var(--secondary-color);
    margin-left: 8px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .header-logo {
        height: 45px;
    }

    .logo-link {
        right: 10px;
    }

    .top-header {
        padding: 15px 10px;
    }

    .badge {
        font-size: 0.95rem;
        max-width: 60%;
    }

    .secondary-actions {
        justify-content: center;
        margin: auto;
    }

    p.urgency-text {
        margin-right: auto;
        margin-left: auto;
    }

}

@media (max-width: 768px) {
    .trust-footer {
        height: auto;
    }
}

/* Video Play Button Animations */
@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

#play-button:hover>div:last-child {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.8), 0 0 0 4px rgba(255, 255, 255, 0.5);
}

#play-button:active>div:last-child {
    transform: scale(1.05);
}

@media (max-width: 420px) {
    .secondary-actions {
        flex-direction: column;
    }

    .btn {
        padding: 10px;
    }

    .main-content-wrapper {
        gap: 20px;
    }
}