/* ========================================
   AdCycle — Design System
   Madison Avenue meets Wall Street
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink-900: #0A1429;
  --ink-800: #0F1E3D;
  --ink-700: #0058FF;
  --primary: #0058FF;
  --primary-600: #1E40AF;
  --primary-500: #2563EB;
  --primary-400: #3B82F6;
  --accent: #001F3F;
  --accent-soft: #ffffff;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-500: #64748B;
  --slate-700: #334155;
  --slate-900: #0F172A;
  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif, system-ui;
  --font-mono: 'JetBrains Mono', monospace;
  --accent:#e2e8f0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  /* -moz-osx-font-smoothing: grayscale; */
  background: #fff;
  color: #0f172a;
  /* line-height: 1.6; */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background:var(--primary);
  color: #fff;
}

/* ── Container ── */
.container {
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:0 24px;
}

@media (min-width: 640px) {
  .container {
    padding:0 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding:0 48px;
  }
}

/* ── Typography ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #0058FF;
}

.eyebrow-light {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.18em;
  color:var(--primary);
}

.dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--primary);
  display:inline-block;
}

.heading-display {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

@media (min-width: 640px) {
  .heading-display {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .heading-display {
    font-size: 4.5rem;
  }
}

.heading-1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

@media (min-width: 640px) {
  .heading-1 {
    font-size: 3rem;
  }
}

.heading-2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem,3.5vw,3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

@media (min-width: 640px) {
  .heading-2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .heading-2 {
    font-size: 3rem;
  }
}

.heading-3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .heading-3 {
    font-size: 1.5rem;
  }
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #64748B;
}

.num-tabular {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: #0058FF;
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 24px -8px rgba(10, 36, 99, 0.5);
}

.btn-primary:hover {
  background: #0058FF;
  box-shadow: 0 12px 32px -8px rgba(10, 36, 99, 0.7);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid #CBD5E1;
  background: #fff;
  color: #0f172a;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: #0058FF;
  color: #0058FF;
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  background: transparent;
}

.btn-ghost-light:hover {
  background: #fff;
  color: #0058FF;
}

/* ── Cards ── */
.card-elevated {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 1px 2px 0 rgba(10, 20, 40, 0.04), 0 8px 24px -12px rgba(10, 20, 40, 0.12);
  transition: all 0.3s;
  padding: 1.75rem;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.card-elevated:hover {
  box-shadow: 0 4px 8px -2px rgba(10, 20, 40, 0.06), 0 16px 40px -12px rgba(10, 20, 40, 0.2);
  transform: translateY(-4px);
}

.card-elevated > p:first-child {
  white-space: nowrap;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
}
.card-bordered {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.7);
}

.card-dark {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to bottom right, #0058FF, #0058FF);
  color: #fff;
}

/* ── Gradients & Patterns ── */
.gradient-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(201, 169, 97, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.gradient-dark {
  background: 
    radial-gradient(ellipse 60% 50% at 50% 0%,rgba(0,88,255,.25) 0%,transparent 60%),
    linear-gradient(135deg,#0A1429 0%,#0c1a30 60%,#081020 100%);
}

.grid-pattern {
  background-image:
    linear-gradient(rgba(15,30,61,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(15,30,61,.04) 1px,transparent 1px);
  background-size: 56px 56px;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFEAB5 0%, #E8D9B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out both;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 40s linear infinite;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
  background: rgb(255, 255, 255);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.site-header.scrolled {
  background: rgb(255, 255, 255);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 1px 0 0 rgba(15, 30, 61, 0.04);
}

.header-inner {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: #0058FF;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
  }
}

.header-login {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s;
}

.header-login:hover {
  color: #0058FF;
}

/* Mobile menu */
.mobile-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  color: #334155;
}

.mobile-toggle:hover {
  background: #f1f5f9;
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.5rem;
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: #0058FF;
}

/* ── Footer ── */
.site-footer {
  background:#0A1429;
  color:#fff;
  padding:64px 0 40px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.social-links{
  display:flex;
  gap:12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  color: #0058FF;
  background: #001F3F;
  border-color: #001F3F;
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: #64748B;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-email-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 24px;
  background:var(--primary);
  color:#fff;
  border-radius:9999px;
  font-weight:700;
  font-size:14px;
  transition:all .3s;
  box-shadow:0 4px 16px rgba(0,88,255,0.35);
  text-decoration:none;
}
.footer-email-cta:hover{
  background:#0046cc;
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,88,255,0.5);
  color:#fff;
}

/* ── LGPD Banner ── */
.lgpd-banner {
  position: fixed;
  inset: 0 0 auto 0;
  bottom: 0;
  z-index: 60;
  padding: 1rem;
}

@media (min-width: 640px) {
  .lgpd-banner {
    padding: 1.5rem;
  }
}

.lgpd-inner {
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 60px -20px rgba(10, 20, 40, 0.35);
  padding: 1.25rem 1.5rem;
}

.lgpd-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .lgpd-content {
    flex-direction: row;
    align-items: center;
  }
}

.lgpd-icon {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: rgba(10, 36, 99, 0.05);
  color: #0058FF;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .lgpd-icon {
    display: flex;
  }
}

.lgpd-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lgpd-btn-text {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.lgpd-btn-text:hover {
  color: #0058FF;
}

.lgpd-btn-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  background: #0058FF;
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lgpd-btn-accept:hover {
  background: #0058FF;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.lgpd-close {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lgpd-close:hover {
  color: #334155;
  background: #f1f5f9;
}

@media (min-width: 640px) {
  .lgpd-close {
    display: flex;
  }
}

/* ── Demo Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
}

.modal-overlay.hidden {
  display: none;
}

.modal-box {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 28rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0058FF;
}

.modal-close {
  padding: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  color: #64748B;
  transition: background 0.2s;
}

.modal-close:hover {
  background: #f3f4f6;
}

.modal-form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #0058FF;
  box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
}

.form-textarea {
  resize: none;
}

.modal-disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}

/* ── Utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Section Helpers ── */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: #f8fafc;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

/* ── Stats Grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-top: 5rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: #fff;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .stat-card {
    padding: 2rem;
  }
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0058FF;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748B;
  margin-top: 0.5rem;
  line-height: 1.3;
}

/* ── Problem Grid ── */
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Pillars Grid ── */
.pillars-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Capabilities Grid ── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

@media (min-width: 1024px) {
  .cap-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cap-item {
  background: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s;
}

.cap-item:hover {
  background: #f8fafc;
}

.cap-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: rgba(10, 36, 99, 0.05);
  color: #0058FF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

/* ── Before/After Grid ── */
.ba-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.x-list{
  list-style:none;
  padding:0;
}

.x-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:#64748b;
  margin-bottom:16px;
}

.x-icon{
  width:20px;
  height:20px;
  border-radius:50%;
  background:#e2e8f0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#64748b;
  font-size:12px;
  flex-shrink:0;
}

.check-list{
  list-style:none;
  padding:0;
}

.check-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#334155;
  margin-bottom:10px;
}

.check-list li svg{
  flex-shrink:0;
  margin-top:2px;
  color:var(--primary);
}

.check-gold li svg{
  color:var(--primary);
}

.ba-metrics {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ba-metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.ba-metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-top: 4px;
}

/* ── Marquee ── */
.marquee-wrap {
  position: relative;
  overflow: hidden;
}

.marquee-fade-l {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 96px;
  background: linear-gradient(to right, #fff, transparent);
  z-index: 10;
  pointer-events: none;
}

.marquee-fade-r {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 96px;
  background: linear-gradient(to left, #fff, transparent);
  z-index: 10;
  pointer-events: none;
}

.marquee-track {
  display: flex;
  gap: 0.75rem;
  white-space: nowrap;
}

.marquee-item {
  flex-shrink: 0;
  padding: 1rem 1.75rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

/* ── Plans Grid ── */
.plans-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  position: relative;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.plan-card--default {
  background: #fff;
  border: 1px solid #e2e8f0;
}

.plan-card{
  border-radius:16px;
  padding:32px;
  display:flex;
  flex-direction:column;
  position:relative;
}

.plan-featured{
  background:linear-gradient(135deg,#0F1E3D,#0A1429);
  color:#fff;
  box-shadow:0 25px 50px -12px rgba(0,0,0,.25);
  transform:scale(1.02);
}

.plan-features svg {
  stroke: #0058FF;
}
.plan-badge {
  position:absolute;
  top:-12px;
  left:32px;
  padding:4px 12px;
  border-radius:9999px;
  background:var(--primary);
  color:#fff;
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.plan-features {
  list-style: none;
  padding: 0;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.plan-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
  display: block;
}

.plan-btn--dark {
  background: #0058FF;
  color: #fff;
}

.plan-btn--dark:hover {
  background:#0046cc;
  transform:translateY(-2px);
}

/* ── CTA Section ── */
.cta-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  padding: 3rem;
}

@media (min-width: 1024px) {
  .cta-box {
    padding: 5rem;
  }
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

/* ── Two-Col Layout ── */
.two-col {
  display: grid;
  gap: 4rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 5fr 7fr;
  }
}

/* ── Pillar Card inner ── */
.pillar-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, #0058FF, #1E40AF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 36, 99, 0.3);
}

.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pillar-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #94a3b8;
}

.pillar-points {
  list-style: none;
  padding: 0;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.pillar-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: #334155;
  margin-bottom: 0.625rem;
}

/* ── Icon helpers ── */
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

/* ── Dashboard preview ── */
.dash-glow {
  position: absolute;
  inset: -2rem;
  background: linear-gradient(to bottom right, rgba(10, 36, 99, 0.1), transparent, rgba(201, 169, 97, 0.1));
  border-radius: 2rem;
  filter: blur(40px);
}

.dash-frame {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 30px 80px -30px rgba(10, 20, 40, 0.35);
  background: #fff;
}

/* check icon color helpers */
.check-blue {
  color: #0058FF;
}

.check-blue {
  color: #001F3F;
}

/* Accessibility contrast adjustments */
.card-dark .ba-list svg,
plan-featured .plan-features svg {
  stroke: #ffffff !important;
}

.card-dark .ba-metric-label {
  color: #e2e8f0;
}

/* ── Premium Carousel ── */
/* Cockpit Tabs Carousel Styles */
.cockpit-carousel {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}
.carousel-tabs-container {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}
.carousel-tabs-container::-webkit-scrollbar {
  display: none;
}
.carousel-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid #e8ecf0;
}
@media(max-width: 768px) {
  .carousel-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
  }
  .carousel-tabs::-webkit-scrollbar { display: none; }
}
.carousel-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  color: #8898aa;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  position: relative;
  top: 1px;
}
.carousel-tab:hover {
  color: #334155;
}
.carousel-tab.active {
  color: #0A1429;
  font-weight: 600;
  border-bottom: 3px solid var(--primary);
}
.carousel-content {
  position: relative;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-top: none;
  box-shadow: 0 30px 80px -30px rgba(10,20,40,.30);
  background: #fff;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: start;
}

/* Progress bar */
.carousel-progress-bar {
  height: 3px;
  background: #e8ecf0;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
}
.carousel-progress-fill {
  height: 100%;
  background: var(--primary);
  width: 0%;
  transition: width 5s linear;
}
.carousel-slide {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  display: none;
  transition: opacity 0.45s ease;
  width: 100%;
}
.carousel-slide.active {
  display: block;
  opacity: 1;
}
.carousel-slide img {
  width: 100%;
  display: block;
  height: auto;
}

/* Card da Biblioteca */
.grid-3{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

@media(min-width:768px){
  .grid-3{
    grid-template-columns:repeat(3,1fr);
  }
}

.card{
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(226,232,240,.7);
  box-shadow:0 1px 2px rgba(10,20,40,.04),0 8px 24px -12px rgba(10,20,40,.12);
  transition:all .3s;
}
.card:hover{
  box-shadow:0 4px 8px -2px rgba(10,20,40,.06),0 16px 40px -12px rgba(10,20,40,.2);
  transform:translateY(-4px);
}
.card-dark{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(135deg,#0F1E3D,#0A1429);
  color:#fff;
}

/* LINK DE E-MAIL */
.email-link a {
  color: var(--primary) !important;
  font-weight: 600;
  text-decoration: none;
}

/* BIBLIOTECA */
/* ── Library & Glossary ── */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.search-wrap {
  position: sticky;
  top: 80px;
  z-index: 40;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, .7);
  padding: 16px 0;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: 16px; 
  color: #0F172A; 
  outline: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") 16px center no-repeat;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 88, 255, 0.15);
  padding-left: 56px;
}

.search-flex {
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .search-flex {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  
  .search-flex > div:first-child {
    flex: 2;
    transition: flex 0.4s ease;
  }
  
  .search-flex > div:first-child:focus-within {
    flex: 3;
  }
}
@media (min-width: 640px) {
  .search-flex {
    flex-direction: row;
    gap: 12px;
  }
}

.filters-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.filters-row::-webkit-scrollbar { display: none; }
@media (max-width: 639px) {
  .filters-row { margin-top: 12px; }
}

.filter-btn {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.filter-btn.active {
  background: var(--primary);
  color: #fff;
}
.filter-btn:not(.active) {
  background: #f1f5f9;
  color: #475569;
}
.filter-btn:not(.active):hover {
  background: #e2e8f0;
}

.cat-section {
  scroll-margin-top: 160px;
  margin-bottom: 64px;
}

.cat-grid-6 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .cat-grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .cat-grid-6 { grid-template-columns: repeat(6, 1fr); }
}

.cat-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, .7);
  padding: 16px;
  transition: all .3s;
  text-decoration: none;
  color: inherit;
}
.cat-card:hover {
  border-color: rgba(0, 88, 255, .2);
  box-shadow: 0 8px 24px rgba(0, 88, 255, .1);
}

.cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 88, 255, .05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all .3s;
}
.cat-card:hover .cat-icon {
  background: var(--primary);
  color: #fff;
}

.term-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.term-card h3 {
  font-weight: 700;
  color: #0A1429;
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color .2s;
}
.term-card:hover h3 {
  color: var(--primary);
}

.term-summary {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.term-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.term-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #f8fafc;
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
  border-radius: 4px;
}

.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, .7);
  box-shadow: 0 1px 2px rgba(10, 20, 40, .04), 0 8px 24px -12px rgba(10, 20, 40, .12);
  transition: all .3s;
}
.card:hover {
  box-shadow: 0 4px 8px -2px rgba(10, 20, 40, .06), 0 16px 40px -12px rgba(10, 20, 40, .2);
  transform: translateY(-4px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #cbd5e1; }

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(0, 88, 255, .05);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.term-highlight {
  font-size: 1.25rem;
  color: #475569;
  line-height: 1.75;
  font-weight: 500;
  border-left: 4px solid var(--primary);
  padding-left: 20px;
}

.term-body {
  color: #334155;
  line-height: 1.9;
  font-size: 1.0625rem;
  white-space: pre-line;
}

.keyword-tag {
  padding: 6px 12px;
  background: #f8fafc;
  font-size: 14px;
  color: #475569;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  display: inline-block;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 5fr 7fr; }
}

.sidebar-sticky {
  position: sticky;
  top: 112px;
}

.related-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  margin: 0 -12px;
  border-radius: 8px;
  transition: background .2s;
}
.related-card:hover { background: #fff; }

.btn-featured-plan {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  transition: all .3s;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}
.btn-featured-plan:hover {
  background: #0046cc;
  transform: translateY(-2px);
}

.sidebar-cta {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-cta h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.sidebar-cta p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}
.sidebar-cta a {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 9999px;
  padding: 12px;
  text-align: center;
  font-weight: 600;
}
.sidebar-cta a:hover {
  background: #0046cc !important;
}

/* Global blue overrides */
a[style*="color:#0A2463"],
a[style*="color: #0A2463"] {
  color: var(--primary) !important;
}