/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav a:hover {
    color: #1e40af;
}

/* Hero Section - Top Aligned & Reduced Height */
.hero {
    position: relative;
    padding: 1.5rem 0 2rem;
    /* Extreme reduction as requested */
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    overflow: hidden;
    min-height: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.1);
}

.hero-content-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    /* Align to top */
    position: relative;
    z-index: 2;
}

.hero-text-content {
    padding-top: 1rem;
}

.hero-image-side {
    display: flex;
    justify-content: flex-end;
}

/* Hero Image Side - The Smart Pulse Aesthetic */
.hero-image-container-new {
    position: relative;
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Smart Glow Pulse Ring */
.hero-image-container-new::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: smartPulseRing 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    z-index: -1;
}

@keyframes smartPulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.hero-img-main {
    width: 320px;
    /* Precise scale down as requested */
    height: auto;
    border-radius: 40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 8px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 8px;
    transition: transform 0.5s ease;
}

.hero-img-main:hover {
    transform: scale(1.05) rotate(1deg);
}

.hero-floating-badge {
    position: absolute;
    bottom: 10%;
    right: 5%;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e40af;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 3;
}


.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    /* Top aligned */
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.google-play-btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #000;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.google-play-btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #222;
}

.google-play-btn-hero i {
    font-size: 1.8rem;
}

.google-play-btn-hero .text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.google-play-btn-hero .text-wrap small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.google-play-btn-hero .text-wrap span {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: #1e40af;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    max-width: 400px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header,
.card,
.feature-item,
.step-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Payment Partners (Wallets) - Aura Cards Aesthetic */
.payment-partners-osc {
    padding: 7rem 0;
    background: #f8fafc;
    overflow: hidden;
}

.wallets-osc-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.aura-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-width: 180px;
    position: relative;
    border: 1px solid #f1f5f9;
    animation: auraBreathing 5s ease-in-out infinite;
    /* Living breathe */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes auraBreathing {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 0 0 rgba(30, 64, 175, 0);
    }

    50% {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 25px rgba(30, 64, 175, 0.15);
        border-color: #3b82f6;
    }
}

.aura-card img {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.05));
}

.aura-card span {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 700;
}

/* Wallets section continues */

/* Multi-Image Partner Showcase */
.partners-section-rich {
    padding: 8rem 0;
    background: white;
}

.partner-flow-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 12rem;
}

.partner-flow-premium.reverse {
    direction: ltr;
    /* Flip visually but fix text direction later if needed */
}


.partner-flow-premium.reverse>* {
    direction: rtl;
}

.partner-badge {
    display: inline-block;
    background: #eff6ff;
    color: #1e40af;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.partner-info h3 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.partner-steps-rich {
    list-style: none;
    padding: 0;
    margin-top: 3rem;
}

.partner-steps-rich li {
    position: relative;
    padding-right: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.5;
}

.partner-steps-rich li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    color: #3b82f6;
    font-size: 1.5rem;
}

/* Twinkling Interactive Carousel */
.partner-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    background: #fff;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.partner-scroller-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: grab;
    /* Indicating swipe possibility */
}

.partner-scroller-container:active {
    cursor: grabbing;
}

.partner-scroller-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    gap: 2.5rem;
    width: max-content;
    padding: 1.5rem 0;
}

.scroller-img {
    height: 480px;
    width: auto;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 8px solid white;
    flex-shrink: 0;
    transition: all 0.5s ease;
    filter: brightness(0.9);
}

.scroller-img:hover {
    filter: brightness(1.1) contrast(1.1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    transform: scale(1.02);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1e40af;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    transform: translateY(-3px) scale(1.1);
    background: #2563eb;
}

.carousel-btn:active {
    transform: scale(0.95);
}

@keyframes smoothHorizontalScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose {
    padding: 6rem 0;
    background: white;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
}

.card-description {
    color: #64748b;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
}

/* How it Works Section */
.how-it-works {
    padding: 6rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.step-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-10px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #1e40af;
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 4px solid #f8fafc;
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.3);
}

.step-image {
    width: 100%;
    max-width: 240px;
    height: 380px;
    object-fit: contain;
    border-radius: 12px;
    margin: 1rem auto;
    background: #f1f5f9;
    padding: 10px;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

/* Micro-animations and Artistic Touches */
.feature-item i {
    transition: all 0.5s ease;
}

.feature-item:hover i {
    transform: rotateY(360deg) scale(1.2);
    color: #3b82f6;
}

.step-extra {
    margin: 1rem 0;
}

.step-google-play {
    display: inline-block;
    color: #000;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.step-google-play:hover {
    transform: scale(1.2);
}

/* Customer Service Whatsapp Button Pulse */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn {
    animation: pulse-green 2s infinite;
}

/* Image reveal animation */
.reveal-img {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.visible .reveal-img,
.reveal-img.visible {
    clip-path: inset(0 0 0 0);
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    text-align: center;
}

.download-content .section-title,
.download-content .section-subtitle {
    color: white;
}

.google-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: #1e40af;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.google-play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.contact-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
}

.contact-card-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #1e40af;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    background: #1e3a8a;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Final Consolidated Responsive Rescue Plan */
@media (max-width: 992px) {
    .header-content {
        padding: 0.8rem 1.5rem;
        justify-content: space-between !important;
    }

    .logo-text {
        font-size: 1.15rem !important;
    }

    .nav {
        display: none;
        /* Removed !important to allow JS control */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #f1f5f9;
        z-index: 1001;
    }

    .nav.active {
        display: flex !important;
    }

    .nav a {
        padding: 1.2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f8fafc;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    /* Hero Stacking */
    .hero-content-top {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 2.5rem !important;
    }

    .hero-text-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .hero-buttons {
        justify-content: center !important;
    }

    .hero-img-main {
        width: 250px !important;
    }

    .hero-image-container-new::after {
        width: 250px !important;
        height: 250px !important;
    }

    /* Partner Gallery Stacking */
    .partner-flow-premium {
        grid-template-columns: 1fr !important;
        gap: 4rem !important;
        margin-bottom: 7rem !important;
    }

    .partner-info {
        text-align: center !important;
    }

    .partner-steps-rich li {
        text-align: right !important;
        padding-right: 2.5rem !important;
    }

    .partner-gallery {
        margin: 0 -20px !important;
        border-radius: 0 !important;
        width: calc(100% + 40px) !important;
        padding: 1.5rem 0 !important;
    }

    .scroller-img {
        height: 350px !important;
        border-width: 6px !important;
    }

    .carousel-controls {
        position: relative !important;
        margin-top: 1.5rem !important;
        justify-content: center !important;
    }

    /* Wallet Grid */
    .wallets-osc-track {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        padding: 0 1.5rem !important;
    }

    .aura-card {
        min-width: unset !important;
        padding: 1.5rem !important;
    }

    .aura-card img {
        height: 60px !important;
    }

    /* Structure fixes */
    .cards-grid,
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr !important;
    }

    .container {
        padding: 0 15px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem !important;
    }

    .scroller-img {
        height: 280px !important;
    }

    .logo-text {
        font-size: 1rem !important;
    }
}