:root {
  --pink: #0b4dbb;
  --pink-deep: #083785;
  --pink-soft: #dcebff;
  --pink-surface: #edf5ff;
  --navy: #0f172a;
  --navy-soft: rgba(15, 23, 42, 0.72);
  --white: #ffffff;
  --line: rgba(11, 77, 187, 0.12);
  --shadow: 0 28px 70px rgba(11, 53, 120, 0.14);
  --sky: #5fa8ff;
  --mist: #f4f8fc;
  --success: #138f63;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1224px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: var(--navy);
  background:
    radial-gradient(circle at top left, rgba(95, 168, 255, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(11, 77, 187, 0.1), transparent 30%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 20%, #eff6ff 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

/* ───── HEADER ───── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(11, 77, 187, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--sky));
  color: var(--white);
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 12px 32px rgba(11, 77, 187, 0.24);
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  color: var(--navy-soft);
  font-size: 0.92rem;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
}

.site-nav a:not(.nav-cta) {
  color: var(--navy-soft);
}

/* Buttons */
.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
  border: none;
}

.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--pink), #2f7df6);
  color: var(--white) !important;
  box-shadow: 0 18px 38px rgba(11, 77, 187, 0.24);
}

.btn-secondary {
  color: var(--pink-deep) !important;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 77, 187, 0.16);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-weight: 700;
  cursor: pointer;
}

/* Bootstrap override: keep nav collapsing via custom JS */
.site-nav.collapse:not(.is-open) {
  display: none;
}
.site-nav.is-open {
  display: flex;
}

/* ───── HERO ───── */
.hero {
  position: relative;
  padding: 52px 0 30px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 55, 133, 0.98), rgba(11, 77, 187, 0.92) 60%, rgba(11, 77, 187, 0.80) 100%);
  clip-path: ellipse(110% 100% at 50% 0%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.promo-card h2,
.spotlight-copy h2,
.app-copy h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.hero-text,
.promo-card p,
.spotlight-copy p,
.app-copy p,
.info-card p,
.channel-card p,
.blog-card p,
.faq-answer p,
.footer-copy {
  color: var(--navy-soft);
  line-height: 1.65;
}

.hero-copy {
  color: var(--white);
}

.hero-copy h1,
.hero-copy .hero-text,
.hero-copy .hero-text strong {
  color: var(--white);
}

.hero-copy .eyebrow {
  color: rgba(220, 235, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 26px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pink);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(220, 235, 255, 0.24);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #dcecff 0%, #86bcff 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(8, 55, 133, 0.16);
}

.hero-badge span {
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-badge strong {
  font-size: 0.98rem;
}

/* ───── PROMO BAND ───── */
.promo-band {
  padding: 18px 0 10px;
}

.promo-card,
.spotlight,
.app-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.promo-card {
  grid-template-columns: minmax(0, 1fr) auto;
  background: linear-gradient(135deg, #e8f2ff, #f8fbff);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 77, 187, 0.1);
}

/* ───── SECTIONS ───── */
.section {
  padding: 76px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(237, 245, 255, 0.96), rgba(255, 255, 255, 0.78));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
}

.info-card,
.channel-card,
.testimonial-card,
.faq-item,
.blog-card,
.partner-shell,
.qr-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.05);
}

.info-card,
.channel-card,
.testimonial-card,
.faq-item {
  padding: 24px;
}

.info-card h3,
.channel-card h3,
.testimonial-card h3,
.blog-card h3,
.partner-shell h3,
.site-footer h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.info-card a,
.channel-card a,
.blog-card a,
.partner-shell a {
  color: var(--pink);
  font-weight: 700;
}

/* ───── SPOTLIGHT ───── */
.spotlight {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.meta-card {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid rgba(11, 77, 187, 0.12);
}

.meta-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.meta-card strong {
  font-size: 1.15rem;
}

/* ───── PARTNERS ───── */
.partner-shell {
  padding: 28px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.partner-grid span {
  display: grid;
  place-items: center;
  min-height: 78px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f5f9ff, #fff);
  border: 1px solid rgba(11, 77, 187, 0.12);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  padding: 8px;
}

/* ───── CHANNELS ───── */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
}

/* ───── APP SECTION ───── */
.app-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0f2347, #0b4dbb 58%, #5fa8ff 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.app-grid .eyebrow,
.app-grid p,
.app-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.app-copy h2 {
  color: var(--white);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  color: var(--white);
  transition: background 0.18s;
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.app-visual {
  display: flex;
  justify-content: center;
}

.qr-card {
  width: min(100%, 280px);
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  text-align: center;
}

.qr-placeholder {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 900;
}

/* ───── TESTIMONIALS ───── */
.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  scroll-snap-align: start;
}

/* ───── BLOG ───── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 18px;
}

.blog-card {
  overflow: hidden;
  display: block;
  color: var(--navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.info-card:nth-child(1),
.info-card:nth-child(3),
.channel-card,
.testimonial-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.94));
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card div {
  padding: 22px;
}

.link-pink {
  color: var(--pink);
}

/* ───── FAQ ───── */
.faq-section {
  padding-bottom: 96px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--pink);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s ease, margin-top 0.22s ease;
}

.faq-answer > * {
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  margin-top: 16px;
}

.faq-answer a {
  color: var(--pink);
  font-weight: 600;
}

/* ───── FOOTER ───── */
.site-footer {
  padding: 40px 0 56px;
  background: #0f2347;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.brand-footer .brand-text strong,
.site-footer h3 {
  color: var(--white);
}

.brand-footer .brand-text span {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-copy a {
  display: inline;
  color: #ff90c0;
}

.site-footer h3 {
  margin: 0 0 16px;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer .bi {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s;
}

.site-footer .bi:hover {
  color: var(--white);
}

/* ───── UTILITIES ───── */
.text-pink { color: var(--pink); }

/* ───── PORTAL DE AUTO NEGOCIAÇÃO ───── */
.portal-section {
  background: linear-gradient(180deg, #edf5ff 0%, #ffffff 100%);
}

.portal-search-card {
  max-width: 680px;
  margin: 0 auto 32px;
  background: var(--white);
  border: 1px solid rgba(11, 77, 187, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.portal-field-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-soft);
  margin-bottom: 8px;
  display: block;
}

.portal-input-group {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
}

.portal-input-icon {
  position: absolute;
  left: 16px;
  color: var(--pink);
  font-size: 1.1rem;
  pointer-events: none;
}

.portal-input {
  flex: 1;
  min-height: 52px;
  padding: 0 16px 0 42px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--navy);
  outline: none;
  transition: border-color 0.18s;
  background: #fafafa;
}

.portal-input:focus {
  border-color: var(--pink);
  background: var(--white);
}

.portal-search-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.portal-hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--navy-soft);
}

/* States */
.portal-state {
  max-width: 680px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 36px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
}

.portal-state--ok {
  color: var(--success);
  border-color: #bfe8d8;
  background: #f1fbf7;
}

.portal-state--err {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fff5f5;
}

/* Spinner */
.portal-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(11, 77, 187, 0.15);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: portal-spin 0.7s linear infinite;
  margin-bottom: 12px;
}

@keyframes portal-spin {
  to { transform: rotate(360deg); }
}

/* Verify step */
.portal-verify {
  max-width: 680px;
  margin: 0 auto 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 18px 48px rgba(0,8,36,.07);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.portal-verify[hidden] { display: none !important; }

.portal-verify-debtor {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.portal-verify-info {
  background: rgba(11, 77, 187, 0.05);
  border: 1px solid rgba(11, 77, 187, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--navy-soft);
  line-height: 1.55;
  margin: 0 0 16px;
}

/* Phone radio list */
.verify-send-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.verify-send-actions .btn {
  justify-content: center;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #1ebe5d;
  color: #fff;
}
@media (max-width: 480px) {
  .verify-send-actions {
    grid-template-columns: 1fr;
  }
}

.verify-phones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.verify-phone-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .18s, background .18s;
  font-weight: 500;
}

.verify-phone-option:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink-surface);
}

.verify-phone-option input {
  accent-color: var(--pink);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.verify-phone-badge {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink);
}

/* OTP inputs */
.otp-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0;
}

.otp-input {
  width: 52px;
  height: 60px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fafafa;
  color: var(--navy);
  outline: none;
  transition: border-color .18s;
  font-family: inherit;
}

.otp-input:focus {
  border-color: var(--pink);
  background: var(--white);
}

.otp-input.is-filled {
  border-color: var(--pink);
  background: var(--pink-surface);
}

.otp-sep {
  color: var(--navy-soft);
  font-size: 1.2rem;
}

.otp-error {
  color: #dc2626;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  margin: 4px 0 0;
}

.otp-error[hidden] { display: none !important; }

@media (max-width: 480px) {
  .otp-input { width: 42px; height: 52px; font-size: 1.3rem; }
  .otp-group { gap: 7px; }
}

/* Results */
.portal-results {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portal-debtor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0,8,36,0.06);
}

.portal-debtor-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.portal-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #ff6db1);
  color: var(--white);
  font-weight: 900;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.portal-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink);
  margin-bottom: 2px;
}

.portal-name {
  margin: 0 0 3px;
  font-size: 1.25rem;
  font-weight: 700;
}

.portal-doc {
  font-size: 0.88rem;
  color: var(--navy-soft);
}

.portal-total-box {
  text-align: right;
}

.portal-total-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1.1;
}

/* Titles table */
.portal-titles {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.portal-titles-heading {
  margin: 0;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.portal-title-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.portal-title-row:last-child {
  border-bottom: none;
}

.portal-title-row strong {
  color: var(--navy);
}

.portal-title-row span {
  color: var(--navy-soft);
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.portal-badge--open {
  background: #fff0e6;
  color: #c2410c;
}

/* CTA area */
.portal-cta-area {
  padding: 28px;
  background: linear-gradient(135deg, rgba(8, 55, 133, 0.96), rgba(11, 77, 187, 0.88) 58%, rgba(95, 168, 255, 0.9));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 77, 187, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.portal-cta-area p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

/* Modal Overlay */
.portal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 8, 36, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.portal-overlay[hidden] {
  display: none !important;
}

.portal-modal {
  position: relative;
  width: min(100%, 480px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 32px 80px rgba(0,8,36,.22);
}

.portal-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.portal-modal-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 20px;
  margin: 20px 0;
  background: var(--pink-surface);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(232,0,112,.12);
}

.portal-modal-amount span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
}

.portal-modal-amount strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pink);
}

.portal-radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-radio {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: border-color 0.18s, background 0.18s;
}

.portal-radio:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink-surface);
}

.portal-radio input {
  accent-color: var(--pink);
}

.portal-modal .portal-input {
  width: 100%;
  padding-left: 16px;
}

/* Modal success state */
.portal-modal-success {
  text-align: center;
  padding: 12px 0;
}

.portal-modal-success .bi {
  font-size: 3rem;
  color: #16a34a;
}

.portal-modal-success h4 {
  margin: 12px 0 8px;
  font-size: 1.3rem;
}

.portal-modal-success p {
  color: var(--navy-soft);
}

@media (max-width: 640px) {
  .portal-title-row {
    grid-template-columns: 1fr 1fr;
  }

  .portal-total-box {
    text-align: left;
  }

  .portal-cta-area {
    flex-direction: column;
    text-align: center;
  }

  .portal-cta-area .btn {
    width: 100%;
  }
}

/* ───── RESPONSIVE ───── */
@media (max-width: 1120px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .blog-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .spotlight,
  .app-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta,
  .btn {
    width: 100%;
  }

  .promo-card,
  .feature-grid,
  .channel-grid,
  .blog-grid,
  .footer-grid,
  .meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-card,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  /* Hide promo image on small screens */
  .promo-card img {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 20px;
  }

  .section {
    padding: 56px 0;
  }

  .promo-card,
  .app-grid,
  .partner-shell {
    padding: 22px;
  }

  .header-inner {
    padding: 14px 0;
  }

  .hero-actions,
  .store-actions {
    flex-direction: column;
  }

  .btn,
  .nav-cta,
  .store-badge {
    width: 100%;
  }
}
