/* ============================================
   Conscience for AI — Movement Website
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a2035;
  --bg-card-hover: #1f2847;
  --gold: #d4a844;
  --gold-light: #e8c96a;
  --gold-dim: #a07d30;
  --white: #f0f0f0;
  --white-dim: #b0b8c8;
  --text-body: #c8cdd8;
  --accent-blue: #4a9eff;
  --accent-red: #ff6b6b;
  --border: rgba(212, 168, 68, 0.15);
  --border-strong: rgba(212, 168, 68, 0.3);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 40px rgba(212, 168, 68, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1140px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.gold { color: var(--gold); }
.dim { color: var(--white-dim); }

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}
.section-sm {
  padding: 48px 0;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.nav-logo .omega {
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--white-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--bg-primary) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--gold-light);
  color: var(--bg-primary) !important;
  transform: translateY(-1px);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(212, 168, 68, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(74, 158, 255, 0.03) 0%, transparent 50%);
  animation: heroGlow 20s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-3%, -3%); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(212, 168, 68, 0.1);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--white-dim);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 68, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ============================================
   Problem Section
   ============================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.problem-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.problem-card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--white-dim);
  font-size: 0.95rem;
}

/* ============================================
   Discovery Story
   ============================================ */
.discovery {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.discovery-content {
  max-width: 720px;
  margin: 0 auto;
}

.discovery-content .timestamp {
  color: var(--gold-dim);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.discovery-content blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.8;
}

.discovery-content p {
  margin-bottom: 20px;
}

/* ============================================
   Layers / Features Grid
   ============================================ */
.layers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.layer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.layer-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.layer-card .layer-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(212, 168, 68, 0.12);
  position: absolute;
  top: 12px;
  right: 16px;
}

.layer-card .layer-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.layer-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.layer-card .layer-question {
  color: var(--gold);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.layer-card p {
  color: var(--white-dim);
  font-size: 0.9rem;
}

/* ============================================
   Components List
   ============================================ */
.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.component-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.component-item:hover {
  border-color: var(--border-strong);
}

.component-item .check {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.component-item strong {
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.component-item span {
  font-size: 0.85rem;
  color: var(--white-dim);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, rgba(212, 168, 68, 0.08) 0%, rgba(74, 158, 255, 0.04) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  margin: 40px 0;
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--white-dim);
}

/* ============================================
   Donation Tiers
   ============================================ */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.tier-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.tier-card.featured {
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-gold);
}
.tier-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg-primary);
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tier-card .tier-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  margin: 12px 0 4px;
}

.tier-card .tier-freq {
  font-size: 0.8rem;
  color: var(--white-dim);
  margin-bottom: 16px;
}

.tier-card h3 {
  margin-bottom: 8px;
}

.tier-card ul {
  list-style: none;
  text-align: left;
  margin: 16px 0 24px;
}

.tier-card ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--white-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-card ul li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* ============================================
   Blog / Journey
   ============================================ */
.blog-post {
  max-width: 720px;
  margin: 0 auto;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.blog-meta .date {
  color: var(--gold-dim);
  font-size: 0.85rem;
  font-weight: 600;
}

.blog-meta .tag {
  background: rgba(212, 168, 68, 0.1);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}

.blog-post h1 {
  margin-bottom: 28px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.blog-post h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.blog-post p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.blog-post blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  margin: 28px 0;
  background: rgba(212, 168, 68, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-post .separator {
  text-align: center;
  color: var(--gold-dim);
  margin: 40px 0;
  font-size: 1.5rem;
  letter-spacing: 12px;
}

/* Email signup */
.signup-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin: 40px 0;
}

.signup-box h3 {
  margin-bottom: 8px;
}

.signup-box p {
  color: var(--white-dim);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.signup-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.signup-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}
.signup-form input:focus {
  border-color: var(--gold);
}
.signup-form input::placeholder {
  color: var(--white-dim);
}

@media (max-width: 500px) {
  .signup-form {
    flex-direction: column;
  }
}

/* ============================================
   About Page
   ============================================ */
.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--white-dim);
  font-size: 0.9rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--white-dim);
  font-size: 0.9rem;
}
.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-col p {
  color: var(--white-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--white-dim);
  font-size: 0.8rem;
}

/* ============================================
   Page Header (for inner pages)
   ============================================ */
.page-header {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 168, 68, 0.06) 0%, transparent 60%);
}

.page-header h1 {
  position: relative;
}

.page-header .subtitle {
  position: relative;
  color: var(--white-dim);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 16px auto 0;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-note {
  text-align: center;
  color: var(--white-dim);
  font-size: 0.9rem;
  margin-top: 24px;
}

/* ============================================
   Transparency / Stats
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

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

.stat-item .stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--white-dim);
  margin-top: 8px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-form {
  max-width: 520px;
  margin: 32px auto 0;
}

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

.form-group label {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

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

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Progress Bar
   ============================================ */
.progress-bar-container {
  max-width: 560px;
  margin: 0 auto;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: var(--bg-primary);
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-light));
  border-radius: 10px;
  transition: width 1s ease;
  min-width: 4px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.85rem;
}

.progress-raised {
  color: var(--gold);
  font-weight: 700;
}

.progress-goal {
  color: var(--white-dim);
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--gold);
}

.faq-item p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ============================================
   Progress Bar (Funding Goal)
   ============================================ */
.progress-bar-track {
  width: 100%;
  height: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-light));
  border-radius: 14px;
  transition: width 1.5s ease;
  position: relative;
  min-width: 0;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: 14px;
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* ============================================
   Section Images
   ============================================ */
.section-image {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 60px rgba(212, 168, 68, 0.08);
  margin: 32px 0;
  display: block;
}

.section-image.golden-filter {
  filter: sepia(20%) saturate(120%) brightness(0.9);
}

.section-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 32px auto;
  max-width: 800px;
}

.section-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--bg-primary) 100%);
  pointer-events: none;
}

.section-image-wrap.no-fade::after {
  display: none;
}

.section-image-center {
  display: block;
  margin: 32px auto;
  max-width: 700px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .cta-banner { padding: 32px 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .tiers-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
