/* The Pro page: the same calm layout as About and Work with Enzino, with the
   library itself as the argument. */

.pro-end .work-kicker span, .pro-plan-name span { margin-right: 4px; }

/* hero: the offer on the left, the library fanned out on the right */
.pro-hero { position: relative; overflow: hidden; padding: 54px 0 70px; background:
  radial-gradient(ellipse 60% 70% at 78% 45%, rgba(232,100,45,.22), transparent 70%),
  radial-gradient(ellipse 40% 50% at 10% 10%, rgba(232,100,45,.08), transparent 70%); }
.pro-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, #070a0d); pointer-events: none; }
.pro-hero-inner { position: relative; z-index: 1; width: min(calc(100% - 56px), var(--home-wrap, 1080px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.pro-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(232,100,45,.5); border-radius: 99px; background: rgba(232,100,45,.12); color: #ffb08f; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pro-badge span { color: var(--accent); }
.pro-hero h1 { margin-top: 22px; font-size: clamp(2.7rem, 6.2vw, 4.9rem); line-height: .98; letter-spacing: -.055em; }
.pro-hero h1 em { font-style: normal; background: linear-gradient(95deg, #ff9a6b, var(--accent) 55%, #ff6a2b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pro-hero-lead { margin-top: 22px; max-width: 480px; color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.6; }
.pro-hero-deal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 28px; }
.pro-hero-deal s { color: rgba(255,255,255,.4); font-size: 1.5rem; font-weight: 700; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.pro-hero-deal strong { font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 900; letter-spacing: -.04em; }
.pro-hero-deal small { padding: 5px 10px; border-radius: 99px; background: rgba(87,196,133,.12); color: #8be2a6; font-size: .72rem; font-weight: 800; }
.pro-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pro-cta { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 30px; border-radius: 99px; background: var(--accent); color: #0b0d0f; font-size: .95rem; font-weight: 900; box-shadow: 0 12px 40px -10px rgba(232,100,45,.75); transition: transform .2s, box-shadow .2s, filter .2s; }
.pro-cta:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 18px 50px -12px rgba(232,100,45,.9); }
.pro-ghost { display: inline-flex; align-items: center; height: 56px; padding: 0 24px; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; color: #fff; font-size: .9rem; font-weight: 700; transition: border-color .2s; }
.pro-ghost:hover { border-color: rgba(255,255,255,.5); }
.pro-hero-ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.66); font-size: .84rem; }
.pro-hero-ticks li::before { content: '✓'; margin-right: 7px; color: var(--accent); font-weight: 900; }

.pro-hero-stack { position: relative; height: 500px; }
.pro-card { position: absolute; top: 50%; left: 50%; width: 210px; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: #151a20; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.pro-card img { width: 100%; height: 100%; object-fit: cover; }
.pro-card em { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 9px; border-radius: 9px; background: rgba(7,10,13,.72); font-size: .68rem; font-style: normal; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(6px); }
.pro-card.c0 { z-index: 5; width: 250px; transform: translate(-50%, -50%) rotate(0deg); }
.pro-card.c1 { z-index: 4; transform: translate(-112%, -44%) rotate(-9deg); }
.pro-card.c2 { z-index: 4; transform: translate(12%, -44%) rotate(9deg); }
.pro-card.c3 { z-index: 3; transform: translate(-135%, -32%) rotate(-16deg) scale(.8); opacity: .7; }
.pro-card.c4 { z-index: 3; transform: translate(35%, -32%) rotate(16deg) scale(.8); opacity: .7; }
.pro-hero-stack:hover .pro-card.c1 { transform: translate(-120%, -46%) rotate(-11deg); }
.pro-hero-stack:hover .pro-card.c2 { transform: translate(20%, -46%) rotate(11deg); }
.pro-stack-tag { position: absolute; z-index: 6; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 10px 18px; border: 1px solid rgba(232,100,45,.5); border-radius: 99px; background: rgba(12,15,19,.9); color: rgba(255,255,255,.8); font-size: .8rem; white-space: nowrap; backdrop-filter: blur(8px); }
.pro-stack-tag b { color: var(--accent); font-size: 1rem; margin-right: 4px; }
.pro-stats { margin-bottom: 10px; }

/* formats */
.pro-formats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.pro-formats-copy h2 { margin-top: 10px; }
.pro-formats-copy p:last-child { margin-top: 14px; max-width: 460px; color: rgba(255,255,255,.66); font-size: .95rem; line-height: 1.65; }
.pro-format-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pro-format-list li { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.02); }
.pro-format-list b { grid-row: span 2; display: grid; place-items: center; height: 44px; border: 1px solid rgba(232,100,45,.45); border-radius: 10px; background: rgba(232,100,45,.1); color: var(--accent); font-size: .82rem; letter-spacing: .04em; }
.pro-format-list strong { font-size: .92rem; }
.pro-format-list span { color: rgba(255,255,255,.6); font-size: .8rem; line-height: 1.5; }

/* included */
.pro-sub { margin-top: 10px; color: rgba(255,255,255,.6); font-size: .92rem; }
.pro-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pro-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; background: transparent; color: rgba(255,255,255,.72); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.pro-tabs button span { color: rgba(255,255,255,.4); font-weight: 600; }
.pro-tabs button:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.pro-tabs button.is-on { border-color: var(--accent); background: rgba(232,100,45,.1); color: #fff; }
.pro-tabs button.is-on span { color: var(--accent); }
.pro-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.pro-tile { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #0f1318; transition: transform .25s, border-color .25s; }
.pro-tile:hover { transform: translateY(-3px); border-color: rgba(232,100,45,.45); }
.pro-tile-media { position: relative; display: block; aspect-ratio: 4 / 5; background: #161b21; }
.pro-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.pro-tile-media em { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border-radius: 99px; background: rgba(7,10,13,.78); color: var(--accent); font-size: .62rem; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.pro-tile-copy { display: grid; gap: 3px; padding: 12px 14px 14px; }
.pro-tile-copy small { color: rgba(255,255,255,.5); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pro-tile-copy strong { font-size: .86rem; line-height: 1.3; }
.pro-tile-copy s { color: rgba(255,255,255,.4); font-size: .76rem; }
.pro-more-row { margin-top: 22px; }
.pro-more span { color: var(--accent); }
.pro-scope { margin-top: 26px; padding: 14px 18px; border: 1px dashed rgba(255,255,255,.18); border-radius: 12px; color: rgba(255,255,255,.62); font-size: .86rem; line-height: 1.6; }
.pro-scope strong { color: #fff; }
.pro-scope a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.pro-scope a:hover { border-color: var(--accent); }

/* compare */
.pro-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.pro-plan { padding: 28px 26px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.02); }
.pro-plan.is-pro { border-color: rgba(232,100,45,.45); background: linear-gradient(135deg, rgba(232,100,45,.12), #0e1216 70%); }
.pro-plan-name { color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pro-plan.is-pro .pro-plan-name { color: var(--accent); }
.pro-plan-price { margin-top: 12px; font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; }
.pro-plan:not(.is-pro) .pro-plan-price { color: rgba(255,255,255,.55); }
.pro-plan-note { margin-top: 4px; color: rgba(255,255,255,.55); font-size: .82rem; }
.pro-plan ul { display: grid; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; }
.pro-plan li { position: relative; padding-left: 24px; color: rgba(255,255,255,.75); font-size: .88rem; }
.pro-plan li::before { content: '–'; position: absolute; left: 4px; color: rgba(255,255,255,.35); }
.pro-plan.is-pro li::before { content: '✓'; left: 2px; color: var(--accent); font-weight: 800; }
.pro-plan .work-btn { margin-top: 24px; }

/* how: three connected steps */
.pro-flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.pro-flow::before { content: ''; position: absolute; top: 50px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, rgba(232,100,45,.1), rgba(232,100,45,.6), rgba(232,100,45,.1)); }
.pro-flow li { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 22px 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); text-align: center; transition: border-color .25s, transform .25s; }
.pro-flow li:hover { border-color: rgba(232,100,45,.45); transform: translateY(-3px); }
.pro-flow i { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 8px; border: 1px solid rgba(232,100,45,.55); border-radius: 50%; background: #1a1210; color: var(--accent); box-shadow: 0 0 0 6px #0b0e11, 0 10px 30px -8px rgba(232,100,45,.6); }
.pro-flow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pro-flow b { color: var(--accent); font-size: .68rem; letter-spacing: .14em; }
.pro-flow strong { font-size: 1.05rem; }
.pro-flow span { max-width: 240px; color: rgba(255,255,255,.62); font-size: .85rem; line-height: 1.55; }
.pro-flow-note { margin-top: 16px; color: rgba(255,255,255,.42); font-size: .78rem; text-align: center; }

/* faq */
.pro-faq-list { display: grid; gap: 10px; margin-top: 24px; }
.pro-faq-list details { border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.02); }
.pro-faq-list details[open] { border-color: rgba(255,255,255,.18); }
.pro-faq-list summary { position: relative; padding: 18px 50px 18px 20px; font-size: .95rem; font-weight: 700; cursor: pointer; list-style: none; }
.pro-faq-list summary::-webkit-details-marker { display: none; }
.pro-faq-list summary::after { content: '+'; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); color: var(--accent); font-size: 1.2rem; font-weight: 600; }
.pro-faq-list details[open] summary::after { content: '−'; }
.pro-faq-list p { padding: 0 20px 18px; color: rgba(255,255,255,.66); font-size: .9rem; line-height: 1.65; }
.pro-faq-list a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.pro-faq-list a:hover { border-color: var(--accent); }

/* end */
.pro-end { margin: 20px auto 70px; padding: 54px 30px; border: 1px solid rgba(232,100,45,.35); border-radius: 22px; background: radial-gradient(ellipse at top, rgba(232,100,45,.16), transparent 65%), #0c1014; text-align: center; }
.pro-end h2 { margin-top: 12px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.04em; }
.pro-end > p:not(.work-kicker) { margin-top: 10px; color: rgba(255,255,255,.66); }
.pro-end .work-btn { margin-top: 24px; }
.pro-end .pro-end-note { margin-top: 16px; font-size: .82rem; }
.pro-end-note a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }

@media (max-width: 1100px) and (min-width: 901px) {
  .pro-card.c3, .pro-card.c4 { display: none; }
}
@media (max-width: 900px) {
  .pro-hero { padding: 36px 0 44px; }
  .pro-hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .pro-hero-stack { height: 360px; order: -1; }
  .pro-card { width: 160px; }
  .pro-card.c0 { width: 190px; }
  .pro-formats { grid-template-columns: 1fr; gap: 24px; }
  .pro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pro-hero { padding: 20px 0 36px; }
  .pro-hero-inner { width: calc(100% - 36px); }
  .pro-hero-stack { height: 290px; }
  .pro-card { width: 128px; border-radius: 14px; }
  .pro-card.c0 { width: 158px; }
  .pro-card em { display: none; }
  .pro-card.c3, .pro-card.c4 { display: none; }
  .pro-hero-actions a { width: 100%; justify-content: center; }
  .pro-hero-deal s { font-size: 1.2rem; }
  .pro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pro-compare-grid { grid-template-columns: 1fr; }
  .pro-flow { grid-template-columns: 1fr; gap: 10px; }
  .pro-flow::before { top: 40px; bottom: 40px; left: 45px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(232,100,45,.1), rgba(232,100,45,.6), rgba(232,100,45,.1)); }
  .pro-flow li { grid-template-columns: 50px 1fr; justify-items: start; column-gap: 16px; row-gap: 2px; padding: 18px 20px; text-align: left; }
  .pro-flow i { grid-row: span 3; margin: 0; }
  .pro-flow span { max-width: none; }
  .pro-flow-note { text-align: left; }
  .pro-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -28px; padding-right: 28px; }
  .pro-tabs::-webkit-scrollbar { display: none; }
  .pro-tabs button { flex: none; }
  .pro-end { padding: 40px 20px; margin-bottom: 50px; }
  .pro-end .work-btn { width: 100%; justify-content: center; }
}
