/* ClipStore shop page. Shared with the legal pages: common.css. */

:root {
    --bg: #0b1020;
    --card: #141f35;
    --line: #2a3a58;
    --txt: #edf3ff;
    --muted: #aab7ce;
    --blue: #8db5ff;
    --green: #78dfb7;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: radial-gradient(ellipse at 70% 0, #263d6a, transparent 38%), var(--bg);
    color: var(--txt);
    font: 16px/1.6 system-ui, Segoe UI, sans-serif;
}

.wrap {
    max-width: 1080px;
    width: calc(100% - 36px);
    margin: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.logo {
    font-size: 1.3rem;
    font-weight: 850;
}

.logo span,
h1 em {
    color: var(--blue);
}

nav {
    display: flex;
    gap: 20px;
}

a {
    color: var(--blue);
}

nav a {
    color: var(--muted);
    text-decoration: none;
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 19px;
    background: linear-gradient(110deg, #8db5ff, #b2a4ff);
    color: #081326;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn.alt {
    background: #203252;
    color: #eef3ff;
    border: 1px solid var(--line);
}

.hero {
    padding: 70px 0 55px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    color: #c6d9ff;
    background: #1a2b49;
    border: 1px solid #3c5682;
    padding: 5px 12px;
    border-radius: 99px;
    font-size: .85rem;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -.05em;
    margin: 22px 0;
}

.lead {
    color: var(--muted);
    font-size: 1.12rem;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.subtle {
    color: var(--muted);
    font-size: .88rem;
}

.window {
    background: linear-gradient(145deg, #1b2b48, #10192c);
    border: 1px solid #3a5277;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 25px 70px #0008;
}

.dots {
    color: #8395b3;
}

.search,
.clip {
    padding: 12px;
    background: #1c2c48;
    border: 1px solid #304463;
    border-radius: 10px;
    margin: 10px 0;
}

.clip small {
    display: block;
    color: #aab7ce;
}

.tag {
    float: right;
    color: #c4d6ff;
    font-size: .8rem;
}

section {
    padding: 60px 0;
}

.head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 30px;
}

.head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin: 0 0 10px;
}

.head p,
.muted {
    color: var(--muted);
}

.cards,
.plans,
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card,
.plan,
.step,
.quote {
    background: linear-gradient(145deg, #17243d, #10182a);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 23px;
}

.card h3 {
    margin: 10px 0 5px;
}

.card p,
.step p {
    color: var(--muted);
    margin: 0;
}

.trial {
    background: #192d4d;
    border: 1px solid #425e8b;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.trial h2 {
    margin: 0;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.toggle {
    background: #10192a;
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 4px;
}

.toggle button {
    background: none;
    color: var(--muted);
    border: 0;
    padding: 9px 15px;
    border-radius: 99px;
    cursor: pointer;
}

.toggle button.active {
    background: #30496f;
    color: white;
}

input {
    background: #10192a;
    color: white;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 10px;
    width: 78px;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan.pop {
    border-color: #86aaff;
    box-shadow: 0 0 0 1px #86aaff44;
}

.badge {
    color: #bcd3ff;
    font-size: .8rem;
    font-weight: 800;
}

.price {
    font-size: 2.5rem;
    font-weight: 850;
    letter-spacing: -.05em;
    margin: 7px 0;
}

.plan ul {
    padding-left: 20px;
    color: #d5e0f2;
    flex: 1;
}

.plan li {
    padding: 5px 0;
}

.plan .btn {
    width: 100%;
    text-align: center;
}

.volume {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;
}

.volume table {
    width: 100%;
    border-collapse: collapse;
}

.volume td,
.volume th {
    padding: 11px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.volume td:last-child {
    color: var(--green);
    font-weight: 800;
}

.steps .step {
    padding: 20px;
}

.step b {
    color: var(--blue);
}

.faq {
    max-width: 800px;
    margin: auto;
}

.faq details {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.faq summary {
    font-weight: 750;
    cursor: pointer;
}

.faq p {
    color: var(--muted);
}

footer {
    border-top: 1px solid var(--line);
    padding: 25px 0;
    color: var(--muted);
    font-size: .9rem;
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.modalbg {
    display: none;
    position: fixed;
    inset: 0;
    background: #000b;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.modalbg.open {
    display: flex;
}

.modal {
    max-width: 500px;
    width: 100%;
    background: #14213a;
    border: 1px solid #425a80;
    border-radius: 18px;
    padding: 24px;
}

.modal label {
    display: block;
    margin: 12px 0;
    color: var(--muted);
    font-size: .9rem;
}

.modal input {
    width: 100%;
    margin-top: 5px;
}

.modal .row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.mock {
    display: inline-block;
    background: #533b1b;
    color: #ffda91;
    border-radius: 99px;
    padding: 4px 10px;
    font-size: .75rem;
    font-weight: 900;
}

.result {
    display: none;
    background: #10342d;
    border: 1px solid #347c68;
    border-radius: 12px;
    padding: 13px;
    margin-top: 14px;
}

.result code {
    display: block;
    overflow-wrap: anywhere;
    color: #a7f2d7;
    margin: 8px 0;
}

.small {
    font-size: .78rem;
    color: #b5c2d8;
}

@media(max-width:800px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .cards,
    .plans,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .volume {
        grid-template-columns: 1fr;
    }
}

@media(max-width:560px) {
    nav a:not(.btn) {
        display: none;
    }

    .cards,
    .plans,
    .steps {
        grid-template-columns: 1fr;
    }

    .trial {
        display: block;
    }

    .trial .btn {
        margin-top: 16px;
    }
}

select {
    background: #10192a;
    color: white;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 10px;
}

.sum {
    background: #0e1828;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    margin: 12px 0;
}

.sum div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
    font-size: .92rem;
}

.sum .g {
    color: var(--green);
}

.sum .t {
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 8px;
    font-weight: 800;
}

:root {
    --blue: #5db0f5;
}

body {
    background: radial-gradient(ellipse at 70% 0, #1e4f82, transparent 40%), var(--bg);
}

.btn {
    background: linear-gradient(110deg, #4a9fe0, #86cbff);
}

.plan.pop {
    border-color: #5db0f5;
    box-shadow: 0 0 0 1px #5db0f544;
}

.hero1 {
    text-align: center;
    padding: 50px 0 20px;
}

.hero1 .actions {
    justify-content: center;
}

.shot {
    margin: 40px 0 0;
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #3a5277;
    box-shadow: 0 25px 70px #000a;
}

.card p {
    font-size: .95rem;
}

@media(max-width:800px) {
    .hero1 h1 {
        font-size: 2.6rem;
    }
}

.slider {
    position: relative;
    margin-top: 40px;
}

.slider[hidden] {
    display: none;
}

.track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    border-radius: 12px;
    border: 1px solid #3a5277;
    box-shadow: 0 25px 70px #000a;
    background: #0e1828;
}

.track::-webkit-scrollbar {
    display: none;
}

.track img {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 1542/793;
    object-fit: contain;
    scroll-snap-align: center;
}

.nav {
    position: absolute;
    top: calc(50% - 40px);
    left: 10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ffffff44;
    background: #0b1020bb;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.nav.next {
    left: auto;
    right: 10px;
}

.cap {
    text-align: center;
    color: var(--muted);
    margin-top: 12px;
    min-height: 1.6em;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: #3a5277;
    padding: 0;
    cursor: pointer;
}

.dots button.on {
    background: var(--blue);
}

/* Layout helpers (these used to be style="" attributes in index.html) */
[hidden] {
    display: none !important;
}

.center {
    text-align: center;
}

.currency-row {
    text-align: center;
    margin: 0 0 22px;
}

.head.head-left {
    text-align: left;
    margin: 0 0 15px;
}

.coupon-row {
    display: flex;
    gap: 8px;
}

#plans {
    display: inline-flex;
}

#dur {
    width: 100%;
    margin-top: 5px;
}

#deal {
    color: var(--green);
}

#err {
    color: #ffb4b4;
}

.text-ok {
    color: #78dfb7;
}

.text-error {
    color: #ffb4b4;
}
