:root {
  --bg: #08080b;
  --surface: #101014;
  --surface-2: #15151b;
  --text: #f7f7f8;
  --dim: rgba(247, 247, 248, 0.68);
  --muted: rgba(247, 247, 248, 0.44);
  --line: rgba(247, 247, 248, 0.12);
  --accent: #8a80bc;
  --accent-soft: rgba(138, 128, 188, 0.16);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[dir="rtl"] body { font-family: Tajawal, Inter, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.section-shell { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
.app-nav { position: fixed; inset: 1rem 0 auto; z-index: 30; width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; min-height: 58px; padding: 0.65rem 0.75rem 0.65rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: rgba(8, 8, 11, 0.92); border: 1px solid var(--line); border-radius: 8px; backdrop-filter: blur(14px); }
html[dir="rtl"] .app-nav { padding: 0.65rem 1rem 0.65rem 0.75rem; }
.app-brand { width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; }
.app-brand img { width: 46px; height: 46px; object-fit: contain; }
.app-nav-links { display: flex; align-items: center; gap: 1.6rem; color: var(--dim); font-size: 0.82rem; }
.app-nav-links a { transition: color 180ms ease; }
.app-nav-links a:hover { color: var(--text); }
.app-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.lang-switch { min-width: 44px; height: 38px; border: 0; background: transparent; cursor: pointer; color: var(--dim); font-size: 0.78rem; font-weight: 700; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; place-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 19px; height: 1px; background: currentColor; }
.mobile-nav { display: none; }

main { overflow: hidden; }
.app-hero { min-height: min(82vh, 760px); padding-top: 7.5rem; padding-bottom: 2.5rem; display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr); align-items: center; gap: clamp(2rem, 5vw, 5.5rem); }
.hero-copy h1 { margin: 0; max-width: 12ch; font-size: clamp(3.1rem, 6vw, 5.9rem); line-height: 0.98; letter-spacing: 0; }
html[dir="rtl"] .hero-copy h1 { line-height: 1.05; }
.hero-copy > p { max-width: 510px; margin: 2.2rem 0 0; color: var(--dim); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; margin-top: 2.2rem; }
.text-action { display: inline-flex; align-items: center; gap: 0.5rem; color: #b7aee2; font-size: 0.86rem; font-weight: 700; }
html[dir="rtl"] .text-action span:last-child { transform: rotate(180deg); }
.hero-phones { min-height: 510px; position: relative; display: flex; align-items: center; justify-content: center; }
.phone-shot { position: absolute; width: 34%; margin: 0; padding: clamp(2px, 0.3vw, 4px); border: 1px solid var(--accent); border-radius: clamp(24px, 3vw, 38px); background: #08080b; overflow: hidden; box-shadow: 0 22px 60px rgba(0,0,0,.45); }
.phone-shot img { width: 100%; height: auto; border-radius: clamp(20px, 2.65vw, 33px); }
.phone-shot-main { z-index: 3; width: 38%; transform: translateY(-10px); }
.phone-shot-left { z-index: 2; transform: translate(-76%, 20px) rotate(-3deg); }
.phone-shot-right { z-index: 1; transform: translate(76%, 25px) rotate(3deg); }
html[dir="rtl"] .phone-shot-left { transform: translate(76%, 20px) rotate(3deg); }
html[dir="rtl"] .phone-shot-right { transform: translate(-76%, 25px) rotate(-3deg); }

.mission, .journey, .owners, .dashboard-showcase, .analytics, .devices, .payments { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.scroll-section { scroll-margin-top: 5.5rem; border-top: 1px solid var(--line); }
.section-intro { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-intro h2, .owners-copy > h2 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.08; letter-spacing: 0; }
.section-intro p, .owners-copy > p { max-width: 620px; margin: 1rem 0 0; color: var(--dim); font-size: 1rem; }

.mission .section-intro { margin-inline: auto; text-align: center; }
.mission .section-intro p { margin-inline: auto; }
.journey .section-intro, .dashboard-showcase .section-intro { margin-inline: auto; text-align: center; }
.journey .section-intro p, .dashboard-showcase .section-intro p { margin-inline: auto; }
.mission-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 3rem); }
.mission-grid::before { content: ""; position: absolute; top: 34px; inset-inline: 12.5%; border-top: 1px solid var(--line); }
.mission-item { position: relative; z-index: 1; padding: 0 0.5rem; text-align: center; }
.mission-item > span { width: 68px; height: 68px; margin-inline: auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: #a99fde; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86rem; font-weight: 700; }
.journey-heading > span, .workflow-list > li > span { color: var(--accent); font-size: 1.35rem; font-weight: 700; }
.mission-item h3 { margin: 1.7rem 0 0; font-family: Fraunces, Georgia, serif; font-size: 1.15rem; font-weight: 500; }
html[dir="rtl"] .mission-item h3 { font-family: Tajawal, Inter, sans-serif; font-weight: 700; }
.mission-item p { max-width: 26ch; margin: 0.65rem auto 0; color: var(--muted); font-size: 0.9rem; }

.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: end; }
.journey-heading { display: grid; grid-template-columns: auto 1fr; gap: 1rem; min-height: 112px; }
.journey-heading h3 { margin: 0; font-size: 1.05rem; }
.journey-heading p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.86rem; }
.journey-phone { width: min(100%, 250px); margin: 1.25rem auto 0; padding: clamp(2px, 0.3vw, 4px); border: 1px solid var(--accent); border-radius: clamp(24px, 3vw, 38px); overflow: hidden; background: #08080b; }
.journey-phone img { border-radius: clamp(20px, 2.65vw, 33px); }

.owners { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.feature-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 0.9rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.feature-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(138,128,188,.55); border-radius: 50%; color: #b7aee2; font-size: 0.62rem; font-weight: 700; }
.feature-list h3 { margin: 0; font-size: 0.98rem; }
.feature-list p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.84rem; }
.owner-dashboard { position: relative; min-width: 0; }
.owner-dashboard-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 35px 80px -35px rgba(0,0,0,.8), 0 0 0 1px rgba(247,247,248,.035); }
.owner-dashboard-chrome { min-height: 38px; padding: 9px 12px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); background: rgba(8,8,11,.82); }
.owner-dashboard-chrome > span { width: 8px; height: 8px; border-radius: 50%; background: rgba(247,247,248,.18); }
.owner-dashboard-chrome > span:nth-child(1) { background: rgba(244,71,71,.62); }
.owner-dashboard-chrome > span:nth-child(2) { background: rgba(244,178,71,.62); }
.owner-dashboard-chrome > span:nth-child(3) { background: rgba(74,222,128,.62); }
.owner-dashboard-chrome > div { max-width: 70%; margin-inline: auto; padding: 3px 12px; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.04); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.62rem; text-overflow: ellipsis; white-space: nowrap; }
.owner-dashboard-body { display: grid; grid-template-columns: 168px 1fr; min-height: 430px; }
.owner-dashboard-side { padding: 1rem 0.75rem; border-inline-end: 1px solid var(--line); background: rgba(255,255,255,.012); }
.owner-dashboard-side > strong { padding: 0.35rem 0.5rem 1.05rem; display: flex; align-items: center; gap: 0.5rem; font-family: Fraunces, Georgia, serif; font-size: 0.96rem; font-weight: 500; }
.owner-dashboard-side > strong svg { width: 18px; height: 18px; color: var(--text); }
.owner-dashboard-side > strong .mark-square { fill: var(--accent); }
.owner-dashboard-side ul { margin: 0; padding: 0; display: grid; gap: 3px; list-style: none; }
.owner-dashboard-side li { padding: 0.55rem 0.6rem; display: flex; align-items: center; gap: 0.55rem; border: 1px solid transparent; border-radius: 7px; color: var(--muted); font-size: 0.72rem; }
.owner-dashboard-side li i { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 3px; background: rgba(255,255,255,.06); }
.owner-dashboard-side li.active { border-color: rgba(138,128,188,.38); background: var(--accent-soft); color: var(--text); }
.owner-dashboard-side li.active i { background: var(--accent); }
.owner-dashboard-side hr { height: 1px; margin: 0.85rem 0.35rem; border: 0; background: var(--line); }
.owner-dashboard-secondary li { font-size: 0.68rem; }
.owner-dashboard-main { min-width: 0; padding: 1rem 1.2rem; }
.owner-dashboard-topbar { margin-bottom: 1rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.owner-dashboard-topbar h3 { max-width: 13ch; margin: 0; font-family: Fraunces, Georgia, serif; font-size: 1.45rem; line-height: 1.18; font-weight: 500; }
.owner-dashboard-topbar p { max-width: 24ch; margin: 0.4rem 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.owner-dashboard-topbar p strong, .owner-dashboard-topbar p .up { color: #4ade80; font-weight: 600; }
.owner-dashboard-actions { display: flex; gap: 0.35rem; flex: 0 0 auto; }
.owner-dashboard-actions span, .owner-dashboard-actions strong { padding: 0.35rem 0.55rem; border: 1px solid var(--line); border-radius: 6px; color: var(--dim); font-size: 0.62rem; font-weight: 500; white-space: nowrap; }
.owner-dashboard-actions strong { border-color: var(--accent); background: var(--accent); color: var(--text); }
.owner-dashboard-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.owner-dashboard-tiles article { position: relative; min-width: 0; min-height: 150px; padding: 0.8rem; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.012); }
.owner-dashboard-tiles article > span { display: flex; align-items: center; gap: 0.4rem; overflow: hidden; color: var(--muted); font-size: 0.68rem; line-height: 1.35; text-overflow: ellipsis; }
.owner-dashboard-tiles article > span i { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 3px; background: rgba(255,255,255,.06); }
.owner-dashboard-tiles article > b { display: block; margin-top: 0.7rem; font-family: Fraunces, Georgia, serif; font-size: 1.72rem; font-weight: 400; line-height: 1; }
.owner-dashboard-tiles article > b em { margin-inline-start: 2px; color: var(--muted); font-family: Inter, sans-serif; font-size: 0.6rem; font-style: normal; }
.owner-dashboard-tiles article > small { display: block; max-width: 10ch; margin-top: 0.8rem; color: #4ade80; font-size: 0.72rem; line-height: 1.38; }
.owner-dashboard-tiles article > svg { position: absolute; inset: auto 7px 7px auto; width: 48px; height: 18px; color: var(--accent); opacity: .75; }
html[dir="rtl"] .owner-dashboard-tiles article > svg { inset: auto auto 7px 7px; }
.owner-dashboard-tiles polyline { fill: none; stroke: currentColor; stroke-width: 1.4; }
.owner-dashboard-ring { position: absolute; inset: auto 8px 8px auto; width: 38px; height: 38px; color: var(--accent); }
html[dir="rtl"] .owner-dashboard-ring { inset: auto auto 8px 8px; }
.owner-dashboard-ring circle { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 3; }
.owner-dashboard-ring circle.progress { stroke: currentColor; stroke-dasharray: 74 100; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; }
.owner-dashboard-chart { margin-top: 0.7rem; padding: 0.9rem 1rem 0.45rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.012); }
.owner-dashboard-chart > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.owner-dashboard-chart h4 { margin: 0; font-size: 0.9rem; font-weight: 500; }
.owner-dashboard-chart p { margin: 0; display: flex; gap: 0.9rem; color: var(--muted); font-size: 0.66rem; }
.owner-dashboard-chart p span::before { content: ""; width: 6px; height: 6px; margin-inline-end: 4px; display: inline-block; border-radius: 50%; background: #f7f7f8; }
.owner-dashboard-chart p span:nth-child(2)::before { background: #4ade80; }
.owner-dashboard-chart p span:nth-child(3)::before { background: #f87171; }
.owner-dashboard-chart > svg { width: 100%; height: 130px; display: block; }
.owner-dashboard-chart path { fill: none; stroke-width: 2; }
.owner-dashboard-chart .confirmed { stroke: #f7f7f8; }
.owner-dashboard-chart .completed { stroke: #4ade80; }
.owner-dashboard-chart .cancelled { stroke: #f87171; stroke-width: 1.5; }
.owner-dashboard-chart .confirmed-fill { fill: rgba(247,247,248,.08); stroke: none; }
.owner-dashboard-chart .completed-fill { fill: rgba(74,222,128,.1); stroke: none; }
.owner-dashboard-float { position: absolute; min-width: 205px; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(20,20,28,.94); box-shadow: 0 22px 55px -22px rgba(0,0,0,.85); backdrop-filter: blur(18px); animation: slowFloat 6s ease-in-out infinite alternate; }
.owner-dashboard-float strong { display: flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; }
.owner-dashboard-float strong i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.owner-dashboard-float p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.65rem; }
.owner-dashboard-float > b { display: block; margin-top: 0.55rem; color: #a99fde; font-family: Fraunces, Georgia, serif; font-size: 1.05rem; font-weight: 400; }
.owner-dashboard-booking { inset: auto auto -1.7rem -1.8rem; }
.owner-dashboard-review { inset: 1.8rem -1.8rem auto auto; max-width: 245px; animation-delay: 1s; }
.owner-dashboard-review strong span { color: var(--muted); font-weight: 400; }
.owner-dashboard-review p { font-style: italic; line-height: 1.45; }

.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.showcase-card { min-width: 0; padding: 1.6rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: start; transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s ease; }
.showcase-card:hover { transform: translateY(-3px); border-color: rgba(138,128,188,.48); }
.showcase-card h3 { margin: 0; font-family: Fraunces, Georgia, serif; font-size: 1.3rem; font-weight: 500; }
.showcase-card > p { margin: 0.55rem 0 1.45rem; color: var(--dim); font-size: 0.95rem; line-height: 1.6; }
.showcase-mock { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: rgba(8,8,11,.48); padding: 0.85rem; }
.booking-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 0.65rem; padding: 0.62rem 0.45rem; border-bottom: 1px solid var(--line); font-size: 0.82rem; }
.booking-row:last-child { border-bottom: 0; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; }
.status-dot.live { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.status-dot.soon { background: var(--accent); }
.status-dot.off { background: var(--muted); }
.booking-name { min-width: 0; color: var(--text); font-weight: 600; }
.booking-time { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.72rem; white-space: nowrap; }
.status-pill { padding: 0.25rem 0.55rem; border-radius: 999px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.status-pill.ok { border: 1px solid rgba(74,222,128,.28); background: rgba(74,222,128,.1); color: #4ade80; }
.status-pill.warn { border: 1px solid rgba(138,128,188,.36); background: var(--accent-soft); color: #a99fde; }
.status-pill.done { border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); }
.calendar-head { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0.2rem 0 0.45rem; border-bottom: 1px solid var(--line); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.62rem; letter-spacing: 0.14em; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; margin-top: 1px; background: var(--line); }
.calendar-grid > div { min-height: 38px; padding: 4px; background: rgba(8,8,11,.52); }
.event { display: block; max-width: 100%; overflow: hidden; padding: 2px 5px; border-radius: 4px; font-size: 0.62rem; text-overflow: ellipsis; white-space: nowrap; }
.event.purple { border-inline-start: 2px solid var(--accent); background: rgba(138,128,188,.18); color: #a99fde; }
.event.green { border-inline-start: 2px solid #4ade80; background: rgba(74,222,128,.12); color: #4ade80; }
.event.amber { border-inline-start: 2px solid #f4b247; background: rgba(244,178,71,.12); color: #f4b247; }
.edit-steps { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.edit-steps::before { content: ""; position: absolute; inset: 11px 12px auto; height: 1px; background: var(--line); }
.edit-step { position: relative; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.7rem; }
.edit-step.done { border-color: var(--accent); background: var(--accent); color: var(--text); }
.edit-step.active { border-color: var(--accent); color: #a99fde; }
.edit-step span { position: absolute; top: 31px; left: 50%; color: var(--muted); font-size: 0.62rem; white-space: nowrap; transform: translateX(-50%); }
.edit-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; }
.edit-fields > div { padding: 0.65rem 0.75rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(8,8,11,.52); }
.edit-fields span { display: block; margin-bottom: 0.22rem; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; }
.edit-fields strong { color: var(--text); font-family: Fraunces, Georgia, serif; font-size: 1.05rem; font-weight: 500; }
.edit-fields small { color: var(--dim); font-family: Inter, sans-serif; font-size: 0.68rem; font-weight: 400; }
.notification-row { display: flex; gap: 0.7rem; padding: 0.75rem 0.55rem; border-bottom: 1px solid var(--line); }
.notification-row:last-child { border-bottom: 0; }
.notification-row strong { display: block; margin-bottom: 0.18rem; color: var(--text); font-size: 0.82rem; font-weight: 600; }
.notification-row p { margin: 0; color: var(--dim); font-size: 0.76rem; line-height: 1.45; }
.notice-icon { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 6px; }
.notice-icon.purple { border: 1px solid rgba(138,128,188,.36); background: var(--accent-soft); }
.notice-icon.amber { border: 1px solid rgba(244,178,71,.32); background: rgba(244,178,71,.14); }
.notice-icon.green { border: 1px solid rgba(74,222,128,.32); background: rgba(74,222,128,.12); }
html[dir="rtl"] .booking-row { grid-template-columns: auto 1fr auto auto; }
html[dir="rtl"] .booking-time, html[dir="rtl"] .status-pill, html[dir="rtl"] .calendar-head, html[dir="rtl"] .edit-fields span { letter-spacing: 0; }

.analytics .section-intro { margin-inline: auto; text-align: center; }
.analytics .section-intro p { margin-inline: auto; }
.analytics-grid { width: min(100%, 1120px); margin-inline: auto; display: grid; grid-template-columns: 2fr 1fr; gap: 0.8rem; }
.analytics-mini-stack { min-width: 0; display: grid; grid-template-rows: repeat(2, 1fr); gap: 0.8rem; }
.analytics-mini-stack .analytics-card { align-items: center; text-align: center; }
.analytics-mini-stack .analytics-card-head { width: 100%; justify-content: center; }
.analytics-card { min-width: 0; padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s ease; }
.analytics-card:hover { transform: translateY(-3px); border-color: rgba(138,128,188,.48); }
.analytics-card-main { grid-row: auto; }
.analytics-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.analytics-card-head h3 { margin: 0; color: var(--text); font-size: 0.98rem; font-weight: 500; }
.analytics-up { flex: 0 0 auto; color: #4ade80; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; }
.analytics-value { color: var(--text); font-family: Fraunces, Georgia, serif; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; }
.analytics-value small { margin-inline-start: 4px; color: var(--muted); font-family: Inter, system-ui, sans-serif; font-size: 0.82rem; }
.analytics-meta { margin: auto 0 0; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.7rem; }
.analytics-chart { width: 100%; height: 180px; display: block; margin-top: auto; }
.analytics-axis { display: flex; justify-content: space-between; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.65rem; }
.analytics-ring { width: 76px; height: 76px; }
.analytics-ring svg { width: 100%; height: 100%; }
.analytics-bars { width: min(100%, 220px); height: 58px; margin-top: auto; display: flex; align-items: end; gap: 4px; }
.analytics-bars span { flex: 1; height: var(--bar-height, 50%); border-radius: 3px 3px 0 0; background: var(--accent); opacity: 0.86; }
.analytics-bars span:last-child { opacity: 1; }

.devices .section-intro { margin-inline: auto; text-align: center; }
.devices .section-intro p { margin-inline: auto; }
.payments .section-intro { margin-inline: auto; text-align: center; }
.payments .section-intro p { margin-inline: auto; }
.payments { padding-block: 2.75rem 3.25rem; }
.payments .section-intro { max-width: 620px; margin-bottom: 1.75rem; }
.payments .section-intro h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
.payments .section-intro p { font-size: 0.9rem; }
.payment-logo-strip { width: min(100%, 880px); margin: 0 auto; padding: 1rem 1.25rem; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); list-style: none; border: 1px solid rgba(138, 128, 188, 0.34); border-radius: 8px; background: #fff; }
.payment-logo-strip li { min-width: 0; height: 54px; display: grid; place-items: center; }
.payment-logo-strip img { display: block; width: 100%; max-width: 116px; max-height: 44px; height: auto; object-fit: contain; }
.payment-logo-strip .payment-logo-on-dark { filter: none; opacity: 1; }
.payment-logo-strip .payment-logo-knet { max-width: 62px; max-height: 48px; }
.payment-logo-strip .payment-logo-mastercard { max-width: 64px; max-height: 50px; }
.device-row { display: flex; align-items: flex-end; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.device { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.device-label { color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.device-frame { overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 60px -25px rgba(0,0,0,.7); }
.device-desktop .device-frame { width: 420px; border-radius: 8px; }
.device-tablet .device-frame { width: 240px; padding: 8px; border-radius: 8px; background: #0b0b0f; }
.device-phone .device-frame { position: relative; width: 130px; padding: 7px; border-radius: 22px; background: #0b0b0f; }
.device-bar { display: flex; gap: 5px; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.device-bar span { width: 7px; height: 7px; border-radius: 50%; background: rgba(247,247,248,.18); }
.device-screen { display: grid; grid-template-columns: 80px 1fr; min-height: 240px; background: var(--bg); }
.device-screen.compact, .device-screen.phone-screen { display: block; min-height: 290px; padding: 12px 10px; border-radius: 6px; }
.device-screen.phone-screen { min-height: 220px; padding: 18px 8px 10px; border-radius: 15px; }
.device-side { border-inline-end: 1px solid var(--line); background: rgba(255,255,255,.02); }
.device-main { padding: 12px; }
.device-head { width: 60%; height: 12px; margin-bottom: 10px; border-radius: 4px; background: rgba(255,255,255,.08); }
.device-head.small { height: 8px; margin-bottom: 6px; }
.device-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 10px; }
.device-tiles.two { grid-template-columns: repeat(2, 1fr); }
.device-tiles.one { grid-template-columns: 1fr; }
.device-tiles span { height: 38px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.025); }
.device-tiles span:first-child { border-color: rgba(138,128,188,.45); background: var(--accent-soft); }
.device-chart { height: 70px; border: 1px solid var(--line); border-radius: 5px; background: rgba(138,128,188,.15); }
.device-list { display: flex; flex-direction: column; gap: 5px; }
.device-list span { height: 22px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.025); }
.device-list.small span { height: 14px; }
.device-notch { position: absolute; top: 9px; left: 50%; z-index: 2; width: 38px; height: 4px; border-radius: 4px; background: rgba(0,0,0,.75); transform: translateX(-50%); }

.app-footer { min-height: 130px; padding-block: 2.2rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.78rem; }
.footer-brand img { width: 140px; filter: brightness(0) invert(1); }
.app-footer p { margin: 0; text-align: center; }
.footer-links { display: flex; justify-content: flex-end; gap: 1.2rem; }
html[dir="rtl"] .footer-links { justify-content: flex-start; }
.horizontal-scroll-hint { position: fixed; left: 50%; bottom: 7rem; z-index: 80; padding: 0.6rem 1rem; border: 1px solid rgba(247,247,248,.16); border-radius: 999px; background: rgba(16,16,20,.72); color: rgba(247,247,248,.72); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; backdrop-filter: blur(14px); transition: opacity .45s ease, transform .45s ease; }
.horizontal-scroll-hint.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.phone-shot { animation: slowFloat 6s ease-in-out infinite alternate; }
.phone-shot-left { animation-delay: .6s; }
.phone-shot-right { animation-delay: 1.2s; }
@keyframes slowFloat { from { translate: 0 0; } to { translate: 0 -14px; } }

@media (max-width: 980px) {
  .app-nav-links { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav { position: fixed; top: 5.7rem; inset-inline: 1rem; z-index: 29; display: grid; padding: 0.7rem; background: #101014; border: 1px solid var(--line); border-radius: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: 180ms ease; }
  .mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-nav a { padding: 0.85rem; border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; color: #b7aee2; }
  .app-hero { grid-template-columns: 1fr; padding-top: 9rem; text-align: center; }
  .hero-copy h1, .hero-copy > p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-phones { min-height: 520px; width: min(100%, 680px); margin-inline: auto; }
  .owners { grid-template-columns: 1fr; }
  .owners-copy { max-width: 720px; }
  .owner-dashboard { width: min(100%, 760px); margin-inline: auto; }
  .analytics-grid { grid-template-columns: 2fr 1fr; }
  .analytics-card-main { grid-row: auto; }
  .device-desktop .device-frame { width: 360px; }
  .device-tablet .device-frame { width: 200px; }
}

@media (max-width: 700px) {
  .section-shell { width: min(calc(100% - 2rem), var(--max)); }
  .app-nav { inset: 0.7rem 0 auto; width: calc(100% - 1.4rem); }
  .app-brand, .app-brand img { width: 42px; height: 42px; }
  .section-intro, .owners-copy, .hero-copy { margin-inline: auto; text-align: center; }
  .section-intro p, .owners-copy > p, .hero-copy > p { margin-inline: auto; }
  .section-intro h2, .owners-copy > h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .app-hero { min-height: auto; padding-top: 8rem; padding-bottom: 4rem; }
  .hero-copy h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .app-hero { padding-top: 6.5rem; padding-bottom: 2rem; gap: 0; }
  .hero-copy > p { margin-bottom: 3rem; }
  .hero-phones { min-height: 390px; }
  .phone-shot-main { transform: translateY(36px); }
  .phone-shot-left { transform: translate(-76%, 66px) rotate(-3deg); }
  .phone-shot-right { transform: translate(76%, 66px) rotate(3deg); }
  html[dir="rtl"] .phone-shot-left { transform: translate(76%, 66px) rotate(3deg); }
  html[dir="rtl"] .phone-shot-right { transform: translate(-76%, 66px) rotate(-3deg); }
  .phone-shot { padding: 2px; border-radius: 22px; }
  .phone-shot img { border-radius: 19px; }
  .mission, .journey, .owners, .dashboard-showcase, .analytics, .devices { padding-block: 3.5rem; }
  .payments { padding-block: 2.25rem 2.75rem; }
  .payments .section-intro { margin-bottom: 1.25rem; }
  .payments .section-intro h2 { font-size: 1.8rem; }
  .payments .section-intro p { font-size: 0.82rem; }
  .scroll-section { scroll-margin-top: 4.8rem; }
  .mission-grid, .journey-grid, .showcase-grid, .analytics-grid, .device-row, .owner-dashboard { margin-inline: -1rem; padding: 0 1rem 0.9rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
  html[dir="ltr"] .mission-grid, html[dir="ltr"] .journey-grid, html[dir="ltr"] .showcase-grid, html[dir="ltr"] .analytics-grid, html[dir="ltr"] .device-row, html[dir="ltr"] .owner-dashboard { direction: ltr; }
  html[dir="rtl"] .mission-grid, html[dir="rtl"] .journey-grid, html[dir="rtl"] .showcase-grid, html[dir="rtl"] .analytics-grid, html[dir="rtl"] .device-row, html[dir="rtl"] .owner-dashboard { direction: rtl; }
  .mission-grid::-webkit-scrollbar, .journey-grid::-webkit-scrollbar, .showcase-grid::-webkit-scrollbar, .analytics-grid::-webkit-scrollbar, .device-row::-webkit-scrollbar, .owner-dashboard::-webkit-scrollbar { height: 4px; }
  .mission-grid::-webkit-scrollbar-thumb, .journey-grid::-webkit-scrollbar-thumb, .showcase-grid::-webkit-scrollbar-thumb, .analytics-grid::-webkit-scrollbar-thumb, .device-row::-webkit-scrollbar-thumb, .owner-dashboard::-webkit-scrollbar-thumb { border-radius: 4px; background: var(--accent); }
  .mission-grid { display: flex; gap: 1rem; }
  .mission-grid::before { display: none; }
  .mission-item { flex: 0 0 76vw; max-width: 290px; padding: 0 0.5rem; scroll-snap-align: start; }
  .mission-item > span { margin-inline: auto; }
  .mission-item h3 { margin-top: 1.3rem; }
  .journey-grid { display: flex; align-items: flex-start; gap: 1rem; }
  .journey-step { flex: 0 0 58vw; max-width: 225px; scroll-snap-align: start; }
  .journey-heading { min-height: 122px; }
  .journey-heading p { font-size: 0.76rem; }
  .journey-phone { width: min(100%, 190px); margin-top: 0.8rem; }
  .feature-list li { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .showcase-grid { display: flex; gap: 1rem; }
  .showcase-card { flex: 0 0 620px; max-width: calc(100vw - 2rem); padding: 1.2rem; scroll-snap-align: start; }
  .booking-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.45rem 0.55rem; }
  .booking-time { grid-column: 2; grid-row: 2; font-size: 0.62rem; }
  .status-pill { grid-column: 3; grid-row: 1 / span 2; align-self: center; padding: 0.24rem 0.45rem; font-size: 0.54rem; letter-spacing: 0.08em; }
  .calendar-grid > div { min-height: 42px; }
  .event { font-size: 0.58rem; }
  .edit-fields { grid-template-columns: repeat(3, minmax(135px, 1fr)); overflow-x: auto; padding-bottom: 0.15rem; }
  .notification-row { align-items: flex-start; }
  .owner-dashboard { width: auto; max-width: none; margin-top: 2.5rem; margin-bottom: 0; }
  .owner-dashboard-frame { width: 680px; }
  .owner-dashboard-body { grid-template-columns: 128px 1fr; }
  .owner-dashboard-side { display: block; }
  .owner-dashboard-main { padding: 1rem; }
  .owner-dashboard-actions { display: flex; }
  .owner-dashboard-tiles { grid-template-columns: repeat(4, 1fr); }
  .owner-dashboard-tiles article { min-height: 132px; }
  .owner-dashboard-chart p { display: flex; }
  .owner-dashboard-float { display: block; }
  .analytics-grid { display: flex; gap: 0.75rem; }
  .analytics-card-main { flex: 0 0 86vw; min-height: 320px; scroll-snap-align: start; }
  .analytics-mini-stack { flex: 0 0 58vw; min-width: 210px; grid-template-rows: repeat(2, 145px); gap: 0.65rem; scroll-snap-align: start; }
  .analytics-mini-stack .analytics-card { min-height: 0; padding: 0.9rem; gap: 0.35rem; }
  .analytics-mini-stack .analytics-card-head h3 { font-size: 0.8rem; }
  .analytics-mini-stack .analytics-value { font-size: 1.7rem; }
  .analytics-mini-stack .analytics-ring { position: absolute; inset: 48px 12px auto auto; width: 48px; height: 48px; }
  html[dir="rtl"] .analytics-mini-stack .analytics-ring { inset: 48px auto auto 12px; }
  .analytics-mini-stack .analytics-bars { width: 82px; height: 38px; margin-top: 0.2rem; }
  .analytics-mini-stack .analytics-meta { font-size: 0.58rem; }
  .analytics-mini-stack .analytics-card { position: relative; }
  .device-row { justify-content: flex-start; flex-wrap: nowrap; gap: 1rem; }
  .device { flex: 0 0 auto; scroll-snap-align: start; }
  .device-desktop { width: auto; }
  .device-desktop .device-frame { width: 300px; }
  .device-tablet, .device-phone { display: flex; }
  .device-tablet .device-frame { width: 190px; }
  .device-phone .device-frame { width: 120px; }
  .payment-logo-strip { width: 100%; padding: 0.75rem 0.6rem; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.4rem; }
  .payment-logo-strip li { height: 34px; }
  .payment-logo-strip img { max-width: 46px; max-height: 25px; }
  .payment-logo-strip .payment-logo-knet { max-width: 34px; max-height: 28px; }
  .payment-logo-strip .payment-logo-mastercard { max-width: 34px; max-height: 28px; }
  .app-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links, html[dir="rtl"] .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .phone-shot { animation: none; }
}
