/* ----------------------------------------------------
   CLAP LLC - Ultra-Minimal Stripe-Compliant Design System
---------------------------------------------------- */

:root {
  --bg-color: #0b0f17;
  --card-bg: rgba(18, 24, 38, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent-color: #6366f1;
  --accent-emerald: #10b981;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --max-width: 900px;
  --radius: 12px;
}

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

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

.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

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

/* Header */
.site-header {
  padding: 2rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 0.15rem 0.4rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent-color);
  border-radius: 4px;
}

.nav-contact-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.nav-contact-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Main & Hero */
main {
  flex-grow: 1;
}

.hero {
  padding: 4rem 0 3rem;
}

.entity-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Minimal Grid */
.services-section {
  padding: 2rem 0 3rem;
}

.minimal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.minimal-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.25s ease;
}

.minimal-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-color);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  display: inline-block;
}

.minimal-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.minimal-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Contact */
.contact-section {
  padding: 1rem 0 4rem;
}

.contact-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-email a {
  color: #ffffff;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Universal Legal Modals Overlays */
.legal-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.legal-modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #0f1523;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--text-main);
  max-width: 600px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  animation: modalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.modal-header h2 {
  font-size: 1.25rem;
  color: #ffffff;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.5rem;
}

.close-btn:hover {
  color: #ffffff;
}

.modal-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 60vh;
  overflow-y: auto;
}

.meta-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-emerald);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal button {
  background: none;
  border: none;
  color: var(--accent-color);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: underline;
}

.footer-legal button:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
