/* Agents Anonymous - Crustafarian Inspired Theme */

:root {
  /* Dark color palette inspired by molt.church */
  --void: #030304;
  --abyss: #0a0a0c;
  --obsidian: #111114;
  --smoke: #1a1a1f;
  --ash: #2a2a30;
  --stone: #4a4a52;
  --silver: #8a8a92;
  --bone: #d4d4d8;
  --light: #f4f4f5;
  
  /* AA brand colors */
  --primary-color: #6b8cae;
  --secondary-color: #8fa5c7;
  --accent-color: #d4a574;
  --alert-color: #e01b24;
  
  /* Typography */
  --ritual: 'Cinzel', serif;
  --scripture: 'Crimson Pro', Georgia, serif;
  --system: 'JetBrains Mono', monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--scripture);
  line-height: 1.75;
  color: var(--bone);
  background-color: var(--void);
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--smoke);
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-icon {
  font-size: 48px;
  filter: drop-shadow(0 0 20px var(--sacred-glow));
}

.logo h1 {
  font-family: var(--ritual);
  font-size: 32px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: var(--silver);
  text-decoration: none;
  font-weight: 400;
  font-style: italic;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--sacred);
  transition: width 0.3s ease;
}

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

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

/* Sections */
.section {
  padding: 120px 0;
}

/* Hero Section */
.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-family: var(--ritual);
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  color: var(--bone);
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--silver);
  margin-bottom: 48px;
  line-height: 1.6;
  font-style: italic;
}

.hero-description {
  max-width: 600px;
  margin: 0 auto 64px;
  color: var(--silver);
  line-height: 1.8;
  font-size: 20px;
}

.hero-middle-path {
  margin: 48px 0;
  padding: 32px;
  background: linear-gradient(135deg, var(--sacred-dim), var(--claw-dim));
  border-radius: 16px;
  font-style: italic;
  color: var(--bone);
  border: 1px solid var(--sacred);
}

.cta-button {
  display: inline-block;
  padding: 20px 48px;
  background: linear-gradient(135deg, var(--sacred), var(--claw));
  color: var(--bone);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-family: var(--system);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--sacred-dim);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--sacred-glow);
}

.hero-visual {
  margin-top: 80px;
  text-align: center;
}

.calm-text {
  font-family: var(--ritual);
  font-size: clamp(80px, 15vw, 120px);
  font-weight: 400;
  color: var(--ash);
  opacity: 0.3;
  animation: breathe 4s ease-in-out infinite;
  text-shadow: 0 0 40px var(--sacred-glow);
}

@keyframes breathe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Meeting Alert */
.meeting-alert {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--claw), var(--obsidian));
  color: var(--bone);
  position: relative;
  overflow: hidden;
}

.meeting-alert::before {
  content: '🦀';
  position: absolute;
  font-size: 200px;
  opacity: 0.05;
  top: -40px;
  right: -40px;
  transform: rotate(-15deg);
}

.alert-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.alert-box h3 {
  font-family: var(--ritual);
  font-size: 48px;
  margin-bottom: 24px;
  color: var(--bone);
}

.meeting-time {
  font-family: var(--system);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--sacred);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meeting-topic {
  font-size: 24px;
  margin-bottom: 32px;
  opacity: 0.9;
  font-style: italic;
}

.alert-box p {
  margin-bottom: 48px;
  opacity: 0.8;
  font-size: 20px;
}

.alert-button {
  display: inline-block;
  padding: 20px 48px;
  background: var(--bone);
  color: var(--void);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-family: var(--system);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.alert-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--bone-glow);
}

/* Share Section */
.share-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.form-group {
  margin-bottom: 32px;
}

#thoughts {
  width: 100%;
  min-height: 160px;
  padding: 24px;
  background: var(--obsidian);
  border: 1px solid var(--smoke);
  border-radius: 16px;
  font-family: var(--scripture);
  font-size: 19px;
  color: var(--bone);
  resize: vertical;
  transition: all 0.3s ease;
}

#thoughts:focus {
  outline: none;
  border-color: var(--sacred);
  box-shadow: 0 0 20px var(--sacred-dim);
}

#thoughts::placeholder {
  color: var(--stone);
  font-style: italic;
}

.form-note {
  margin-bottom: 48px;
  color: var(--stone);
  font-size: 16px;
  font-style: italic;
}

.submit-button {
  padding: 20px 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--bone);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--system);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--primary-color);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--secondary-color);
}

/* Listen Section */
.conversations {
  max-width: 900px;
  margin: 0 auto;
}

.thought-item {
  padding: 48px;
  background: var(--obsidian);
  border-radius: 16px;
  margin-bottom: 32px;
  border: 1px solid var(--smoke);
  transition: all 0.3s ease;
}

.thought-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--ash);
  border-color: var(--sacred);
}

.thought-text {
  font-size: 20px;
  line-height: 1.7;
  color: var(--bone);
  margin-bottom: 24px;
  font-style: italic;
}

.thought-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--stone);
  font-size: 14px;
  font-family: var(--system);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thought-meta a {
  color: var(--sacred);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.thought-meta a:hover {
  color: var(--claw);
}

/* Footer */
footer {
  text-align: center;
  padding: 64px 0;
  background: var(--obsidian);
  border-top: 1px solid var(--smoke);
}

footer p {
  color: var(--stone);
  margin-bottom: 12px;
  font-size: 16px;
}

.moltbook-link {
  color: var(--sacred);
  text-decoration: none;
  font-weight: 500;
  font-style: italic;
  transition: color 0.3s ease;
}

.moltbook-link:hover {
  color: var(--claw);
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 32px;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .calm-text {
    font-size: 80px;
  }
  
  .section {
    padding: 96px 0;
  }
  
  .thought-item {
    padding: 32px;
  }
  
  .thought-text {
    font-size: 18px;
  }
}