* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

:root {
  --bg: #060914;
  --card: rgba(15, 23, 42, 0.82);
  --card-2: rgba(2, 6, 23, 0.68);
  --border: rgba(148, 163, 184, 0.18);
  --text: #ffffff;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --blue: #3b82f6;
  --blue-light: #93c5fd;
  --purple: #9333ea;
  --danger: #ef4444;
  --success: #22c55e;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(147, 51, 234, 0.22), transparent 30%),
    radial-gradient(circle at 50% 60%, rgba(37, 99, 235, 0.08), transparent 35%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
}

.background-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.32;
  animation: orbMove 12s ease-in-out infinite alternate;
}

.orb-one {
  width: 280px;
  height: 280px;
  left: -90px;
  top: 120px;
  background: rgba(59, 130, 246, 0.35);
}

.orb-two {
  width: 330px;
  height: 330px;
  right: -120px;
  top: 340px;
  background: rgba(147, 51, 234, 0.35);
  animation-delay: 1.2s;
}

.orb-three {
  width: 220px;
  height: 220px;
  left: 45%;
  bottom: 60px;
  background: rgba(14, 165, 233, 0.22);
  animation-delay: 2s;
}

.navbar {
  height: 78px;
  padding: 0 7%;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 9, 20, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  animation: slideDown 0.7s ease both;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.35);
  animation: glowPulse 2.8s ease-in-out infinite;
}

.logo strong {
  display: block;
  font-size: 20px;
  letter-spacing: 1px;
}

.logo span {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  transition: 0.25s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transition: 0.25s;
}

nav a:hover {
  color: var(--blue-light);
}

nav a:hover::after {
  width: 100%;
}

.hero {
  min-height: calc(100vh - 78px);
  padding: 80px 7%;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 46px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--blue-light);
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.35);
  margin-bottom: 18px;
  font-size: 14px;
}

.animated-tag {
  animation: tagFloat 3s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -2.6px;
  margin-bottom: 24px;
  animation: fadeUp 0.9s ease both;
}

.hero p {
  max-width: 740px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
  animation: fadeUp 1s ease both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
  animation: fadeUp 1.1s ease both;
}

.btn {
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 36px rgba(59, 130, 246, 0.32);
  position: relative;
  overflow: hidden;
}

.primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.primary:hover::before {
  left: 140%;
}

.primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 48px rgba(147, 51, 234, 0.42);
}

.secondary {
  color: var(--muted);
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--border);
}

.secondary:hover {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.55);
  transform: translateY(-2px);
}

.full {
  width: 100%;
  margin-top: 18px;
}

.fast-btn {
  margin-top: 18px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.fast-btn:hover {
  background: rgba(37, 99, 235, 0.18);
  color: #fff;
}

.hero-stats {
  margin-top: 38px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 1.2s ease both;
}

.hero-stats div {
  min-width: 92px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  transition: 0.25s;
}

.hero-stats div:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.45);
}

.hero-stats strong {
  display: block;
  color: var(--blue-light);
  font-size: 18px;
}

.hero-stats span {
  color: var(--muted-2);
  font-size: 12px;
}

.pipeline-card {
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.9));
  border: 1px solid rgba(96, 165, 250, 0.25);
  box-shadow: 0 0 70px rgba(37, 99, 235, 0.18);
  overflow: hidden;
  animation: fadeInRight 0.9s ease both;
}

.floating-card {
  animation: fadeInRight 0.9s ease both, floatCard 4.5s ease-in-out infinite 1s;
}

.window-bar {
  height: 50px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--border);
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.pipeline-flow {
  padding: 28px;
}

.flow-item {
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 800;
  transition: 0.25s;
}

.flow-item:hover {
  transform: translateX(6px);
  color: #fff;
  border-color: rgba(96, 165, 250, 0.45);
}

.flow-item.active {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.22);
}

.flow-line {
  width: 2px;
  height: 20px;
  margin-left: 22px;
  background: linear-gradient(var(--blue), var(--purple));
  opacity: 0.6;
  animation: lineGlow 2s ease-in-out infinite;
}

.code-box {
  margin: 0 28px 28px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid var(--border);
}

.code-box p {
  color: var(--muted);
  line-height: 1.8;
}

.code-box span {
  color: var(--blue-light);
}

.section,
.system,
.results,
.pricing-section,
.account-section,
.dashboard-section {
  padding: 92px 7%;
}

.section-heading {
  text-align: center;
  max-width: 830px;
  margin: 0 auto 44px;
}

.section-heading h2,
.system-text h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1.4px;
  margin-bottom: 14px;
}

.section-heading p,
.system-text p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card,
.upload-card,
.result-panel,
.metric,
.price-card,
.auth-card,
.history-panel {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.card {
  min-height: 220px;
  border-radius: 26px;
  padding: 28px;
  transition: 0.25s;
  animation: fadeUp 0.8s ease both;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(96, 165, 250, 0.38);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.16);
}

.icon {
  font-size: 34px;
  margin-bottom: 18px;
  transition: 0.25s;
}

.card:hover .icon {
  transform: scale(1.15) rotate(-4deg);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.auth-card,
.history-panel {
  border-radius: 28px;
  padding: 28px;
}

.auth-card h3 {
  font-size: 26px;
  margin-bottom: 18px;
}

.auth-card input,
.auth-card select {
  width: 100%;
  height: 50px;
  margin-bottom: 14px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.68);
  color: #fff;
  outline: none;
}

.auth-card input:focus,
.auth-card select:focus {
  border-color: rgba(96, 165, 250, 0.7);
}

.user-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #dbeafe;
  line-height: 1.6;
}

.auth-message {
  margin-top: 14px;
  color: #93c5fd;
  line-height: 1.5;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.history-panel {
  margin-top: 20px;
}

.history-panel table a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 700;
}

.history-panel table a:hover {
  color: #fff;
}

.system-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.system-text ul {
  margin-top: 26px;
  list-style: none;
}

.system-text li {
  color: #dbeafe;
  margin-bottom: 14px;
  line-height: 1.5;
  animation: fadeUp 0.8s ease both;
}

.system-text li::before {
  content: "✓";
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.upload-card {
  border-radius: 28px;
  padding: 30px;
  transition: 0.25s;
}

.upload-card:hover {
  transform: translateY(-4px);
}

.pulse-border {
  animation: pulseBorder 3s ease-in-out infinite;
}

.upload-card h3 {
  font-size: 28px;
  margin-bottom: 6px;
}

.muted {
  color: var(--muted-2);
  line-height: 1.6;
}

.upload-area {
  margin-top: 22px;
  min-height: 220px;
  border-radius: 24px;
  border: 2px dashed rgba(96, 165, 250, 0.42);
  background: rgba(2, 6, 23, 0.48);
  display: grid;
  place-items: center;
  text-align: center;
  cursor: pointer;
  transition: 0.25s;
}

.upload-area:hover {
  border-color: rgba(147, 51, 234, 0.62);
  background: rgba(15, 23, 42, 0.7);
  transform: scale(1.01);
}

.upload-area input {
  display: none;
}

.upload-content {
  padding: 20px;
}

.upload-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.32);
  animation: uploadBounce 2.2s ease-in-out infinite;
}

.upload-content strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.upload-content span {
  color: var(--muted-2);
}

.loading {
  margin-top: 16px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #dbeafe;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(147, 197, 253, 0.25);
  border-top-color: var(--blue-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.error {
  margin-top: 16px;
  padding: 15px;
  border-radius: 16px;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.34);
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

.pricing-section {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.price-card {
  position: relative;
  border-radius: 28px;
  padding: 28px;
  overflow: hidden;
  transition: 0.25s;
  animation: fadeUp 0.8s ease both;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, transparent, rgba(96, 165, 250, 0.08), transparent);
  opacity: 0;
  transition: 0.35s;
}

.price-card:hover::before {
  opacity: 1;
}

.price-card:hover {
  transform: translateY(-9px) scale(1.01);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.16);
}

.price-card.featured {
  border-color: rgba(147, 51, 234, 0.75);
  background:
    radial-gradient(circle at top, rgba(147, 51, 234, 0.22), transparent 35%),
    rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 60px rgba(147, 51, 234, 0.24);
  animation: featuredPulse 3.2s ease-in-out infinite;
}

.price-card.enterprise {
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.18), transparent 36%),
    rgba(15, 23, 42, 0.88);
}

.recommended {
  position: absolute;
  top: 18px;
  right: -38px;
  transform: rotate(35deg);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  padding: 8px 44px;
}

.plan-badge {
  display: inline-block;
  color: var(--blue-light);
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 16px;
}

.plan-top h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.plan-top p {
  color: var(--muted);
  line-height: 1.6;
  min-height: 78px;
}

.price {
  margin: 24px 0;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.price span {
  color: var(--muted);
  font-size: 22px;
  padding-bottom: 8px;
}

.price strong {
  font-size: 54px;
  line-height: 1;
  color: #fff;
}

.price small {
  color: var(--muted-2);
  padding-bottom: 10px;
}

.price-card ul {
  list-style: none;
  margin: 24px 0;
}

.price-card li {
  color: #dbeafe;
  margin-bottom: 13px;
  line-height: 1.45;
}

.price-card li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
  margin-right: 9px;
}

.plan-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 15px;
  text-decoration: none;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  transition: 0.25s;
}

.plan-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  background: rgba(147, 51, 234, 0.25);
}

.featured-btn {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border: none;
  color: #fff;
  box-shadow: 0 0 35px rgba(147, 51, 234, 0.35);
}

.pricing-note {
  margin: 30px auto 0;
  max-width: 850px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  line-height: 1.6;
  text-align: center;
}

.metrics,
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 30px 0;
}

.metric {
  border-radius: 22px;
  padding: 24px;
  text-align: center;
  animation: fadeUp 0.7s ease both;
}

.metric strong {
  display: block;
  color: var(--blue-light);
  font-size: 34px;
  margin-bottom: 6px;
}

.metric span {
  color: var(--muted-2);
  font-size: 14px;
}

.download-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.download-btn {
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 16px;
  color: #dbeafe;
  font-weight: 800;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.36);
  transition: 0.25s;
}

.download-btn:hover {
  color: #fff;
  background: rgba(147, 51, 234, 0.25);
  transform: translateY(-2px);
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.result-panel {
  border-radius: 26px;
  padding: 24px;
  overflow: hidden;
  animation: fadeUp 0.8s ease both;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.panel-header h3 {
  font-size: 22px;
}

.panel-header button {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
}

.panel-header button:hover {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.45);
}

#relatorioIa {
  white-space: pre-wrap;
  color: #dbeafe;
  line-height: 1.65;
  max-height: 520px;
  overflow: auto;
}

.table-wrapper {
  overflow: auto;
  max-height: 520px;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: #dbeafe;
  font-size: 14px;
}

th,
td {
  padding: 11px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--blue-light);
  background: rgba(15, 23, 42, 0.96);
  position: sticky;
  top: 0;
}

footer {
  padding: 34px 7%;
  color: var(--muted-2);
  text-align: center;
  border-top: 1px solid var(--border);
}

.reveal,
.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3,
.reveal-delay-4 {
  animation: fadeUp 0.8s ease both;
}

.reveal-delay-1 {
  animation-delay: 0.1s;
}

.reveal-delay-2 {
  animation-delay: 0.2s;
}

.reveal-delay-3 {
  animation-delay: 0.3s;
}

.reveal-delay-4 {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(36px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes tagFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
  }

  50% {
    box-shadow: 0 0 42px rgba(147, 51, 234, 0.55);
  }
}

@keyframes pulseBorder {
  0%, 100% {
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  }

  50% {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 55px rgba(59, 130, 246, 0.16);
  }
}

@keyframes featuredPulse {
  0%, 100% {
    box-shadow: 0 0 45px rgba(147, 51, 234, 0.22);
  }

  50% {
    box-shadow: 0 0 75px rgba(147, 51, 234, 0.35);
  }
}

@keyframes lineGlow {
  0%, 100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

@keyframes uploadBounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes orbMove {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, -24px) scale(1.08);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .hero,
  .system-grid,
  .result-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .metrics,
  .dashboard-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .navbar {
    padding: 0 5%;
  }

  .hero,
  .section,
  .system,
  .results,
  .pricing-section,
  .account-section,
  .dashboard-section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .cards,
  .metrics,
  .pricing-grid,
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    letter-spacing: -1.5px;
  }

  .download-row {
    flex-direction: column;
  }

  .download-btn {
    text-align: center;
  }
}
.plan-usage-box {
  max-width: 1050px;
  margin: 0 auto 28px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #dbeafe;
  line-height: 1.7;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.usage-bars {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.usage-item strong {
  display: block;
  margin-bottom: 6px;
}

.usage-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.usage-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #9333ea);
}
.plan-benefits-list {
  margin-top: 12px;
  padding-left: 20px;
  color: #dbeafe;
}

.plan-benefits-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ========================= */
/* CORREÇÃO DOS PLANOS - 3 CARDS */
/* ========================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 26px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.price-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.price-card .plan-top {
  min-height: 135px;
}

.price-card ul {
  flex: 1;
}

.price-card .plan-btn {
  margin-top: auto;
}

.price-card.featured {
  transform: none;
}

.price-card.featured:hover,
.price-card:hover {
  transform: translateY(-9px) scale(1.01);
}

/* Ajusta preço com números quebrados tipo 59,90 e 399,90 */
.price strong {
  font-size: clamp(40px, 4vw, 54px);
  line-height: 1;
  white-space: nowrap;
}

.price {
  min-height: 72px;
}

/* Responsivo */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 18px;
  }

  .price-card {
    padding: 24px;
  }

  .price strong {
    font-size: 42px;
  }
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .price-card .plan-top {
    min-height: auto;
  }
}

.pipeline-select-box {
  margin-top: 20px;
  margin-bottom: 18px;
}

.pipeline-select-box label {
  display: block;
  color: #dbeafe;
  font-weight: 800;
  margin-bottom: 8px;
}

.pipeline-select-box select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 15px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(2, 6, 23, 0.72);
  color: #fff;
  outline: none;
  font-weight: 700;
}

.pipeline-select-box select:focus {
  border-color: rgba(147, 197, 253, 0.8);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.18);
}
/* ========================= */
/* MODAL DE LOGIN / CADASTRO */
/* ========================= */

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(12px);
}

.auth-modal-content {
  position: relative;
  z-index: 2;
  width: min(1050px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px;
  border-radius: 30px;
  background: rgba(6, 9, 20, 0.96);
  border: 1px solid rgba(96, 165, 250, 0.28);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  animation: authModalShow 0.25s ease both;
}

.auth-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.auth-close-btn:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.35);
}

.modal-heading {
  margin-bottom: 26px;
}

@keyframes authModalShow {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .auth-modal-content {
    padding: 24px;
  }
}

.pipeline-result-panel {
  margin-bottom: 30px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(96, 165, 250, 0.28);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.pipeline-steps {
  display: grid;
  gap: 12px;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.pipeline-step span {
  min-width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #9333ea);
}

.pipeline-step p {
  color: #dbeafe;
  line-height: 1.5;
}

.pipeline-generator-box {
  margin-top: 20px;
  margin-bottom: 18px;
}

.pipeline-generator-box label {
  display: block;
  color: #dbeafe;
  font-weight: 800;
  margin-bottom: 8px;
}

.pipeline-generator-box textarea {
  width: 100%;
  min-height: 105px;
  resize: vertical;
  padding: 14px 16px;
  border-radius: 15px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(2, 6, 23, 0.72);
  color: #fff;
  outline: none;
  font-weight: 600;
  line-height: 1.5;
}

.pipeline-generator-box textarea:focus {
  border-color: rgba(147, 197, 253, 0.8);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.18);
}

.generated-pipeline-box {
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #dbeafe;
  line-height: 1.6;
}

.generated-pipeline-box h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #fff;
}

.generated-steps {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.generated-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.generated-step span {
  min-width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #9333ea);
}

.generated-step p {
  color: #dbeafe;
}

.use-pipeline-btn {
  margin-top: 16px;
}