/* ============================================================
   COMPONENTS.CSS — Buttons, Cards, Badges, Tags, Avatars
   Evolaxis Technology · Light Theme
   ============================================================ */

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  letter-spacing: -0.2px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--duration-fast) var(--ease);
}

.btn:hover::after {
  background: rgba(255,255,255,0.1);
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26,86,219,0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-blue);
}

/* Outline Button */
.btn-outline {
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-pale);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--primary);
  padding: 10px 20px;
}

.btn-ghost:hover {
  background: var(--primary-pale);
}

/* Small Button */
.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* ── FEATURE CARDS ── */
.feat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
  border-radius: 0 0 2px 2px;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.feat-card:hover::before {
  transform: scaleX(1);
}

.feat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border: 1px solid var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feat-tag {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.feat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.feat-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.feat-list {
  list-style: none;
}

.feat-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SERVICE CARDS ── */
.svc-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--duration) var(--ease);
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--blue-100);
  line-height: 1;
  margin-bottom: 14px;
}

.svc-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}

.svc-card p {
  font-size: 0.87rem;
  line-height: 1.72;
}

/* ── WHY CARDS ── */
.why-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.why-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-pale);
  border: 1px solid var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.87rem;
  line-height: 1.72;
}

/* ── STACK CARDS ── */
.stack-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.stack-card:hover {
  border-color: var(--blue-300);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.stack-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--blue-50);
  color: var(--primary);
  border: 1px solid var(--blue-200);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stack-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.stack-card p {
  font-size: 0.84rem;
  line-height: 1.7;
}

/* ── CASE CARDS ── */
.case-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.case-header {
  padding: 22px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--blue-50), var(--white));
}

.case-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 4px;
}

.case-result {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  text-align: right;
}

.case-result-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
  text-align: right;
}

.case-body {
  padding: 24px 28px 28px;
}

.case-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.case-body p {
  font-size: 0.87rem;
  line-height: 1.72;
}

/* ── TESTIMONIAL CARDS ── */
.testi-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  position: relative;
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.quote-icon {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.5rem;
  color: var(--blue-200);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

.stars {
  color: #f59e0b;
  font-size: 0.88rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-card > p {
  font-size: 0.94rem;
  line-height: 1.82;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26,86,219,0.25);
}

.author-info strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
  color: var(--text);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── TRUST PILLS ── */
.trust-pill {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1.5px solid var(--border);
  font-size: 0.83rem;
  color: var(--text-secondary);
  font-weight: 500;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease);
}

.trust-pill:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

/* ── STAT ITEMS ── */
.stat-item {
  text-align: center;
  padding: 20px 56px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── TAB BUTTONS ── */
.tab-btn {
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
  font-family: var(--font-body);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary-pale);
  border-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

/* ── SOCIAL LINKS ── */
.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background: var(--surface2);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--duration-fast) var(--ease);
}

.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ── HERO BADGE ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-pale);
  border: 1.5px solid var(--blue-200);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}

.hero-badge .pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ── TICKER ── */
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
}

.ticker-dot {
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── BTN WHITE (for dark CTA bands) ── */
.btn-white {
  background: white;
  color: var(--primary);
  border: 2px solid white;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.btn-white:hover {
  background: transparent;
  color: white;
}
