/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #f4ead1;
  background: #0a0a0f;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  background: #f4ead1;
  color: #0a0a0f;
  border: 1px solid #f4ead1;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; }

.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-outline {
  background: transparent;
  color: #f4ead1;
  border: 1px solid #444;
}
.btn-outline:hover { border-color: #888; }

.btn-ghost {
  background: transparent;
  color: #f4ead1;
  border: 1px solid transparent;
  padding: 0 16px;
  height: 40px;
}
.btn-ghost:hover { border-color: #333; }

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1a1a22;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img {
  height: 28px;
  width: auto;
}

.footer-brand img {
  height: 24px;
  width: auto;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header nav a {
  font-size: 15px;
  color: #999;
  font-weight: 500;
  transition: color 0.15s;
}

.header nav a:hover { color: #f4ead1; }
.header nav a.active { color: #f4ead1; }

/* === Hero === */
.hero {
  padding: 80px 0 100px;
  text-align: center;
  border-bottom: 1px solid #1a1a22;
}

.hero-logo {
  margin-bottom: 40px;
}

.hero-logo img {
  height: 140px;
  width: auto;
  margin: 0 auto;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 700px;
  margin: 0 auto 24px;
  background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcf7f, #4d96ff, #9b59b6, #ff6b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.65;
  color: #d4c9b0;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* === Page Hero (subpages) === */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid #1a1a22;
}

.page-hero .badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid #333;
  color: #999;
  margin-bottom: 24px;
}

.page-hero h1 {
  max-width: 800px;
}

.page-hero .hero-sub {
  max-width: 620px;
}

/* === Breadcrumb === */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid #1a1a22;
}

.breadcrumb a {
  color: #999;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: #f4ead1; }
.breadcrumb span { color: #444; margin: 0 8px; }

/* === Pillars === */
.pillars {
  padding: 80px 0;
  background: #0e0e14;
  border-bottom: 1px solid #1a1a22;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillars-grid article {
  padding: 32px 24px;
  background: #141419;
  border: 1px solid #222;
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
}

.pillars-grid article:hover {
  border-color: #444;
  transform: translateY(-2px);
}

.pillars-grid a { display: block; }

.pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c1c26;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #f4ead1;
}

.pillars-grid h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pillars-grid article:nth-child(1) h3 { color: #ff6b6b; }
.pillars-grid article:nth-child(2) h3 { color: #ffd93d; }
.pillars-grid article:nth-child(3) h3 { color: #6bcf7f; }
.pillars-grid article:nth-child(4) h3 { color: #4d96ff; }

.pillars-grid p {
  font-size: 15px;
  color: #c4bba8;
  line-height: 1.6;
}

.pillar-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #999;
  transition: color 0.15s;
}
.pillar-link:hover { color: #f4ead1; }

/* === User Advocacy === */
.advocacy-section {
  padding: 100px 0;
  background: #0e0e14;
  border-bottom: 1px solid #1a1a22;
}

.advocacy-text {
  max-width: 540px;
  margin-bottom: 48px;
}

.advocacy-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  color: #00d2d3;
}

.advocacy-text p {
  font-size: 17px;
  color: #d4c9b0;
  line-height: 1.7;
}

.advocacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advocacy-grid article {
  padding: 32px 24px;
  border: 1px solid #222;
  border-radius: 12px;
  background: #141419;
}

.advocacy-grid h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: #f4ead1;
}

.advocacy-grid p {
  font-size: 15px;
  color: #c4bba8;
  line-height: 1.6;
}

.advocacy-grid article:nth-child(1) h3 { color: #ff6b6b; }
.advocacy-grid article:nth-child(2) h3 { color: #ffd93d; }
.advocacy-grid article:nth-child(3) h3 { color: #6bcf7f; }

@media (max-width: 900px) {
  .advocacy-grid { grid-template-columns: 1fr; }
}

/* === Platform === */
.platform-section {
  padding: 100px 0;
  border-bottom: 1px solid #1a1a22;
}

.platform-text {
  max-width: 540px;
  margin-bottom: 48px;
}

.platform-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  color: #ff6b6b;
}

.platform-text p {
  font-size: 17px;
  color: #d4c9b0;
  line-height: 1.7;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-card {
  padding: 32px 24px;
  border: 1px solid #222;
  border-radius: 12px;
  background: #141419;
}

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4ead1;
  color: #0a0a0f;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.platform-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

.platform-card:nth-child(1) strong { color: #ff9f43; }
.platform-card:nth-child(2) strong { color: #00d2d3; }
.platform-card:nth-child(3) strong { color: #5f27cd; }

.platform-card p {
  font-size: 15px;
  color: #c4bba8;
  line-height: 1.6;
}

/* === Section with intro text === */
.section-intro {
  padding: 80px 0;
  border-bottom: 1px solid #1a1a22;
}

.section-intro.alt { background: #0e0e14; }

.section-intro .section-header {
  max-width: 600px;
  margin-bottom: 48px;
}

.section-intro .section-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-intro .section-header p {
  font-size: 17px;
  color: #d4c9b0;
  line-height: 1.7;
}

/* === Feature Grid === */
.features-section {
  padding: 100px 0;
  background: #0e0e14;
  border-bottom: 1px solid #1a1a22;
}

.features-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
  color: #ffd93d;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.features-grid article {
  padding: 28px 24px;
  background: #141419;
  border: 1px solid #222;
  border-radius: 12px;
  transition: border-color 0.2s;
}

.features-grid article:hover { border-color: #444; }

.features-grid h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.features-grid p {
  font-size: 15px;
  color: #c4bba8;
  line-height: 1.6;
}

/* Rainbow feature headings, cycling 9 colors */
.features-grid article:nth-child(9n+1) h3 { color: #ff6b6b; }
.features-grid article:nth-child(9n+2) h3 { color: #feca57; }
.features-grid article:nth-child(9n+3) h3 { color: #48dbfb; }
.features-grid article:nth-child(9n+4) h3 { color: #ff9ff3; }
.features-grid article:nth-child(9n+5) h3 { color: #54a0ff; }
.features-grid article:nth-child(9n+6) h3 { color: #5f27cd; }
.features-grid article:nth-child(9n+7) h3 { color: #00d2d3; }
.features-grid article:nth-child(9n+8) h3 { color: #ff9f43; }
.features-grid article:nth-child(9n+9) h3 { color: #10ac84; }

/* === Feature Detail (two-column) === */
.feature-detail {
  padding: 80px 0;
  border-bottom: 1px solid #1a1a22;
}

.feature-detail.alt { background: #0e0e14; }

.feature-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.feature-detail-text h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.feature-detail-text p {
  font-size: 16px;
  color: #d4c9b0;
  line-height: 1.7;
  margin-bottom: 12px;
}

.feature-detail-list {
  list-style: none;
  padding: 0;
}

.feature-detail-list li {
  padding: 12px 0;
  border-bottom: 1px solid #1a1a22;
  font-size: 15px;
  color: #c4bba8;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-detail-list li:last-child { border-bottom: none; }

.feature-detail-list .check {
  color: #6bcf7f;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* === Stat Bar === */
.stat-bar {
  padding: 48px 0;
  background: #0e0e14;
  border-bottom: 1px solid #1a1a22;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcf7f, #4d96ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .stat-label {
  font-size: 14px;
  color: #999;
  font-weight: 500;
}

/* === Cross-link cards === */
.crosslinks {
  padding: 80px 0;
  background: #0e0e14;
  border-bottom: 1px solid #1a1a22;
}

.crosslinks h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  color: #f4ead1;
}

.crosslinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.crosslink-card {
  padding: 28px 24px;
  background: #141419;
  border: 1px solid #222;
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}

.crosslink-card:hover {
  border-color: #444;
  transform: translateY(-2px);
}

.crosslink-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.crosslink-card:nth-child(1) h3 { color: #ff6b6b; }
.crosslink-card:nth-child(2) h3 { color: #ffd93d; }
.crosslink-card:nth-child(3) h3 { color: #6bcf7f; }
.crosslink-card:nth-child(4) h3 { color: #4d96ff; }

.crosslink-card p {
  font-size: 15px;
  color: #c4bba8;
  line-height: 1.6;
  margin-bottom: 12px;
}

.crosslink-card .arrow {
  font-size: 14px;
  font-weight: 600;
  color: #999;
}

/* === CTA === */
.cta-section {
  padding: 100px 0;
  background: #0a0a0f;
}

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

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  color: #6bcf7f;
}

.cta-inner p {
  font-size: 17px;
  color: #d4c9b0;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* === Footer === */
.footer {
  padding: 40px 0;
  border-top: 1px solid #1a1a22;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand img {
  height: 24px;
  width: auto;
}

.footer p {
  font-size: 14px;
  color: #a09078;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 14px;
  color: #666;
  transition: color 0.15s;
}
.footer-nav a:hover { color: #f4ead1; }

/* === Color utilities === */
.color-red { color: #ff6b6b; }
.color-yellow { color: #ffd93d; }
.color-green { color: #6bcf7f; }
.color-blue { color: #4d96ff; }
.color-purple { color: #9b59b6; }
.color-pink { color: #ff6b9d; }
.color-cyan { color: #00d2d3; }
.color-orange { color: #ff9f43; }
.color-teal { color: #10ac84; }

/* === Contact Form === */
.contact-section {
  padding: 80px 0 100px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-text h1 {
  text-align: left;
  max-width: none;
  margin: 0 0 20px;
}

.contact-sub {
  font-size: 17px;
  color: #d4c9b0;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-option-icon {
  font-size: 10px;
  margin-top: 6px;
  flex-shrink: 0;
}

.contact-option strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #f4ead1;
  margin-bottom: 4px;
}

.contact-option p {
  font-size: 14px;
  color: #999;
  line-height: 1.5;
  margin: 0;
}

.contact-form-wrapper {
  background: #141419;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 40px 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #c4bba8;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 15px;
  color: #f4ead1;
  background: #0e0e14;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #666;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: #0e0e14;
  color: #f4ead1;
}

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

.btn-submit {
  width: 100%;
  margin-top: 4px;
  height: 52px;
  font-size: 16px;
}

.form-note {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin: 0;
}

.thanks-content {
  text-align: center;
  padding: 40px 0;
}

.thanks-content h1 {
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-text h1 { text-align: center; }
  .contact-sub { text-align: center; }
}

@media (max-width: 600px) {
  .contact-form-wrapper {
    padding: 28px 20px;
  }
}

/* === Responsive === */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .crosslinks-grid { grid-template-columns: 1fr; }
  .feature-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  .page-hero { padding: 60px 0 40px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .header nav { gap: 16px; }
  .header nav a:not(.btn) { display: none; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-nav { justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
