:root {
    --landing-ink: #0d2f2e;
    --landing-muted: #5b6c6e;
    --landing-soft: #f3faf7;
    --landing-surface: #ffffff;
    --landing-line: #e1ece8;
    --landing-primary: #0f766e;
    --landing-primary-dark: #0b5f59;
    --landing-green: #149466;
    --landing-blue: #2f6fed;
    --landing-amber: #d28722;
    --landing-red: #d95c59;
    --landing-dark: #0c2a29;
    --landing-radius: 16px;
    --landing-radius-sm: 12px;
    --landing-shadow: 0 24px 60px -18px rgba(13, 83, 76, 0.28);
    --landing-shadow-soft: 0 16px 40px -20px rgba(18, 59, 58, 0.22);
    --landing-ring: 0 0 0 1px rgba(15, 118, 110, 0.08);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body.public-landing-shell {
    position: relative;
    min-width: 320px;
    margin: 0;
    background-color: #f6fbf9;
    background-image:
        radial-gradient(58% 42% at 88% -4%, rgba(20, 148, 102, 0.16), transparent 60%),
        radial-gradient(48% 38% at 4% 6%, rgba(47, 111, 237, 0.10), transparent 58%),
        linear-gradient(180deg, #f3faf7 0%, #ffffff 46%, #f5f9fc 100%);
    color: var(--landing-ink);
    font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.btn {
    min-height: 46px;
    padding-inline: 20px;
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: 0;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    will-change: transform;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn i {
    line-height: 1;
}

.btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #149a8c 0%, var(--landing-primary) 55%, var(--landing-primary-dark) 100%);
    box-shadow: 0 14px 28px -10px rgba(15, 118, 110, 0.55);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: transparent;
    background: linear-gradient(135deg, #17a899 0%, #0f857b 60%, var(--landing-primary-dark) 100%);
    box-shadow: 0 20px 36px -12px rgba(15, 118, 110, 0.6);
}

.btn-light {
    border-color: rgba(217, 230, 226, 0.92);
    background: rgba(255, 255, 255, 0.96);
    color: var(--landing-ink);
    box-shadow: var(--landing-shadow-soft);
}

.btn-light:hover,
.btn-light:focus {
    border-color: rgba(15, 118, 110, 0.3);
    background: #ffffff;
    color: var(--landing-primary-dark);
}

.btn-outline-dark {
    border-color: rgba(15, 118, 110, 0.22);
    color: var(--landing-ink);
    background: rgba(255, 255, 255, 0.6);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    border-color: rgba(15, 118, 110, 0.45);
    color: var(--landing-primary-dark);
    background: #ffffff;
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin: 0 auto;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(217, 230, 226, 0.7);
    background: rgba(246, 251, 249, 0.82);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s ease;
}

.landing-nav.is-scrolled {
    border-bottom-color: rgba(15, 118, 110, 0.16);
    background: rgba(246, 251, 249, 0.94);
    box-shadow: 0 12px 34px -20px rgba(13, 83, 76, 0.45);
}

.landing-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 900;
    transition: opacity 0.2s ease;
}

.brand-lockup:hover {
    opacity: 0.85;
}

.brand-lockup img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(15, 118, 110, 0.22));
}

.landing-language-switcher {
    display: inline-grid;
    grid-template-columns: 28px minmax(92px, 1fr);
    align-items: center;
    min-height: 42px;
    overflow: hidden;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 10px;
    background: #ffffff;
    color: var(--landing-primary);
    box-shadow: var(--landing-ring);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-language-switcher:hover {
    border-color: rgba(15, 118, 110, 0.4);
}

.landing-language-switcher i {
    color: var(--landing-primary);
    text-align: center;
}

.landing-language-switcher select {
    min-width: 0;
    height: 42px;
    padding: 0 10px 0 2px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--landing-ink);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 900;
    cursor: pointer;
}

[dir="rtl"] .landing-language-switcher select {
    padding: 0 2px 0 10px;
}

.landing-nav-links {
    display: none;
}

.landing-nav-actions,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-nav-actions .btn,
.hero-actions .btn,
.final-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.landing-nav-actions .btn {
    flex: 1 1 142px;
    min-height: 42px;
}

.public-landing {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 14px 16px 36px;
}

.landing-hero {
    position: relative;
    display: grid;
    gap: 22px;
    align-items: center;
    min-height: 0;
    padding: 28px 0 24px;
}

.hero-copy,
.hero-product,
.section-shell,
.workflow-section,
.trust-section,
.final-cta {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 34px;
    padding: 6px 14px;
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(20, 148, 102, 0.1), rgba(15, 118, 110, 0.05));
    color: var(--landing-primary);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--landing-green);
    box-shadow: 0 0 0 4px rgba(20, 148, 102, 0.18);
}

.hero-copy h1 {
    max-width: 780px;
    margin: 16px 0 14px;
    color: var(--landing-ink);
    font-size: 2.25rem;
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.hero-copy h1 .accent,
.hero-copy h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--landing-green), var(--landing-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy p,
.section-head p,
.workflow-copy > p,
.final-cta p {
    max-width: 680px;
    margin: 0;
    color: var(--landing-muted);
    font-size: 1.02rem;
    line-height: 1.9;
}

.hero-actions {
    margin-top: 24px;
}

.hero-actions .btn {
    flex: 1 1 190px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.hero-metrics div {
    position: relative;
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid var(--landing-line);
    border-radius: var(--landing-radius-sm);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 26px -18px rgba(18, 59, 58, 0.4);
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.hero-metrics div:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 34px -18px rgba(18, 59, 58, 0.45);
}

.hero-metrics div::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 3px;
}

.hero-metrics div:nth-child(1)::before {
    background: var(--landing-green);
}

.hero-metrics div:nth-child(2)::before {
    background: var(--landing-blue);
}

.hero-metrics div:nth-child(3)::before {
    background: var(--landing-amber);
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics strong {
    color: var(--landing-ink);
    font-size: 1.22rem;
    font-weight: 900;
}

.hero-metrics span {
    margin-top: 3px;
    color: var(--landing-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.hero-product {
    position: relative;
}

.hero-product::before {
    content: "";
    position: absolute;
    inset: -6% -4% -10% -4%;
    z-index: 0;
    border-radius: 28px;
    background: radial-gradient(60% 60% at 70% 20%, rgba(20, 148, 102, 0.22), transparent 70%),
        radial-gradient(50% 50% at 20% 90%, rgba(47, 111, 237, 0.16), transparent 70%);
    filter: blur(6px);
}

.product-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--landing-radius);
    background: linear-gradient(160deg, #103634 0%, #122031 78%);
    box-shadow: var(--landing-shadow);
    animation: floatCard 7s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.product-topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

.product-topbar strong {
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-topbar small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9be7d8;
    font-size: 0.78rem;
}

.product-topbar small::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38e3b6;
    box-shadow: 0 0 0 0 rgba(56, 227, 182, 0.6);
    animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 227, 182, 0.55); }
    70% { box-shadow: 0 0 0 7px rgba(56, 227, 182, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 227, 182, 0); }
}

.window-controls {
    display: inline-flex;
    gap: 6px;
}

.window-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
}

.window-controls span:nth-child(1) {
    background: var(--landing-red);
}

.window-controls span:nth-child(2) {
    background: var(--landing-amber);
}

.window-controls span:nth-child(3) {
    background: var(--landing-green);
}

.product-grid {
    display: grid;
    gap: 11px;
    padding: 13px;
}

.product-panel {
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(155, 231, 216, 0.12);
    border-radius: var(--landing-radius-sm);
    background: rgba(26, 74, 69, 0.7);
    color: #ffffff;
    transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}

.product-panel:hover {
    transform: translateY(-2px);
    border-color: rgba(155, 231, 216, 0.3);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.panel-head span,
.status-panel span {
    color: #aab6c8;
    font-size: 0.82rem;
}

.panel-head b {
    color: #ffffff;
    font-size: 1.05rem;
}

.fleet-map {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.fleet-map span {
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: #244946;
}

.fleet-map .active {
    background: rgba(20, 148, 102, 0.55);
    box-shadow: inset 0 0 0 1px rgba(56, 227, 182, 0.4);
}

.fleet-map .warning {
    background: rgba(210, 135, 34, 0.58);
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 104px;
}

.chart-bars span {
    flex: 1;
    min-width: 16px;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #57c7b7, #2f9f8f);
    transform-origin: bottom;
    animation: barGrow 0.9s var(--ease-out) both;
}

.chart-bars span:nth-child(1) { animation-delay: 0.05s; }
.chart-bars span:nth-child(2) {
    background: linear-gradient(180deg, #6ba3ff, #3f7df0);
    animation-delay: 0.15s;
}
.chart-bars span:nth-child(3) { animation-delay: 0.25s; }
.chart-bars span:nth-child(4) {
    background: linear-gradient(180deg, #f0b65d, #d99b34);
    animation-delay: 0.35s;
}
.chart-bars span:nth-child(5) {
    background: linear-gradient(180deg, #f08a76, #e0654e);
    animation-delay: 0.45s;
}

@keyframes barGrow {
    from { transform: scaleY(0); opacity: 0; }
    to { transform: scaleY(1); opacity: 1; }
}

.booking-panel {
    background: #fffdf8;
    color: var(--landing-ink);
}

.booking-panel .panel-head span {
    color: var(--landing-muted);
}

.booking-panel .panel-head b {
    color: var(--landing-blue);
}

.booking-list {
    display: grid;
    gap: 8px;
}

.booking-list div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid var(--landing-line);
    border-radius: 10px;
    background: #f8fbfa;
    transition: background 0.2s ease, transform 0.2s ease;
}

.booking-list div:hover {
    background: #eef6f3;
    transform: translateX(2px);
}

[dir="rtl"] .booking-list div:hover {
    transform: translateX(-2px);
}

.booking-list i {
    color: var(--landing-blue);
}

.booking-list span {
    overflow: hidden;
    color: var(--landing-muted);
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.booking-list strong {
    color: var(--landing-ink);
    font-size: 0.86rem;
}

.status-panel {
    display: grid;
    gap: 8px;
}

.status-panel strong {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 900;
}

.status-line {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.status-line span {
    display: block;
    width: 88%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--landing-amber), var(--landing-green));
    animation: fillBar 1.4s var(--ease-out) both;
}

@keyframes fillBar {
    from { width: 0; }
}

.section-shell,
.workflow-section,
.trust-section,
.final-cta {
    margin-top: 22px;
}

.section-head {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.section-head h2,
.workflow-copy h2,
.trust-section h2,
.final-cta h2 {
    margin: 0;
    color: var(--landing-ink);
    font-size: 1.65rem;
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.feature-grid,
.trust-grid {
    display: grid;
    gap: 12px;
}

.feature-card,
.trust-grid article {
    position: relative;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--landing-line);
    border-radius: var(--landing-radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px -22px rgba(18, 59, 58, 0.35);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}

.feature-card:hover,
.trust-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow: 0 26px 44px -24px rgba(18, 59, 58, 0.45);
}

.feature-card i,
.trust-grid i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--landing-primary);
    font-size: 1.15rem;
    transition: transform 0.3s var(--ease-out);
}

.feature-card:hover i,
.trust-grid article:hover i {
    transform: scale(1.08) rotate(-3deg);
}

.feature-card:nth-child(2) i,
.trust-grid article:nth-child(2) i {
    background: rgba(18, 136, 102, 0.12);
    color: var(--landing-green);
}

.feature-card:nth-child(3) i {
    background: rgba(210, 135, 34, 0.14);
    color: var(--landing-amber);
}

.feature-card:nth-child(4) i,
.trust-grid article:nth-child(3) i {
    background: rgba(217, 92, 89, 0.11);
    color: var(--landing-red);
}

.feature-card h3,
.step-item h3,
.trust-grid h3 {
    margin: 0 0 8px;
    color: var(--landing-ink);
    font-size: 1.05rem;
    font-weight: 900;
}

.feature-card p,
.step-item p,
.trust-grid p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.workflow-section {
    display: grid;
    gap: 20px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--landing-line);
    border-radius: var(--landing-radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--landing-shadow-soft);
}

.mobile-preview {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.phone-frame {
    width: min(100%, 286px);
    padding: 12px;
    border: 9px solid var(--landing-dark);
    border-radius: 32px;
    background: #eef8f5;
    box-shadow: 0 28px 50px -20px rgba(18, 59, 58, 0.4);
}

.phone-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 10px;
    color: #101827;
    font-size: 0.78rem;
    font-weight: 800;
}

.phone-card {
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #149a8c, var(--landing-primary) 70%, var(--landing-primary-dark));
    color: #ffffff;
    box-shadow: 0 14px 26px -14px rgba(15, 118, 110, 0.6);
}

.phone-card span,
.phone-card small {
    display: block;
    color: rgba(255, 255, 255, 0.82);
}

.phone-card strong {
    display: block;
    margin: 4px 0;
    font-size: 2.1rem;
    line-height: 1;
}

.phone-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.phone-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid var(--landing-line);
    border-radius: 10px;
    background: #ffffff;
    color: var(--landing-ink);
    font-size: 0.86rem;
    font-weight: 800;
}

.phone-list i {
    width: 22px;
    color: var(--landing-amber);
    text-align: center;
}

.workflow-copy {
    display: grid;
    gap: 12px;
}

.steps-list {
    display: grid;
    gap: 12px;
    margin-top: 6px;
}

.step-item {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 4px 0;
}

.step-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-dark));
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 10px 18px -10px rgba(15, 118, 110, 0.6);
}

.trust-section {
    position: relative;
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(20, 148, 102, 0.12);
    border-radius: var(--landing-radius);
    background:
        radial-gradient(60% 80% at 90% 0%, rgba(20, 148, 102, 0.12), transparent 60%),
        linear-gradient(135deg, #ebf8f2, #f9f7f1);
}

.trust-section > div:first-child {
    display: grid;
    gap: 10px;
}

.trust-grid article {
    background: rgba(255, 255, 255, 0.86);
}

.final-cta {
    position: relative;
    display: grid;
    gap: 16px;
    align-items: center;
    padding: 28px;
    border-radius: var(--landing-radius);
    overflow: hidden;
    background:
        radial-gradient(70% 120% at 100% 0%, rgba(20, 148, 102, 0.35), transparent 55%),
        linear-gradient(135deg, #0c2a29 0%, #11283c 100%);
    color: #ffffff;
    box-shadow: var(--landing-shadow);
}

.final-cta h2 {
    color: #ffffff;
}

.final-cta p {
    color: #cfdbd9;
}

.final-cta .eyebrow {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #9be7d8;
}

.final-cta .eyebrow::before {
    background: #38e3b6;
    box-shadow: 0 0 0 4px rgba(56, 227, 182, 0.2);
}

.final-cta .btn {
    width: 100%;
}

.landing-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 24px 16px 32px;
    color: var(--landing-muted);
    font-size: 0.9rem;
}

.landing-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.landing-footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-footer a:hover,
.landing-footer a:focus,
.landing-nav-links a:hover,
.landing-nav-links a:focus {
    color: var(--landing-primary);
}

@media (min-width: 560px) {
    .landing-nav {
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .landing-nav-actions {
        justify-content: end;
    }

    .landing-nav-actions .btn,
    .hero-actions .btn {
        flex: 0 1 auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .final-cta .btn {
        width: fit-content;
    }
}

@media (min-width: 760px) {
    .landing-nav {
        grid-template-columns: auto 1fr auto;
        padding: 14px 24px;
    }

    .landing-nav-links {
        display: flex;
        justify-content: center;
        gap: 22px;
        color: var(--landing-muted);
        font-size: 0.92rem;
        font-weight: 800;
    }

    .landing-nav-links a {
        position: relative;
        text-decoration: none;
        padding: 4px 2px;
        transition: color 0.2s ease;
    }

    .landing-nav-links a::after {
        content: "";
        position: absolute;
        inset-block-end: -2px;
        inset-inline: 0;
        height: 2px;
        border-radius: 2px;
        background: var(--landing-primary);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.25s var(--ease-out);
    }

    .landing-nav-links a:hover::after,
    .landing-nav-links a:focus::after {
        transform: scaleX(1);
    }

    .public-landing {
        padding-inline: 20px;
    }

    .landing-hero {
        grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
        gap: 30px;
        padding: 40px 0 32px;
    }

    .hero-copy h1 {
        font-size: 2.75rem;
    }

    .product-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .booking-panel {
        grid-column: span 2;
    }

    .workflow-section {
        grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
        gap: 30px;
        padding: 28px;
    }

    .section-shell,
    .workflow-section,
    .trust-section,
    .final-cta {
        margin-top: 28px;
    }

    .final-cta {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (min-width: 1024px) {
    .public-landing {
        padding-bottom: 56px;
    }

    .landing-hero {
        gap: 46px;
        padding-top: 52px;
    }

    .hero-copy h1 {
        font-size: 3.15rem;
    }

    .section-head h2,
    .workflow-copy h2,
    .trust-section h2,
    .final-cta h2 {
        font-size: 2.1rem;
    }

    .feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .trust-section {
        grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
        gap: 24px;
        padding: 28px;
    }
}

@media (max-width: 420px) {
    .landing-language-switcher {
        grid-template-columns: 26px minmax(84px, 1fr);
        min-height: 40px;
    }

    .landing-language-switcher select {
        height: 40px;
        font-size: 0.82rem;
    }

    .product-topbar {
        grid-template-columns: auto 1fr;
    }

    .product-topbar small {
        grid-column: 2;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .landing-nav-actions .btn span {
        white-space: normal;
    }
}

@media (max-width: 559px) {
    .hero-copy p {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .hero-actions {
        gap: 8px;
    }

    .hero-actions .btn {
        flex: 1 1 0;
        min-height: 46px;
        min-width: 0;
        padding-inline: 10px;
        font-size: 0.9rem;
    }

    .hero-metrics div {
        padding: 11px 7px;
    }

    .hero-metrics strong {
        font-size: 1.05rem;
    }

    .hero-metrics span {
        font-size: 0.72rem;
    }

    .product-grid {
        gap: 8px;
        padding: 10px;
    }

    .product-topbar {
        padding: 10px;
    }

    .product-panel {
        padding: 10px;
    }

    .fleet-map {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .fleet-map span {
        min-height: 28px;
    }

    .fleet-panel,
    .revenue-panel,
    .status-panel,
    .booking-list div:nth-child(3) {
        display: none;
    }

    .booking-list div {
        min-height: 40px;
    }
}

/* Scroll-reveal — only active once JS marks the body ready, so no-JS users see everything */
.reveal-ready [data-reveal],
.reveal-ready [data-reveal-group] > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    will-change: opacity, transform;
}

.reveal-ready [data-reveal].in-view,
.reveal-ready [data-reveal-group].in-view > * {
    opacity: 1;
    transform: none;
}

.reveal-ready [data-reveal-group].in-view > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-ready [data-reveal-group].in-view > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-ready [data-reveal-group].in-view > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-ready [data-reveal-group].in-view > *:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal-ready [data-reveal],
    .reveal-ready [data-reveal-group] > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .landing-nav {
        transition: none;
    }

    .product-window,
    .chart-bars span,
    .status-line span,
    .product-topbar small::before {
        animation: none !important;
    }

    .btn,
    .feature-card,
    .trust-grid article,
    .hero-metrics div,
    .product-panel {
        transition: none;
    }
}
