:root {
  --navy: #0b132b;
  --blue: #2563eb;
  --purple: #7c3aed;
  --orange: #ff8a00;
  --white: #ffffff;
  --soft: #eef6ff;
  --line: #d9e6fb;
  --text: #18223d;
  --muted: #64708b;
  --shadow: 0 22px 60px rgba(11, 19, 43, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 34rem),
    linear-gradient(135deg, #ffffff 0%, #edf6ff 55%, #f8fbff 100%);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(14px);
}

.brand-button,
.text-button {
  border: 0;
  background: transparent;
  color: inherit;
}

.brand-button {
  display: grid;
  gap: 2px;
  padding: 0;
  text-align: left;
}

.brand-image {
  display: block;
  width: 176px;
  height: auto;
}

.compact-brand-image {
  width: 154px;
}

.brand-logo {
  position: relative;
  display: inline-block;
  width: 178px;
  padding-top: 28px;
}

.brand-logo img {
  position: absolute;
  left: 63px;
  top: -6px;
  width: 52px;
  height: auto;
  pointer-events: none;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.brand-i,
.brand-a {
  background: linear-gradient(180deg, var(--orange), #ec4899 52%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-i {
  margin-left: 3px;
  margin-right: 8px;
}

.brand-a {
  margin-right: 1px;
}

.compact-logo {
  width: 154px;
  padding-top: 24px;
}

.compact-logo img {
  left: 55px;
  width: 46px;
}

.compact-logo .brand-word {
  font-size: 1.72rem;
}

.brand-mark {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.brand-mark span {
  background: linear-gradient(180deg, var(--orange), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-button small,
.member-brand small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--purple) 72%, var(--blue));
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.28);
}

.secondary-button {
  color: var(--navy);
  background: var(--white);
  border-color: #b9cdf5;
}

.ghost-button {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(37, 99, 235, 0.18);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.large {
  min-height: 52px;
  padding-inline: 24px;
}

.full {
  width: 100%;
}

.view {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.view.active {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
  min-height: 620px;
}

.hero-copy h1,
.auth-card h1,
.pricing-card h1,
.section-heading h1,
.section-heading h2,
.panel-hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
}

.hero-text {
  max-width: 650px;
  color: #34405c;
  font-size: 1.2rem;
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quick-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.quick-stats span,
.unlock-list span,
.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  font-size: 0.86rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius);
  background: #0b132b;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 19, 43, 0.72));
}

.hero-media-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: white;
}

.hero-media-caption strong {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 1.25rem;
}

.hero-media-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.hero-cover-image,
.panel-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-band {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.section-heading h2,
.section-heading h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.content-band h2 {
  margin: 0;
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.section-heading p,
.content-band p,
.feature-card p,
.auth-card p,
.pricing-card p,
.panel-hero p,
.prompt-card p,
.gpt-card p,
.locked-card p,
.account-card p,
.tip-card p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.prompt-card,
.gpt-card,
.locked-card,
.account-card,
.tip-card,
.pricing-card,
.auth-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.08);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 900;
}

.feature-card h3,
.prompt-card h3,
.gpt-card h3,
.locked-card h2,
.account-card h3,
.tip-card h3 {
  margin: 0;
  color: var(--navy);
}

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.unlock-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.identity-band {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 22rem),
    rgba(255, 255, 255, 0.82);
}

.identity-grid,
.club-pillars {
  display: grid;
  gap: 14px;
}

.identity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.identity-grid article {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.identity-grid span,
.pri-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.identity-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.solution-band {
  background:
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.14), transparent 22rem),
    linear-gradient(135deg, #ffffff, #f6fbff);
}

.method-steps {
  display: grid;
  gap: 12px;
}

.method-steps span {
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--navy);
  background: white;
  font-weight: 900;
}

.method-steps span::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--purple), var(--blue));
}

.pri-band {
  background:
    linear-gradient(135deg, rgba(11, 19, 43, 0.96), rgba(37, 99, 235, 0.88)),
    var(--navy);
}

.pri-band .eyebrow,
.pri-band h2,
.pri-band p {
  color: white;
}

.pri-band p {
  color: rgba(255, 255, 255, 0.78);
}

.pri-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
}

.pri-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 36%;
}

.pri-card span,
.pri-card h3,
.pri-card p {
  margin-left: 28px;
  margin-right: 28px;
}

.pri-card span {
  margin-top: 24px;
  color: #ffbe6b;
}

.pri-card h3 {
  margin: 0;
  margin-left: 28px;
  margin-right: 28px;
  color: white;
  font-size: 1.6rem;
}

.pri-card p {
  margin-bottom: 28px;
}

.club-band {
  background:
    radial-gradient(circle at center right, rgba(255, 138, 0, 0.14), transparent 20rem),
    rgba(255, 255, 255, 0.86);
}

.club-pillars {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.club-pillars span {
  display: grid;
  place-items: center;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--navy);
  background: white;
  font-weight: 900;
  text-align: center;
}

.custom-specialists-band {
  background:
    radial-gradient(circle at top right, rgba(255, 138, 0, 0.16), transparent 18rem),
    linear-gradient(135deg, #ffffff, #f2f8ff);
}

.custom-specialists-list {
  display: grid;
  gap: 12px;
}

.custom-specialists-list span {
  display: flex;
  align-items: center;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.success-card {
  text-align: center;
}

.success-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--blue));
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.24);
}

.custom-specialists-list span::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--purple), var(--blue));
}

.custom-audience-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.07);
}

.custom-audience-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
}

.custom-audience-card p {
  color: var(--muted);
  line-height: 1.65;
}

.final-cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255, 138, 0, 0.58), transparent 22rem),
    linear-gradient(135deg, var(--navy), var(--purple) 58%, var(--blue));
}

.final-cta-band h2,
.final-cta-band p,
.final-cta-band .eyebrow {
  color: white;
}

.final-cta-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
}

.final-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.whatsapp-button {
  margin-top: 10px;
}

.contact-line {
  color: var(--muted);
  font-weight: 700;
}

.contact-line a,
.contact-email {
  color: var(--blue);
  font-weight: 900;
  word-break: break-word;
}

.home-footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 32px 0 4px;
  border-top: 1px solid var(--line);
}

.home-footer p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  padding: 0 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-decoration: none;
}

.footer-link strong {
  color: var(--navy);
  text-align: right;
}

.auth-view {
  min-height: calc(100vh - 94px);
  display: none;
  place-items: center;
}

.auth-view.active {
  display: grid;
}

.auth-card,
.pricing-card {
  width: min(520px, 100%);
  padding: 34px;
}

.auth-card label {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  color: var(--navy);
  font-weight: 800;
}

.auth-card input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--navy);
  background: #f8fbff;
}

.text-button {
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: var(--text);
  line-height: 1.5;
}

.checkout-note {
  border: 1px solid #bcd2fb;
  border-radius: var(--radius);
  padding: 14px;
  background: #f3f8ff;
  color: var(--muted);
  line-height: 1.55;
}

.price {
  margin: 24px 0;
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 3rem;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-family: Inter, sans-serif;
  font-size: 1rem;
}

.member-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  min-height: calc(100vh - 130px);
}

.sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.member-brand {
  display: grid;
  gap: 6px;
}

.tab-list {
  display: grid;
  gap: 8px;
}

.tab-button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--navy);
  background: transparent;
  text-align: left;
  font-weight: 900;
}

.tab-button.active {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.tab-button.locked-tab::after {
  content: " Bloqueado";
  float: right;
  color: var(--orange);
  font-size: 0.72rem;
}

.admin-only {
  display: none;
}

.admin-user .admin-only {
  display: block;
}

.subscriber .tab-button.locked-tab::after {
  content: "";
}

.member-content {
  min-width: 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.panel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.panel-hero img {
  max-height: 210px;
  border-radius: var(--radius);
  object-position: center 36%;
}

.compact {
  margin-bottom: 16px;
}

.compact h1,
.compact h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.prompt-grid,
.gpt-grid,
.tip-grid,
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.prompt-card,
.gpt-card,
.tip-card,
.account-card {
  padding: 20px;
}

.prompt-card pre {
  overflow: auto;
  max-height: 190px;
  white-space: pre-wrap;
  color: #33415f;
  font-family: Inter, sans-serif;
  line-height: 1.55;
}

.prompt-actions,
.gpt-card,
.locked-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.free-gpt {
  margin-top: 18px;
  background: linear-gradient(135deg, #ffffff, #f2f8ff);
}

.specialists-note {
  margin: 0 0 18px;
  border: 1px solid #bcd2fb;
  border-radius: var(--radius);
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.12), transparent 16rem),
    linear-gradient(135deg, #ffffff, #edf6ff);
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.07);
}

.specialists-note h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.specialists-note p {
  color: var(--muted);
  line-height: 1.65;
}

.locked-card {
  display: grid;
  gap: 18px;
  min-height: 430px;
  padding: 36px;
  place-items: center;
  text-align: center;
}

.lock-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--purple), var(--blue));
  font-size: 2rem;
  font-weight: 900;
}

.locked-card ul {
  display: inline-grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  text-align: left;
}

.gpt-grid {
  margin-top: 20px;
}

.gpt-card {
  align-items: flex-start;
}

.notice-card {
  padding: 24px;
  border: 1px solid #bcd2fb;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #edf6ff);
}

.category-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.library-toolbar {
  display: grid;
  gap: 14px;
  margin: 18px 0 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.07);
}

.library-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 800;
}

.library-search {
  position: relative;
  display: grid;
  gap: 8px;
}

.library-search span {
  color: var(--navy);
  font-weight: 900;
}

.library-search input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #cbdaf4;
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--navy);
  background: #ffffff;
  font-size: 1rem;
  outline: none;
}

.library-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.library-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: #41506d;
  background: white;
  font-weight: 900;
}

.library-filter span {
  color: #8793aa;
  font-weight: 800;
}

.library-filter.active {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.library-filter.active span {
  color: rgba(255, 255, 255, 0.72);
}

.library-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 18px;
}

.library-section-title h2,
.library-section-title p {
  margin: 0;
}

.library-section-title h2 {
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.library-section-title p {
  color: var(--muted);
  font-weight: 700;
}

.library-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.library-card,
.library-empty {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: white;
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.07);
}

.library-card h3,
.library-empty h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.25rem;
}

.library-card p,
.library-empty p {
  color: var(--muted);
  line-height: 1.6;
}

.library-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.prompt-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(11, 19, 43, 0.58);
  backdrop-filter: blur(8px);
}

.prompt-modal.open {
  display: grid;
}

.prompt-modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 30px;
  background: white;
  box-shadow: var(--shadow);
}

.prompt-modal-card h2 {
  margin: 0;
  color: var(--navy);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.prompt-modal-card p {
  color: var(--muted);
  line-height: 1.65;
}

.prompt-modal-card pre {
  max-height: 340px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  color: #33415f;
  background: #f8fbff;
  font-family: Inter, sans-serif;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: white;
  font-size: 1.4rem;
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  transform: translateY(120%);
  max-width: min(360px, calc(100% - 40px));
  border-radius: var(--radius);
  padding: 14px 18px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease;
}

.toast.show {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid,
  .split-band,
  .identity-grid,
  .club-pillars,
  .final-cta-band,
  .member-layout,
  .panel-hero,
  .prompt-grid,
  .library-card-grid,
  .gpt-grid,
  .tip-grid,
  .account-grid,
  .feature-grid.three {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-media {
    order: -1;
  }

  .sidebar {
    position: static;
  }

  .tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-hero img {
    max-height: 190px;
  }

  .final-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions,
  .hero-actions,
  .prompt-actions,
  .library-card-actions,
  .gpt-card,
  .locked-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .content-band,
  .auth-card,
  .pricing-card,
  .panel-hero,
  .locked-card {
    padding: 22px;
  }

  .home-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-contact {
    width: 100%;
  }

  .footer-link {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 16px;
  }

  .footer-link strong {
    text-align: left;
  }
}
