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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  min-height: 100vh;
  line-height: 1.6;
}

a { color: #3b82f6; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
.site-nav {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 0 1.5rem;
}

.site-nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 3.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav-inner::-webkit-scrollbar { display: none; }

.nav-logo {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  text-decoration: none;
  margin-right: auto;
}

.nav-logo:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover { color: #e2e8f0; text-decoration: none; }
.nav-links a.active { color: #ffffff; }

.nav-cta {
  padding: 0.375rem 0.875rem;
  background: #3b82f6;
  color: #ffffff !important;
  border-radius: 0.5rem;
  font-weight: 600 !important;
  transition: background-color 0.15s;
}

.nav-cta:hover { background: #2563eb; color: #ffffff !important; }

/* ── Page container ── */
.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 3.5rem 0 2.5rem;
}

.hero-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: #94a3b8;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, background-color 0.15s;
}

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

.btn-primary {
  background: #3b82f6;
  color: #ffffff;
}

.btn-secondary {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid #334155;
}

.btn-submit {
  background: #3b82f6;
  color: #ffffff;
  width: 100%;
  justify-content: center;
  padding: 0.875rem;
  font-size: 1rem;
}

/* ── Section headings ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 2.5rem 0;
}

.feature-card {
  background: #1e293b;
  border-radius: 0.875rem;
  padding: 1.25rem 1.5rem;
}

.feature-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.625rem;
  display: block;
}

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.375rem;
}

.feature-card p {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* ── Feature detail sections ── */
.feature-section {
  padding: 2rem 0;
  border-bottom: 1px solid #1e293b;
}

.feature-section:last-child { border-bottom: none; }

.feature-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-section p,
.feature-section li {
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.feature-section ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

details.faq-item {
  background: #1e293b;
  border-radius: 0.75rem;
  overflow: hidden;
}

details.faq-item summary {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

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

details.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

details.faq-item .faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
  border-top: 1px solid #0f172a;
  padding-top: 0.875rem;
}

details.faq-item .faq-answer ol,
details.faq-item .faq-answer ul {
  padding-left: 1.5rem;
}

/* ── Messenger card ── */
.messenger-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.messenger-body {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.messenger-icon {
  flex-shrink: 0;
}

.messenger-text strong {
  display: block;
  color: #f1f5f9;
  font-size: 1rem;
}

.messenger-text p {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  color: #94a3b8;
}

.btn-messenger {
  background: #ffffff;
  color: #1a1a1a;
  border: none;
  flex-shrink: 0;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
}

.btn-messenger:hover {
  background: #f1f5f9;
  opacity: 1;
}

/* ── Form divider ── */
.form-divider {
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #475569;
  font-size: 0.875rem;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #334155;
}

/* ── Forms ── */
.form-card {
  background: #1e293b;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 560px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: #e2e8f0;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color 0.15s;
  outline: none;
}

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

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  background: #052e16;
  color: #4ade80;
  border: 1px solid #166534;
}

.form-status.error {
  background: #2d0a0a;
  color: #f87171;
  border: 1px solid #7f1d1d;
}

/* ── Page title ── */
.page-header {
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1rem;
  color: #94a3b8;
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  color: #475569;
  font-size: 0.8125rem;
  padding: 2rem 1.5rem;
  border-top: 1px solid #1e293b;
  margin-top: 2rem;
}

.site-footer a { color: #64748b; }
