/* ===== Reset & base ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.65;
}

a {
  color: #4f46e5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  line-height: 1.2;
  margin-top: 0;
}

ul, ol {
  padding-left: 1.4rem;
}

/* ===== Layout helpers ===== */
.container {
  width: min(900px, 92vw);
  margin: 0 auto;
}

/* ===== Header / nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
}

nav a:hover {
  color: #4f46e5;
  text-decoration: none;
}

.btn-nav {
  background: #0f172a;
  color: #fff !important;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

.btn-nav:hover {
  background: #1e293b;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

.btn-primary {
  background: #4f46e5;
  color: #fff;
}

.btn-slack {
  background: #4A154B;
  color: #fff;
}

.btn-secondary {
  background: #0f172a;
  color: #fff;
}

.btn-outline {
  border: 2px solid #4f46e5;
  color: #4f46e5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  color: #fff;
  padding: 5rem 0 4.5rem;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 640px;
  color: #c7d2fe;
  margin-bottom: 2rem;
}

.hero-sub a {
  color: #a5b4fc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ===== Sections ===== */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: #f1f5f9;
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== Card grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.9rem;
  color: #475569;
  margin: 0 0 1rem;
}

.card .btn {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* ===== Featured project ===== */
.featured-project {
  background: #fff;
  border: 2px solid #4f46e5;
  border-radius: 14px;
  padding: 1.5rem 2rem;
  margin-top: 1rem;
}

.featured-project h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.featured-project p {
  color: #475569;
  margin: 0;
}

/* ===== Project list ===== */
.project-list {
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-list li {
  font-size: 0.95rem;
}

/* ===== Team ===== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.team-member {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 2rem;
}

.team-member h3 {
  margin: 0;
  font-size: 1rem;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: #4f46e5;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: #475569;
}

/* ===== Setup steps ===== */
.setup-steps {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.setup-steps li {
  font-size: 0.95rem;
  color: #1e293b;
}

code {
  background: #f1f5f9;
  padding: 0.15em 0.4em;
  border-radius: 5px;
  font-size: 0.9em;
}

/* ===== Section sub-heading spacing ===== */
.section-subheading {
  margin-top: 2.5rem;
}

/* ===== Footer ===== */
.site-footer-bottom {
  background: #0f172a;
  color: #94a3b8;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer-bottom a {
  color: #94a3b8;
}

.site-footer-bottom p {
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  nav {
    gap: 0.6rem;
  }
  .hero {
    padding: 3.5rem 0 3rem;
  }
}
