:root {
  --lp-bg: #060914;
  --lp-bg-soft: #0b1220;
  --lp-panel: rgba(15, 23, 42, 0.72);
  --lp-panel-strong: rgba(15, 23, 42, 0.92);
  --lp-border: rgba(255, 255, 255, 0.1);
  --lp-border-strong: rgba(0, 212, 255, 0.28);
  --lp-text: #f8fafc;
  --lp-muted: rgba(226, 232, 240, 0.76);
  --lp-muted-soft: rgba(226, 232, 240, 0.58);
  --lp-cyan: #00d4ff;
  --lp-purple: #7c5cff;
  --lp-pink: #ff5ca7;
  --lp-green: #25d366;
  --lp-radius: 8px;
  --lp-radius-sm: 8px;
  --lp-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --lp-container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.legal-services-page {
  margin: 0;
  color: var(--lp-text);
  background:
    radial-gradient(ellipse 72% 54% at 50% -12%, rgba(0, 212, 255, 0.17), transparent 62%),
    radial-gradient(ellipse 48% 42% at 92% 16%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 42% 34% at 8% 64%, rgba(255, 92, 167, 0.1), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--lp-bg);
  background-size: auto, auto, auto, 42px 42px, 42px 42px, auto;
  font-family: "BrightAI Official", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.85;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.legal-services-page a {
  color: inherit;
}

body.legal-services-page :focus-visible {
  outline: 3px solid rgba(0, 212, 255, 0.72);
  outline-offset: 4px;
  border-radius: 8px;
}

.lp-container {
  width: min(var(--lp-container), calc(100% - 32px));
  margin-inline: auto;
}

.lp-main {
  padding-block: 104px 72px;
}

.lp-section {
  padding-block: 54px;
}

.lp-section-head {
  max-width: 760px;
  margin-block-end: 28px;
}

.lp-eyebrow,
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 8px;
  color: #b8f3ff;
  background: rgba(0, 212, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.lp-hero {
  position: relative;
  padding-block: 28px 44px;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 32px;
  align-items: center;
}

.lp-hero h1,
.lp-doc-hero h1 {
  margin: 18px 0 18px;
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.lp-gradient-text,
.lp-card h3,
.lp-doc-card h2 {
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-purple) 56%, var(--lp-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-lead {
  max-width: 820px;
  margin: 0;
  color: var(--lp-muted);
  font-size: clamp(1.03rem, 1.6vw, 1.25rem);
}

.lp-hero-actions,
.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 28px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: normal;
}

.lp-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.lp-btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-purple));
  box-shadow: 0 18px 46px rgba(0, 212, 255, 0.18);
}

.lp-btn-whatsapp {
  border-color: rgba(37, 211, 102, 0.34);
  background: rgba(37, 211, 102, 0.1);
  color: #baf7d0;
}

.lp-btn-whatsapp:hover {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
}

.lp-hero-panel,
.lp-card,
.lp-doc-card,
.lp-toc,
.lp-cta-panel,
.lp-note {
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: var(--lp-shadow);
  backdrop-filter: blur(14px);
}

.lp-hero-panel {
  padding: 24px;
}

.lp-signal-grid {
  display: grid;
  gap: 12px;
}

.lp-signal {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.35);
}

.lp-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.86), rgba(124, 92, 255, 0.9));
}

.lp-signal strong {
  display: block;
  margin-block-end: 2px;
  color: #fff;
  font-size: 0.98rem;
}

.lp-signal span,
.lp-card p,
.lp-doc-card p,
.lp-note p {
  color: var(--lp-muted);
}

.lp-grid {
  display: grid;
  gap: 18px;
}

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

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

.lp-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.005));
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 20px 50px -10px rgba(0, 212, 255, 0.15), 0 0 30px 2px rgba(124, 92, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
}

.lp-card h3 {
  margin: 20px 0 10px;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 800;
}

.lp-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--lp-muted);
  line-height: 1.7;
  flex-grow: 1;
}

.lp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-start: 20px;
  color: var(--lp-cyan);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.92rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.lp-card-link:hover {
  color: #fff;
  gap: 12px;
}

.lp-card-link i {
  transition: transform 0.2s ease;
}

.lp-card-link:hover i {
  transform: translateX(-4px);
}

.lp-sector-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px;
  min-height: 86px;
  padding: 20px;
  border-radius: 14px;
}

.lp-sector-card .lp-icon {
  flex-shrink: 0;
}

.lp-sector-card h3 {
  margin: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #fff !important;
  text-align: right !important;
}

.lp-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.lp-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-step:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.15);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
}

.lp-step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-block-end: 16px;
  border-radius: 10px;
  color: #060914;
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-purple));
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  transition: transform 0.3s ease;
}

.lp-step:hover::before {
  transform: scale(1.1);
}

.lp-step h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.lp-step p {
  margin: 0;
  color: var(--lp-muted-soft);
  font-size: 0.91rem;
  line-height: 1.7;
}

.lp-trust-list,
.lp-doc-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.lp-trust-list li,
.lp-doc-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--lp-muted);
}

.lp-trust-list i,
.lp-doc-list i {
  margin-block-start: 7px;
  color: var(--lp-cyan);
}

.lp-faq {
  display: grid;
  gap: 14px;
}

.lp-faq details {
  padding: 0;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.lp-faq details:hover,
.lp-faq details[open] {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(15, 23, 42, 0.7);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.08);
}

.lp-faq summary {
  cursor: pointer;
  padding: 20px 24px;
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: color 0.2s ease;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--lp-cyan);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.lp-faq details[open] summary::after {
  transform: rotate(180deg);
}

.lp-faq summary:hover {
  color: var(--lp-cyan);
}

.lp-faq details p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--lp-muted);
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 16px;
}

.lp-cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  border-color: rgba(0, 212, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.13), rgba(124, 92, 255, 0.12)),
    rgba(15, 23, 42, 0.72);
}

.lp-cta-panel h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.25;
}

.lp-cta-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--lp-muted);
}

.lp-doc-hero {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.lp-doc-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-block: 18px 0;
}

.lp-doc-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-block-start: 38px;
}

.lp-toc {
  position: sticky;
  top: 110px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--lp-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.lp-toc h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.lp-toc ol {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lp-toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--lp-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.2s ease;
  border-right: 2px solid transparent;
}

.lp-toc a:hover {
  color: var(--lp-cyan);
  background: rgba(0, 212, 255, 0.05);
  border-right-color: var(--lp-cyan);
  padding-right: 16px;
}

.lp-doc-content {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.lp-doc-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s ease;
  scroll-margin-top: 120px;
}

.lp-doc-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
}

.lp-doc-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  line-height: 1.4;
  font-weight: 800;
}

.lp-doc-card p {
  margin: 0 0 12px;
  color: var(--lp-muted);
  line-height: 1.8;
}

.lp-doc-card p:last-child {
  margin-block-end: 0;
}

.lp-note {
  padding: 18px;
  border-color: rgba(0, 212, 255, 0.22);
  background: rgba(0, 212, 255, 0.08);
}

.lp-note strong {
  display: block;
  margin-block-end: 6px;
  color: #fff;
}

.lp-footer-cta {
  margin-block-start: 22px;
}

.brightai-internal-links {
  padding: 30px 0 60px;
  color: var(--lp-muted);
}

.brightai-internal-links h2 {
  color: #fff;
  font-size: 1.2rem;
}

.brightai-internal-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.brightai-internal-links a {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  color: #b8f3ff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.lp-site-footer {
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 23, 0.48);
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-block: 44px;
}

.lp-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 1000;
  text-decoration: none;
}

.lp-footer-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--lp-cyan), var(--lp-purple));
}

.lp-site-footer h2,
.lp-site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.lp-site-footer p,
.lp-site-footer a,
.lp-site-footer li {
  color: var(--lp-muted);
  font-size: 0.92rem;
}

.lp-site-footer a {
  text-decoration: none;
}

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

.lp-site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lp-footer-bottom {
  padding-block: 16px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--lp-muted-soft);
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .lp-hero-grid,
  .lp-doc-layout {
    grid-template-columns: 1fr;
  }

  .lp-toc {
    position: static;
  }

  .lp-timeline,
  .lp-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 780px) {
  .lp-main {
    padding-block-start: 88px;
  }

  .lp-section {
    padding-block: 38px;
  }

  .lp-hero-actions,
  .lp-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lp-btn {
    width: 100%;
  }

  .lp-grid-3,
  .lp-grid-4,
  .lp-timeline,
  .lp-trust-list {
    grid-template-columns: 1fr;
  }

  .lp-footer-grid {
    grid-template-columns: 1fr;
  }

  .lp-card,
  .lp-hero-panel,
  .lp-doc-card,
  .lp-toc,
  .lp-cta-panel {
    border-radius: 8px;
  }
}

@media (max-width: 430px) {
  .lp-container {
    width: min(100% - 24px, var(--lp-container));
  }

  .lp-hero h1,
  .lp-doc-hero h1 {
    font-size: 2.05rem;
  }

  .lp-card,
  .lp-hero-panel,
  .lp-doc-card,
  .lp-toc,
  .lp-cta-panel {
    padding: 18px;
  }
}
