:root {
  --bg-main: #0D0D0D;
  --bg-card: rgba(20, 20, 20, 0.6);
  --bg-input: rgba(30, 30, 30, 0.8);
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --accent-neon: #38BDF8;
  --accent-hover: #0EA5E9;
  --border-color: rgba(255, 255, 255, 0.1);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glass-filter: blur(12px);
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--accent-neon);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

strong {
  color: #FFFFFF;
}

/* Layout */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-icon-only {
  height: 32px;
  width: auto;
}

.brand-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-word-project {
  color: #FFFFFF;
}

.brand-sparkle {
  color: var(--accent-neon);
  margin: 0 0.25rem;
}

.brand-word-legacy {
  color: #FFFFFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.model-continuum-pill {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25), inset 0 0 8px rgba(5, 150, 105, 0.2);
  padding: 0.35rem 0.95rem;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.model-continuum-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(249, 224, 118, 0.8);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.45);
}

.continuum-pill-icon {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(249, 224, 118, 0.8);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
  animation: rotate-pulse 8s linear infinite;
}

@keyframes rotate-pulse {
  0% { filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.6)); }
  50% { filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.8)); }
  100% { filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.6)); }
}

.continuum-pill-text {
  font-weight: 700;
  font-size: 0.82rem;
  background: linear-gradient(135deg, #ffffff 0%, #f9e076 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: blink 1.5s infinite alternate;
}

@keyframes blink {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  flex: 1;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  margin-bottom: 2rem;
}

.compliance-header {
  margin-bottom: 3rem;
  text-align: center;
}

.last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

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

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-neon);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-neon);
  color: #000000;
  font-weight: 600;
  font-family: var(--font-sans);
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.btn-danger {
  background: #EF4444;
  color: #FFFFFF;
}

.btn-danger:hover {
  background: #DC2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Alert Box */
.alert-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
}

.alert-icon {
  color: #EF4444;
  font-size: 1.5rem;
}

/* Accordion (FAQ) */
.accordion {
  margin-top: 2rem;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-icon {
  transition: transform 0.3s ease;
  color: var(--accent-neon);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* Global Footer */
.global-footer {
  background: rgba(10, 10, 10, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
  margin-top: auto;
}

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

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer-links-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.footer-links-group h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.footer-links-group a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links-group a:hover {
  color: var(--accent-neon);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .glass-card {
    padding: 1.5rem;
  }
}
