/* Beshknow App Landing - responsive product page */
:root {
    --app-bg: #050711;
    --app-card: rgba(255, 255, 255, 0.055);
    --app-card-strong: rgba(255, 255, 255, 0.09);
    --app-border: rgba(255, 255, 255, 0.11);
    --app-text: #ffffff;
    --app-muted: rgba(255, 255, 255, 0.68);
    --app-soft: rgba(255, 255, 255, 0.48);
    --app-primary: #66c8ea;
    --app-primary-2: #8b5cf6;
    --app-success: #22c55e;
    --app-radius: 28px;
    --app-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.app-landing-body,
.app-landing-page {
    background:
        radial-gradient(circle at 12% 18%, rgba(102, 200, 234, 0.16), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(139, 92, 246, 0.15), transparent 30%),
        linear-gradient(180deg, #070915 0%, #050711 45%, #080b18 100%);
    color: var(--app-text);
}

.app-landing-page {
    overflow: hidden;
}

.app-landing-page * {
    box-sizing: border-box;
}

.app-hero-section {
    padding: clamp(72px, 8vw, 132px) 0 clamp(38px, 5vw, 76px);
    min-height: 780px;
    display: flex;
    align-items: center;
}

.app-hero-bg {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.55;
    pointer-events: none;
}

.app-hero-bg-one {
    inset-inline-start: -160px;
    top: 120px;
    background: radial-gradient(circle, rgba(102, 200, 234, 0.28), transparent 68%);
}

.app-hero-bg-two {
    inset-inline-end: -140px;
    bottom: 70px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.24), transparent 68%);
}

.app-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    margin-bottom: 22px;
    border: 1px solid var(--app-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--app-primary);
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(16px);
}

.app-kicker i {
    font-size: 18px;
}

.app-hero-title {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--app-text);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 1.03;
    font-size: clamp(42px, 6vw, 86px);
}

[dir="rtl"] .app-hero-title {
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.app-hero-text {
    max-width: 700px;
    color: var(--app-muted);
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.9;
    margin-bottom: 32px;
}

.app-hero-actions,
.app-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.app-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 800;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.app-btn:hover {
    transform: translateY(-2px);
}

.app-btn-primary {
    color: #020617 !important;
    background: linear-gradient(135deg, var(--app-primary) 0%, #c4f1ff 100%);
    box-shadow: 0 16px 40px rgba(102, 200, 234, 0.24);
}

.app-btn-secondary {
    color: var(--app-text) !important;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--app-border);
}

.app-btn-secondary:hover {
    border-color: rgba(102, 200, 234, 0.55);
    background: rgba(102, 200, 234, 0.08);
}

.app-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
    margin-top: 34px;
}

.app-hero-proof div {
    padding: 18px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--app-border);
}

.app-hero-proof strong {
    display: block;
    color: var(--app-text);
    font-size: 25px;
    line-height: 1;
    margin-bottom: 8px;
}

.app-hero-proof span {
    display: block;
    color: var(--app-soft);
    font-size: 13px;
    line-height: 1.5;
}

.app-preview-wrap {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-phone-mockup {
    position: relative;
    width: min(340px, 82vw);
    min-height: 620px;
    padding: 14px;
    border-radius: 44px;
    background: linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: var(--app-shadow), inset 0 0 0 1px rgba(255,255,255,0.06);
    backdrop-filter: blur(22px);
}

.app-phone-top {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 24px;
    border-radius: 0 0 18px 18px;
    background: #050711;
    z-index: 2;
}

.app-phone-screen {
    position: relative;
    width: 100%;
    min-height: 592px;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 22%, rgba(102, 200, 234, 0.28), transparent 30%),
        linear-gradient(180deg, #111827 0%, #070915 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-now-playing {
    width: 84%;
    text-align: center;
}

.app-album-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(102, 200, 234, 0.22);
    filter: blur(24px);
    left: 50%;
    top: 145px;
    transform: translateX(-50%);
}

.app-album-card {
    position: relative;
    width: 210px;
    height: 210px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(102, 200, 234, 0.9), rgba(139, 92, 246, 0.9));
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.app-album-card i {
    font-size: 72px;
    color: white;
}

.app-now-playing h3 {
    color: white;
    font-size: 20px;
    margin: 0 0 8px;
}

.app-now-playing p {
    color: var(--app-muted);
    margin: 0 0 24px;
}

.app-wave-bars {
    height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.app-wave-bars span {
    display: block;
    width: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, var(--app-primary));
    animation: appWave 1.2s ease-in-out infinite;
}

.app-wave-bars span:nth-child(1) { height: 22px; animation-delay: 0s; }
.app-wave-bars span:nth-child(2) { height: 42px; animation-delay: .12s; }
.app-wave-bars span:nth-child(3) { height: 30px; animation-delay: .24s; }
.app-wave-bars span:nth-child(4) { height: 50px; animation-delay: .36s; }
.app-wave-bars span:nth-child(5) { height: 26px; animation-delay: .48s; }

@keyframes appWave {
    0%, 100% { transform: scaleY(.65); opacity: .72; }
    50% { transform: scaleY(1); opacity: 1; }
}

.app-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 230px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 60px rgba(0,0,0,0.24);
    backdrop-filter: blur(18px);
}

.app-floating-card i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(102, 200, 234, 0.16);
    color: var(--app-primary);
    font-size: 22px;
}

.app-floating-card strong,
.app-floating-card span {
    display: block;
}

.app-floating-card strong {
    color: white;
    font-size: 14px;
}

.app-floating-card span {
    color: var(--app-muted);
    font-size: 12px;
}

.app-floating-card-one {
    inset-inline-start: 8%;
    top: 18%;
}

.app-floating-card-two {
    inset-inline-end: 4%;
    bottom: 20%;
}

.app-trust-section {
    padding: 0 0 clamp(54px, 7vw, 100px);
}

.app-trust-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--app-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.045);
}

.app-trust-card > span {
    color: var(--app-muted);
    font-weight: 700;
}

.app-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.app-trust-list em {
    font-style: normal;
    color: white;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid var(--app-border);
    background: rgba(255,255,255,0.05);
    font-size: 13px;
}

.app-section {
    padding: clamp(68px, 8vw, 120px) 0;
}

.app-section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.app-section-heading span,
.app-final-cta-card span {
    display: inline-flex;
    color: var(--app-primary);
    font-weight: 900;
    margin-bottom: 12px;
    font-size: 14px;
}

.app-section-heading h2,
.app-final-cta-card h2 {
    color: white;
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.16;
    margin-bottom: 16px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

[dir="rtl"] .app-section-heading h2,
[dir="rtl"] .app-final-cta-card h2 {
    letter-spacing: -0.01em;
    line-height: 1.32;
}

.app-section-heading p,
.app-final-cta-card p {
    color: var(--app-muted);
    line-height: 1.9;
    margin: 0;
}

.app-feature-card {
    height: 100%;
    padding: 28px;
    border-radius: var(--app-radius);
    border: 1px solid var(--app-border);
    background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.app-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(102, 200, 234, 0.42);
    background: linear-gradient(180deg, rgba(102,200,234,0.09), rgba(255,255,255,0.035));
}

.app-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(102, 200, 234, 0.14);
    color: var(--app-primary);
    font-size: 27px;
    margin-bottom: 24px;
}

.app-feature-card h3,
.app-step-item h3 {
    color: white;
    font-size: 20px;
    font-weight: 850;
    margin-bottom: 12px;
}

.app-feature-card p,
.app-step-item p {
    color: var(--app-muted);
    line-height: 1.85;
    margin: 0;
}

.app-steps-section {
    background: linear-gradient(90deg, rgba(102, 200, 234, 0.055), transparent 48%, rgba(139, 92, 246, 0.055));
}

.app-steps-list {
    display: grid;
    gap: 14px;
}

.app-step-item {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid var(--app-border);
    background: rgba(255,255,255,0.055);
}

.app-step-item > span {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(102,200,234,.22), rgba(139,92,246,.18));
    color: var(--app-primary);
    font-weight: 950;
}

.app-dashboard-card,
.app-final-cta-card {
    padding: clamp(28px, 5vw, 62px);
    border-radius: 34px;
    border: 1px solid var(--app-border);
    background:
        radial-gradient(circle at 80% 20%, rgba(102, 200, 234, 0.13), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
    box-shadow: var(--app-shadow);
}

.app-dashboard-mockup {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(5, 7, 17, 0.7);
    box-shadow: 0 20px 70px rgba(0,0,0,.32);
}

.app-window-bar {
    display: flex;
    gap: 8px;
    padding: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.app-window-bar span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.28);
}

.app-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}

.app-dash-tile {
    min-height: 132px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
}

.app-dash-tile.wide {
    grid-column: span 2;
}

.app-dash-tile.muted {
    background: rgba(102,200,234,.08);
}

.app-dash-tile small {
    display: block;
    color: var(--app-soft);
    margin-bottom: 10px;
}

.app-dash-tile strong {
    display: block;
    color: white;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 16px;
}

.app-progress {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
}

.app-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--app-primary), var(--app-primary-2));
}

.app-mini-track {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 800;
}

.app-mini-track i {
    color: var(--app-primary);
    font-size: 28px;
}

.app-usecase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.app-usecase-card {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    text-decoration: none !important;
    border-radius: 26px;
    border: 1px solid var(--app-border);
    background: rgba(255,255,255,0.055);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.app-usecase-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102,200,234,.4);
    background: rgba(102,200,234,.08);
}

.app-usecase-card i {
    color: var(--app-primary);
    font-size: 34px;
}

.app-usecase-card span {
    color: white;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.4;
}

.app-final-cta-section {
    padding: clamp(58px, 8vw, 120px) 0 clamp(80px, 9vw, 150px);
}

.app-final-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.app-final-cta-card > div:first-child {
    max-width: 760px;
}

/* RTL polish */
[dir="rtl"] .app-section-heading.text-start {
    text-align: right !important;
}

[dir="ltr"] .app-section-heading.text-start {
    text-align: left !important;
}

[dir="rtl"] .app-step-item {
    grid-template-columns: 76px 1fr;
}

[dir="rtl"] .app-btn i.ri-arrow-left-line,
[dir="ltr"] .app-btn i.ri-arrow-right-line {
    transform: translateY(1px);
}

@media (max-width: 1199px) {
    .app-preview-wrap {
        min-height: 560px;
    }

    .app-phone-mockup {
        min-height: 560px;
    }

    .app-phone-screen {
        min-height: 532px;
    }

    .app-floating-card-one {
        inset-inline-start: 0;
    }

    .app-floating-card-two {
        inset-inline-end: 0;
    }
}

@media (max-width: 991px) {
    .app-hero-section {
        min-height: auto;
        padding-top: 58px;
    }

    .app-preview-wrap {
        min-height: auto;
        padding: 30px 0 10px;
    }

    .app-floating-card {
        position: relative;
        inset: auto;
        margin: 14px auto 0;
        width: min(100%, 340px);
    }

    .app-trust-card,
    .app-final-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .app-trust-list {
        justify-content: flex-start;
    }

    .app-usecase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .app-hero-title {
        font-size: clamp(36px, 11vw, 52px);
    }

    .app-hero-actions,
    .app-final-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .app-btn {
        width: 100%;
    }

    .app-hero-proof {
        grid-template-columns: 1fr;
    }

    .app-phone-mockup {
        width: min(310px, 100%);
        min-height: 540px;
        border-radius: 38px;
    }

    .app-phone-screen {
        min-height: 512px;
        border-radius: 30px;
    }

    .app-album-card {
        width: 176px;
        height: 176px;
    }

    .app-step-item {
        grid-template-columns: 1fr;
    }

    .app-dashboard-grid,
    .app-dash-tile.wide {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    .app-usecase-grid {
        grid-template-columns: 1fr;
    }

    .app-section-heading {
        text-align: start;
    }
}

@media (max-width: 420px) {
    .app-feature-card,
    .app-step-item,
    .app-dashboard-card,
    .app-final-cta-card {
        border-radius: 22px;
    }

    .app-dash-tile {
        min-height: 118px;
    }
}

/* App video inside hero */
.app-phone-video-screen {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}

.app-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #070915;
}

.app-video-shade {
    position: absolute;
    inset: 0;
    /*background:*/
    /*    linear-gradient(180deg, rgba(5, 7, 17, 0.18) 0%, rgba(5, 7, 17, 0.15) 42%, rgba(5, 7, 17, 0.82) 100%),*/
    /*    radial-gradient(circle at 50% 20%, rgba(102, 200, 234, 0.22), transparent 44%);*/
    pointer-events: none;
}

.app-video-status-card {
    position: absolute;
    inset-inline: 18px;
    bottom: 18px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(5, 7, 17, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.app-video-status-card span {
    display: block;
    color: var(--app-primary);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 7px;
}

.app-video-status-card strong {
    display: block;
    color: var(--app-text);
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 14px;
}

/* Video tour section */
.app-video-tour-section {
    position: relative;
}

.app-video-tour-section::before {
    content: "";
    position: absolute;
    inset-inline-start: -18%;
    top: 10%;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(102, 200, 234, 0.12), transparent 68%);
    pointer-events: none;
}

.app-video-points {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.app-video-points div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--app-muted);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--app-border);
}

.app-video-points i {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #03111a;
    background: var(--app-primary);
    font-size: 18px;
}

.app-video-panel {
    overflow: hidden;
    border-radius: var(--app-radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
    border: 1px solid var(--app-border);
    box-shadow: var(--app-shadow);
    backdrop-filter: blur(18px);
}

.app-video-panel-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--app-border);
    background: rgba(255, 255, 255, 0.045);
}

.app-video-panel-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.app-video-panel-top span:first-child {
    background: #ff5f57;
}

.app-video-panel-top span:nth-child(2) {
    background: #ffbd2e;
}

.app-video-panel-top span:nth-child(3) {
    background: #28c840;
}

.app-video-panel-top em {
    margin-inline-start: 10px;
    color: var(--app-soft);
    font-size: 13px;
    font-style: normal;
}

.app-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 260px;
    background:
        radial-gradient(circle at 50% 20%, rgba(102, 200, 234, 0.18), transparent 38%),
        linear-gradient(135deg, #0f172a, #050711);
}

.app-wide-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #050711;
}

/* Screenshots gallery */
.app-screenshots-section {
    position: relative;
}

.app-screenshots-section::after {
    content: "";
    position: absolute;
    inset-inline-end: -20%;
    top: 20%;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.13), transparent 68%);
    pointer-events: none;
}

.app-screenshot-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.app-screenshot-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--app-border);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.20);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.app-screenshot-card:hover {
    transform: translateY(-6px);
    border-color: rgba(102, 200, 234, 0.42);
    background: rgba(255, 255, 255, 0.075);
}

.app-screenshot-card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.app-screenshot-media {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(102, 200, 234, 0.20), transparent 48%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.app-screenshot-card-large .app-screenshot-media {
    min-height: 520px;
}

.app-screenshot-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.app-screenshot-card:hover .app-screenshot-media img {
    transform: scale(1.035);
}

.app-screenshot-media.is-empty::before {
    content: attr(data-placeholder);
    position: absolute;
    inset: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    color: var(--app-soft);
    font-weight: 900;
    letter-spacing: 0.04em;
    background: rgba(5, 7, 17, 0.30);
}

.app-screenshot-content {
    padding: 20px;
}

.app-screenshot-content span {
    display: block;
    color: var(--app-primary);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.app-screenshot-content h3 {
    margin: 0;
    color: var(--app-text);
    font-size: 18px;
    line-height: 1.65;
}

/* Feature showcase */
.app-showcase-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    padding: clamp(28px, 5vw, 70px);
    border-radius: calc(var(--app-radius) + 8px);
    background:
        radial-gradient(circle at 90% 15%, rgba(102, 200, 234, 0.16), transparent 36%),
        radial-gradient(circle at 10% 85%, rgba(139, 92, 246, 0.14), transparent 42%),
        rgba(255, 255, 255, 0.055);
    border: 1px solid var(--app-border);
    box-shadow: var(--app-shadow);
    overflow: hidden;
}

.app-showcase-copy > span {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--app-primary);
    font-weight: 900;
}

.app-showcase-copy h2 {
    margin: 0 0 16px;
    color: var(--app-text);
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

[dir="rtl"] .app-showcase-copy h2 {
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.app-showcase-copy p {
    margin: 0 0 26px;
    color: var(--app-muted);
    line-height: 1.9;
    font-size: 17px;
}

.app-showcase-stack {
    position: relative;
    min-height: 420px;
}

.app-mini-screen {
    position: absolute;
    width: min(360px, 82vw);
    min-height: 210px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 28px;
    color: var(--app-text);
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.app-mini-screen i {
    position: absolute;
    top: 22px;
    inset-inline-start: 22px;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #06121c;
    background: linear-gradient(135deg, var(--app-primary), #c4f1ff);
    font-size: 28px;
}

.app-mini-screen strong {
    color: var(--app-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.app-mini-screen span {
    color: var(--app-text);
    font-weight: 900;
    font-size: 54px;
    line-height: 1;
}

.app-mini-screen-one {
    top: 0;
    inset-inline-start: 0;
    z-index: 3;
}

.app-mini-screen-two {
    top: 100px;
    inset-inline-end: 6%;
    z-index: 2;
    background: rgba(102, 200, 234, 0.075);
}

.app-mini-screen-three {
    bottom: 0;
    inset-inline-start: 16%;
    z-index: 1;
    background: rgba(139, 92, 246, 0.08);
}

@media (max-width: 1199px) {
    .app-screenshot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-showcase-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .app-video-panel {
        border-radius: 24px;
    }

    .app-showcase-stack {
        min-height: auto;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .app-mini-screen {
        position: relative;
        inset: auto !important;
        width: 100%;
        min-height: 190px;
    }
}

@media (max-width: 767px) {
    .app-video-frame {
        aspect-ratio: 9 / 14;
        min-height: 430px;
    }

    .app-screenshot-grid {
        grid-template-columns: 1fr;
    }

    .app-screenshot-card-large {
        grid-column: auto;
        grid-row: auto;
    }

    .app-screenshot-card-large .app-screenshot-media,
    .app-screenshot-media {
        min-height: 360px;
    }

    .app-showcase-stack {
        grid-template-columns: 1fr;
    }

    .app-mini-screen {
        min-height: 168px;
    }

    .app-mini-screen span {
        font-size: 44px;
    }
}

@media (max-width: 420px) {
    .app-video-status-card {
        inset-inline: 12px;
        bottom: 12px;
        padding: 14px;
        border-radius: 20px;
    }

    .app-screenshot-content h3 {
        font-size: 16px;
    }
}

/* ---------- V3 Premium Sections ---------- */
.app-eyebrow,
.app-value-copy > span,
.app-pricing-copy > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--app-primary);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.app-value-section {
    position: relative;
    padding-top: clamp(46px, 6vw, 90px);
}

.app-value-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.35fr);
    gap: clamp(26px, 4vw, 58px);
    align-items: center;
    padding: clamp(24px, 4vw, 46px);
    border-radius: calc(var(--app-radius) + 8px);
    background:
        radial-gradient(circle at 12% 18%, rgba(102, 200, 234, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,0.085), rgba(255,255,255,0.035));
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: var(--app-shadow);
    overflow: hidden;
}

.app-value-shell::before {
    content: "";
    position: absolute;
    inset: auto -12% -28% auto;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 68%);
    pointer-events: none;
}

.app-value-copy {
    position: relative;
    z-index: 1;
}

.app-value-copy h2,
.app-pricing-copy h2 {
    margin: 0 0 18px;
    color: var(--app-text);
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -0.045em;
}

[dir="rtl"] .app-value-copy h2,
[dir="rtl"] .app-pricing-copy h2 {
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.app-value-copy p,
.app-pricing-copy p {
    color: var(--app-muted);
    line-height: 1.9;
    font-size: 17px;
    margin: 0;
}

.app-value-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.app-value-card {
    min-height: 220px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(5, 7, 17, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.app-value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 200, 234, 0.36);
    background: rgba(255, 255, 255, 0.055);
}

.app-value-card i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    color: var(--app-soft);
    font-size: 25px;
}

.app-value-card-active i {
    color: #06121c;
    background: linear-gradient(135deg, var(--app-primary), #c4f1ff);
}

.app-value-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--app-soft);
    font-size: 13px;
    font-weight: 900;
}

.app-value-card h3 {
    margin: 0 0 10px;
    color: var(--app-text);
    font-size: 20px;
    font-weight: 900;
}

.app-value-card p {
    margin: 0;
    color: var(--app-muted);
    line-height: 1.75;
    font-size: 14px;
}

.app-control-section {
    position: relative;
}

.app-control-visual {
    position: relative;
    min-height: 560px;
    border-radius: calc(var(--app-radius) + 8px);
    background:
        radial-gradient(circle at 50% 50%, rgba(102, 200, 234, 0.14), transparent 40%),
        linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--app-shadow);
    overflow: hidden;
}

.app-orbit {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255,255,255,0.16);
    border-radius: 999px;
    pointer-events: none;
}

.app-orbit-one { width: 390px; height: 390px; }
.app-orbit-two { width: 260px; height: 260px; }

.app-control-core {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 42px;
    background: rgba(5, 7, 17, 0.68);
    border: 1px solid rgba(102, 200, 234, 0.28);
    box-shadow: 0 28px 80px rgba(0,0,0,.35), 0 0 50px rgba(102, 200, 234, 0.08);
    backdrop-filter: blur(18px);
}

.app-control-core i {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 22px;
    color: #06121c;
    background: linear-gradient(135deg, var(--app-primary), #c4f1ff);
    font-size: 34px;
}

.app-control-core strong {
    color: var(--app-text);
    font-size: 18px;
    font-weight: 950;
}

.app-control-core span {
    color: var(--app-soft);
    font-size: 12px;
    margin-top: 5px;
}

.app-control-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 156px;
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--app-text);
    font-weight: 900;
    backdrop-filter: blur(15px);
}

.app-control-node i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--app-primary);
    background: rgba(102, 200, 234, 0.12);
    font-size: 18px;
}

.app-control-node-1 { top: 12%; inset-inline-start: 12%; }
.app-control-node-2 { top: 26%; inset-inline-end: 9%; }
.app-control-node-3 { bottom: 18%; inset-inline-start: 10%; }
.app-control-node-4 { bottom: 12%; inset-inline-end: 14%; }

.app-control-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.app-control-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--app-border);
    color: var(--app-muted);
    line-height: 1.7;
}

.app-control-list i {
    flex: 0 0 auto;
    color: var(--app-success);
    font-size: 20px;
    margin-top: 2px;
}

.app-automation-section {
    position: relative;
}

.app-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    position: relative;
}

.app-timeline-grid::before {
    content: "";
    position: absolute;
    inset-inline: 8%;
    top: 38px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 200, 234, 0.55), transparent);
    pointer-events: none;
}

.app-timeline-card {
    position: relative;
    min-height: 250px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--app-border);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease;
}

.app-timeline-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 200, 234, 0.38);
}

.app-timeline-card::after {
    content: "";
    position: absolute;
    inset: auto -25% -45% auto;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(102, 200, 234, 0.12), transparent 68%);
}

.app-timeline-card time {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 22px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--app-primary);
    background: rgba(102, 200, 234, 0.11);
    border: 1px solid rgba(102, 200, 234, 0.18);
    font-weight: 950;
}

.app-timeline-card i {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 18px;
    color: var(--app-primary);
    font-size: 34px;
}

.app-timeline-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: var(--app-text);
    font-size: 20px;
    font-weight: 950;
}

.app-timeline-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--app-muted);
    line-height: 1.8;
    font-size: 14px;
}

.app-roles-section {
    position: relative;
}

.app-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.app-role-card {
    min-height: 280px;
    padding: 24px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 55px rgba(0,0,0,0.18);
}

.app-role-card i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 20px;
    color: #06121c;
    background: linear-gradient(135deg, var(--app-primary), #c4f1ff);
    font-size: 30px;
}

.app-role-card h3 {
    margin: 0 0 12px;
    color: var(--app-text);
    font-size: 21px;
    font-weight: 950;
}

.app-role-card p {
    margin: 0;
    color: var(--app-muted);
    line-height: 1.82;
    font-size: 14px;
}

.app-pricing-preview-section {
    padding-top: clamp(36px, 5vw, 70px);
}

.app-pricing-preview-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr) auto;
    gap: clamp(20px, 3vw, 42px);
    align-items: center;
    padding: clamp(24px, 4vw, 46px);
    border-radius: calc(var(--app-radius) + 8px);
    background:
        radial-gradient(circle at 8% 20%, rgba(102, 200, 234, 0.18), transparent 34%),
        radial-gradient(circle at 92% 80%, rgba(139, 92, 246, 0.16), transparent 36%),
        linear-gradient(135deg, rgba(255,255,255,0.085), rgba(255,255,255,0.035));
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: var(--app-shadow);
}

.app-pricing-bullets {
    display: grid;
    gap: 12px;
}

.app-pricing-bullets div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--app-text);
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--app-border);
}

.app-pricing-bullets i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 14px;
    color: var(--app-primary);
    background: rgba(102, 200, 234, 0.12);
    font-size: 20px;
}

.app-pricing-bullets strong {
    color: var(--app-text);
    font-size: 14px;
    line-height: 1.5;
}

.app-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 1120px;
    margin: 0 auto;
}

.app-faq-item {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--app-border);
}

.app-faq-item h3 {
    margin: 0 0 12px;
    color: var(--app-text);
    font-size: 19px;
    font-weight: 950;
    line-height: 1.45;
}

.app-faq-item p {
    margin: 0;
    color: var(--app-muted);
    line-height: 1.85;
    font-size: 15px;
}

/* More polished hero video edges */
.app-phone-video-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), inset 0 -80px 140px rgba(5, 7, 17, 0.48);
    pointer-events: none;
}

.app-video-panel,
.app-phone-mockup,
.app-feature-card,
.app-screenshot-card,
.app-dashboard-card,
.app-showcase-card,
.app-final-cta-card {
    will-change: transform;
}

@media (max-width: 1199px) {
    .app-value-shell,
    .app-pricing-preview-card {
        grid-template-columns: 1fr;
    }

    .app-timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-timeline-grid::before {
        display: none;
    }

    .app-pricing-preview-card .app-btn {
        width: fit-content;
    }
}

@media (max-width: 991px) {
    .app-control-visual {
        min-height: 460px;
    }

    .app-orbit-one { width: 320px; height: 320px; }
    .app-orbit-two { width: 220px; height: 220px; }

    .app-control-node {
        min-width: auto;
    }

    .app-role-grid {
        grid-template-columns: 1fr;
    }

    .app-role-card {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .app-value-grid,
    .app-timeline-grid,
    .app-faq-grid {
        grid-template-columns: 1fr;
    }

    .app-value-card,
    .app-timeline-card {
        min-height: auto;
    }

    .app-value-shell,
    .app-pricing-preview-card {
        border-radius: 26px;
    }

    .app-control-visual {
        min-height: 520px;
        border-radius: 26px;
    }

    .app-control-core {
        width: 158px;
        height: 158px;
        border-radius: 34px;
    }

    .app-control-core i {
        width: 52px;
        height: 52px;
        border-radius: 18px;
        font-size: 28px;
    }

    .app-control-node {
        padding: 10px 12px;
        font-size: 13px;
    }

    .app-control-node-1 { top: 8%; inset-inline-start: 50%; transform: translateX(-50%); }
    .app-control-node-2 { top: 29%; inset-inline-end: 5%; }
    .app-control-node-3 { bottom: 27%; inset-inline-start: 5%; }
    .app-control-node-4 { bottom: 8%; inset-inline-start: 50%; inset-inline-end: auto; transform: translateX(-50%); }

    .app-pricing-preview-card .app-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .app-value-copy h2,
    .app-pricing-copy h2 {
        font-size: 30px;
    }

    .app-control-visual {
        min-height: 460px;
    }

    .app-orbit-one { width: 270px; height: 270px; }
    .app-orbit-two { width: 190px; height: 190px; }

    .app-control-node span {
        max-width: 78px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ---------- Responsive QA Patch: Hero phone + full landing ---------- */
html,
body,
.app-landing-body,
.app-landing-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.app-landing-page img,
.app-landing-page video {
    max-width: 100%;
}

.app-landing-page .container,
.app-landing-page .container-fluid,
.app-landing-page .mw-1720 {
    width: min(1720px, 100%);
    max-width: 1720px;
    margin-inline: auto;
    padding-inline: clamp(16px, 2.6vw, 36px);
}

.app-hero-title,
.app-section-heading h2,
.app-value-copy h2,
.app-pricing-copy h2,
.app-faq-item h3,
.app-feature-card h3,
.app-screenshot-content h3 {
    overflow-wrap: anywhere;
}

/* Keep the hero visual as a real responsive column on tablet/mobile. */
.app-preview-wrap {
    width: 100%;
    max-width: 100%;
}

.app-phone-mockup {
    width: clamp(286px, 21vw, 340px);
    min-height: 0 !important;
    aspect-ratio: 9 / 18.35;
    height: auto;
    flex: 0 0 auto;
}

.app-phone-screen {
    min-height: 0 !important;
    height: 100%;
    aspect-ratio: 9 / 17.45;
}

.app-phone-video-screen .app-hero-video {
    object-position: center center;
}

@media (max-width: 1199px) {
    .app-hero-section {
        min-height: auto;
    }

    .app-preview-wrap {
        min-height: auto !important;
    }

    .app-phone-mockup {
        width: clamp(282px, 30vw, 324px);
    }
}

@media (max-width: 991px) {
    .app-hero-section {
        padding: 56px 0 42px;
    }

    .app-preview-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 22px 0 0;
    }

    .app-phone-mockup {
        width: min(318px, 72vw);
        max-width: 100%;
    }

    .app-floating-card {
        position: relative !important;
        inset: auto !important;
        transform: none !important;
        width: min(100%, 330px);
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .app-hero-section {
        padding: 42px 0 30px;
    }

    .app-kicker {
        max-width: 100%;
        white-space: normal;
    }

    .app-hero-title {
        font-size: clamp(31px, 9.4vw, 42px) !important;
        line-height: 1.18;
    }

    .app-hero-text {
        font-size: 15px;
        line-height: 1.9;
    }

    .app-hero-proof {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .app-preview-wrap {
        padding-top: 16px;
    }

    .app-phone-mockup {
        width: min(292px, 74vw) !important;
        padding: 11px;
        border-radius: 36px;
        transform: none !important;
    }

    .app-phone-screen {
        border-radius: 28px;
    }

    .app-phone-top {
        top: 17px;
        width: 78px;
        height: 20px;
        border-radius: 0 0 15px 15px;
    }

    .app-video-status-card {
        inset-inline: 12px;
        bottom: 12px;
        padding: 12px;
        border-radius: 18px;
    }

    .app-video-status-card strong {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .app-wave-bars {
        height: 22px;
    }

    .app-floating-card {
        width: min(100%, 292px);
        padding: 12px 14px;
        border-radius: 18px;
    }

    .app-section {
        padding: 56px 0;
    }

    .app-section-heading h2,
    .app-value-copy h2,
    .app-pricing-copy h2 {
        font-size: clamp(27px, 8vw, 36px) !important;
        line-height: 1.25;
    }

    .app-video-panel,
    .app-showcase-card,
    .app-value-shell,
    .app-pricing-preview-card,
    .app-final-cta-card {
        border-radius: 24px !important;
    }

    .app-video-frame {
        min-height: 0 !important;
        max-height: 78svh;
        aspect-ratio: 9 / 14;
    }

    .app-wide-video {
        height: 100%;
        object-fit: cover;
    }

    .app-screenshot-card-large .app-screenshot-media,
    .app-screenshot-media {
        min-height: 0 !important;
        aspect-ratio: 9 / 13.5;
    }

    .app-showcase-stack {
        gap: 12px;
    }

    .app-control-visual {
        min-height: 480px !important;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .app-landing-page .container,
    .app-landing-page .container-fluid,
    .app-landing-page .mw-1720 {
        max-width: calc(100vw - 20px);
        padding-inline: 10px;
    }

    .app-hero-actions,
    .app-final-actions {
        gap: 10px;
    }

    .app-btn {
        min-height: 46px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .app-phone-mockup {
        width: min(268px, 70vw) !important;
        padding: 9px;
        border-radius: 32px;
        box-shadow: 0 18px 56px rgba(0,0,0,0.34), inset 0 0 0 1px rgba(255,255,255,0.06);
    }

    .app-phone-screen {
        border-radius: 24px;
    }

    .app-phone-top {
        top: 14px;
        width: 64px;
        height: 17px;
    }

    .app-video-status-card {
        inset-inline: 9px;
        bottom: 9px;
        padding: 10px;
        border-radius: 16px;
    }

    .app-video-status-card span {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .app-video-status-card strong {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .app-floating-card {
        width: min(100%, 268px);
        font-size: 13px;
    }

    .app-floating-card i {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 19px;
    }

    .app-video-frame {
        aspect-ratio: 9 / 13.2;
        max-height: 70svh;
    }

    .app-screenshot-card-large .app-screenshot-media,
    .app-screenshot-media {
        aspect-ratio: 9 / 12.6;
    }

    .app-control-visual {
        min-height: 430px !important;
    }

    .app-control-core {
        width: 138px !important;
        height: 138px !important;
        border-radius: 30px !important;
    }

    .app-control-node {
        max-width: 142px;
    }

    .app-control-node span {
        max-width: 92px !important;
    }
}

@media (max-width: 390px) {
    .app-phone-mockup {
        width: min(246px, 68vw) !important;
        border-radius: 30px;
    }

    .app-phone-screen {
        border-radius: 22px;
    }

    .app-video-status-card {
        display: none;
    }

    .app-floating-card {
        width: min(100%, 246px);
    }

    .app-hero-title {
        font-size: 29px !important;
    }

    .app-section {
        padding: 46px 0;
    }
}


/* ------------------------------------------------------------
   V4 compact typography + safer responsive sizing
   Keeps the same responsive product layout, but reduces oversized text.
------------------------------------------------------------ */
.app-landing-page {
    --landing-h1: clamp(30px, 4.3vw, 58px);
    --landing-h2: clamp(24px, 3vw, 40px);
    --landing-h3: clamp(18px, 1.55vw, 24px);
    --landing-body: clamp(14px, 1vw, 17px);
    --landing-small: 13px;
}

.app-hero-section {
    padding: clamp(56px, 7vw, 104px) 0 clamp(34px, 4vw, 62px) !important;
}

.app-hero-title {
    font-size: var(--landing-h1) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.045em !important;
    max-width: 760px;
}

[dir="rtl"] .app-hero-title {
    letter-spacing: -0.02em !important;
}

.app-hero-text {
    font-size: var(--landing-body) !important;
    line-height: 1.85 !important;
    max-width: 680px !important;
}

.app-kicker,
.app-section-heading span,
.app-eyebrow,
.app-video-panel-top em {
    font-size: 12px !important;
    letter-spacing: .06em !important;
}

.app-section {
    padding: clamp(54px, 6vw, 92px) 0 !important;
}

.app-section-heading {
    max-width: 760px !important;
}

.app-section-heading h2,
.app-value-copy h2,
.app-layer-copy h2,
.app-pricing-copy h2,
.app-showcase-copy h2,
.app-final-cta-card h2,
.app-final-cta-title {
    font-size: var(--landing-h2) !important;
    line-height: 1.28 !important;
    letter-spacing: -0.032em !important;
}

[dir="rtl"] .app-section-heading h2,
[dir="rtl"] .app-value-copy h2,
[dir="rtl"] .app-layer-copy h2,
[dir="rtl"] .app-pricing-copy h2,
[dir="rtl"] .app-showcase-copy h2,
[dir="rtl"] .app-final-cta-card h2,
[dir="rtl"] .app-final-cta-title {
    letter-spacing: -0.012em !important;
}

.app-section-heading p,
.app-value-copy p,
.app-layer-copy p,
.app-pricing-copy p,
.app-showcase-copy p,
.app-final-cta-card p,
.app-video-points span,
.app-feature-card p,
.app-value-card p,
.app-step-card p,
.app-role-card p,
.app-faq-item p,
.app-use-case-card p,
.app-screenshot-card p {
    font-size: 14px !important;
    line-height: 1.78 !important;
}

.app-feature-card h3,
.app-value-card h3,
.app-step-card h3,
.app-role-card h3,
.app-screenshot-card h3,
.app-use-case-card h3,
.app-faq-item h3,
.app-showcase-item strong,
.app-timeline-content strong,
.app-pricing-mini-card strong {
    font-size: var(--landing-h3) !important;
    line-height: 1.35 !important;
}

.app-feature-icon,
.app-step-number,
.app-role-icon,
.app-use-case-icon {
    transform: scale(.9);
    transform-origin: center;
}

.app-hero-proof strong {
    font-size: clamp(22px, 2.2vw, 32px) !important;
}

.app-hero-proof span,
.app-floating-card span,
.app-video-status-card span,
.app-screenshot-card span,
.app-timeline-time,
.app-pricing-mini-card span {
    font-size: var(--landing-small) !important;
}

.app-floating-card strong,
.app-video-status-card strong {
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.app-phone-mockup {
    width: clamp(250px, 20vw, 312px) !important;
}

.app-btn {
    min-height: 46px !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
}

.app-value-shell,
.app-pricing-preview-card,
.app-final-cta-card,
.app-showcase-card {
    padding: clamp(24px, 4vw, 54px) !important;
}

@media (max-width: 991px) {
    .app-hero-section {
        padding-top: 64px !important;
    }

    .app-hero-title {
        font-size: clamp(29px, 6vw, 46px) !important;
        max-width: 680px;
    }

    .app-section-heading h2,
    .app-value-copy h2,
    .app-layer-copy h2,
    .app-pricing-copy h2,
    .app-showcase-copy h2,
    .app-final-cta-card h2,
    .app-final-cta-title {
        font-size: clamp(23px, 4.8vw, 34px) !important;
    }

    .app-phone-mockup {
        width: min(292px, 70vw) !important;
    }
}

@media (max-width: 575px) {
    .app-hero-section {
        padding-top: 46px !important;
    }

    .app-hero-title {
        font-size: clamp(27px, 8vw, 34px) !important;
        line-height: 1.22 !important;
    }

    .app-hero-text,
    .app-section-heading p,
    .app-value-copy p,
    .app-layer-copy p,
    .app-pricing-copy p,
    .app-showcase-copy p,
    .app-final-cta-card p {
        font-size: 13.5px !important;
        line-height: 1.85 !important;
    }

    .app-section-heading h2,
    .app-value-copy h2,
    .app-layer-copy h2,
    .app-pricing-copy h2,
    .app-showcase-copy h2,
    .app-final-cta-card h2,
    .app-final-cta-title {
        font-size: clamp(22px, 7vw, 30px) !important;
        line-height: 1.35 !important;
    }

    .app-feature-card h3,
    .app-value-card h3,
    .app-step-card h3,
    .app-role-card h3,
    .app-screenshot-card h3,
    .app-use-case-card h3,
    .app-faq-item h3 {
        font-size: 17px !important;
    }

    .app-section {
        padding: 46px 0 !important;
    }

    .app-phone-mockup {
        width: min(254px, 68vw) !important;
    }

    .app-floating-card {
        width: min(100%, 254px) !important;
    }

    .app-hero-proof {
        gap: 10px !important;
    }

    .app-hero-proof div {
        padding: 12px !important;
    }
}

@media (max-width: 390px) {
    .app-hero-title {
        font-size: 26px !important;
    }

    .app-phone-mockup {
        width: min(236px, 66vw) !important;
    }
}

.app-final-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.app-final-actions .app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-width: 128px;
    min-height: 46px;
    padding: 0 20px;

    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.app-final-actions .app-btn i {
    font-size: 17px;
    line-height: 1;
    flex: 0 0 auto;
}

.app-final-actions .app-btn span {
    display: inline-block;
    color: inherit !important;
    opacity: 1 !important;
}

.app-final-actions .app-btn-primary {
    background: linear-gradient(135deg, #7ddfff, #b7efff);
    color: #06111c !important;
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 18px 44px rgba(93, 214, 255, .22);
}

.app-final-actions .app-btn-secondary {
    background: rgba(255, 255, 255, .045);
    color: #eaf7ff !important;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.app-final-actions .app-btn:hover {
    transform: translateY(-2px);
}

.app-final-actions .app-btn-primary:hover {
    box-shadow: 0 22px 54px rgba(93, 214, 255, .3);
}

.app-final-actions .app-btn-secondary:hover {
    background: rgba(255, 255, 255, .075);
    border-color: rgba(255, 255, 255, .24);
}

/* RTL: icon should sit naturally before Persian text */
html[dir="rtl"] .app-final-actions .app-btn,
body[dir="rtl"] .app-final-actions .app-btn {
    flex-direction: row;
}

/* Mobile */
@media (max-width: 575px) {
    .app-final-actions {
        gap: 10px;
        margin-top: 22px;
    }

    .app-final-actions .app-btn {
        min-width: 0;
        width: 100%;
        max-width: 280px;
        min-height: 44px;
        font-size: 13px;
        padding: 0 18px;
    }
}

@media (max-width: 575px) {
    .app-final-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .app-final-actions .app-btn {
        width: 100%;
        min-width: 0;
        padding: 0 12px;
        font-size: 12.5px;
    }
}
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

/* ---------- Mobile layout QA: landing page spacing and safe grids ---------- */
.app-landing-page .row {
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.app-landing-page .row > * {
    min-width: 0;
}

.app-landing-page .app-video-panel,
.app-landing-page .app-dashboard-mockup,
.app-landing-page .app-screenshot-card,
.app-landing-page .app-control-visual {
    max-width: 100%;
}

@media (max-width: 991px) {
    .app-hero-section .row,
    .app-video-tour-section .row,
    .app-control-section .row,
    .app-steps-section .row,
    .app-dashboard-card .row {
        row-gap: 28px !important;
    }

    .app-preview-wrap {
        margin-top: 18px;
        padding-top: 30px !important;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .app-hero-proof {
        margin-bottom: 10px;
    }

    .app-video-tour-section .app-video-panel,
    .app-steps-list,
    .app-dashboard-mockup {
        margin-top: 8px;
    }

    .app-control-section .row {
        flex-direction: column-reverse;
    }

    .app-control-visual {
        min-height: auto !important;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
        overflow: visible;
    }

    .app-orbit {
        display: none;
    }

    .app-control-core,
    .app-control-node,
    .app-control-node-1,
    .app-control-node-2,
    .app-control-node-3,
    .app-control-node-4 {
        position: relative !important;
        inset: auto !important;
        transform: none !important;
    }

    .app-control-core {
        grid-column: 1 / -1;
        width: 100% !important;
        height: auto !important;
        min-height: 132px;
        border-radius: 24px !important;
    }

    .app-control-node {
        width: 100%;
        min-width: 0;
        max-width: none;
        justify-content: flex-start;
        border-radius: 18px;
    }

    .app-control-node span {
        max-width: none !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .app-step-item {
        grid-template-columns: 52px minmax(0, 1fr) !important;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .app-step-item > span {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .app-dashboard-card {
        padding: 22px 16px !important;
    }

    .app-dashboard-grid {
        gap: 10px;
        padding: 12px;
    }

    .app-dash-tile {
        min-height: 96px;
        padding: 14px;
        border-radius: 18px;
    }

    .app-dash-tile strong {
        font-size: clamp(26px, 10vw, 34px) !important;
    }

    .app-mini-track {
        align-items: flex-start;
        font-size: 13px;
        line-height: 1.55;
    }

    .app-mini-track span {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 575px) {
    .app-hero-section {
        padding-bottom: 40px !important;
    }

    .app-preview-wrap {
        margin-top: 22px;
        padding-top: 28px !important;
    }

    .app-floating-card + .app-floating-card {
        margin-top: 10px;
    }

    .app-video-frame {
        aspect-ratio: 16 / 10 !important;
        max-height: none !important;
    }

    .app-wide-video {
        object-fit: contain;
        background: #050711;
    }

    .app-step-item {
        grid-template-columns: 46px minmax(0, 1fr) !important;
        padding: 14px;
        border-radius: 18px;
    }

    .app-step-item > span {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .app-control-visual {
        grid-template-columns: 1fr;
        padding: 14px;
        border-radius: 22px !important;
    }

    .app-control-node {
        padding: 11px 12px;
    }

    .app-dashboard-card .app-section-heading {
        margin-bottom: 6px !important;
    }

    .app-final-actions {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile fix: focused branch control cards */
@media (max-width: 575px) {
    .app-showcase-card {
        gap: 22px !important;
        padding: 22px 18px !important;
        overflow: visible !important;
    }

    .app-showcase-stack {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        min-height: 0 !important;
    }

    .app-mini-screen {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        min-height: 104px !important;
        padding: 16px !important;
        display: grid !important;
        grid-template-columns: 54px minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        align-items: center !important;
        justify-content: initial !important;
        column-gap: 14px !important;
        row-gap: 4px !important;
        border-radius: 22px !important;
    }

    .app-mini-screen i {
        position: static !important;
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        border-radius: 16px !important;
        font-size: 26px !important;
        transform: none !important;
    }

    .app-mini-screen strong {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin: 0 !important;
        align-self: end !important;
        color: rgba(236, 248, 255, 0.78) !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        text-align: start !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .app-mini-screen span {
        grid-column: 2 !important;
        grid-row: 2 !important;
        align-self: start !important;
        color: #fff !important;
        font-size: 38px !important;
        line-height: 1 !important;
        text-align: start !important;
        letter-spacing: 0 !important;
    }
}

@media (max-width: 380px) {
    .app-showcase-card {
        padding-inline: 14px !important;
    }

    .app-mini-screen {
        min-height: 96px !important;
        padding: 14px !important;
        grid-template-columns: 48px minmax(0, 1fr) !important;
        column-gap: 12px !important;
    }

    .app-mini-screen i {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        font-size: 23px !important;
    }

    .app-mini-screen span {
        font-size: 34px !important;
    }
}


/* Fix focused branch-control CTA text spacing/alignment */
.app-showcase-copy .app-btn {
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
}

.app-showcase-copy .app-btn span {
    display: inline-block !important;
    margin: 0 !important;
    color: inherit !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    line-height: 1.35 !important;
}

.app-showcase-copy .app-btn i {
    flex: 0 0 auto;
}

html[dir="rtl"] .app-showcase-copy .app-btn,
body[dir="rtl"] .app-showcase-copy .app-btn,
[dir="rtl"] .app-showcase-copy .app-btn {
    flex-direction: row;
}

@media (max-width: 575px) {
    .app-showcase-copy .app-btn {
        min-width: min(100%, 230px);
        white-space: normal;
        justify-content: center;
    }

    .app-showcase-copy .app-btn span {
        white-space: normal !important;
        text-align: center;
    }
}
