/* =============================================
   KemotechTz — components.css
   Reusable UI components
   ============================================= */

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.7rem 1.5rem;
  min-height: 44px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  opacity: 0.85;
}

/* Primary — solid fill */
.btn-primary {
  background: var(--accent-purple);
  color: #ffffff;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  background: rgba(124, 58, 237, 0.06);
}

/* WhatsApp */
.btn-wa {
  background: #25d366;
  color: #ffffff;
}

.btn-wa:hover {
  background: #1ebe5c;
  opacity: 1;
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.7rem 1rem;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(30, 27, 75, 0.05);
  transform: none;
}

/* Sizes */
.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 12px;
}

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-purple);
  background: rgba(124, 58, 237, 0.10);
  border: 1px solid rgba(124, 58, 237, 0.20);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   CARD BASE
   ============================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 6px 18px rgba(30, 27, 75, 0.10);
  transform: translateY(-3px);
}

/* =============================================
   BADGE
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
}

.badge-purple {
  background: rgba(30, 27, 75, 0.10);
  color: var(--accent-purple);
  border: 1px solid rgba(30, 27, 75, 0.20);
}

.badge-cyan {
  background: rgba(124, 58, 237, 0.10);
  color: var(--accent-cyan);
  border: 1px solid rgba(124, 58, 237, 0.20);
}

/* =============================================
   CONTAINER / LAYOUT UTILITIES
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad {
  padding: 60px 0;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }
.text-muted   { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
