/* =============================================
   JudiCore — Design System & Styles
   Futurist Legal Tech Aesthetic
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors — Deep Law & Gold */
  --bg-deep: #060b18;
  --bg-primary: #0a0f1e;
  --bg-secondary: #0f1629;
  --bg-card: rgba(15, 22, 41, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(201, 168, 76, 0.25);
  --text-primary: #e8edf5;
  --text-secondary: #8892a8;
  --text-muted: #5a6480;
  --gold: #c9a84c;
  --gold-bright: #e0c56e;
  --gold-glow: rgba(201, 168, 76, 0.3);
  --accent-blue: #4a8fe7;
  --accent-blue-glow: rgba(74, 143, 231, 0.25);
  --accent-cyan: #38bdf8;
  --white: #ffffff;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --nav-height: 72px;
  --max-width: 1200px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Shadows */
  --glow-gold: 0 0 40px rgba(201, 168, 76, 0.15);
  --glow-blue: 0 0 40px rgba(74, 143, 231, 0.12);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

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

ul { list-style: none; }

img, svg { display: block; }

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
  border: none;
  outline: none;
}

/* ---------- Selection ---------- */
::selection {
  background: var(--gold);
  color: var(--bg-deep);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* =============================================
   CANVAS PARTICLES BACKGROUND
   ============================================= */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* =============================================
   CURSOR GLOW
   ============================================= */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, rgba(74, 143, 231, 0.03) 30%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  will-change: left, top;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 11, 24, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s, border-color 0.3s;
}

.nav.scrolled {
  background: rgba(6, 11, 24, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--white);
  z-index: 1001;
}

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

.logo-icon svg {
  color: var(--gold);
}

.logo-accent {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 450;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.25s;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover::after {
  width: 100%;
}

.cta-nav {
  padding: 8px 20px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  color: var(--gold) !important;
  font-weight: 500;
  transition: background 0.3s, box-shadow 0.3s;
}

.cta-nav:hover {
  background: rgba(201, 168, 76, 0.18);
  box-shadow: var(--glow-gold);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 60px) 24px 80px;
  overflow: clip;
  z-index: 2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(74, 143, 231, 0.08);
  border: 1px solid rgba(74, 143, 231, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-blue);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.35s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.45s both;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, #b8923b 100%);
  color: var(--bg-deep);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.35);
  filter: brightness(1.05);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: border-color 0.3s, background 0.3s, transform 0.25s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

/* Hero Stats Row */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.55s both;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}

.stat-unit {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero Visual (Floating Card + Chart) */
.hero-visual {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: flex;
  }

  .hero {
    flex-direction: row;
    gap: 60px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .hero-content {
    text-align: left;
    flex: 1;
    max-width: 580px;
  }

  .hero-subtitle {
    margin: 0 0 32px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
  }
}

.floating-card {
  width: 380px;
  background: rgba(15, 22, 41, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), var(--glow-gold);
}

.fc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.fc-dots {
  display: flex;
  gap: 6px;
}

.fc-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.fc-dots span:nth-child(1) { background: #ff5f57; }
.fc-dots span:nth-child(2) { background: #ffbd2e; }
.fc-dots span:nth-child(3) { background: #28ca41; }

.fc-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.fc-body {
  padding: 16px;
}

.fc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-bottom: 14px;
}

.fc-search svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.fc-search span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-style: italic;
}

.fc-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fc-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  transition: background 0.3s;
}

.fc-result:hover {
  background: rgba(255, 255, 255, 0.05);
}

.fcr-court {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  flex-shrink: 0;
}

.fcr-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fcr-match {
  font-size: 0.78rem;
  font-weight: 600;
  color: #28ca41;
  flex-shrink: 0;
}

/* Hero Chart — Mini bar chart */
.hero-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding: 10px 14px;
  background: rgba(15, 22, 41, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.chart-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 28px;
  height: 100%;
  position: relative;
}

.chart-bar::before {
  content: '';
  width: 100%;
  height: var(--h, 50%);
  background: linear-gradient(to top, rgba(201, 168, 76, 0.5), rgba(201, 168, 76, 0.9));
  border-radius: 4px 4px 0 0;
  transition: height 0.6s var(--ease-out-expo);
  animation: barGrow 0.8s var(--ease-out-expo) var(--delay, 0s) both;
}

.chart-bar.active::before {
  background: linear-gradient(to top, rgba(56, 189, 248, 0.5), rgba(56, 189, 248, 0.9));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.chart-bar span {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

@keyframes barGrow {
  from { height: 0; }
  to { height: var(--h, 50%); }
}

/* =============================================
   SECTIONS GENERAL
   ============================================= */
section {
  position: relative;
  z-index: 2;
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* =============================================
   FEATURES GRID
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  padding: 32px 28px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--accent-blue), var(--gold), transparent);
  transition: width 0.5s var(--ease-out-expo);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), var(--glow-gold);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--gold);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* =============================================
   SHOWCASE / MODULES
   ============================================= */
.showcase {
  background: rgba(255, 255, 255, 0.005);
}

.showcase-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.showcase-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s;
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.sc-number {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.7;
}

.showcase-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.showcase-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sc-glow {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform 0.6s var(--ease-out-expo);
}

.showcase-card:hover .sc-glow {
  transform: scale(1.5);
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
}

.stats-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(74, 143, 231, 0.04) 0%, transparent 50%);
  z-index: -1;
}

.stats-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.stats-header {
  text-align: center;
  margin-bottom: 56px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.stat-card-value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.stat-card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =============================================
   QUOTE SECTION
   ============================================= */
.quote-section {
  padding: 80px 24px 100px;
}

.quote-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  margin: 0 auto 24px;
  opacity: 0.5;
}

blockquote {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 28px;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8923b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bg-deep);
  flex-shrink: 0;
}

.quote-name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.quote-role {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 60px 24px 100px;
}

.cta-card {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 56px 40px;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
}

.cta-glow-1,
.cta-glow-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-glow-1 {
  top: -80px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
  animation: float-glow 8s ease-in-out infinite;
}

.cta-glow-2 {
  bottom: -100px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(74, 143, 231, 0.1) 0%, transparent 70%);
  animation: float-glow 10s ease-in-out infinite reverse;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -20px) scale(1.1); }
  66% { transform: translate(-10px, 15px) scale(0.95); }
}

.cta-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-card > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cta-form {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
}

.cta-form input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 60px 24px 30px;
  border-top: 1px solid var(--border-subtle);
  z-index: 2;
  position: relative;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col > span {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* =============================================
   LOGIN OVERLAY
   ============================================= */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo);
}

.login-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 24, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.login-modal {
  position: relative;
  width: 440px;
  max-width: 92vw;
  background: rgba(15, 22, 41, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 40px 40px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), var(--glow-gold);
  z-index: 1;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-out-expo);
}

.login-overlay.active .login-modal {
  transform: translateY(0) scale(1);
}

.login-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.login-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 20px;
}

.login-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 6px;
}

.login-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.login-input-wrap:focus-within {
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.login-input-wrap svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.login-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: var(--font-sans);
}

.login-input-wrap input::placeholder {
  color: var(--text-muted);
}

.login-toggle-pw {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 0.2s;
  padding: 2px;
}

.login-toggle-pw:hover {
  color: var(--text-secondary);
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.82rem;
}

.login-remember input {
  display: none;
}

.login-remember .checkmark {
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.login-remember input:checked + .checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.login-remember input:checked + .checkmark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid var(--bg-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.login-forgot {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color 0.2s;
}

.login-forgot:hover {
  color: var(--gold);
}

.login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, #b8923b 100%);
  color: var(--bg-deep);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}

.login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.35);
  filter: brightness(1.05);
}

.login-signup {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.login-signup a {
  color: var(--gold);
  font-weight: 500;
  transition: color 0.2s;
}

.login-signup a:hover {
  color: var(--gold-bright);
}

/* Mobile login adjustments */
@media (max-width: 480px) {
  .login-modal {
    padding: 36px 24px 32px;
  }

  .login-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background: rgba(10, 15, 30, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-subtle);
    transition: right 0.4s var(--ease-in-out);
    gap: 24px;
    padding: 40px;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form input {
    min-width: auto;
  }

  .footer-container {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 32px;
  }

  .floating-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .features-grid,
  .showcase-cards,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 36px 24px;
  }
}

/* =============================================
   LIGHT GLOW ACCENTS (Global)
   ============================================= */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 143, 231, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* =============================================
   AUTH MODAL
   ============================================= */
.auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.auth-modal {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  width: 440px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  animation: authFadeIn 0.25s ease;
  box-shadow: 0 0 80px rgba(201, 168, 76, 0.08);
}

@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  transition: color 0.15s;
}
.auth-modal-close:hover { color: var(--text-primary); }

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.auth-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.auth-tab:hover { color: var(--text-secondary); }
.auth-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 1rem;
}
.auth-form.active {
  display: flex;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-input {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.auth-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.auth-input::placeholder {
  color: var(--text-muted);
}
select.auth-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='%238892a8'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.2rem;
}

.auth-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 500;
}

.auth-submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--bg-deep);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}
.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--gold-glow);
}
.auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Auth Logo ─────────────────────────────── */
.auth-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.2rem;
  padding-top: 0.25rem;
}
.auth-logo-img {
  height: 52px;
  width: auto;
}

/* ── Password Toggle ───────────────────────── */
.auth-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-password-wrap .auth-input {
  padding-right: 2.5rem;
}
.auth-password-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  line-height: 0;
}
.auth-password-toggle:hover,
.auth-password-toggle.showing {
  color: var(--gold);
}

/* ── Cancel Button ─────────────────────────── */
.auth-cancel {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.auth-cancel:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

/* ── AI Generate Form ──────────────────────── */
.ai-generate-form {
  padding: 0.5rem;
}
.ai-generate-form .auth-field {
  margin-bottom: 0.65rem;
}
.ai-generate-form .auth-label {
  margin-bottom: 0.2rem;
}
.ai-descricao {
  resize: vertical;
  min-height: 70px;
}

.ai-documentos {
  resize: vertical;
  min-height: 60px;
}

.ai-btn-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.ai-btn-row .auth-submit {
  flex: 3;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.ai-btn-row .auth-cancel {
  flex: 1;
  padding: 0.85rem 0.75rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.ai-btn-row .auth-cancel:hover {
  background: rgba(201, 168, 76, 0.12);
}

.ai-loading {
  padding: 1.75rem 1.5rem 1.5rem;
  margin-top: 0.75rem;
  background: rgba(15, 22, 41, 0.75);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
}

.prg-cols {
  display: grid;
  grid-template-columns: 140px 1fr 220px;
  gap: 2rem;
  align-items: stretch;
  height: 200px;
}

.prg-col--ring {
  display: flex;
  justify-content: center;
  align-items: center;
}

.prg-col--phases {
  display: flex;
  justify-content: center;
  align-items: center;
}

.prg-col--cur {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.prg-cur-col-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.55rem;
}

/* ── Circular ring ── */
.prg-ring-wrap {
  position: relative;
  width: 130px;
  height: 130px;
}

.prg-ring-svg {
  display: block;
  transform: rotate(-90deg);
}

.prg-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 8;
}

.prg-fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 0.35s ease-out, stroke 0.4s;
  filter: drop-shadow(0 0 5px var(--gold-glow));
}

.prg-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;
}

.prg-label span {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.prg-label small {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Phase list ── */
.prg-phases {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.prg-phase {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.4s;
}

.prg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  transition: background 0.4s, box-shadow 0.4s;
}

.prg-phase.active {
  color: var(--gold-bright);
}

.prg-phase.active .prg-dot {
  background: var(--gold);
  box-shadow: 0 0 7px var(--gold-glow);
  animation: prgPulse 1.1s ease-in-out infinite;
}

.prg-phase.done {
  color: #5fad7a;
}

.prg-phase.done .prg-dot {
  background: #5fad7a;
  box-shadow: none;
}

.prg-phase.done span:last-child::after {
  content: ' ✓';
  font-size: 0.68rem;
}

/* ── Curiosidade rotativa ── */
.prg-curiosidade {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  text-align: left;
  animation: curFade 0.6s ease;
  box-sizing: border-box;
}
@keyframes curFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.prg-cur-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.55rem;
}
.prg-cur-text {
  display: block;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@keyframes prgPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.5; }
}

.ai-result {
  margin-top: 0.75rem;
}

.ai-result-editor {
  min-height: 520px;
  max-height: 80vh;
  overflow-y: auto;
  background: #ffffff;
  color: #1a1a1a;
  font-family: 'Times New Roman', Georgia, 'Noto Serif', serif;
  font-size: 0.92rem;
  line-height: 1.8;
  padding: 2.5rem 3rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  border-radius: 2px;
  outline: none;
  white-space: pre-wrap;
  word-break: break-word;
}

.ai-result-editor:focus {
  box-shadow: 0 2px 12px rgba(0,0,0,0.18), 0 0 0 2px rgba(201,168,76,0.35);
}

/* Markdown rendered content */
.ai-result-editor p          { margin: 0 0 0.9em; text-align: justify; }
.ai-result-editor strong     { font-weight: 700; }
.ai-result-editor em         { font-style: italic; }
.ai-result-editor ul,
.ai-result-editor ol         { margin: 0.5em 0 0.9em 1.5em; }
.ai-result-editor li         { margin-bottom: 0.25em; }
.ai-result-editor blockquote { border-left: 3px solid #c9a84c; margin: 0.75em 0; padding: 0.25em 1em; color: #444; font-style: italic; }

/* Status message during generation */
.ai-streaming-status {
  color: #888;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-style: italic;
}

.ai-btn-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.ai-btn-actions .auth-submit,
.ai-btn-actions .auth-cancel {
  flex: 1;
  margin: 0;
}

.ai-docx-btn {
  flex: 1;
}

/* Avisos ao Advogado */
.ai-avisos-panel {
  margin-top: 1rem;
  padding: 1rem 1.25rem 0.75rem;
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-left: 4px solid #c9a84c;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  line-height: 1.6;
}
.ai-avisos-panel h2 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c9a84c;
  margin: 0 0 0.65rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.ai-avisos-panel ol { margin: 0; padding-left: 1.25rem; }
.ai-avisos-panel li { margin-bottom: 0.45rem; }
.ai-avisos-panel strong { color: #c9a84c; font-weight: 600; }
.ai-avisos-panel p { margin: 0 0 0.5rem; }

/* AI Log Preview */
.ai-log-preview {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-primary);
  background: var(--bg-primary);
}

.ai-log-title {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--accent-primary, #c9a84c);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.ai-log-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  margin-bottom: 0.6rem;
}

.ai-log-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.75rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.ai-log-label {
  color: var(--text-secondary);
}

.ai-log-value {
  color: var(--text-primary);
  font-weight: 500;
  font-family: 'Courier New', monospace;
}

.ai-ver-log-btn {
  width: 100%;
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
}
