/* ============================================================================
   OperoApp landing page  —  /repair-shop-management-app
   Scoped under .op-page so nothing here can leak into the rest of the site.
   ========================================================================== */

.op-page {
    --op-navy: #0a1633;
    --op-navy-2: #12224d;
    --op-blue: #1f7aec;
    --op-cyan: #22c1ee;
    --op-green: #04d06d;
    --op-violet: #7c5cff;
    --op-amber: #f5a524;
    --op-rose: #f2416b;
    --op-ink: #17203a;
    --op-body: #5b6579;
    --op-line: #e6ebf3;
    --op-surface: #ffffff;
    --op-soft: #f5f8fd;
    --op-radius: 20px;
    --op-shadow: 0 18px 50px rgba(15, 32, 70, .10);
    --op-shadow-lg: 0 30px 80px rgba(15, 32, 70, .16);
    color: var(--op-body);
    font-size: 16px;
    line-height: 1.85;
    overflow-x: hidden;
}

.op-page h1,
.op-page h2,
.op-page h3,
.op-page h4 {
    color: var(--op-ink);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 14px;
}

.op-page p {
    margin: 0 0 16px;
}

.op-page img {
    max-width: 100%;
}

.op-section {
    padding: 96px 0;
    position: relative;
}

.op-section--soft {
    background: var(--op-soft);
}

.op-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- shared bits ---------- */

.op-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(31, 122, 236, .10);
    color: var(--op-blue);
    margin-bottom: 18px;
}

.op-eyebrow i {
    font-size: 16px;
}

.op-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.op-head h2 {
    font-size: clamp(28px, 4vw, 42px);
}

.op-head p {
    font-size: 17px;
    margin: 0;
}

.op-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: 12px;
    border: 0;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    text-decoration: none;
    cursor: pointer;
}

.op-btn:hover,
.op-btn:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.op-btn i {
    font-size: 20px;
}

.op-btn--primary {
    background: linear-gradient(135deg, var(--op-green), #06b45f);
    color: #fff;
    box-shadow: 0 12px 30px rgba(4, 208, 109, .38);
}

.op-btn--primary:hover,
.op-btn--primary:focus {
    color: #fff;
    box-shadow: 0 18px 40px rgba(4, 208, 109, .48);
}

.op-btn--store {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(8px);
    padding: 11px 24px;
    text-align: start;
    line-height: 1.25;
}

.op-btn--store:hover,
.op-btn--store:focus {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

.op-btn--store i {
    font-size: 28px;
}

.op-btn--store span {
    display: block;
}

.op-btn--store .op-btn-small {
    font-size: 11px;
    font-weight: 500;
    opacity: .78;
    letter-spacing: .4px;
}

.op-btn--store .op-btn-big {
    font-size: 17px;
    font-weight: 700;
}

/* The filled store badge - used for the store that is actually live. */
.op-btn--store-solid {
    background: #fff;
    color: var(--op-ink);
    border-color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
}

.op-btn--store-solid:hover,
.op-btn--store-solid:focus {
    background: #eef3fd;
    color: var(--op-ink);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}

/* A store the app is not published to yet - shown, but not clickable. */
.op-btn--soon {
    opacity: .5;
    cursor: default;
}

.op-btn--soon:hover {
    transform: none;
    background: rgba(255, 255, 255, .08);
}

/* ---------- hero ---------- */

.op-hero {
    position: relative;
    padding: 150px 0 110px;
    background: radial-gradient(1100px 620px at 78% -8%, #1d3a86 0%, transparent 62%), radial-gradient(900px 520px at 6% 104%, #0f3b73 0%, transparent 60%), linear-gradient(160deg, var(--op-navy) 0%, var(--op-navy-2) 100%);
    color: #cfd9ee;
    overflow: hidden;
}

.op-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
    pointer-events: none;
}

.op-hero .op-container {
    position: relative;
    z-index: 2;
}

.op-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 60px;
    align-items: center;
}

.op-hero .op-eyebrow {
    background: rgba(255, 255, 255, .10);
    color: #8fe9ff;
    border: 1px solid rgba(255, 255, 255, .16);
}

.op-hero h1 {
    color: #fff;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.28;
    letter-spacing: -.3px;
    margin-bottom: 20px;
}

.op-hero h1 .op-hl {
    background: linear-gradient(120deg, var(--op-cyan), var(--op-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--op-cyan);
}

.op-hero-lead {
    font-size: 18px;
    line-height: 1.9;
    color: #b6c4de;
    max-width: 560px;
    margin-bottom: 32px;
}

.op-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.op-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    font-size: 14px;
    color: #9fb0cf;
}

.op-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.op-hero-meta i {
    color: var(--op-green);
    font-size: 18px;
}

/* phone mockup */

.op-phone-stage {
    position: relative;
    display: flex;
    justify-content: center;
}

.op-phone {
    position: relative;
    width: 290px;
    max-width: 78vw;
    padding: 11px;
    border-radius: 42px;
    background: linear-gradient(160deg, #2b3856, #131c33);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .48), inset 0 0 0 1px rgba(255, 255, 255, .10);
    flex: none;
    z-index: 2;
}

.op-phone img {
    display: block;
    width: 100%;
    /* height:auto is required: the width/height attributes on the <img> are
       presentational hints, and without this the 2400px height would win. */
    height: auto;
    border-radius: 32px;
    background: #fff;
}

.op-phone--tilt {
    transform: rotate(-3deg);
}

.op-float {
    position: absolute;
    background: rgba(255, 255, 255, .96);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 20px 45px rgba(3, 12, 33, .35);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: opFloat 5.5s ease-in-out infinite;
}

.op-float i {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #fff;
    flex: none;
}

.op-float b {
    display: block;
    color: var(--op-ink);
    font-size: 17px;
    line-height: 1.2;
}

.op-float small {
    color: #8b93a6;
    font-size: 12px;
}

.op-float--a {
    top: 12%;
    inset-inline-start: -6%;
}

.op-float--a i {
    background: linear-gradient(135deg, var(--op-green), #06b45f);
}

.op-float--b {
    bottom: 14%;
    inset-inline-end: -8%;
    animation-delay: 1.6s;
}

.op-float--b i {
    background: linear-gradient(135deg, var(--op-violet), #5b7bff);
}

@keyframes opFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ---------- stat band ---------- */

.op-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: -58px;
    position: relative;
    z-index: 5;
}

.op-stat {
    background: var(--op-surface);
    border-radius: 18px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: var(--op-shadow);
    border: 1px solid var(--op-line);
}

.op-stat i {
    font-size: 28px;
    color: var(--op-blue);
}

.op-stat b {
    display: block;
    font-size: 26px;
    color: var(--op-ink);
    font-weight: 800;
    line-height: 1.3;
}

.op-stat span {
    font-size: 14px;
}

/* ---------- feature cards ---------- */

.op-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.op-card {
    background: var(--op-surface);
    border: 1px solid var(--op-line);
    border-radius: var(--op-radius);
    padding: 32px 28px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    height: 100%;
}

.op-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--op-shadow-lg);
    border-color: transparent;
}

.op-card-ico {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 27px;
    color: #fff;
    margin-bottom: 20px;
}

.op-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.op-card p {
    margin: 0;
    font-size: 15.5px;
}

.op-i-blue {
    background: linear-gradient(135deg, #2f8bff, #1f6be0);
}

.op-i-green {
    background: linear-gradient(135deg, #17d67d, #04a75c);
}

.op-i-violet {
    background: linear-gradient(135deg, #8e6dff, #5f4ae0);
}

.op-i-amber {
    background: linear-gradient(135deg, #ffb43d, #ef8f0b);
}

.op-i-rose {
    background: linear-gradient(135deg, #ff6188, #e02e5c);
}

.op-i-cyan {
    background: linear-gradient(135deg, #35cff0, #14a3cc);
}

/* ---------- workflow ---------- */

.op-flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    position: relative;
}

.op-flow::before {
    content: "";
    position: absolute;
    top: 34px;
    inset-inline-start: 8%;
    width: 84%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--op-line) 0 10px, transparent 10px 20px);
}

.op-step {
    position: relative;
    text-align: center;
    z-index: 2;
}

.op-step-dot {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 14px 32px rgba(15, 32, 70, .18);
}

.op-step b {
    display: block;
    color: var(--op-ink);
    font-size: 16px;
    margin-bottom: 4px;
}

.op-step span {
    font-size: 13.5px;
    line-height: 1.65;
    display: block;
}

/* ---------- alternating showcase ---------- */

.op-show {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.op-show + .op-show {
    margin-top: 110px;
}

.op-show--flip .op-show-media {
    order: -1;
}

.op-show h2 {
    font-size: clamp(25px, 3.2vw, 34px);
}

.op-show-list {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
}

.op-show-list li {
    position: relative;
    padding-inline-start: 36px;
    margin-bottom: 16px;
    font-size: 16px;
}

.op-show-list li i {
    position: absolute;
    inset-inline-start: 0;
    top: 5px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 15px;
    background: rgba(4, 208, 109, .14);
    color: #06b45f;
}

.op-show-list li b {
    color: var(--op-ink);
}

.op-show-media {
    display: flex;
    justify-content: center;
    gap: 22px;
    position: relative;
}

.op-show-media .op-phone {
    width: 258px;
}

.op-show-media .op-phone:nth-child(2) {
    margin-top: 46px;
    transform: rotate(3deg);
}

.op-show-media .op-phone:nth-child(1) {
    transform: rotate(-2deg);
}

.op-show-media::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 78%;
    height: 78%;
    top: 12%;
    inset-inline-start: 11%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 122, 236, .20), transparent 68%);
    filter: blur(30px);
}

/* ---------- QR tracking band ---------- */

.op-qr {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    align-items: center;
    background: linear-gradient(135deg, #f2f7ff 0%, #eefaf4 100%);
    border: 1px solid var(--op-line);
    border-radius: 28px;
    padding: 54px 52px;
}

.op-qr h2 {
    font-size: clamp(25px, 3.2vw, 34px);
}

.op-qr > .op-qr-copy > p {
    font-size: 17px;
    margin-bottom: 30px;
}

.op-qr-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.op-qr-step {
    background: var(--op-surface);
    border: 1px solid var(--op-line);
    border-radius: 16px;
    padding: 20px 18px;
}

.op-qr-num {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--op-blue), #1657c4);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 12px;
}

.op-qr-step b {
    display: block;
    color: var(--op-ink);
    font-size: 16px;
    margin-bottom: 4px;
}

.op-qr-step small {
    font-size: 13.5px;
    line-height: 1.65;
    display: block;
}

.op-qr-visual {
    display: grid;
    place-items: center;
}

.op-qr-visual i {
    font-size: 180px;
    line-height: 1;
    color: var(--op-ink);
    background: var(--op-surface);
    border-radius: 30px;
    padding: 26px;
    box-shadow: var(--op-shadow-lg);
}

/* ---------- screenshot gallery ---------- */

.op-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 26px 22px;
}

.op-tile {
    margin: 0;
    text-align: center;
}

.op-tile-btn {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    padding: 0;
    border: 1px solid var(--op-line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--op-surface);
    cursor: zoom-in;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.op-tile-btn:hover,
.op-tile-btn:focus-visible {
    transform: translateY(-5px);
    box-shadow: var(--op-shadow-lg);
    border-color: rgba(31, 122, 236, .45);
    outline: none;
}

.op-tile-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.op-tile-zoom {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(10, 22, 51, .45);
    color: #fff;
    font-size: 30px;
    opacity: 0;
    transition: opacity .3s ease;
}

.op-tile-btn:hover .op-tile-zoom,
.op-tile-btn:focus-visible .op-tile-zoom {
    opacity: 1;
}

.op-tile figcaption {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--op-ink);
    line-height: 1.5;
}

/* ---------- lightbox ---------- */

.op-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    background: rgba(6, 12, 28, .93);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.op-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.op-lb-figure {
    margin: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.op-lb-figure img {
    max-height: calc(100vh - 150px);
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    background: #fff;
}

.op-lb-figure figcaption {
    color: #dbe4f5;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.op-lb-close,
.op-lb-nav {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    transition: background .25s ease;
}

    .op-lb-close:hover,
    .op-lb-nav:hover {
        background: rgba(255, 255, 255, .26);
    }

.op-lb-close {
    top: 18px;
    inset-inline-end: 18px;
    font-size: 30px;
}

.op-lb-nav {
    top: 50%;
    transform: translateY(-50%);
}

.op-lb-prev {
    inset-inline-start: 18px;
}

.op-lb-next {
    inset-inline-end: 18px;
}

/* The chevrons are authored for LTR; mirror them when the page runs RTL. */
[dir="rtl"] .op-lb-nav i {
    transform: scaleX(-1);
}

/* ---------- capability chips ---------- */

.op-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.op-chip {
    display: flex;
    align-items: center;
    gap: 13px;
    background: var(--op-surface);
    border: 1px solid var(--op-line);
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 15px;
    color: var(--op-ink);
    font-weight: 600;
    transition: border-color .25s ease, transform .25s ease;
}

.op-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 122, 236, .45);
}

.op-chip i {
    font-size: 22px;
    color: var(--op-blue);
    flex: none;
}

/* A chip used as a link (the further-reading strip). */
a.op-chip {
    text-decoration: none;
}

a.op-chip:hover,
a.op-chip:focus {
    text-decoration: none;
    color: var(--op-blue);
    border-color: rgba(31, 122, 236, .45);
}

/* ---------- FAQ ---------- */

.op-faq {
    max-width: 860px;
    margin: 0 auto;
}

.op-faq-item {
    background: var(--op-surface);
    border: 1px solid var(--op-line);
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
}

.op-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: 0;
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 700;
    color: var(--op-ink);
    text-align: start;
    cursor: pointer;
}

.op-faq-q i {
    font-size: 22px;
    color: var(--op-blue);
    transition: transform .3s ease;
    flex: none;
}

.op-faq-item.is-open .op-faq-q i {
    transform: rotate(45deg);
}

.op-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.op-faq-a p {
    padding: 0 24px 22px;
    margin: 0;
    font-size: 15.5px;
}

.op-faq-item.is-open .op-faq-a {
    max-height: 420px;
}

/* ---------- final CTA ---------- */

.op-cta {
    position: relative;
    padding: 82px 0;
    background: radial-gradient(800px 420px at 15% 0%, #1d3a86 0%, transparent 60%), linear-gradient(140deg, var(--op-navy) 0%, #143063 100%);
    overflow: hidden;
}

.op-cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.op-cta h2 {
    color: #fff;
    font-size: clamp(28px, 4vw, 40px);
}

.op-cta p {
    color: #b6c4de;
    font-size: 17.5px;
    margin-bottom: 32px;
}

.op-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ---------- reveal on scroll ---------- */

/* Content is visible by default. The hidden start state is only applied once the
   script has added .op-anim, so a JS failure can never leave the page blank. */
.op-page.op-anim .op-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}

.op-page.op-anim .op-reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .op-page * {
        animation: none !important;
        transition: none !important;
    }

    .op-page.op-anim .op-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------- responsive ---------- */

@media (max-width: 991px) {
    .op-section {
        padding: 72px 0;
    }

    .op-hero {
        padding: 128px 0 90px;
        text-align: center;
    }

    .op-hero-grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .op-hero-lead {
        margin-inline: auto;
    }

    .op-hero-cta,
    .op-hero-meta {
        justify-content: center;
    }

    .op-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -44px;
    }

    .op-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .op-flow {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 14px;
    }

    .op-flow::before {
        display: none;
    }

    .op-show {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .op-show + .op-show {
        margin-top: 78px;
    }

    .op-show--flip .op-show-media {
        order: 0;
    }

    .op-show-media {
        order: -1;
    }

    .op-chips {
        grid-template-columns: repeat(2, 1fr);
    }

    .op-qr {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 40px 28px;
        text-align: center;
    }

    .op-qr-visual {
        order: -1;
    }

    .op-qr-visual i {
        font-size: 120px;
        padding: 18px;
    }
}

@media (max-width: 575px) {
    .op-section {
        padding: 60px 0;
    }

    .op-hero {
        padding: 118px 0 80px;
    }

    .op-grid-3,
    .op-chips,
    .op-stats {
        grid-template-columns: 1fr;
    }

    .op-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .op-float {
        display: none;
    }

    .op-show-media {
        gap: 12px;
    }

    .op-show-media .op-phone {
        width: 46%;
    }

    .op-show-media .op-phone:nth-child(2) {
        margin-top: 26px;
    }

    .op-btn {
        width: 100%;
    }

    .op-qr-steps {
        grid-template-columns: 1fr;
    }

    .op-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 14px;
    }

    .op-lightbox {
        padding: 66px 12px;
    }

    .op-lb-nav {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }
}
