/* ===========================
   Social Media Ad Packages page
   Extends style.css tokens only — no shared rules touched.
   =========================== */

.pkg-hero {
  padding-top: calc(var(--nav-height) + var(--section-padding));
  padding-bottom: calc(var(--section-padding) * 0.5);
}

.pkg-hero-title {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 20px;
}

.pkg-hero-sub {
  max-width: 640px;
  color: var(--color-text-muted);
  font-size: 18px;
}

.pkg-tier {
  padding-bottom: var(--section-padding);
}

.pkg-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-surface-2);
  border-radius: var(--radius-lg);
}

.pkg-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.pkg-table thead th {
  text-align: left;
  padding: 16px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  white-space: nowrap;
}

.pkg-table tbody td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-surface-2);
  font-family: var(--font-mono);
  font-size: 15px;
  white-space: nowrap;
}

.pkg-table tbody tr:last-child td {
  border-bottom: none;
}

.pkg-table tbody tr {
  transition: background 0.25s ease;
}

.pkg-table tbody tr:hover {
  background: var(--color-surface);
}

.pkg-code {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
}

.pkg-price {
  color: var(--color-accent);
}

.pkg-note {
  padding-top: 0;
  padding-bottom: var(--section-padding);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--color-surface-2);
  padding-top: 40px;
}

.pkg-payment-note {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}

.pkg-cta-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}

.pkg-cta-btn:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

@media (max-width: 640px) {
  .pkg-table-wrap {
    border: none;
  }

  .pkg-table {
    min-width: 0;
  }

  .pkg-table thead {
    display: none;
  }

  .pkg-table,
  .pkg-table tbody,
  .pkg-table tr,
  .pkg-table td {
    display: block;
    width: 100%;
  }

  .pkg-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--color-surface-2);
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .pkg-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    white-space: normal;
    border-bottom: 1px solid var(--color-surface-2);
  }

  .pkg-table td:last-child {
    border-bottom: none;
  }

  .pkg-table td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
  }

  .pkg-note {
    flex-direction: column;
    align-items: flex-start;
  }
}
