/* GHASL — Premium Mobile Mockups & Interactive Showcase Styles */

/* Base Phone Stage */
.phone-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.phone-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.phone-glow--hero {
    width: 95%;
    height: 95%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(20px);
}

.phone-glow--showcase {
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.2) 0%, rgba(34, 197, 94, 0.1) 50%, transparent 75%);
    filter: blur(32px);
}

.phone-glow--app {
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.25) 0%, transparent 70%);
    filter: blur(28px);
}

.phone-mockup {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.25));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Sizing — slightly smaller; ~428px source ≈ crisp up to ~214px @2x retina */
.phone-stage--hero .phone-mockup {
    max-width: 200px;
}

.phone-stage--showcase .phone-mockup {
    max-width: 190px;
}

.phone-stage--app .phone-mockup {
    max-width: 200px;
}

@media (min-width: 640px) {
    .phone-stage--hero .phone-mockup {
        max-width: 235px;
    }

    .phone-stage--showcase .phone-mockup {
        max-width: 225px;
    }

    .phone-stage--app .phone-mockup {
        max-width: 235px;
    }
}

@media (min-width: 1024px) {
    .phone-stage--hero .phone-mockup {
        max-width: 265px;
    }

    .phone-stage--showcase .phone-mockup {
        max-width: 255px;
    }

    .phone-stage--app .phone-mockup {
        max-width: 265px;
    }
}

.phone-stage:hover .phone-mockup {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 32px 60px rgba(15, 23, 42, 0.32));
}

/* Showcase: no scale on hover — avoids corner bleed on mobile / during step swaps */
.phone-stage--showcase:hover .phone-mockup,
.phone-stage--showcase .phone-mockup.showcase-img-transition,
.phone-stage--showcase .phone-mockup.showcase-img-visible {
    transform: none;
}

@media (hover: hover) {
    .phone-stage--showcase:hover .phone-mockup {
        transform: translateY(-4px);
    }
}

/* Floating Micro-Badges (Glassmorphic Accent Cards) */
.floating-chip {
    position: absolute;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.2rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 9999px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.05);
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    pointer-events: none;
    animation: float-chip 6s ease-in-out infinite;
}

.floating-chip--dark {
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.floating-chip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #dbeafe;
    color: #00a3ff;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.floating-chip-icon--green {
    background: #dcfce7;
    color: #16a34a;
}

.floating-chip-icon--yellow {
    background: #fef9c3;
    color: #ca8a04;
}

/* Badge position adjustments for RTL & LTR */
.floating-chip--top-right {
    top: 8%;
    right: -8%;
}

.floating-chip--bottom-left {
    bottom: 10%;
    left: -8%;
    animation-delay: -3s;
}

html[dir="rtl"] .floating-chip--top-right {
    right: auto;
    left: -8%;
}

html[dir="rtl"] .floating-chip--bottom-left {
    left: auto;
    right: -8%;
}

@media (max-width: 639px) {
    .floating-chip {
        font-size: 0.75rem;
        padding: 0.45rem 0.85rem;
        gap: 0.35rem;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    }
    
    .floating-chip-icon {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
    }

    .floating-chip--top-right {
        top: 2%;
        right: 2%;
    }

    .floating-chip--bottom-left {
        bottom: 2%;
        left: 2%;
    }

    html[dir="rtl"] .floating-chip--top-right {
        left: 2%;
        right: auto;
    }

    html[dir="rtl"] .floating-chip--bottom-left {
        right: 2%;
        left: auto;
    }
}

@keyframes float-chip {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(1deg);
    }
}

/* Hero Gentle Floating Stage */
@keyframes float-hero {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.hero-stage-animate {
    animation: float-hero 6s ease-in-out infinite;
}

/* Hero section — premium layout aligned with page showcase */
.hero-section__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: radial-gradient(rgba(255, 255, 255, 0.85) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.hero-section__inner {
    position: relative;
}

.hero-section__chip {
    max-width: min(100%, 260px);
    white-space: normal;
    text-align: start;
}

html[dir="rtl"] .hero-section__chip {
    text-align: right;
}

.phone-stage--hero .hero-phone-slot {
    width: 200px;
    max-width: 200px;
}

@media (min-width: 640px) {
    .phone-stage--hero .hero-phone-slot {
        width: 235px;
        max-width: 235px;
    }
}

@media (min-width: 1024px) {
    .phone-stage--hero .hero-phone-slot {
        width: 280px;
        max-width: 280px;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-tagline {
    font-size: 1.0625rem;
    line-height: 1.65;
    opacity: 0.92;
    max-width: 36rem;
}

@media (min-width: 768px) {
    .hero-tagline {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-tagline {
        font-size: 1.375rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 28rem;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
}

html[dir="rtl"] .hero-section__content {
    text-align: right;
}

html[dir="ltr"] .hero-section__content {
    text-align: left;
}

@media (min-width: 768px) {
    html[dir="rtl"] .hero-section__content {
        text-align: right;
        align-items: flex-start;
    }

    html[dir="ltr"] .hero-section__content {
        text-align: left;
        align-items: flex-start;
    }
}

.hero-actions .btn-hero,
.hero-actions .btn-hero-secondary {
    width: 100%;
    font-size: 1.0625rem;
}

@media (min-width: 480px) {
    .hero-actions .btn-hero,
    .hero-actions .btn-hero-secondary {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
    }
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.05rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.btn-hero-secondary:focus-visible {
    outline: 3px solid #facc15;
    outline-offset: 3px;
}

.hero-trust {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.01em;
}

/* How-It-Works Interactive Showcase Container */
#how-it-works {
    scroll-margin-top: var(--ghasl-fixed-offset, 5rem);
}

.step-accordion-item {
    scroll-margin-top: calc(var(--ghasl-fixed-offset, 5rem) + 0.75rem);
}

/* How-It-Works Interactive Showcase Container */
.how-showcase-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 860px) {
    .how-showcase-container {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 4rem;
        align-items: flex-start;
    }

    .step-nav-list {
        gap: 1.375rem;
    }
}

/* Step Navigation List */
.step-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.step-accordion-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 1.25rem;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.step-nav-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: #ffffff;
    border: 2px solid #f1f5f9;
    border-radius: 1.25rem;
    cursor: pointer;
    text-align: right;
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    user-select: none;
    width: 100%;
    font: inherit;
    color: inherit;
    -webkit-appearance: none;
    appearance: none;
}

button.step-nav-item {
    margin: 0;
}

html[dir="ltr"] .step-nav-item {
    text-align: left;
}

@media (hover: hover) {
    .step-nav-item:hover {
        border-color: rgba(0, 163, 255, 0.4);
        box-shadow: 0 10px 30px rgba(0, 163, 255, 0.09);
    }
}

.step-accordion-item.is-active .step-nav-item,
.step-nav-item.is-active {
    border-color: var(--brand-blue, #00a3ff);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow: 0 14px 35px rgba(0, 163, 255, 0.16);
}

/* Mobile: accordion panel with phone under active step */
.step-accordion-panel {
    display: none;
    padding: 0 0.5rem 0.25rem;
}

.step-accordion-item.is-active .step-accordion-panel {
    display: block;
    animation: step-panel-in 0.35s ease;
}

@keyframes step-panel-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-mobile-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0 0.5rem;
    gap: 0.75rem;
}

.step-mobile-badge {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    animation: none !important;
    margin-bottom: 0.25rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

.step-mobile-badge span {
    white-space: normal;
}

.phone-mockup-slot--step {
    width: 168px;
    max-width: 168px;
}

/* App UI mocks — literal controls from GHASL app screens */
.app-mock-panel {
    display: none;
    width: 100%;
    max-width: 320px;
}

.app-mock-panel.is-visible {
    display: block;
}

.showcase-app-mock {
    width: 100%;
    max-width: 255px;
    margin-top: 1rem;
}

.showcase-app-mock[hidden] {
    display: none !important;
}

/* Home — Place New Order */
.app-home-order-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    background: #e8f7fd;
    border: 1px solid #b3e5fc;
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow: 0 6px 10px rgba(0, 174, 239, 0.1);
    color: #0f172a;
}

.app-home-order-btn__content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.app-home-order-btn__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aeef;
}

.app-home-order-btn__text {
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.25;
    text-align: start;
}

html[dir="rtl"] .app-home-order-btn__text {
    text-align: right;
}

.app-home-order-btn__chevron {
    flex-shrink: 0;
    font-size: 1.35rem;
    line-height: 1;
    color: #0f172a;
    transform: rotate(-90deg);
    font-weight: 700;
}

html[dir="rtl"] .app-home-order-btn__chevron {
    transform: rotate(90deg);
}

/* Items — Sort for Me card (active) */
.app-sfm-card {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.app-sfm-card--active {
    border-color: #00aeef;
    background: #e8f7fd;
}

.app-sfm-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: #00aeef;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-sfm-card__text {
    flex: 1;
    min-width: 0;
}

.app-sfm-card__title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a;
    text-align: start;
    margin-bottom: 2px;
}

html[dir="rtl"] .app-sfm-card__title {
    text-align: right;
}

.app-sfm-card__sub {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    text-align: start;
    line-height: 1.35;
}

html[dir="rtl"] .app-sfm-card__sub {
    text-align: right;
}

.app-sfm-card__check {
    flex-shrink: 0;
    color: #00aeef;
    line-height: 0;
}

/* Review — Use Wallet Balance row */
.app-wallet-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.app-wallet-card__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.app-wallet-card__wallet-icon {
    flex-shrink: 0;
    color: #00aeef;
}

.app-wallet-card__title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
}

.app-wallet-card__avail {
    font-size: 0.6875rem;
    color: #64748b;
    padding-inline-start: 26px;
}

html[dir="rtl"] .app-wallet-card__avail {
    padding-inline-start: 0;
    padding-inline-end: 26px;
}

.app-wallet-card__balance {
    font-weight: 600;
    color: #64748b;
}

.app-switch {
    flex-shrink: 0;
    width: 48px;
    height: 28px;
    border-radius: 9999px;
    background: #b3e5fc;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.app-switch--on span {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 9999px;
    background: #00aeef;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.app-mock--home-order,
.app-mock--sort-for-me,
.app-mock--wallet-row,
.app-mock--order-tracker {
    width: 100%;
    max-width: 320px;
}

/* Home — active order card + status tracker */
.app-order-card {
    width: 100%;
    max-width: 320px;
    background: #ffffff;
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.app-order-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.app-order-card__id-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.app-order-card__icon-box {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e8f7fd;
    color: #00aeef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-order-card__order-id {
    font-weight: 800;
    font-size: 0.9375rem;
    color: #111827;
    line-height: 1.2;
}

.app-order-card__badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

html[dir="rtl"] .app-order-card__badges {
    align-items: flex-start;
}

.app-order-card__status {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

html[dir="rtl"] .app-order-card__status {
    text-transform: none;
    letter-spacing: 0;
}

.app-order-card__paid {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #dcfce7;
    color: #16a34a;
    font-size: 0.5625rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
}

.app-order-card__paid-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
}

.app-order-tracker {
    position: relative;
    margin-bottom: 20px;
    padding-inline: 4px;
}

.app-order-tracker__line {
    position: absolute;
    top: 11px;
    left: 25px;
    right: 25px;
    height: 3px;
    background: #f1f5f9;
    border-radius: 2px;
}

.app-order-tracker__line-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: #00aeef;
    border-radius: 2px;
}

html[dir="rtl"] .app-order-tracker__line-fill {
    left: auto;
    right: 0;
}

.app-order-tracker__steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.app-order-tracker__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50px;
    text-align: center;
}

.app-order-tracker__dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-bottom: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.app-order-tracker__step--done .app-order-tracker__dot {
    background: #00aeef;
    border-color: #00aeef;
    color: #ffffff;
}

.app-order-tracker__step--current .app-order-tracker__dot {
    background: #00aeef;
    border-color: #b3e5fc;
    color: #ffffff;
}

.app-order-tracker__label {
    font-size: 0.5rem;
    color: #94a3b8;
    font-weight: 600;
    line-height: 1.2;
    max-width: 100%;
}

.app-order-tracker__step--done .app-order-tracker__label,
.app-order-tracker__step--current .app-order-tracker__label {
    color: #0f172a;
    font-weight: 700;
}

.app-order-card__footer {
    display: flex;
    align-items: stretch;
    background: #f8fafc;
    padding: 12px;
    border-radius: 14px;
}

.app-order-card__footer-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.app-order-card__footer-label {
    font-size: 0.5625rem;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

html[dir="rtl"] .app-order-card__footer-label {
    text-transform: none;
    letter-spacing: 0;
}

.app-order-card__footer-value {
    font-size: 0.8125rem;
    color: #334155;
    font-weight: 700;
    line-height: 1.3;
}

.app-order-card__footer-time {
    font-size: 0.8125rem;
    color: #00aeef;
    font-weight: 700;
    line-height: 1.3;
}

.app-order-card__footer-total {
    font-size: 1rem;
    color: #00aeef;
    font-weight: 700;
    line-height: 1.3;
}

.app-order-card__footer-divider {
    width: 1px;
    background: #e2e8f0;
    margin-inline: 10px;
    align-self: stretch;
}

@media (max-width: 859px) {
    .app-order-tracker__step {
        width: 44px;
    }

    .app-order-tracker__label {
        font-size: 0.4375rem;
    }
}

/* Legacy generic button */
.app-create-order-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    background: #e8f7fd;
    border: 1px solid #b3e5fc;
    border-radius: 20px;
    padding: 14px 16px;
    box-shadow: 0 6px 10px rgba(0, 174, 239, 0.1);
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.3;
}

.app-create-order-btn__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00aeef;
}

.app-create-order-btn__plus {
    display: block;
}

.app-create-order-btn__text {
    flex: 1;
    text-align: start;
}

html[dir="rtl"] .app-create-order-btn__text {
    text-align: right;
}

.app-create-order-btn__arrow {
    flex-shrink: 0;
    font-size: 1.35rem;
    line-height: 1;
    color: #0f172a;
    transform: rotate(-90deg);
    font-weight: 700;
}

html[dir="rtl"] .app-create-order-btn__arrow {
    transform: rotate(90deg);
}

.app-create-order-btn--showcase {
    margin-top: 1rem;
    max-width: 255px;
}

.phone-stage--showcase {
    flex-direction: column;
    align-items: center;
}

@media (min-width: 860px) {
    .step-accordion-panel {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
    }

    .step-accordion-item.is-active .step-nav-item,
    .step-nav-item.is-active {
        transform: none;
    }

    @media (hover: hover) {
        .step-nav-item:hover {
            transform: none;
        }
    }
}

@media (max-width: 859px) {
    .showcase-phone-wrapper {
        display: none !important;
    }

    .how-showcase-container {
        gap: 1rem;
    }

    .step-nav-list {
        gap: 0.85rem;
    }

    .step-accordion-item.is-active {
        background: #ffffff;
        box-shadow: 0 8px 28px rgba(0, 163, 255, 0.08);
        padding-bottom: 0.35rem;
    }

    .step-accordion-item.is-active .step-nav-item,
    .step-nav-item.is-active {
        transform: none;
        box-shadow: none;
    }

    .step-accordion-item.is-active .step-accordion-panel {
        padding-inline: 0.75rem;
    }
}

.step-nav-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-nav-item.is-active .step-nav-number {
    background: var(--brand-blue, #00a3ff);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 163, 255, 0.38);
}

.step-nav-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
}

.step-nav-item.is-active .step-nav-content h3 {
    color: var(--brand-blue, #00a3ff);
}

.step-nav-content p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* Showcase Phone Wrapper */
.showcase-phone-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    isolation: isolate;
}

/* Fixed aspect slot — prevents layout jump and corner bleed while swapping steps */
.phone-mockup-slot {
    position: relative;
    width: 190px;
    max-width: 190px;
    aspect-ratio: 428 / 864;
    margin: 0 auto;
    flex-shrink: 0;
    z-index: 2;
}

.phone-mockup-slot .phone-mockup {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain;
    object-position: center center;
    will-change: opacity;
}

@media (min-width: 640px) {
    .phone-mockup-slot {
        width: 225px;
        max-width: 225px;
    }
}

@media (min-width: 1024px) {
    .phone-mockup-slot {
        width: 255px;
        max-width: 255px;
    }
}

/* Legacy sizing override — slot handles dimensions */
.showcase-phone-wrapper .phone-mockup {
    max-width: none !important;
}

.showcase-img-transition {
    opacity: 0;
    transition: opacity 0.32s ease;
}

.showcase-img-visible {
    opacity: 1;
    transition: opacity 0.32s ease;
}

/* Photo Service Cards & Delivery Van Showcase */
.service-photo-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    border: 1px solid #f1f5f9;
}

.service-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 163, 255, 0.15);
}

.service-photo-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.service-photo-card:hover .service-photo-img {
    transform: scale(1.04);
}

/* Service card image slider — full photo + thumb ring + dot cursor */
.service-slider {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.service-slider__stage {
    position: relative;
    height: 220px;
    background: #f0f4f8;
    overflow: hidden;
}

.service-slider__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.service-slider__img.is-active {
    opacity: 1;
}

.service-slider__controls {
    padding: 10px 12px 14px;
    background: #fff;
}

.service-slider__thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    position: relative;
    margin-bottom: 10px;
    padding: 4px 0;
}

.service-slider__thumb-ring {
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid var(--brand-blue, #00a3ff);
    border-radius: 10px;
    pointer-events: none;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), width 0.38s cubic-bezier(0.4, 0, 0.2, 1), height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 163, 255, 0.22);
    z-index: 2;
}

.service-slider__thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.25s ease;
    background: #f1f5f9;
    flex-shrink: 0;
}

.service-slider__thumb.is-active {
    opacity: 1;
}

.service-slider__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-slider__dots-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    height: 20px;
    align-items: flex-end;
}

.service-slider__dots {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.service-slider__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.service-slider__dot.is-active {
    background: var(--brand-blue, #00a3ff);
    transform: scale(1.15);
}

.service-slider__dot-cursor {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--brand-blue, #00a3ff);
    border-radius: 2px;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.service-type-panel {
    background: linear-gradient(165deg, #f0f9ff 0%, #f8fafc 50%, #fff 100%);
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1rem 1.5rem;
    min-height: 280px;
    box-sizing: border-box;
}

.service-type-panel--dresses {
    background: linear-gradient(165deg, #faf5ff 0%, #f8fafc 50%, #fff 100%);
}

.service-type-panel--shoes {
    background: linear-gradient(165deg, #fffbeb 0%, #f8fafc 50%, #fff 100%);
}

.service-type-panel__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    min-height: 220px;
}

.service-type-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.75rem 0.5rem;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 163, 255, 0.1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.service-type-panel--dresses .service-type-tile {
    border-color: rgba(147, 51, 234, 0.12);
}

.service-type-panel--shoes .service-type-tile {
    border-color: rgba(245, 158, 11, 0.15);
}

.service-type-tile__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-type-tile__icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.service-type-tile__icon--blue {
    background: #dbeafe;
    color: var(--brand-blue, #00a3ff);
}

.service-type-tile__icon--emerald {
    background: #d1fae5;
    color: #059669;
}

.service-type-tile__icon--purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.service-type-tile__icon--amber {
    background: #fef3c7;
    color: #d97706;
}

.service-type-tile__label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    text-align: center;
    line-height: 1.35;
}

.service-type-panel__note {
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: #94a3b8;
    text-align: center;
    line-height: 1.4;
}

.service-photo-card:hover .service-slider__img.is-active {
    transform: scale(1.02);
    transition: opacity 0.45s ease, transform 0.5s ease;
}

/* Legacy collage — kept for reference, unused */
.service-photo-collage {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: 1fr 1fr;
    height: 280px;
    gap: 4px;
    background: #f8fafc;
}

.service-photo-collage--thobes {
    grid-template-columns: 1.2fr 0.8fr;
}

.service-photo-collage__main {
    grid-row: span 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-photo-collage__sub {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-photo-card:hover .service-photo-collage__main,
.service-photo-card:hover .service-photo-collage__sub {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.quality-section {
    background: #fff;
}

/* Legacy alias — quality is now a top-level section */
.features-quality-sub {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

@media (min-width: 768px) {
    .features-quality-sub {
        margin-top: 0;
        padding-top: 0;
    }
}

.van-delivery-box {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 163, 255, 0.22);
    border: 1px solid rgba(0, 163, 255, 0.32);
    background: linear-gradient(135deg, #005bb5 0%, #0078d4 48%, #00a3ff 100%);
}

.van-delivery-box-glow {
    background: rgba(0, 163, 255, 0.28);
}

.van-delivery-box-chip {
    background: rgba(255, 255, 255, 0.14);
    color: #f0f9ff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.van-delivery-box-features {
    color: #e0f2fe;
}

.van-delivery-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* ——— Marketing copy: balanced lines & RTL-friendly rhythm ——— */
.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

.hero-headline {
    text-wrap: balance;
    line-height: 1.12;
}

.hero-headline-break {
    display: block;
}

@media (min-width: 768px) {
    .hero-headline-break {
        margin-top: 0.2em;
    }
}

.section-headline {
    text-wrap: balance;
    line-height: 1.28;
}

.section-lead {
    text-wrap: pretty;
    line-height: 1.75;
}

.copy-block {
    text-wrap: pretty;
    line-height: 1.7;
}

html[dir="rtl"] .section-lead,
html[dir="rtl"] .copy-block,
html[dir="rtl"] .hero-tagline {
    line-height: 1.85;
}

html[dir="rtl"] .hero-tagline-line + .hero-tagline-line {
    display: block;
    margin-top: 0.35em;
}

html[dir="ltr"] .hero-tagline-line + .hero-tagline-line {
    display: block;
    margin-top: 0.35em;
}

html[dir="rtl"] #features .feature-card {
    align-items: flex-start;
    text-align: right;
}

html[dir="rtl"] #features .feature-card .feature-card-icon-wrap {
    align-self: center;
}

html[dir="ltr"] #features .feature-card {
    text-align: center;
}

html[dir="rtl"] .service-photo-card .p-6 {
    text-align: right;
}

html[dir="rtl"] .step-nav-content {
    text-align: right;
}

html[dir="rtl"] .van-delivery-box .text-start {
    text-align: right;
}

/* ——— Contact section ——— */
.contact-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 48%, #f1f5f9 100%);
    border-top: 1px solid rgba(0, 163, 255, 0.12);
}

.contact-section__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    pointer-events: none;
    background-image: radial-gradient(rgba(0, 163, 255, 0.12) 1px, transparent 1px);
    background-size: 22px 22px;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #eff6ff;
    color: var(--brand-blue);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.contact-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 1.25rem;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
    .contact-panel {
        padding: 1.75rem;
    }
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
}

@media (min-width: 640px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.125rem;
    text-decoration: none;
    color: var(--brand-dark-text);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 163, 255, 0.35);
    box-shadow: 0 12px 32px rgba(0, 163, 255, 0.12);
}

.contact-card:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

.contact-card--featured {
    grid-column: 1 / -1;
    padding: 1.35rem 1.5rem;
    border-color: rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 55%);
}

.contact-card--featured:hover {
    border-color: rgba(37, 211, 102, 0.55);
    box-shadow: 0 14px 36px rgba(37, 211, 102, 0.16);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.contact-card-icon.email {
    background: linear-gradient(135deg, #38bdf8, var(--brand-blue));
}

.contact-card-icon.whatsapp {
    background: linear-gradient(135deg, #34d399, #25d366);
}

.contact-card-icon.faq {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    color: #fff;
}

.contact-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.contact-card-body {
    flex: 1;
    min-width: 0;
}

.contact-card-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}

.contact-card-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.contact-card-value {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-dark-text);
    line-height: 1.35;
}

.contact-card-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.2rem;
    line-height: 1.45;
}

.contact-card-arrow {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

html[dir="rtl"] .contact-card-arrow {
    transform: scaleX(-1);
}

.contact-card:hover .contact-card-arrow {
    color: var(--brand-blue);
    transform: translateX(3px);
}

html[dir="rtl"] .contact-card:hover .contact-card-arrow {
    transform: scaleX(-1) translateX(3px);
}

.contact-app-panel {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
    .contact-app-panel {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: start;
        padding: 1.5rem 1.75rem;
    }
}

.contact-app-panel__lead {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--brand-dark-text);
    margin-bottom: 0.25rem;
}

.contact-app-panel__sub {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.contact-app-panel__badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

html[dir="rtl"] .contact-card {
    text-align: right;
}

html[dir="rtl"] .contact-app-panel {
    text-align: right;
}

html[dir="ltr"] .contact-app-panel {
    text-align: left;
}
