/* =========================================================
   TACKLE-D — PROFORMA PAGE
   css/proforma.css
   Brand: Yellow #FDC500 · Deep Black #070707
   Fixed-size PDF frame · viewer UI suppressed
   ========================================================= */

/* ---------------------------------------------------------
   TOKENS
--------------------------------------------------------- */

:root {
  --pf-yellow: #FDC500;
  --pf-yellow-soft: #FFD84D;
  --pf-black: #070707;
  --pf-panel: #0E0E0E;
  --pf-line: #1E1E1E;
  --pf-line-strong: #2A2A2A;
  --pf-white: #F5F3EE;
  --pf-gray: #9A9A9A;
  --pf-gray-soft: #C4C0B8;
  --pf-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------------------------------------------------------
   01 — PAGE BASE
--------------------------------------------------------- */

.proforma-page {
  background: var(--pf-black);
  color: var(--pf-white);
  font-family: var(--pf-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.proforma-page main {
  position: relative;
  flex: 1 1 auto;
}

/* Soft amber ambient glow behind the card */
.proforma-page::before {
  content: "";
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1300px;
  height: 1300px;
  background: radial-gradient(circle, rgba(253, 197, 0, 0.07) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------------------------------
   02 — MAIN WRAPPER
--------------------------------------------------------- */

.proforma-main {
  position: relative;
  z-index: 1;
  padding: 140px 32px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}

/* ---------------------------------------------------------
   03 — DOCUMENT CARD (wider, fixed size)
--------------------------------------------------------- */

.proforma-document {
  position: relative;
  width: 880px;                /* ← increased from 480px */
  height: 1140px;              /* proportional to page aspect */
  max-width: 100%;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(253, 197, 0, 0.18),
    0 0 0 8px rgba(255, 255, 255, 0.02);
}

/* Amber accent hairline along the top */
.proforma-document::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--pf-yellow), transparent);
  z-index: 3;
  pointer-events: none;
}

/* ---------------------------------------------------------
   04 — PDF IFRAME
--------------------------------------------------------- */

.proforma-document iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

.proforma-document iframe::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.proforma-document-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.proforma-document-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid rgba(253, 197, 0, 0.3);
  border-radius: 100px;
  background: rgba(253, 197, 0, 0.05);
  color: var(--pf-yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.proforma-document-link:hover {
  transform: translateY(-2px);
  background: var(--pf-yellow);
  color: var(--pf-black);
}

/* ---------------------------------------------------------
   05 — RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1024px) {

  .proforma-main {
    padding: 130px 24px 80px;
    gap: 36px;
  }

  .proforma-document {
    width: 100%;
    max-width: 720px;
    height: 936px;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {

  .proforma-main {
    padding: 120px 20px 70px;
    gap: 32px;
  }

  .proforma-document {
    width: 100%;
    max-width: 560px;
    height: 728px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {

  .proforma-main {
    padding: 100px 14px 60px;
    gap: 26px;
  }

  .proforma-document {
    width: 100%;
    max-width: 100%;
    height: 620px;
    border-radius: 10px;
    box-shadow:
      0 30px 70px -25px rgba(0, 0, 0, 0.9),
      0 0 0 1px rgba(253, 197, 0, 0.18);
  }
}

/* ---------------------------------------------------------
   06 — REDUCED MOTION
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .proforma-page *,
  .proforma-page *::before,
  .proforma-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}