/* ============================================================
   Panda VPN — brand redesign
   White base · green accent · black text. Clean, trustworthy,
   Russian consumer VPN. Mascot-forward, no abstract decoration.
   ============================================================ */

:root {
  --green:      #21C063;   /* brand green (from logo) */
  --green-600:  #17A452;
  --green-700:  #0E8442;
  --green-050:  #E9F9F0;   /* pale green wash */
  --ink:        #14181C;   /* near-black text */
  --ink-2:      #2B333B;   /* secondary text */
  --muted:      #6B7680;   /* muted text */
  --line:       #E7EBEE;   /* hairlines / borders */
  --bg:         #FFFFFF;
  --bg-soft:    #F5F8F6;   /* soft section bg */
  --bg-dark:    #14181C;   /* dark footer/nav accents */
  --sand:       #F4B740;   /* sparing warm accent */
  --danger:     #E5533C;

  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  30px;
  --maxw:       1140px;
  --shadow-sm:  0 2px 10px rgba(20,24,28,.06);
  --shadow:     0 12px 40px -18px rgba(20,24,28,.22);
  --shadow-green: 0 14px 40px -16px rgba(33,192,99,.5);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 800; color: var(--ink); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.green { color: var(--green-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 700; font-size: 1rem; padding: .85rem 1.5rem;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .14s ease, box-shadow .2s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-green); }
.btn-primary:hover { background: var(--green-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green-700); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .v { color: var(--green-600); }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-2); font-size: .96rem; font-weight: 600; }
.nav-links a:hover { color: var(--green-700); }
.nav-cta { display: flex; gap: .6rem; align-items: center; }
@media (max-width: 900px) { .nav-links .hide-sm { display: none; } }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg-soft), #fff); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-badges, .hero-cta { justify-content: center; } }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.hero .lead { max-width: 40ch; margin-bottom: 1.7rem; }
@media (max-width: 900px) { .hero .lead { margin-inline: auto; } }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-badges { display: flex; gap: 1.4rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-badges b { color: var(--ink); }
.hero-img { position: relative; }
.hero-img img { width: 100%; border-radius: var(--radius-xl); }

.trust-pill { display: inline-flex; align-items: center; gap: .5rem; background: var(--green-050); color: var(--green-700); font-weight: 700; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px; margin-bottom: 1.2rem; }
.trust-pill::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; background: var(--green); color: #fff; border-radius: 50%; font-size: .7rem; }

/* ---------- Operators strip ---------- */
.ops { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.ops-inner { display: flex; align-items: center; justify-content: center; gap: clamp(1.2rem,4vw,3rem); padding: 1.1rem 0; flex-wrap: wrap; color: var(--muted); font-weight: 700; font-size: .95rem; }
.ops-inner .lbl { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 62ch; margin: 0 auto 2.4rem; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: .5rem 0 .6rem; }
.section-head .lead { margin-inline: auto; }

/* ---------- Choose two products ---------- */
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 820px) { .choose { grid-template-columns: 1fr; } }
.choose-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; display: flex; flex-direction: column; }
.choose-card.accent { border-color: var(--green); background: linear-gradient(180deg, var(--green-050), #fff); }
.choose-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; background: var(--ink); margin-bottom: 1rem; }
.choose-card.accent .choose-ic { background: var(--green); }
.choose-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.choose-card p { color: var(--muted); font-size: .97rem; margin: 0 0 1.2rem; }
.choose-card .from { margin-top: auto; font-size: .9rem; color: var(--muted); }
.choose-card .from b { color: var(--ink); font-size: 1.5rem; font-weight: 800; }
.choose-card .btn { margin-top: 1rem; }
.both-banner { margin-top: 1.2rem; text-align: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1rem 1.3rem; font-weight: 600; font-size: .98rem; }
.both-banner b { color: #6ee7a0; }

/* ---------- Pricing ---------- */
.term-toggle { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); margin: 0 auto 2rem; }
.term-toggle button { border: 0; background: transparent; font-family: inherit; font-weight: 700; font-size: .93rem; padding: .55rem 1.2rem; border-radius: 999px; cursor: pointer; color: var(--muted); }
.term-toggle button.active { background: var(--green); color: #fff; }
.toggle-wrap { text-align: center; }
.save-hint { display: block; text-align: center; color: var(--green-700); font-weight: 700; font-size: .88rem; margin: -1rem 0 1.6rem; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; display: flex; flex-direction: column; position: relative; }
.plan.popular { border-color: var(--green); box-shadow: var(--shadow); }
.plan .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .32rem .9rem; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.25rem; }
.plan .devices { color: var(--muted); font-size: .92rem; margin: .2rem 0 1rem; }
.plan .price { display: flex; align-items: baseline; gap: .3rem; margin-bottom: .15rem; }
.plan .price .num { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.plan .price .cur { font-size: 1.2rem; font-weight: 700; color: var(--ink-2); }
.plan .permo { color: var(--muted); font-size: .88rem; min-height: 1.3em; margin-bottom: 1.2rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.plan li { display: flex; gap: .55rem; font-size: .95rem; align-items: flex-start; color: var(--ink-2); }
.plan li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; background: var(--green-050); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23E9F9F0'/%3E%3Cpath d='M6 10.5l2.5 2.5L14 7' stroke='%2317A452' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; }

/* ---------- Bypass card (sits in the same grid area, highlighted) ---------- */
.bypass-card { background: linear-gradient(180deg, #fff, var(--green-050)); border: 1.5px solid var(--green); border-radius: var(--radius-lg); padding: 1.8rem; display: grid; grid-template-columns: 1.4fr .6fr; gap: 1.6rem; align-items: center; }
@media (max-width: 760px) { .bypass-card { grid-template-columns: 1fr; } }
.bypass-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.bypass-card .desc { color: var(--muted); font-size: .96rem; margin-bottom: 1rem; }
.bypass-card ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (max-width: 500px) { .bypass-card ul { grid-template-columns: 1fr; } }
.bypass-card li { display: flex; gap: .5rem; font-size: .93rem; color: var(--ink-2); }
.bypass-card li::before { content: "✓"; color: var(--green-600); font-weight: 800; }
.bypass-card .limits { display: flex; gap: 1.2rem; font-size: .88rem; color: var(--muted); }
.bypass-card .limits b { color: var(--ink); }
.bypass-buy { text-align: center; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.bypass-buy .num { font-size: 2.5rem; font-weight: 800; }
.bypass-buy .cur { color: var(--muted); }

/* ---------- Feature cards ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 820px) { .feats { grid-template-columns: 1fr; } }
.feat { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.feat .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--green-050); display: grid; place-items: center; margin-bottom: .9rem; font-size: 1.3rem; }
.feat h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.feat p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Split (mascot + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.rev .split-img { order: -1; } }
.split-img img { width: 100%; border-radius: var(--radius-xl); }
.split h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.steps-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1rem; }
.steps-list li { display: flex; gap: .9rem; align-items: flex-start; }
.steps-list .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.steps-list b { display: block; }
.steps-list span { color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: .2rem 1.2rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green-600); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { color: var(--muted); margin: 0 0 1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: clamp(2rem, 5vw, 3.2rem); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: .6rem; }
.cta-band p { color: #b9c2ca; margin: 0 auto 1.6rem; max-width: 48ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 2.4rem 0; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.footer a:hover { color: var(--green-700); }

/* ---------- Auth ---------- */
.auth-shell { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 2rem 1rem; background: var(--bg-soft); }
.card { width: 100%; max-width: 420px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.card .brand { justify-content: center; margin-bottom: 1.2rem; }
.card h1 { font-size: 1.55rem; margin-bottom: .3rem; text-align: center; }
.card .sub { color: var(--muted); margin-bottom: 1.6rem; font-size: .95rem; text-align: center; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; color: var(--ink-2); margin-bottom: .4rem; font-weight: 600; }
.input { width: 100%; padding: .85rem 1rem; border-radius: var(--radius); font-size: 1rem; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-family: inherit; transition: border-color .2s; }
.input:focus { outline: none; border-color: var(--green); }
.form-foot { margin-top: 1.2rem; text-align: center; color: var(--muted); font-size: .92rem; }
.form-foot a { color: var(--green-700); font-weight: 700; }
.form-foot.spread { display: flex; justify-content: space-between; }

.alert { padding: .85rem 1rem; border-radius: var(--radius); font-size: .92rem; margin-bottom: 1.2rem; }
.alert-error { background: #fdecea; border: 1px solid #f5c2ba; color: #b23524; }
.alert-ok { background: var(--green-050); border: 1px solid #b6ecca; color: var(--green-700); }

/* ---------- Cabinet ---------- */
.cab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 820px) { .cab-grid { grid-template-columns: 1fr; } }
.cab-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.cab-card.active { border-color: var(--green); }
.cab-head { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.cab-head h3 { font-size: 1.12rem; }
.cab-sub { color: var(--muted); font-size: .92rem; margin: 0 0 .8rem; }
.cab-empty { color: var(--muted); font-size: .94rem; margin: 0 0 1.1rem; }
.cab-foot { color: var(--muted); font-size: .9rem; margin-top: 1.2rem; text-align: center; }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.status-active { background: var(--green-050); color: var(--green-700); }
.status-expired { background: #fdecea; color: #b23524; }
.kv { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.kv:last-of-type { border-bottom: 0; }
.kv .k { color: var(--muted); }
.conn-label { color: var(--muted); font-size: .88rem; margin: 1rem 0 .3rem; }
.copy-row { display: flex; gap: .5rem; align-items: center; }
.copy-row code { flex: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--green-700); font-family: ui-monospace, monospace; }
.pay-hint { color: var(--muted); font-size: .86rem; margin-top: 1rem; text-align: center; }

/* ---------- Marquees ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; }
.feat-marquee { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.feat-marquee .marquee-track { animation: scroll-left 32s linear infinite; }
.op-marquee .marquee-track { animation: scroll-left 26s linear infinite; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none !important; } }
.marquee:hover .marquee-track { animation-play-state: paused; }

.mq-item { color: var(--ink-2); font-weight: 600; font-size: .98rem; padding: 0 .2rem; }
.mq-dot { color: var(--green); margin: 0 1.1rem; font-weight: 700; }

/* operator strip */
.ops { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 1.4rem 0; }
.ops-head { text-align: center; color: var(--muted); font-weight: 700; font-size: .92rem; margin-bottom: 1rem; letter-spacing: .01em; }
.op-logo { display: inline-flex; align-items: center; justify-content: center; margin: 0 clamp(1.5rem, 4vw, 3rem); height: 44px; }
.op-logo img { height: 100%; width: auto; max-width: 150px; object-fit: contain; }

/* ---------- Free-trial banner ---------- */
.trial-banner {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  background: linear-gradient(100deg, var(--ink), #1e2831);
  color: #fff; border-radius: var(--radius-lg); padding: 1.3rem 1.6rem;
  margin-bottom: 1.6rem;
}
.trial-badge {
  flex: none; font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em;
  background: var(--green); color: #fff; padding: .55rem .9rem; border-radius: 12px;
}
.trial-text { display: flex; flex-direction: column; gap: .15rem; margin-right: auto; }
.trial-text b { font-size: 1.15rem; }
.trial-text span { color: #b9c2ca; font-size: .93rem; }
@media (max-width: 620px) { .trial-banner { justify-content: center; text-align: center; } .trial-text { margin-right: 0; align-items: center; } .trial-banner .btn { width: 100%; } }

/* trial pill inside cabinet */
.status-trial { background: #FEF3D7; color: #9a6b0f; }

/* ---------- Nav button sizing fixes (issue 3: overflow on mobile) ---------- */
.nav-inner { gap: .8rem; }
.nav-cta .btn { padding: .6rem 1.1rem; font-size: .92rem; white-space: nowrap; }
@media (max-width: 560px) {
  .nav-inner { height: 62px; }
  .brand { font-size: 1.05rem; }
  .nav-cta .btn { padding: .55rem .85rem; font-size: .82rem; }
  .nav-cta .btn-ghost.hide-sm { display: none; }
}
@media (max-width: 380px) {
  .nav-cta .btn { padding: .5rem .7rem; font-size: .78rem; }
}

/* ---------- Telegram login button ---------- */
.btn-tg { background: #229ED9; color: #fff; }
.btn-tg:hover { background: #1c8dc4; }
.auth-divider { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; color: var(--muted); font-size: .85rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Nav v2: sign-in always visible, try-free stacks on mobile ---------- */
.nav-cta { gap: .5rem; }
.nav-cta .btn-outline { padding: .55rem 1rem; font-size: .9rem; }
@media (max-width: 640px) {
  .nav-cta .btn-outline { padding: .5rem .8rem; font-size: .82rem; }
  .btn-stack { white-space: normal; line-height: 1.15; text-align: center; max-width: 128px; padding: .45rem .8rem; font-size: .8rem; }
}
@media (max-width: 360px) {
  .btn-stack { max-width: 110px; font-size: .74rem; }
  .nav-cta .btn-outline { padding: .45rem .65rem; font-size: .76rem; }
}

/* ---------- Mobile overflow fix (issue: cabinet renders desktop-wide) ----------
   The long connection URL inside .copy-row forced the flex row wider than the
   viewport. Flex children need min-width:0 to be allowed to shrink. */
html, body { overflow-x: clip; }
.cab-card, .cab-grid, .wrap { min-width: 0; }
.copy-row { min-width: 0; }
.copy-row code { min-width: 0; flex: 1 1 0; }
.copy-row .btn { flex: none; }

/* ---------- v7 fixes ---------- */

/* #2: long emails must fit the phone screen */
.cab-email { font-size: clamp(1.15rem, 5.5vw, 2rem) !important; word-break: break-all; overflow-wrap: anywhere; }

/* #3: connection link — one full clickable link, wraps cleanly */
.conn-link {
  display: block; word-break: break-all; overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem;
  color: var(--green-700); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem 1rem;
  line-height: 1.5; transition: border-color .2s;
}
.conn-link:hover { border-color: var(--green); }

/* #4: try-free button — text stacked on two lines, never cropped.
   Selector matches .nav-cta .btn specificity so nowrap can't override it. */
.nav-cta .btn-stack {
  display: inline-flex; flex-direction: column; align-items: center;
  white-space: normal; line-height: 1.18; gap: 0;
  padding: .5rem 1.05rem; font-size: .88rem;
}
@media (max-width: 380px) { .nav-cta .btn-stack { font-size: .8rem; padding: .45rem .85rem; } }

/* #5: both marquees same duration, 2x faster */
.feat-marquee .marquee-track { animation-duration: 14s; }
.op-marquee .marquee-track { animation-duration: 14s; }

/* #6: Telegram button — clean, standard size, real logo */
.btn-tg {
  background: #fff; color: var(--ink); border: 1.5px solid var(--line);
  gap: .6rem; padding: .8rem 1.2rem; font-size: .97rem;
}
.btn-tg:hover { background: #fff; border-color: #229ED9; }
.btn-tg svg { flex: none; }

/* ---------- Cabinet actions / manage / support ---------- */
.cab-actions { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.1rem; }

.support-box {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  flex-wrap: wrap; margin-top: 1.6rem; padding: 1.4rem 1.6rem;
  background: linear-gradient(100deg, var(--green-050), #fff);
  border: 1.5px solid var(--green); border-radius: var(--radius-lg);
}
.support-box h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.support-box p { color: var(--muted); font-size: .93rem; margin: 0; max-width: 44ch; }
.support-box .btn { flex: none; }
.support-box-actions { display: flex; flex-direction: column; gap: .55rem; flex: none; }
@media (max-width: 560px) { .support-box { flex-direction: column; align-items: stretch; text-align: center; } .support-box p { max-width: none; } .support-box-actions { width: 100%; } }

.back-link { color: var(--muted); font-weight: 600; font-size: .93rem; }
.back-link:hover { color: var(--green-700); }

.dev-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.dev-row:last-child { border-bottom: 0; }
.dev-info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.dev-info b { font-size: .96rem; }
.dev-hwid { font-family: ui-monospace, monospace; font-size: .78rem; color: var(--muted); word-break: break-all; }
.dev-remove { color: var(--danger); font-size: .9rem; padding: .5rem .9rem; }
.dev-remove:hover { background: #fdecea; }

/* ---------- v24: services strip, compact plans, shared feature list ---------- */

/* Services (YouTube/Instagram/ChatGPT/Telegram) */
.services { padding: 2.6rem 0 0.6rem; }
.services-head { text-align: center; color: var(--muted); font-weight: 600; font-size: .98rem; margin-bottom: 1.4rem; }
.services-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 2.4rem; }
.svc { display: flex; align-items: center; gap: .7rem; }
.svc img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.svc span { font-size: .9rem; color: var(--muted); line-height: 1.25; }
.svc span b { color: var(--ink); font-weight: 700; }
@media (max-width: 560px) { .services-row { gap: 1.1rem 1.6rem; } .svc img { width: 40px; height: 40px; } .svc span { font-size: .82rem; } }

/* Compact, device-focused plan cards */
.plan.compact { padding: 1.5rem 1.3rem; align-items: center; text-align: center; gap: .1rem; }
.plan-dev { display: flex; align-items: center; justify-content: center; gap: .55rem; margin-bottom: .9rem; }
.plan-dev-num { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--green-700); }
.plan-dev-lbl { text-align: left; font-size: .82rem; font-weight: 600; color: var(--muted); line-height: 1.15; }
.plan.compact .price { justify-content: center; margin-top: .2rem; }
.plan.compact .permo { color: var(--muted); font-size: .9rem; margin-bottom: 1.1rem; }
.plan.compact .btn { margin-top: auto; }

/* Shared features listed once below the three cards */
.plan-shared { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem .9rem; margin: 1.6rem auto 0; max-width: 720px; padding: 0; }
.plan-shared li { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
@media (max-width: 560px) { .plan-shared li { font-size: .84rem; padding: .45rem .85rem; } }

/* ---------- v25: bypass clarity ---------- */
.pick-badge { display: inline-block; vertical-align: middle; margin-left: .5rem; background: var(--green); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; }

.bypass-warn { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; max-width: 860px; margin: 0 auto 1.6rem; background: #fff7ed; border: 1.5px solid #fed7aa; border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; }
.bw-row { display: flex; gap: .7rem; align-items: flex-start; }
.bw-ic { font-size: 1.3rem; flex: none; line-height: 1.2; }
.bw-row b { display: block; font-size: .95rem; }
.bw-row span { color: var(--muted); font-size: .86rem; line-height: 1.35; }
@media (max-width: 620px) { .bypass-warn { grid-template-columns: 1fr; } }

/* ---------- v26: SVG icons, professional polish, more life ---------- */

/* Icon sizing per context (SVGs inherit color via currentColor) */
.choose-ic svg { width: 26px; height: 26px; color: #fff; }
.choose-ic { color: #fff; }
.choose-ic.muted { background: var(--ink); }
.feat .ic svg { width: 24px; height: 24px; color: var(--green-700); }
.bw-ic svg { width: 22px; height: 22px; color: #c2681c; }
.bw-ic { display: inline-flex; }
.plan-shared li { display: inline-flex; align-items: center; gap: .45rem; }
.plan-shared li svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.cab-ic { display: inline-flex; vertical-align: -3px; margin-right: .4rem; }
.cab-ic svg { width: 20px; height: 20px; color: var(--green-700); }
.eyebrow-ic { display: inline-flex; vertical-align: -2px; margin-right: .3rem; }
.eyebrow-ic svg { width: 15px; height: 15px; }

/* Status pill: clean colored dot instead of emoji */
.status-pill i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status-active i { background: var(--green); box-shadow: 0 0 0 3px var(--green-050); }
.status-expired i { background: #c23b3b; box-shadow: 0 0 0 3px #fdecea; }

/* More life: feature cards lift + icon tint on hover */
.feat { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green); }
.feat .ic { transition: background .18s ease, transform .18s ease; }
.feat:hover .ic { background: var(--green); }
.feat:hover .ic svg { color: #fff; }

/* Product choose-cards: subtle lift */
.choose-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.choose-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Plan cards: gentle hover, popular one gets a pulse-free elevated feel */
.plan { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }

/* Buttons: press + hover feel more responsive */
.btn { transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease; }
.btn-primary:hover { box-shadow: 0 8px 22px -8px var(--green); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }

/* Service logos: subtle grayscale→color on hover for a lively touch */
.svc img { transition: transform .2s ease; }
.svc:hover img { transform: scale(1.08); }

/* Section entrance: fade-up as they scroll into view (progressive, no-JS-safe) */
@media (prefers-reduced-motion: no-preference) {
  .feat, .choose-card, .plan, .svc, .bw-row { animation: fadeUp .5s ease both; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Trust pill checkmark: keep existing ✓, add a soft live pulse ring */
.trust-pill::before { animation: livedot 2.4s ease-in-out infinite; }
@keyframes livedot { 0%,100% { box-shadow: 0 0 0 0 rgba(33,192,99,.45); } 50% { box-shadow: 0 0 0 5px rgba(33,192,99,0); } }

/* ---------- Support section ---------- */
.support-band {
  display: flex; align-items: center; justify-content: space-between; gap: 2.5rem;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.support-band-text h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: .2rem 0 .5rem; }
.support-band-text .lead { text-align: left; margin: 0; max-width: 44ch; }
.support-band-actions { display: flex; flex-direction: column; gap: .7rem; flex: none; min-width: 260px; }
.support-band-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; }
.support-band-actions svg { width: 19px; height: 19px; flex: none; }
.support-tg { background: #229ED9; border-color: #229ED9; }
.support-tg:hover { background: #1c8bc2; }
@media (max-width: 760px) {
  .support-band { flex-direction: column; align-items: stretch; text-align: center; }
  .support-band-text .lead { margin: 0 auto; text-align: center; }
  .support-band-actions { width: 100%; }
}
