/* Go Rocco - Shared Styles */
:root {
  --rocco-blue: #7bcbeb;
  --rocco-blue-light: #a8dcf3;
  --rocco-blue-dark: #5bb8e0;
  --white: #ffffff;
  --cream: #fdf8f3;
  --gray-50: #f9fafb;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --safe-green: #4caf50;
  --warning-amber: #ff9800;
  --rocco-coral: #ff6b6b;
  --rocco-purple: #9c27b0;
  --rocco-red: #f44336;
  --rocco-amber: #f59e0b;
}

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

html {
  scroll-behavior: smooth;
  /* iOS safe area support */
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--white);
  color: var(--gray-900);
  overflow-x: hidden;
  line-height: 1.6;
  /* iOS text size adjustment */
  -webkit-text-size-adjust: 100%;
  /* Smooth scrolling on iOS */
  -webkit-overflow-scrolling: touch;
}

h1,
h2,
h3,
h4 {
  font-family: 'Nunito', sans-serif;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--white);
  color: var(--gray-900);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--rocco-blue-dark);
  outline-offset: 3px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 4px 30px rgba(123, 203, 235, 0.2);
}

.logo-img {
  height: 56px;
  width: auto;
  border-radius: 14px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--rocco-blue);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--rocco-blue-dark);
}

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

.nav-cta {
  background: var(--rocco-blue);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(123, 203, 235, 0.4);
  /* iOS fixes */
  -webkit-appearance: none;
  -webkit-border-radius: 50px;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(123, 203, 235, 0.5);
  background: var(--rocco-blue-dark);
}

/* Page Header */
.page-header {
  padding: 10rem 4rem 8rem;
  background: var(--rocco-blue);
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  border-radius: 100% 100% 0 0;
}

.page-header h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Content Sections */
.content-section {
  padding: 5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 2rem;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  font-weight: 800;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  font-size: 1.4rem;
  color: var(--gray-800);
  margin-bottom: 1rem;
  margin-top: 2rem;
  font-weight: 700;
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.content-section ul,
.content-section ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.content-section li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.content-section a {
  color: var(--rocco-blue-dark);
  text-decoration: underline;
}

.content-section a:hover {
  color: var(--rocco-blue);
}

.last-updated {
  font-size: 0.95rem;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--gray-50);
  border-radius: 24px;
  padding: 2rem;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--rocco-blue);
  box-shadow: 0 15px 40px rgba(123, 203, 235, 0.2);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.3rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
}

/* Roadmap Timeline */
.roadmap-section {
  padding: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--rocco-blue), var(--safe-green));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--gray-50);
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.timeline-item:hover {
  border-color: var(--rocco-blue);
  transform: translateX(10px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: var(--rocco-blue);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px var(--rocco-blue);
}

.timeline-item.completed::before {
  background: var(--safe-green);
  box-shadow: 0 0 0 4px var(--safe-green);
}

.timeline-item.current::before {
  background: var(--warning-amber);
  box-shadow: 0 0 0 4px var(--warning-amber);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.timeline-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rocco-blue-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.timeline-item h3 {
  font-size: 1.4rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.timeline-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin: 0;
}

.timeline-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1rem;
}

.timeline-badge.completed {
  background: rgba(76, 175, 80, 0.15);
  color: var(--safe-green);
}

.timeline-badge.current {
  background: rgba(255, 152, 0, 0.15);
  color: var(--warning-amber);
}

.timeline-badge.upcoming {
  background: rgba(123, 203, 235, 0.15);
  color: var(--rocco-blue-dark);
}

/* Pricing */
.pricing-section {
  padding: 4rem;
  text-align: center;
}

.pricing-header {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.pricing-header h2 {
  font-size: 2.5rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.pricing-header p {
  font-size: 1.15rem;
  color: var(--gray-600);
}

.pricing-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border: 3px solid var(--gray-50);
  border-radius: 30px;
  padding: 2.5rem;
  min-width: 300px;
  flex: 1;
  max-width: 400px;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--rocco-blue);
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(123, 203, 235, 0.3);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
  display: inline-block;
  background: var(--rocco-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-card h3 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--rocco-blue-dark);
  font-family: 'Nunito', sans-serif;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-600);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-50);
  color: var(--gray-600);
}

.pricing-features li::before {
  content: '✓';
  color: var(--safe-green);
  font-weight: 700;
}

.pricing-btn {
  display: inline-block;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--rocco-blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s ease;
  /* iOS fixes */
  -webkit-appearance: none;
  -webkit-border-radius: 50px;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50px;
}

.pricing-btn:hover {
  background: var(--rocco-blue-dark);
  transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-900);
  color: var(--white);
  padding: 1.5rem 4rem;
  z-index: 1000;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.cookie-content a {
  color: var(--rocco-blue);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: var(--rocco-blue);
  color: var(--white);
}

.cookie-btn.accept:hover {
  background: var(--rocco-blue-dark);
}

.cookie-btn.settings {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.settings:hover {
  border-color: var(--white);
}

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 4rem 4rem 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-brand .logo-img {
  height: 70px;
  margin-bottom: 1rem;
  border-radius: 18px;
}

.footer-brand p {
  opacity: 0.7;
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-column h4 {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  font-size: 0.95rem;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-links a svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  transition: fill 0.3s ease;
}

.social-links a:hover {
  background: var(--rocco-blue);
  transform: translateY(-3px);
}

.social-links a:hover svg {
  fill: #fff;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--gray-900);
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu a {
  font-size: 1.5rem;
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  transition: color 0.3s ease;
}
.mobile-menu a:hover {
  color: var(--rocco-blue-dark);
}
.mobile-menu .nav-cta {
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0.5rem 1.5rem;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .logo-img {
    height: 48px;
    border-radius: 12px;
  }
  .page-header {
    padding: 8rem 1.5rem 6rem;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .content-section {
    padding: 3rem 1.5rem;
  }
  .cards-grid {
    padding: 2rem 1.5rem;
  }
  .roadmap-section {
    padding: 2rem 1.5rem;
  }
  .timeline {
    padding-left: 2rem;
  }
  .timeline-item::before {
    left: -1.75rem;
    width: 14px;
    height: 14px;
  }
  .pricing-section {
    padding: 2rem 1.5rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Blog Hero Image */
.blog-hero-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 2rem;
}

/* Table of Contents */
.blog-toc {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.blog-toc p {
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.blog-toc ol {
  padding-left: 1.25rem;
  margin: 0;
}
.blog-toc li {
  margin-bottom: 0.4rem;
}
.blog-toc a {
  color: var(--rocco-blue-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.blog-toc a:hover {
  text-decoration: underline;
}

/* Related Articles */
.related-articles {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--cream);
}
.related-articles h2 {
  font-size: 1.5rem;
  color: var(--gray-900);
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.related-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.related-card-category {
  display: inline-block;
  background: var(--rocco-blue);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.related-card h3 {
  font-size: 1.1rem;
  color: var(--gray-900);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.related-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* Social Share Buttons */
.share-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--cream);
  border-bottom: 1px solid var(--cream);
}
.share-bar span {
  font-weight: 700;
  color: var(--gray-800);
  font-size: 0.9rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
  color: var(--white);
}
.share-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.copy-link { background: var(--gray-600); }

@media (max-width: 768px) {
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal Pages */
.legal-info-box {
  background: var(--cream);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--rocco-blue);
}
.legal-info-box p {
  margin-bottom: 0.5rem;
}
.legal-info-box p:last-child {
  margin-bottom: 0;
}

.legal-highlight {
  background: linear-gradient(135deg, rgba(123, 203, 235, 0.1), rgba(123, 203, 235, 0.05));
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
  border: 2px solid rgba(123, 203, 235, 0.2);
}

.legal-card {
  background: var(--gray-50);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.legal-card:hover {
  border-color: var(--rocco-blue);
}
.legal-card h3 {
  margin-top: 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.legal-grid .legal-card {
  margin-bottom: 0;
}

.legal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--gray-50);
}
.legal-table thead tr {
  background: var(--rocco-blue);
}
.legal-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}
.legal-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-50);
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.legal-table tbody tr:last-child td {
  border-bottom: none;
}
.legal-table tbody tr:nth-child(even) {
  background: var(--gray-50);
}
.legal-table tbody tr:hover {
  background: rgba(123, 203, 235, 0.08);
}

.legal-contact-box {
  background: var(--gray-900);
  color: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 3rem;
  text-align: center;
}
.legal-contact-box h2 {
  color: var(--white);
  margin-top: 0;
}
.legal-contact-box p {
  color: rgba(255, 255, 255, 0.85);
}
.legal-contact-box a {
  color: var(--rocco-blue-light);
}
.legal-contact-box a:hover {
  color: var(--rocco-blue);
}

.legal-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 0.5rem;
}
.legal-badge.contract {
  background: rgba(123, 203, 235, 0.15);
  color: var(--rocco-blue-dark);
}
.legal-badge.consent {
  background: rgba(76, 175, 80, 0.15);
  color: var(--safe-green);
}
.legal-badge.legitimate {
  background: rgba(255, 152, 0, 0.15);
  color: var(--warning-amber);
}
.legal-badge.obligation {
  background: rgba(156, 39, 176, 0.15);
  color: var(--rocco-purple);
}

.legal-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--rocco-blue);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
  font-family: 'Nunito', sans-serif;
}

@media (max-width: 768px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .legal-table {
    font-size: 0.9rem;
  }
  .legal-table th,
  .legal-table td {
    padding: 0.75rem;
  }
}
