/* ============================================
   MAKHDOOM - Premium Landing Page Styles
   Visual Identity: White / Black / Gold
   ============================================ */

/* CSS Custom Properties */
:root {
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8F9FA;
    --color-bg-dark: #0A0A0A;
    --color-text: #1A1A1A;
    --color-accent: #FFD700;
    --color-accent-hover: #E5C100;
    --color-accent-light: rgba(255, 215, 0, 0.08);
    --color-accent-glow: rgba(255, 215, 0, 0.35);
    --color-border: #E8E8E8;
    --color-surface-hover: #F5F5F5;
    --color-text-secondary: #6B7280;
    --color-text-muted: #9CA3AF;

    --font-primary: 'Noto Kufi Arabic', 'Cairo', sans-serif;
    --font-display: 'Noto Kufi Arabic', 'Montserrat', sans-serif;

    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    --spacing-3xl: 8rem;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-accent: 0 8px 30px rgba(255, 215, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(255, 215, 0, 0.15);

    --transition-base: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.5px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Shared Styles */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
}

.section-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header .section-tag::after {
    right: 50%;
    transform: translateX(50%);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #1A1A1A 0%, #333 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-accent), #FFC000);
    color: var(--color-text);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-text);
    color: var(--color-text);
}

.btn-outline:hover {
    background: var(--color-text);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* ============================================
   STORE BADGES
   ============================================ */
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: var(--color-accent);
    /* Yellow background */
    color: #000;
    /* Black text */
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

.store-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.store-badge svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.store-badge-small {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.8;
}

.store-badge-big {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

/* Light variant for dark backgrounds */
.store-badge-light {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-badge-light:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    border-color: var(--color-accent);
}

/* Smaller variant for inline sections */
.store-badge-sm {
    padding: 10px 22px;
}

.store-badge-sm svg {
    width: 20px;
    height: 20px;
}

.store-badge-sm .store-badge-big {
    font-size: 0.95rem;
}

.store-badge-sm .store-badge-small {
    font-size: 0.65rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.header.scrolled {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.95rem;
    border-radius: 50px;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    color: var(--color-text-secondary);
    transition: color var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    transition: width var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
}

/* Decorative elements */
.hero::before {
    display: none;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    /* Increased weight */
    line-height: 1.4;
    margin-bottom: var(--spacing-lg);
    letter-spacing: normal;
    color: #000000;
    /* Solid Black */
    padding-bottom: 10px;
    position: relative;
    /* Removed gradient text effect to ensure visibility and match design */
}

/* Removed shimmer animation for text color, as we are using solid black */

.highlight-text {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 8px;
    /* Adjusted position */
    left: -5px;
    right: -5px;
    height: 18px;
    /* Thicker line */
    background-color: var(--color-accent);
    z-index: -1;
    opacity: 1;
    /* Solid yellow */
    transform: rotate(-1deg);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    line-height: 2;
    font-weight: 400;
}

/* Store Badges */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: var(--spacing-xl);
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #FFF;
    height: 50px;
    padding: 0 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #333;
    box-sizing: border-box;
}

.store-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.store-badge svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: right;
    /* RTL */
}

.store-badge-small {
    font-size: 0.65rem;
    opacity: 0.8;
}

.store-badge-big {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.store-badge-img-link {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.store-badge-img-link:hover {
    transform: translateY(-3px);
}

.store-badge-img {
    height: 50px;
    /* Match standard button height */
    width: auto;
}

/* ============================================
   HERO APP MOCKUP
   ============================================ */
.hero-app-mockup {
    position: relative;
    width: 450px;
    /* Increased from 300px */
    height: 600px;
    margin: 0 auto;
    perspective: 1000px;
    z-index: 10;
    animation: float-phone 6s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes float-phone {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-20px) rotate(0deg);
    }
}

.mockup-img {
    width: 100%;
    height: auto;
    max-height: 650px;
    /* Increased from 500px */
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: float-phone 6s ease-in-out infinite;
    /* Removed phone border/frame styles */
}

/* Blobs behind phone */
.mockup-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    opacity: 0.6;
}

.blob-1 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    top: 10%;
    right: -20%;
}

.blob-2 {
    width: 150px;
    height: 150px;
    background: #FF5722;
    bottom: 20%;
    left: -10%;
    opacity: 0.4;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-display);
    color: var(--color-text);
    line-height: 1;
}

.hero-stat-number span {
    color: var(--color-accent);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 8px;
    font-weight: 500;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: 0.3;
}

.about-graphic {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 1;
    filter: grayscale(100%);
    transition: filter var(--transition-smooth);
}

.about-graphic:hover {
    filter: grayscale(0%);
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.9;
    text-align: justify;
}

/* ============================================
   PARTNERS / TRUST BAR
   ============================================ */
.partners {
    --slide-w: 180px;
    --slide-count: 12;
    padding: 40px 0;
    background: var(--color-bg);
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.partners-container {
    width: 100%;
    overflow: hidden;
}

.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slide-track {
    display: flex;
    animation: marquee 20s linear infinite;
    width: calc(var(--slide-w) * var(--slide-count) * 2);
}

.slide {
    width: var(--slide-w);
    flex: 0 0 var(--slide-w);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}

.slide img {
    max-height: 50px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.slide:hover img {
    opacity: 1;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(var(--slide-w) * var(--slide-count) * -1));
    }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: var(--spacing-3xl) 0;
    text-align: center;
    background: var(--color-bg-alt);
    position: relative;
}

.service-map {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.service-map::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    background: var(--color-bg-alt);
    padding: 0 20px;
    width: 30%;
    transition: transform var(--transition-smooth);
}

.step-item:hover {
    transform: translateY(-8px);
}

.step-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1A1A1A, #333);
    border-radius: 50%;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--color-bg-alt);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 0 0 4px rgba(255, 215, 0, 0.15);
    transition: all var(--transition-smooth);
}

.step-item:hover .step-icon-wrapper {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 0 0 6px rgba(255, 215, 0, 0.25);
}

.step-icon-wrapper svg {
    color: var(--color-accent);
}

.step-title {
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.step-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   COMPARISON SECTION
   ============================================ */
.comparison {
    background-color: var(--color-bg-alt);
    padding: 80px 0;
    overflow: visible;
}

.comparison .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.comparison .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 10px;
}

.comparison-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.cmp-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.cmp-row {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1.5fr;
    align-items: stretch;
}

.cmp-row.cmp-header {
    align-items: flex-end;
}

.cmp-col {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    position: relative;
    transition: background var(--transition-base);
}

.cmp-col.feature {
    justify-content: flex-start;
    text-align: right;
    font-weight: 700;
    color: var(--color-text);
}

.cmp-row:not(.cmp-header) .cmp-col.feature {
    border-bottom: 1px solid #EEE;
    color: var(--color-text-secondary);
}

.cmp-col.market {
    flex-direction: column;
    gap: 10px;
    color: #888;
    background-color: #F4F4F4;
}

.cmp-row:not(.cmp-header) .cmp-col.market {
    border-bottom: 1px solid #EEE;
}

.cmp-row.cmp-header .cmp-col {
    font-weight: 700;
    font-size: 1.1rem;
    padding-bottom: 25px;
    color: var(--color-text);
}

/* Makhdoom Column Card */
.cmp-col.makhdoom {
    background-color: #FFFFFF;
    flex-direction: column;
    gap: 10px;
    color: var(--color-text);
    font-weight: 600;
    border-left: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    z-index: 2;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.04);
}

.cmp-row.cmp-header .cmp-col.makhdoom {
    background: linear-gradient(135deg, #1A1A1A, #2A2A2A);
    color: #FFFFFF;
    border-top: 2px solid var(--color-accent);
    border-radius: 16px 16px 0 0;
    padding-top: 40px;
    margin-top: -20px;
    padding-bottom: 20px;
}

.cmp-row:not(.cmp-header) .cmp-col.makhdoom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cmp-row:last-child .cmp-col.makhdoom {
    border-bottom: 2px solid var(--color-accent);
    border-radius: 0 0 16px 16px;
}

.best-choice-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-accent), #FFC000);
    color: var(--color-text);
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    white-space: nowrap;
    z-index: 10;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 215, 0, 0.6);
    }
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 800;
}

.check-icon {
    background: linear-gradient(135deg, var(--color-accent), #FFC000);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.check-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-text);
}

.x-icon {
    font-size: 1.5rem;
    color: #CCC;
    line-height: 1;
}

/* ============================================
   FEATURE GRID
   ============================================ */
.features {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg);
}

.features .section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--color-accent);
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #FFFFFF;
    /* White line instead of gold */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #FFFFFF;
    /* White icon background */
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #000;
    transition: all var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--color-accent), #FFC000);
    box-shadow: var(--shadow-accent);
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-desc {
    color: #333333;
    /* Darker text for yellow background */
    font-size: 0.95rem;
    line-height: 1.7;
}

#service-highlights {
    background-color: var(--color-bg-alt);
}

/* ============================================
   HERO SUBTITLE
   ============================================ */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   STEP NUMBERS
   ============================================ */
.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), #FFC000);
    color: #000;
    font-weight: 900;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    font-family: var(--font-display);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-alt);
}

.testimonials-slider {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    min-height: 260px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-card {
    background: #FFFFFF;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    text-align: center;
}

.testimonial-stars {
    color: var(--color-accent);
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A1A1A, #333);
    color: var(--color-accent);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.2);
}



/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: #FFF9E5;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Removed dark overlay ::before */

.cta-card {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #000000;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.cta-card p {
    font-size: 1.15rem;
    color: #000000;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-buttons .btn-accent {
    font-size: 1.1rem;
    padding: 18px 44px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #000;
    color: #FFF;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFF, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--color-accent);
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-links ul li {
    margin-bottom: 14px;
}

.footer-links ul li a {
    color: #999;
    transition: all var(--transition-base);
    position: relative;
}

.footer-links ul li a:hover {
    color: #FFF;
    padding-right: 8px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    /* Removed background/radius/color to allow original image */
}

.footer-social a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.footer-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 40px;
    text-align: center;
    color: #555;
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-hover);
        gap: 0;
        border-bottom: 2px solid var(--color-accent);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-app-mockup {
        width: 100%;
        max-width: 350px;
        height: auto;
        min-height: 450px;
        margin-top: 40px;
    }

    .mockup-img {
        max-height: 450px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual::before {
        display: none;
    }

    .service-map {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .service-map::before {
        width: 3px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        background: linear-gradient(180deg, transparent, var(--color-accent), transparent);
    }

    .step-item {
        width: 100%;
        max-width: 320px;
        background: var(--color-bg-alt);
    }

    /* Comparison Mobile */
    .cmp-row {
        display: flex;
        flex-direction: column;
        background: #FFF;
        margin-bottom: 24px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-card);
        border: 1px solid var(--color-border);
        overflow: hidden;
    }

    .cmp-row.cmp-header {
        display: none;
    }

    .cmp-col,
    .cmp-col.makhdoom,
    .cmp-col.market,
    .cmp-col.feature {
        border: none;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .cmp-col.feature {
        background-color: #F5F5F5;
        justify-content: center;
        border-bottom: 1px solid #EEE !important;
        font-size: 1.1rem;
    }

    .cmp-col.makhdoom {
        order: 2;
        background-color: #FFFBEB;
        padding: 28px 20px;
        border-bottom: 1px solid #EEE !important;
    }

    .cmp-col.makhdoom::before {
        content: 'تطبيق مخدوم';
        display: block;
        font-size: 0.75rem;
        font-weight: 800;
        color: var(--color-accent);
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .cmp-col.market {
        order: 3;
        background-color: #FFF;
    }

    .cmp-col.market::before {
        content: 'الطرق التقليدية';
        display: block;
        font-size: 0.75rem;
        font-weight: 700;
        color: #AAA;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .check-icon {
        width: 28px;
        height: 28px;
    }

    .check-icon svg {
        width: 14px;
        height: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .cta-section {
        padding: 70px 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .partners {
        --slide-w: 140px;
        padding: 25px 0;
    }

    .slide img {
        max-height: 35px;
        max-width: 90px;
    }

    .hero-cta,
    .cta-buttons,
    .about-store-badges {
        flex-direction: column;
        align-items: center;
    }

    .store-badge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .step-icon-wrapper {
        width: 70px;
        height: 70px;
    }
}

/* Force Store Badges Yellow Override */
.cta-section .store-badge,
.footer .store-badge,
a.store-badge,
.store-badge {
    background-color: var(--color-accent) !important;
    color: #000000 !important;
    border: none !important;
    background: var(--color-accent) !important;
}

.cta-section .store-badge svg,
.footer .store-badge svg,
a.store-badge svg,
.store-badge svg {
    fill: #000000 !important;
    color: #000000 !important;
}

.cta-section .store-badge span,
.footer .store-badge span,
a.store-badge span,
.store-badge span,
.store-badge-text,
.store-badge-small,
.store-badge-big {
    color: #000000 !important;
}

/* Makhdoom Text Underline */
.makhdoom-text {
    position: relative;
    display: inline-block;
    z-index: 10;
}

.makhdoom-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    /* Adjust as needed */
    right: 0;
    /* Right aligned because RTL */
    width: 100%;
    height: 8px;
    /* Thickness of the line */
    background-color: var(--color-accent);
    z-index: -1;
    border-radius: 4px;
    opacity: 0.8;
}