/* Home page only. Shared styles: ../site.css */

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; background: var(--primary); color: white; border: none;
  border-radius: var(--radius); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; font-family: inherit; box-shadow: var(--shadow);
}
.hero-cta:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-cta svg { width: 18px; height: 18px; }

/* ------ PILLARS (4 integrated pillars, each with multiple modules) ------ */
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pillar-card {
  padding: 36px; background: var(--bg);
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  transition: all 0.25s;
}
.pillar-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.pillar-icon {
  width: 56px; height: 56px;
  background: rgba(51, 105, 231, 0.08); color: var(--primary);
  border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 22px;
}
.pillar-icon svg { width: 28px; height: 28px; stroke-width: 2; }
.pillar-card h3 {
  font-size: 22px; font-weight: 800; color: var(--text);
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.pillar-card > p {
  font-size: 15px; color: var(--text-muted);
  margin-bottom: 22px; line-height: 1.55;
}
.pillar-features { list-style: none; margin: 0; padding: 0; }
.pillar-features li {
  padding: 12px 0 12px 32px; position: relative;
  font-size: 14.5px; line-height: 1.5; color: var(--text-muted);
  border-top: 1px solid var(--border-light);
}
.pillar-features li:first-child { border-top: none; padding-top: 6px; }
.pillar-features li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 20px; height: 20px; border-radius: 50%;
  background-color: rgba(51, 105, 231, 0.1);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233369e7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px 12px;
  background-position: center; background-repeat: no-repeat;
}
.pillar-features li:first-child::before { top: 10px; }
.pillar-features li strong { color: var(--text); font-weight: 700; }

/* ------ SECURITY (engineering, not just compliance) ------ */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.security-card {
  padding: 32px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  transition: all 0.25s;
}
.security-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.security-icon {
  width: 48px; height: 48px;
  background: var(--primary); color: white;
  border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 20px;
}
.security-icon svg { width: 24px; height: 24px; stroke-width: 2; }
.security-card h3 {
  font-size: 18px; font-weight: 700; color: var(--text);
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.security-list { list-style: none; margin: 0; padding: 0; }
.security-list li {
  padding: 8px 0 8px 26px; position: relative;
  font-size: 14px; line-height: 1.5; color: var(--text-muted);
}
.security-list li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233369e7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2 4 5v6c0 5 3.5 9.5 8 11 4.5-1.5 8-6 8-11V5l-8-3z'/><path d='m9 12 2 2 4-4'/></svg>");
  background-size: contain; background-repeat: no-repeat;
}

/* ------ WHY (8 differentiators) ------ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; max-width: 1200px; margin: 0 auto; }
.why-item { display: flex; gap: 16px; }
.why-check {
  flex: 0 0 36px; width: 36px; height: 36px;
  background: var(--success); color: white; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.why-check svg { width: 18px; height: 18px; }
.why-item h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; letter-spacing: -0.01em; }
.why-item p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 960px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .pillars-grid, .why-grid, .security-grid { grid-template-columns: 1fr; gap: 20px; }
  .pillar-card, .security-card { padding: 28px; }
}
