/* Plans page (/plans) and the homepage plans banner. Loaded after sttockry-home.css and reuses its tokens. */
:root {
    --plans-coral: #ff6a3d;
    --plans-green: #27e33a;
    --plans-card-border: rgb(255 255 255 / 10%);
    --plans-price: linear-gradient(100deg, #ff7b47 0%, #ff6a3d 100%);
    --plans-price-accent: linear-gradient(100deg, #ff5a3a 0%, #ff4470 100%);
}

body.sttockry-plans {
    background:
        radial-gradient(ellipse 760px 520px at 85% 60px, rgb(148 47 4 / 34%), transparent 70%),
        radial-gradient(ellipse 620px 760px at 0% 1500px, rgb(120 38 10 / 20%), transparent 70%),
        radial-gradient(ellipse 680px 700px at 100% 2600px, rgb(120 38 10 / 18%), transparent 70%),
        var(--home-bg);
}

.plans-main { width: min(calc(100% - 48px), var(--home-content)); margin: 0 auto 104px; }

.plans-hero { padding: 56px 0 48px; text-align: center; }
.plans-hero h1 { margin: 0; color: #fff; font-size: clamp(36px, 5.2vw, 62px); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; }
.plans-hero h1 span { background: linear-gradient(100deg, #ff7a45 0%, #ff6a3d 60%, #ff8a5c 100%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.plans-hero h1 i { font-style: normal; color: var(--plans-coral); }
.plans-hero .home-stats { margin-top: 30px; }

/* Panels */
.plans-panel { position: relative; margin-top: 56px; padding: 44px 48px 48px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 16px; background: linear-gradient(170deg, rgb(28 20 17 / 92%) 0%, rgb(12 11 11 / 94%) 46%, rgb(8 8 9 / 96%) 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%); }
.plans-panel__header { position: relative; margin-bottom: 36px; }
.plans-panel__header h2 { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--plans-coral); font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.plans-panel__header p { max-width: 640px; margin: 10px 0 0; color: #e8e8e8; font-size: 16px; line-height: 1.5; }
.plans-panel__header--center { text-align: center; }
.plans-panel__header--center h2 { justify-content: center; font-size: 38px; }
.plans-panel__header--center p { margin-inline: auto; }
.plans-panel__status { position: absolute; top: 2px; right: 0; width: 30px; height: 30px; border: 1px solid var(--plans-green); border-radius: 6px; background: rgb(39 227 58 / 10%); }
.plans-panel__status::after { content: ""; position: absolute; inset: 7px; border-radius: 3px; background: var(--plans-green); box-shadow: 0 0 12px rgb(39 227 58 / 55%); }
.plans-panel.is-active { border-color: rgb(39 227 58 / 70%); }
.plans-panel.is-active > .plans-panel__header h2 { color: var(--plans-green); }
.plans-panel__header .plans-panel__status ~ * { padding-right: 44px; }
.plans-panel__footer { margin-top: 28px; }
.plans-panel__note { margin: 32px 0 0; color: var(--home-muted); font-size: 14px; text-align: center; }
.plans-panel__note a { color: #fff; }

.plans-crown { display: inline-flex; width: 30px; height: 30px; color: #fff; }
.plans-crown svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.plans-badge { display: inline-flex; align-items: center; height: 36px; margin-top: 14px; padding: 0 18px; border-radius: 999px; background: linear-gradient(100deg, #ff6a3d, #ff5a2c); color: #fff; font-size: 15px; font-weight: 500; box-shadow: 0 8px 22px rgb(255 90 44 / 22%); }

/* Grids and cards */
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.plans-card, .plans-tile { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid var(--plans-card-border); border-radius: 12px; background: linear-gradient(170deg, rgb(255 106 61 / 7%) 0%, rgb(22 16 14 / 70%) 34%, rgb(13 12 12 / 85%) 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%); }
.plans-card { min-height: 290px; }
.plans-card__icon { display: inline-flex; width: 44px; height: 44px; color: #fff; }
.plans-card__icon svg, .plans-tile__media svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plans-card h3 { margin: 22px 0 18px; color: var(--plans-coral); font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.plans-card--premium h3 { color: #fff; }
.plans-card.is-active { border-color: rgb(39 227 58 / 70%); }
.plans-card__status:empty { display: none; }
.plans-card__status { margin: 10px 0 0; color: var(--home-muted); font-size: 13px; }

.plans-checks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.plans-checks li { position: relative; padding-left: 22px; color: #f1f1f1; font-size: 14px; line-height: 1.45; }
.plans-checks li svg { position: absolute; top: 3px; left: 0; width: 14px; height: 14px; fill: none; stroke: var(--plans-coral); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.plans-tile { align-items: center; min-height: 250px; padding: 24px 26px 30px; text-align: center; }
.plans-tile__media { display: grid; place-items: center; width: 100%; max-width: 194px; height: 68px; border-radius: 8px; background: rgb(255 255 255 / 9%); color: #fff; }
.plans-tile__media svg { width: 34px; height: 34px; }
.plans-tile h3 { margin: 24px 0 12px; color: var(--plans-coral); font-size: 18px; font-weight: 500; line-height: 1.3; }
.plans-tile p { margin: 0; color: #ececec; font-size: 14px; line-height: 1.5; }

.plans-panel .plans-link, .plans-link { align-self: flex-start; margin-top: 18px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--plans-green); font-size: 17px; font-weight: 500; text-decoration: none; }
.plans-panel .plans-link:hover { color: #6dff7b; }

/* Price buttons */
.plans-prices { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 28px; }
.plans-prices--wide { margin-top: 40px; padding-top: 0; gap: 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plans-price { flex: 1 1 calc(50% - 6px); min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 18px; border: 0; border-radius: 4px; background: var(--plans-price); color: #fff; font: inherit; text-decoration: none; cursor: pointer; transition: filter .15s ease, transform .15s ease; }
.plans-price:hover { filter: brightness(1.08); transform: translateY(-1px); }
.plans-price:focus-visible, .plans-buy:focus-visible, .plans-banner__button:focus-visible, .plans-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.plans-price:disabled { opacity: .7; cursor: progress; transform: none; }
.plans-price--accent { background: var(--plans-price-accent); }
.plans-price--full { flex-basis: 100%; }
.plans-price--stack { flex-direction: column; justify-content: center; gap: 0; padding: 6px 10px; text-align: center; line-height: 1.15; }
.plans-price--stack .plans-price__amount { order: -1; }
.plans-price__caption { font-size: 12px; opacity: .95; }
.plans-price--full .plans-price__caption { order: -1; font-size: 15px; font-weight: 500; opacity: 1; }
.plans-price--stack.plans-price--full { flex-direction: row; justify-content: space-between; padding: 8px 18px; }
.plans-price__label { display: grid; gap: 2px; text-align: left; }
.plans-price__label strong { font-size: 15px; font-weight: 500; }
.plans-price__label small { font-size: 12px; opacity: .9; }
.plans-price__amount { font-size: 12px; white-space: nowrap; }
.plans-price__amount b { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.plans-price.is-current { box-shadow: inset 0 0 0 2px var(--plans-green); }

/* Credit packs */
.plans-panel--packs { background: #000; }
.plans-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 56px 28px; margin-top: 64px; }
.plans-pack { position: relative; display: flex; flex-direction: column; align-items: center; padding: 64px 26px 32px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 12px; background: #000; text-align: center; }
.plans-pack:only-child { justify-self: center; width: 100%; max-width: 420px; }
.plans-pack__coin { position: absolute; top: -44px; left: 50%; display: grid; place-items: center; width: 86px; height: 86px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 45%, #ffb14a 0%, #ff7d2c 55%, #ff5a2a 100%); box-shadow: 0 0 0 6px rgb(255 106 61 / 18%), 0 10px 28px rgb(255 90 44 / 30%); color: #ffe66b; font-size: 22px; letter-spacing: -.02em; font-weight: 700; text-shadow: 0 1px 0 #c04a12; }
.plans-pack h3 { margin: 0; color: #fff; font-size: 22px; font-weight: 500; }
.plans-pack__value { margin: 8px 0 0; color: #ff7a2a; font-size: 17px; }
.plans-pack p:not(.plans-pack__value) { flex: 1; margin: 22px 0 28px; color: #eaeaea; font-size: 14px; line-height: 1.5; }
.plans-buy { display: grid; place-items: center; width: 100%; max-width: 312px; height: 48px; border-radius: 999px; background: linear-gradient(100deg, #ff7b47, #ff6a3d); color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; transition: filter .15s ease; }
.plans-buy--accent { background: linear-gradient(100deg, #ff5a3a, #ff4470); }
.plans-buy:hover { filter: brightness(1.08); }

/* Homepage banner ("Choose your favorite plan.") */
.plans-banner { position: relative; isolation: isolate; overflow: hidden; width: min(calc(100% - 48px), var(--home-content)); margin: 0 auto 104px; padding: 76px 32px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 20px; background: radial-gradient(ellipse 520px 300px at 0% 0%, rgb(120 64 20 / 55%), transparent 70%), radial-gradient(ellipse 460px 260px at 80% 100%, rgb(76 70 14 / 32%), transparent 70%), linear-gradient(160deg, #17110d, #0b0a09 60%, #0d0c08); text-align: center; }
.sttockry-home .plans-banner__bolt { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 330px; height: 100%; transform: translateX(-62%); fill: rgb(255 255 255 / 4.5%); stroke: none; }
.plans-banner h2 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 650; letter-spacing: -.03em; line-height: 1.15; }
.plans-banner h2 span { color: var(--plans-coral); }
.plans-banner p { max-width: 520px; margin: 14px auto 0; color: #e6e6e6; font-size: 16px; line-height: 1.5; }
.plans-banner__button { display: inline-flex; align-items: center; justify-content: center; gap: 56px; min-width: 300px; height: 46px; margin-top: 36px; padding: 0 24px 0 40px; border-radius: 999px; background: linear-gradient(100deg, #ff5a3a, #ff7a45); color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; box-shadow: 0 10px 28px rgb(255 90 44 / 22%); transition: filter .15s ease, transform .15s ease; }
.plans-banner__button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.plans-banner__button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }

/* Header: the Pricing pill shares the compact mobile nav; the mobile menu lists every link. */
@media (max-width: 560px) {
    .home-nav > .home-nav__pricing:not(.is-current) { display: none; }
    .sttockry-plans .home-nav > .home-nav__new { display: none; }
}

@media (max-width: 1024px) {
    .plans-panel { padding: 36px 32px 40px; }
    .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

@media (max-width: 680px) {
    .plans-main { width: calc(100% - 32px); margin-bottom: 64px; }
    .plans-hero { padding: 40px 0 36px; }
    .plans-hero h1 { letter-spacing: -.04em; }
    .plans-panel { margin-top: 36px; padding: 28px 20px 30px; border-radius: 14px; }
    .plans-panel__header { margin-bottom: 24px; }
    .plans-panel__header h2 { font-size: 26px; }
    .plans-panel__header--center h2 { font-size: 28px; }
    .plans-panel__header p { font-size: 15px; }
    .plans-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .plans-card { min-height: 0; padding: 22px 20px 26px; border-radius: 14px; }
    .plans-card h3 { margin: 18px 0 14px; }
    .plans-tile { min-height: 0; }
    .plans-prices--wide { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
    .plans-packs { gap: 64px; margin-top: 60px; }
    .plans-banner { width: calc(100% - 32px); margin-bottom: 56px; padding: 48px 20px; border-radius: 18px; }
    .plans-banner p { font-size: 15px; }
    .plans-banner__button { min-width: 0; width: 100%; max-width: 300px; gap: 24px; padding: 0 24px; }
}

@media (max-width: 380px) {
    .plans-price { padding: 8px 12px; }
    .plans-price__amount b { font-size: 18px; }
}

/* Homepage tools grid: eight cards (AI Voiceover and AI Subtitles added from the Figma plans frame). */
@media (min-width: 961px) {
    .home-tools__grid--eight { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .home-tools__grid--eight > .home-tool-card { grid-column: span 2; }
    .home-tools__grid--eight > .home-tool-card:nth-child(n + 7) { grid-column: span 3; }
}
.home-tool-preview--voice { display: grid; grid-template-rows: 1fr auto; gap: 12px; padding: 16px 16px 14px; background: radial-gradient(ellipse at 50% 120%, #3a1d10, transparent 72%), linear-gradient(130deg, #131315, #18181a); }
.home-voice-wave { display: flex; align-items: center; justify-content: center; gap: 5px; }
.home-voice-wave i { width: 5px; border-radius: 3px; background: linear-gradient(180deg, #ff8244, #ff4c00); }
.home-voice-wave i:nth-child(4n + 1) { height: 18%; }
.home-voice-wave i:nth-child(4n + 2) { height: 62%; }
.home-voice-wave i:nth-child(4n + 3) { height: 38%; }
.home-voice-wave i:nth-child(4n) { height: 86%; }
.home-voice-wave i:nth-child(n + 11) { background: #3a3a3e; }
.home-voice-tracks { display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: center; gap: 8px; }
.home-voice-tracks span { padding: 2px 7px; border: 1px solid #ffffff1a; border-radius: 5px; color: #d3d3d0; font-size: 9px; letter-spacing: .06em; }
.home-voice-tracks b { height: 6px; border-radius: 3px; background: #ff5900; }
.home-voice-tracks b:last-child { background: #3a3a3e; }
.home-tool-preview--subtitles { border: 0; border-radius: 0; overflow: visible; display: grid; grid-template-rows: 1fr 26px; gap: 10px; }
.home-subtitle-frame { display: flex; align-items: flex-end; justify-content: center; padding: 12px; border: 1px solid #ffffff06; border-radius: 12px; background: radial-gradient(ellipse at 30% 0%, #4b3630, transparent 70%), linear-gradient(120deg, #28333b, #151c20); }
.home-subtitle-frame span { padding: 4px 9px; border-radius: 5px; background: #000000b0; color: #fff; font-size: 11px; font-weight: 500; white-space: nowrap; }
.home-subtitle-frame b { color: #ff7a3d; font-weight: 600; }
.home-subtitle-lines { display: grid; gap: 6px; align-content: center; }
.home-subtitle-lines i { height: 6px; border-radius: 3px; background: #2a2a2e; }
.home-subtitle-lines i:first-child { width: 78%; background: linear-gradient(90deg, #ff5900 0 34%, #2a2a2e 34%); }
.home-subtitle-lines i:last-child { width: 52%; }
