/* ==========================================================================
   MENA.ME — Component Styles
   Dark brutalist aesthetic. Sharp edges. No compromises.
   ========================================================================== */

/* ==========================================================================
   BUTTONS
   ========================================================================== */

/* Base button reset */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.875em 1.75em;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Primary — aggressive, solid */
.btn-primary {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
  border-radius: 2px;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 0 1px var(--accent),
    0 0 30px var(--accent-muted),
    0 0 60px rgba(255, 61, 0, 0.2);
}

.btn-primary:active {
  transform: scale(0.98);
}


/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */

.product-card {
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border);
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition:
    transform 0.4s var(--ease-out-expo),
    border-color 0.3s ease;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.product-card:hover::before {
  opacity: 0.1;
}

/* Product icon area */
.product-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-size: 1.75rem;
  color: var(--accent);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.product-card:hover .product-card__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}

.product-card__tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.product-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.3s var(--ease-out-expo);
}

.product-card__link:hover {
  gap: 1em;
}

.product-card__link::after {
  content: '→';
  transition: transform 0.3s var(--ease-out-expo);
}

.product-card:hover .product-card__link::after {
  transform: translateX(4px);
}


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

/* Screen reader only - visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
