/* OTPOS Retail Pro product page (/software/otpos-for-retail) */

/* ---------- Hero ---------- */
.pro-hero { overflow: hidden; }
.pro-hero-glow {
    position: absolute;
    inset: -20% -10% auto auto;
    width: 760px;
    height: 760px;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.32) 0%, rgba(6, 182, 212, 0.14) 38%, transparent 68%);
    pointer-events: none;
}
.pro-hero .ot-container, .pro-download .ot-container { position: relative; }
.pro-app-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 40px -14px rgba(34, 211, 238, 0.6);
}
.pro-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    font-family: var(--ot-font-mono);
    font-size: 11.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ot-cyan-300);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(103, 232, 249, 0.3);
}

/* Download card in the hero */
.pro-dl-card {
    position: relative;
    max-width: 560px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(12, 20, 40, 0.72);
    border: 1px solid rgba(103, 232, 249, 0.28);
    box-shadow: 0 30px 70px -30px rgba(6, 182, 212, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.pro-dl-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(120deg, rgba(37, 99, 235, 0.9), rgba(6, 182, 212, 0.6) 40%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.pro-dl-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.pro-dl-card-title { color: #fff; font-family: var(--ot-font-display); font-weight: 600; font-size: 1.05rem; }
.pro-dl-card-meta { font-family: var(--ot-font-mono); font-size: 12px; color: #7f8ba3; }

.pro-dl-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    color: #fff;
    background: var(--ot-grad);
    box-shadow: 0 16px 36px -12px rgba(37, 99, 235, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform .2s ease, box-shadow .2s ease;
    animation: pro-glow 2.8s ease-in-out infinite;
}
.pro-dl-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 44px -12px rgba(6, 182, 212, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.pro-dl-btn-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
}
.pro-dl-btn-icon .ot-i { width: 22px; height: 22px; }
.pro-dl-btn-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pro-dl-btn-label { font-family: var(--ot-font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.pro-dl-btn-sub { font-family: var(--ot-font-mono); font-size: 11.5px; opacity: .8; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-dl-btn-arrow { flex: none; width: 20px; height: 20px; transition: transform .2s ease; }
.pro-dl-btn:hover .pro-dl-btn-arrow { transform: translateX(4px); }
@keyframes pro-glow {
    0%, 100% { box-shadow: 0 16px 36px -12px rgba(37, 99, 235, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
    50% { box-shadow: 0 16px 48px -8px rgba(6, 182, 212, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}
.pro-dl-card-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; padding: 0 4px; }
.pro-dl-secondary { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #c5d0e0; }
.pro-dl-secondary:hover { color: var(--ot-cyan-300); }
.pro-dl-secondary .ot-i { width: 15px; height: 15px; }
.pro-dl-secondary .ot-mono { font-size: 11.5px; color: #7f8ba3; }

.pro-trust { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; font-size: 13.5px; color: #9fb0c8; }
.pro-trust li { display: inline-flex; align-items: center; gap: 7px; }
.pro-trust li::before {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}

/* Hero visual: screenshot with floating status cards */
.pro-hero-visual { position: relative; padding: 28px 10px 40px; }
.pro-hero-shot { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.pro-hero-shot img { width: 100%; height: auto; }
.pro-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    color: var(--ot-text);
    box-shadow: 0 18px 40px -16px rgba(2, 6, 23, 0.6);
    font-size: 13px;
    animation: pro-bob 6s ease-in-out infinite;
}
.pro-float strong { display: block; font-weight: 700; line-height: 1.2; }
.pro-float small { display: block; color: var(--ot-muted); font-size: 11.5px; }
.pro-float .ot-i { width: 18px; height: 18px; color: var(--ot-blue); }
.pro-float--a { left: -10px; top: 0; }
.pro-float--b { right: -6px; bottom: 6px; animation-delay: -2s; }
.pro-float--c { left: 6%; bottom: -4px; animation-delay: -4s; }
.pro-float-dot { width: 10px; height: 10px; border-radius: 50%; }
.pro-float-dot--green { background: var(--ot-green); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
@keyframes pro-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 639px) {
    .pro-float--c { display: none; }
    .pro-float--a { left: 0; }
    .pro-float--b { right: 0; }
}

/* Stats strip */
.pro-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 64px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.16);
    border: 1px solid rgba(148, 163, 184, 0.16);
}
@media (min-width: 768px) { .pro-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pro-stats > div { padding: 22px 24px; background: rgba(7, 11, 24, 0.85); }
.pro-stat-num { display: block; font-family: var(--ot-font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; line-height: 1.1; }
.pro-stat-num small { font-size: .45em; margin-left: 6px; color: var(--ot-cyan-300); font-weight: 600; }
.pro-stat-label { display: block; margin-top: 6px; font-family: var(--ot-font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #7f8ba3; }

/* ---------- How it works ---------- */
.pro-diagram {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid var(--ot-line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 24px 60px -40px rgba(37, 99, 235, 0.45);
}
.pro-diagram svg { display: block; width: 100%; height: auto; }
.pro-link { stroke: #cbd5e1; stroke-width: 2; fill: none; }
.pro-link-flow { stroke: #06b6d4; stroke-width: 2.5; fill: none; stroke-dasharray: 6 12; stroke-linecap: round; animation: pro-flow 1.6s linear infinite; }
@keyframes pro-flow { to { stroke-dashoffset: -36; } }

.pro-steps { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
@media (min-width: 1024px) { .pro-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pro-step {
    position: relative;
    padding: 28px 26px 26px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--ot-line);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pro-step:hover { border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 24px 50px -30px rgba(37, 99, 235, 0.45); transform: translateY(-2px); }
.pro-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--ot-grad);
    color: #fff;
    font-family: var(--ot-font-display);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.8);
}
.pro-step p { color: var(--ot-muted); line-height: 1.7; margin: 8px 0 16px; }
.pro-step .ot-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* ---------- Shared vs per register ---------- */
.pro-panel { padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--ot-line); }
.pro-panel--shared { border-color: rgba(37, 99, 235, 0.3); box-shadow: 0 30px 60px -40px rgba(37, 99, 235, 0.5); }
.pro-panel-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }

/* ---------- Free vs Pro ---------- */
.pro-plans { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
@media (min-width: 768px) { .pro-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
.pro-plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--ot-line); }
.pro-plan .ot-checklist { flex: 1; }
.pro-plan--pro {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, var(--ot-grad) border-box;
    box-shadow: 0 40px 80px -40px rgba(37, 99, 235, 0.55);
}
.pro-plan-badge {
    position: absolute;
    top: -13px;
    right: 24px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--ot-grad);
    color: #fff;
    font-family: var(--ot-font-mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.pro-plan-name { font-family: var(--ot-font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ot-blue); }
.pro-plan-price { margin: 10px 0 4px; font-family: var(--ot-font-display); font-weight: 700; font-size: 2.2rem; line-height: 1.1; color: var(--ot-text); }
.pro-plan-price small { font-size: .45em; font-weight: 600; color: var(--ot-muted); margin-left: 4px; }

.pro-licence {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    max-width: 920px;
    margin: 56px auto 0;
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--ot-line);
}
@media (min-width: 900px) { .pro-licence { grid-template-columns: auto minmax(0, 1fr); } }
.pro-licence .ot-shot-figure { margin: 0; max-width: 360px; }
.pro-licence .ot-shot-figure figcaption { display: none; }
.pro-licence .ot-link { gap: 6px; align-items: center; font-weight: 600; }

/* ---------- Download section ---------- */
.pro-download { overflow: hidden; scroll-margin-top: var(--ot-nav-h); }
.pro-download .pro-hero-glow { inset: auto auto -30% 50%; transform: translateX(-50%); }
.pro-dl-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
@media (min-width: 900px) { .pro-dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pro-dl-box {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 20px;
    background: rgba(12, 20, 40, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
}
.pro-dl-box--primary {
    border: 1px solid rgba(103, 232, 249, 0.45);
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.28) 0%, rgba(12, 20, 40, 0.85) 55%);
    box-shadow: 0 40px 80px -40px rgba(6, 182, 212, 0.7);
}
.pro-dl-box-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pro-dl-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--ot-font-display);
    font-weight: 700;
}
.pro-dl-box--primary .pro-dl-step { background: var(--ot-grad); }
.pro-dl-where { font-family: var(--ot-font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #9fb0c8; }
.pro-dl-tag { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #04211a; background: #6ee7b7; }
.pro-dl-box-title { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.pro-dl-box-title svg { width: 22px; height: 22px; color: var(--ot-cyan-300); flex: none; }
.pro-dl-box-title h3 { font-family: var(--ot-font-display); font-weight: 700; font-size: 1.5rem; color: #fff; }
.pro-dl-version { font-family: var(--ot-font-mono); font-size: 12px; color: var(--ot-cyan-300); padding: 2px 8px; border-radius: 6px; background: rgba(6, 182, 212, 0.12); }
.pro-dl-note { flex: 1; margin: 12px 0 24px; color: #b6c2d6; line-height: 1.65; }
.pro-dl-file { margin-top: 12px; text-align: center; font-family: var(--ot-font-mono); font-size: 11.5px; color: #7f8ba3; word-break: break-all; }
.pro-dl-hint { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: 14px; color: #9fb0c8; }
.pro-dl-hint a { color: var(--ot-cyan-300); text-decoration: underline; }

.pro-reqs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    max-width: 980px;
    margin: 48px auto 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.16);
    border: 1px solid rgba(148, 163, 184, 0.16);
}
@media (min-width: 768px) { .pro-reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pro-reqs > div:last-child { grid-column: 1 / -1; } }
.pro-reqs > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; background: rgba(7, 11, 24, 0.85); color: #c5d0e0; font-size: 14px; }
.pro-req-k { font-family: var(--ot-font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ot-cyan-300); }

/* ---------- FAQ ---------- */
.pro-faq { display: flex; flex-direction: column; gap: 12px; }
.pro-faq-item { border: 1px solid var(--ot-line); border-radius: 14px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.pro-faq-item[open] { border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 20px 40px -30px rgba(37, 99, 235, 0.5); }
.pro-faq-item summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; }
.pro-faq-item summary::-webkit-details-marker { display: none; }
.pro-faq-num { color: #0891b2; flex: none; }
.pro-faq-q { flex: 1; font-family: var(--ot-font-display); font-weight: 600; font-size: 1.05rem; color: var(--ot-text); }
.pro-faq-toggle { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ot-bg-alt); }
.pro-faq-toggle::before, .pro-faq-toggle::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; border-radius: 2px; background: var(--ot-blue); transition: transform .2s ease; }
.pro-faq-toggle::after { transform: rotate(90deg); }
.pro-faq-item[open] .pro-faq-toggle::after { transform: rotate(0deg); }
.pro-faq-item p { padding: 0 20px 20px 66px; color: var(--ot-muted); line-height: 1.75; }
@media (max-width: 639px) { .pro-faq-item p { padding-left: 20px; } }

/* ---------- CTA + sticky download bar ---------- */
.pro-pulse { animation: pro-glow 2.8s ease-in-out infinite; }
.pro-sticky {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 40;
    width: calc(100% - 32px);
    max-width: 560px;
    transform: translate(-50%, 140%);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
    pointer-events: none;
}
.pro-sticky.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.pro-sticky-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 12px;
    border-radius: 16px;
    background: rgba(7, 11, 24, 0.92);
    border: 1px solid rgba(103, 232, 249, 0.3);
    box-shadow: 0 24px 60px -20px rgba(2, 6, 23, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.pro-sticky-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: #fff; flex: none; }
.pro-sticky-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pro-sticky-text strong { color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro-sticky-text small { color: #9fb0c8; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro-sticky-btn { flex: none; padding: 11px 18px; }

@media (prefers-reduced-motion: reduce) {
    .pro-dl-btn, .pro-pulse, .pro-float, .pro-link-flow { animation: none; }
}

.pro-dl-buy { color: var(--ot-cyan-300); font-weight: 600; }
.pro-dl-buy:hover { color: #fff; }
.pro-sticky-buy { flex: none; padding: 9px 4px; font-size: 14px; font-weight: 600; color: var(--ot-cyan-300); }
.pro-sticky-buy:hover { color: #fff; }
