* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
    color: #333;
}

/* Base Styles (Mobile First) */
.icon, .btn-icon, .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon svg, .btn-icon svg, .nav-icon svg {
    width: 20px;
    height: 20px;
}

/* ==================== HEADER ==================== */
header {
    background-color: #fff;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #FF8C42;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: #FF8C42;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

nav.active {
    display: flex;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background-color: #E94560;
    color: white;
}

.action-buttons {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
    justify-content: space-between;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.icon-btn:hover {
    background-color: #f0f0f0;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
}

.btn {
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-login {
    background: linear-gradient(135deg, #FF8C42, #FFA862);
    color: white;
}

.btn-register {
    background: linear-gradient(135deg, #E94560, #F05A76);
    color: white;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, #FFE5B4, #FFEAA7);
    padding: 40px 20px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    order: -1; /* Move image to top on mobile */
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.new-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.new-badge .text {
    font-size: 18px;
    font-weight: 700;
    color: #FF8C42;
}

.hero-content {
    text-align: center;
}

.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.hero-title h1 {
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(135deg, #FF8C42, #FFA862, #FFB88C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-description {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
}

.stat-number.stores { color: #FF8C42; }
.stat-number.products { color: #FF6B9D; }
.stat-number.clients { color: #FFA862; }

.stat-label {
    font-size: 16px;
    color: #666;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-primary {
    background: linear-gradient(135deg, #FF8C42, #FFA862);
    color: white;
}

.cta-secondary {
    background: white;
    color: #FF8C42;
    border: 2px solid #FF8C42;
}

/* ==================== DESKTOP MEDIA QUERIES (Mobile First Strategy) ==================== */

@media (min-width: 768px) {
    /* Header Desktop */
    header {
        padding: 20px 50px;
    }

    .logo {
        font-size: 32px;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .mobile-menu-btn {
        display: none;
    }

    nav {
        display: flex;
        flex-direction: row;
        width: auto;
        margin-top: 0;
        gap: 40px;
    }

    .nav-item {
        font-size: 18px;
        padding: 10px 20px;
        border-radius: 30px;
    }

    .action-buttons {
        width: auto;
        margin-top: 0;
        gap: 15px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* Hero Desktop */
    .hero {
        padding: 80px 50px;
        min-height: calc(100vh - 85px);
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .hero-image {
        order: 0;
    }

    .hero-content {
        text-align: right;
    }

    .hero-title, .hero-subtitle {
        justify-content: flex-end;
    }

    .hero-title h1 {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .hero-description {
        font-size: 20px;
    }

    .stats {
        flex-direction: row;
        justify-content: space-between;
    }

    .stat-number {
        font-size: 48px;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 40px 20px;
    background-color: #fff;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 1024px) {
    .features { padding: 80px 50px; }
    .features-grid { grid-template-columns: repeat(3, 1fr); margin-top: 60px; }
}

.feature-card {
    border-radius: 30px;
    padding: 20px;
    transition: all 0.4s ease;
    border: 4px solid;
}

.feature-card.orange { border-color: #FF8C42; background: linear-gradient(135deg, #FFF5E6, #FFE5CC); }
.feature-card.yellow { border-color: #FFC857; background: linear-gradient(135deg, #FFFBEC, #FFF5D6); }
.feature-card.pink { border-color: #FF6B9D; background: linear-gradient(135deg, #FFE5F0, #FFD6E8); }

.feature-image-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-title { font-size: 24px; font-weight: 700; margin-bottom: 10px; text-align: center; }
.feature-description { font-size: 14px; text-align: center; line-height: 1.6; color: #666; }

/* ==================== CHOOSE STORES ==================== */
.choose-stores {
    background: linear-gradient(180deg, #FFF4E0 0%, #FFE5B4 50%, #FF9B50 100%);
    padding: 60px 20px;
}

.choose-stores-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .choose-stores { padding: 80px 50px 100px; }
    .choose-stores-container { grid-template-columns: 1fr 1fr; gap: 60px; }
}

.trusted-badge {
    display: inline-block;
    background: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #FF8C42;
    margin-bottom: 20px;
}

.section-title { font-size: 36px; font-weight: 700; margin-bottom: 15px; }
.section-title .gradient-text { background: linear-gradient(135deg, #FF8C42, #FFA862); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-description { font-size: 16px; color: #555; margin-bottom: 30px; }

.feature-box {
    background: rgba(255, 255, 255, 0.5);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-box-icon {
    width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white;
}
.orange-icon { background: linear-gradient(135deg, #FF8C42, #FFA862); }
.cyan-icon { background: linear-gradient(135deg, #00C9FF, #92FE9D); }
.pink-icon { background: linear-gradient(135deg, #E94560, #FF6B9D); }

.explore-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #E94560, #FF6B9D);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
}

.store-image-wrapper { position: relative; border-radius: 20px; overflow: hidden; }
.store-image-wrapper img { width: 100%; display: block; }
.floating-store-badge { position: absolute; top: -15px; left: 15px; background: white; padding: 10px; border-radius: 15px; }

/* ==================== HOW IT WORKS ==================== */
.how-it-works { background: #2b2b2b; padding: 60px 20px; }
@media (min-width: 1024px) { .how-it-works { padding: 100px 50px; } }

.how-title { text-align: center; margin-bottom: 40px; }
.how-title h2 { font-size: 36px; color: white; }
.how-subtitle { color: #999; font-size: 16px; }

.steps-container { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .steps-container { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-container { grid-template-columns: repeat(4, 1fr); gap: 0; } }

.step-item { text-align: center; }
.step-icon { width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; color: white; position: relative; }
.pink-bg { background: linear-gradient(135deg, #E94560, #FF6B9D); }
.orange-bg { background: linear-gradient(135deg, #FF8C42, #FFA862); }
.cyan-bg { background: linear-gradient(135deg, #00D9FF, #7BFFEC); }
.yellow-bg { background: linear-gradient(135deg, #FFB800, #FFD93D); }

.step-number { position: absolute; top: -10px; right: -10px; background: white; width: 30px; height: 30px; border-radius: 50%; color: #333; font-weight: bold; display: flex; align-items: center; justify-content: center; }
.step-title { color: white; font-size: 20px; margin-bottom: 10px; }
.step-description { color: #999; }

/* ==================== PAYMENT METHODS ==================== */
.payment-methods { background: linear-gradient(135deg, #FFF9F0, #FFE8D6); padding: 60px 20px; }
@media (min-width: 1024px) { .payment-methods { padding: 100px 50px; } }

.payment-title { text-align: center; margin-bottom: 40px; }
.payment-title h2 { font-size: 36px; }

.payment-content { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .payment-content { grid-template-columns: 1fr 1fr; } }

.workspace-wrapper { position: relative; border-radius: 20px; overflow: hidden; }
.workspace-wrapper img { width: 100%; display: block; }
.floating-payment-icon { position: absolute; bottom: 20px; left: 20px; width: 60px; height: 60px; background: #FF8C42; color: white; border-radius: 15px; display: flex; align-items: center; justify-content: center; }

.payment-card { padding: 20px; border-radius: 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.card-pink { background: linear-gradient(135deg, #FFE5F0, #FFD6E8); }
.card-orange { background: linear-gradient(135deg, #FFF5E6, #FFE5CC); }
.card-cyan { background: linear-gradient(135deg, #E0F7FA, #B2EBF2); }

.payment-card-content { text-align: right; }
.payment-card-title { font-size: 20px; font-weight: bold; margin-bottom: 5px; }
.secure-badge { display: flex; align-items: center; gap: 5px; color: #FF8C42; font-size: 14px; margin-top: 10px; }
.payment-card-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; color: white; border-radius: 15px; }

/* ==================== GETTING STARTED ==================== */
.getting-started { padding: 60px 20px; background: linear-gradient(135deg, #FFF9E6, #FFEAA0); }
@media (min-width: 1024px) { .getting-started { padding: 100px 50px; } }

.getting-started-header { text-align: center; margin-bottom: 40px; }
.getting-started-header h2 { font-size: 36px; color: #FF8C42; }

.steps-cards-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
@media (min-width: 1024px) { .steps-cards-grid { grid-template-columns: repeat(3, 1fr); } }

.step-card { padding: 30px 20px; border-radius: 20px; border: 3px solid; position: relative; background: rgba(255, 255, 255, 0.5); }
.card-pink-gradient { border-color: #E94560; }
.card-orange-gradient { border-color: #FF8C42; }
.card-yellow-gradient { border-color: #FFA500; }

.card-number { position: absolute; top: -15px; right: 20px; width: 40px; height: 40px; background: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.card-title { font-size: 24px; text-align: center; margin-bottom: 20px; }
.card-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.card-features li { display: flex; align-items: center; gap: 10px; justify-content: flex-start; flex-direction: row-reverse;}

.main-cta-button { display: inline-flex; align-items: center; justify-content: center; padding: 15px 30px; background: linear-gradient(135deg, #FF8C42, #E94560); color: white; border-radius: 30px; text-decoration: none; font-weight: bold; font-size: 18px; margin-bottom: 10px; width: 100%;}
@media (min-width: 768px) { .main-cta-button { width: auto; font-size: 24px; padding: 20px 60px;} }
.cta-section { text-align: center; }
