/* ------------------------------------------------------------------
   Mishwar landing page
   Brand: green #00A86B, warm accents, clean modern typography
------------------------------------------------------------------ */

:root {
    --brand: #00A86B;
    --brand-dark: #008756;
    --brand-light: #14c98c;
    --brand-50: #e8f9f1;
    --brand-100: #c5efd9;
    --accent: #FF7A45;
    --accent-warm: #FFB547;
    --ink: #0E1F18;
    --ink-2: #243830;
    --muted: #5B6B64;
    --muted-2: #8a9691;
    --line: #E6ECEA;
    --bg: #FFFFFF;
    --bg-soft: #F6FBF8;
    --bg-green: #EAF8F1;
    --shadow-sm: 0 2px 8px rgba(14, 31, 24, 0.06);
    --shadow: 0 12px 32px rgba(14, 31, 24, 0.08);
    --shadow-lg: 0 24px 60px rgba(14, 31, 24, 0.12);
    --radius: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;
    --font: 'Inter', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-ar: 'Cairo', 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons --------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 168, 107, 0.3);
}
.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 168, 107, 0.4);
}
.btn-ghost {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
    padding: 12px 22px;
}
.btn-ghost:hover {
    background: var(--brand);
    color: #fff;
}

/* Nav ------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 1px 0 rgba(14, 31, 24, 0.02), 0 8px 24px rgba(14, 31, 24, 0.04);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--ink);
}
.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}
.brand-text { letter-spacing: -0.01em; }
.brand-ar,
.brand-en {
    font-family: var(--font-ar);
    font-weight: 800;
    margin-inline-start: 4px;
    color: var(--brand);
}
.brand-en {
    font-family: var(--font);
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-inline-start: auto;
    margin-inline-end: auto;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
    transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
    white-space: nowrap;
}
.lang-switch:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}
.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--ink-2);
    position: relative;
    transition: color .2s;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--brand);
    transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

/* Hero ------------------------------------------------------------ */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}
.blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #00A86B 0%, transparent 70%);
    top: -180px; left: -120px;
}
.blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #FFB547 0%, transparent 70%);
    top: 20%; right: -100px;
    opacity: 0.35;
}
.blob-3 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, #14c98c 0%, transparent 70%);
    bottom: -140px; left: 40%;
    opacity: 0.3;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.2);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(0, 168, 107, 0); }
}

.hero-title {
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 32px;
}
.accent {
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    white-space: nowrap;
}
.accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 10px;
    background: linear-gradient(90deg, rgba(0, 168, 107, 0.2), rgba(20, 201, 140, 0.2));
    border-radius: 999px;
    z-index: -1;
}
.hero-title-ar {
    font-family: var(--font-ar);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    color: var(--brand);
    margin-top: 12px;
    margin-bottom: 20px;
    direction: rtl;
}
.hero-title-en {
    font-family: var(--font);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    color: var(--brand);
    margin-top: 12px;
    margin-bottom: 20px;
    direction: ltr;
    letter-spacing: -0.01em;
}
.hero-sub {
    font-size: 18px;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}
.badge-link {
    display: inline-block;
    transition: transform .2s ease;
}
.badge-link:hover { transform: translateY(-3px); }
.badge-link img {
    height: 56px;
    width: auto;
    display: block;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1;
}
.stat-num small {
    font-size: 18px;
    font-weight: 600;
    color: var(--muted);
}
.stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}

/* Hero visual: phone mockup ------------------------------------- */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 640px;
}
.phone-wrap {
    position: relative;
    z-index: 2;
    perspective: 1400px;
}
.phone {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 48px;
    padding: 12px;
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.25),
        0 0 0 2px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: rotate(-4deg);
    animation: floatPhone 6s ease-in-out infinite;
}
@keyframes floatPhone {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-14px); }
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 38px;
    padding: 20px 16px;
    overflow: hidden;
    position: relative;
}
.phone-screen::before {
    content: '';
    position: absolute;
    top: 14px; left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #0a0a0a;
    border-radius: 999px;
    z-index: 3;
}
.phone-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    margin-bottom: 18px;
    padding: 0 4px;
}
.phone-logo img {
    width: 36px; height: 36px;
    border-radius: 10px;
}
.greeting-label {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.greeting-addr {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}
.phone-search {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
}
.phone-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
}
.cat {
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    background: var(--bg-soft);
    color: var(--ink-2);
    border-radius: 999px;
    border: 1px solid var(--line);
}
.cat.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.phone-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.card-img {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}
.card-meta {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.rider-float {
    position: absolute;
    width: 240px;
    height: auto;
    right: -30px;
    bottom: 20px;
    z-index: 3;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.18));
    animation: floatRider 7s ease-in-out infinite;
}
@keyframes floatRider {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(-2deg); }
}

.floating-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    z-index: 4;
    animation: floatChip 5s ease-in-out infinite;
}
.chip-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-50);
    border-radius: 12px;
    font-size: 20px;
}
.chip-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}
.chip-sub {
    font-size: 11px;
    color: var(--muted);
}
.chip-1 { top: 80px; left: -20px; }
.chip-2 { bottom: 90px; left: 30px; animation-delay: 1s; }
@keyframes floatChip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Strip ----------------------------------------------------------- */
.strip {
    padding: 32px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.strip-label {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    font-weight: 600;
}
.strip-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    font-weight: 600;
    color: var(--ink-2);
    font-size: 16px;
}
.strip-items span {
    opacity: 0.75;
    transition: opacity .2s;
}
.strip-items span:hover { opacity: 1; }

/* Sections -------------------------------------------------------- */
.section {
    padding: 110px 0;
    position: relative;
}
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}
.pill {
    display: inline-block;
    padding: 6px 14px;
    background: var(--brand-50);
    color: var(--brand-dark);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}
.pill-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}
.section-head h2 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 14px;
}
.section-head p {
    font-size: 18px;
    color: var(--muted);
}

/* Features -------------------------------------------------------- */
.features { background: #fff; }
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feat-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.feat-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}
.feat-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.feat-card p {
    color: var(--muted);
    font-size: 15px;
}

/* How it works ---------------------------------------------------- */
.how {
    background: linear-gradient(135deg, #0b3a28 0%, #00A86B 100%);
    color: #fff;
}
.how .section-head h2 { color: #fff; }
.how .section-head p { color: rgba(255,255,255,0.75); }
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}
.step {
    padding: 36px 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    position: relative;
    transition: transform .3s, background .3s;
}
.step:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.14);
}
.step-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-warm);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.step-icon {
    font-size: 44px;
    margin-bottom: 20px;
}
.step h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.step p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

/* Love / Save sections (illustrations) --------------------------- */
.love, .save { background: var(--bg); }
.love-inner, .save-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.love-visual, .save-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}
.love-blob, .save-blob {
    position: absolute;
    width: 90%;
    aspect-ratio: 1;
    background: radial-gradient(circle, var(--brand-100) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
    animation: pulseBlob 8s ease-in-out infinite;
}
.save-blob {
    background: radial-gradient(circle, #FFE2B5 0%, transparent 65%);
}
@keyframes pulseBlob {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}
.love-visual img, .save-visual img {
    position: relative;
    z-index: 1;
    max-height: 520px;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
    animation: floatImg 6s ease-in-out infinite;
}
@keyframes floatImg {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.love-text h2, .save-text h2 {
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}
.love-text p, .save-text p {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 28px;
}
.check-list li {
    padding: 10px 0;
    font-size: 16px;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: 0; }

.save { background: var(--bg-soft); }
.save-features {
    display: grid;
    gap: 18px;
}
.save-f {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: transform .2s;
}
.save-f:hover { transform: translateX(4px); }
.save-f-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-50);
    border-radius: 14px;
    font-size: 22px;
    flex-shrink: 0;
}
.save-f h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}
.save-f p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

/* Partners -------------------------------------------------------- */
.partners { background: #fff; }
.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.partner-card {
    padding: 48px 40px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.partner-rest {
    background: linear-gradient(135deg, #e8f9f1 0%, #f6fbf8 100%);
    border: 1px solid var(--brand-100);
}
.partner-driver {
    background: linear-gradient(135deg, #FFF4E5 0%, #FFFBF5 100%);
    border: 1px solid #FFDBAD;
}
.partner-emoji {
    font-size: 52px;
    margin-bottom: 20px;
}
.partner-card h3 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.partner-card > p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 22px;
}
.partner-card ul {
    margin-bottom: 28px;
}
.partner-card ul li {
    padding: 8px 0;
    color: var(--ink-2);
    font-weight: 500;
}
.partner-driver .btn-ghost {
    color: #D17A1A;
    border-color: #D17A1A;
}
.partner-driver .btn-ghost:hover {
    background: #D17A1A;
    color: #fff;
}

/* CTA ------------------------------------------------------------- */
.cta {
    background: linear-gradient(135deg, #FFF9EC 0%, #FFE8D4 100%);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 168, 107, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 181, 71, 0.25) 0%, transparent 40%);
}
.cta-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.cta-visual {
    display: flex;
    justify-content: center;
}
.cta-visual img {
    max-height: 480px;
    width: auto;
    filter: drop-shadow(0 24px 40px rgba(0,0,0,0.15));
    animation: floatImg 6s ease-in-out infinite;
}
.cta-text h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 18px;
}
.cta-text p {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 32px;
    max-width: 520px;
}
.cta-note {
    font-size: 14px !important;
    color: var(--muted-2) !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}

/* Footer ---------------------------------------------------------- */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.75);
    padding: 72px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 48px;
}
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand-ar { color: var(--brand-light); }
.footer-brand p {
    font-size: 15px;
    margin-bottom: 4px;
}
.footer-ar {
    font-family: var(--font-ar);
    direction: rtl;
    color: var(--brand-light) !important;
}
.footer-en {
    font-family: var(--font);
    direction: ltr;
    color: var(--brand-light) !important;
}
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-col ul li {
    padding: 6px 0;
}
.footer-col a {
    transition: color .2s;
    font-size: 15px;
}
.footer-col a:hover { color: var(--brand-light); }
.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.footer-badges .badge-link img { height: 44px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin: 0;
}
.heart {
    color: #ff5e62;
    animation: heartbeat 1.6s ease-in-out infinite;
    display: inline-block;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Reveal animations ---------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive ------------------------------------------------------ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { min-height: 560px; }
    .love-inner, .save-inner, .cta-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .save-visual { order: -1; }
    .check-list { text-align: start; display: inline-block; }
    .hero-sub, .cta-text p { margin-inline-start: auto; margin-inline-end: auto; }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-inner .btn { display: none; }
    .nav-toggle { display: flex; }
    .section { padding: 72px 0; }
    .hero { padding: 110px 0 60px; }
    .hero-title { font-size: clamp(32px, 9vw, 48px); }
    .hero-visual { min-height: 520px; }
    .phone { width: 260px; height: 540px; }
    .rider-float { width: 180px; right: -10px; }
    .chip-1 { left: -5px; top: 40px; transform: scale(.9); transform-origin: left top; }
    .chip-2 { left: 10px; bottom: 50px; transform: scale(.9); transform-origin: left bottom; }
    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .stat-num { font-size: 26px; }
    .feat-grid { grid-template-columns: 1fr; gap: 16px; }
    .steps { grid-template-columns: 1fr; gap: 16px; }
    .partner-grid { grid-template-columns: 1fr; }
    .partner-card { padding: 36px 28px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .strip-items { gap: 20px; font-size: 14px; }
    .hero-ctas { justify-content: center; }
    .badge-link img { height: 48px; }
    .cta-note { text-align: center; }
    .section-head { margin-bottom: 44px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero-title { font-size: 38px; }
    .hero-sub { font-size: 16px; }
    .badge-link img { height: 44px; }
    .phone { width: 240px; height: 500px; }
}

/* Mobile menu open state */
.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------
   RTL overrides (Arabic)
------------------------------------------------------------------ */
html[dir="rtl"] body {
    font-family: var(--font-ar);
}

/* Numbers stay in LTR inside chips/stats so they read cleanly */
html[dir="rtl"] .stat-num,
html[dir="rtl"] .chip-title,
html[dir="rtl"] .step-num {
    direction: ltr;
    unicode-bidi: embed;
}

/* Mirror-position the rider so she "rides in" from the right visually */
html[dir="rtl"] .rider-float {
    right: auto;
    left: -30px;
    transform: scaleX(-1);
    animation-name: floatRiderRTL;
}
@keyframes floatRiderRTL {
    0%, 100% { transform: scaleX(-1) translateY(0) rotate(0deg); }
    50%      { transform: scaleX(-1) translateY(-16px) rotate(2deg); }
}

/* Floating chips — flip from left to right edge */
html[dir="rtl"] .chip-1 {
    left: auto;
    right: -20px;
}
html[dir="rtl"] .chip-2 {
    left: auto;
    right: 30px;
}

/* Phone tilts the other way in RTL so the lean feels natural */
html[dir="rtl"] .phone {
    transform: rotate(4deg);
    animation-name: floatPhoneRTL;
}
@keyframes floatPhoneRTL {
    0%, 100% { transform: rotate(4deg) translateY(0); }
    50%      { transform: rotate(4deg) translateY(-14px); }
}

/* Partner arrow flips direction */
html[dir="rtl"] .partner-card .btn-ghost {
    /* `←` in HTML already points correctly for RTL reading flow */
}

/* Save-feature hover slides right → left in RTL */
html[dir="rtl"] .save-f:hover {
    transform: translateX(-4px);
}

/* Nav link underline grows from the right edge in RTL */
html[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}

@media (max-width: 768px) {
    html[dir="rtl"] .rider-float { right: auto; left: -10px; }
    html[dir="rtl"] .chip-1 { right: -5px; left: auto; transform-origin: right top; }
    html[dir="rtl"] .chip-2 { right: 10px; left: auto; transform-origin: right bottom; }
}

/* Mobile menu drops from same side in RTL (no change needed — full-width) */
