/* ==========================================================================
   PANTHER PAYMENTS — GLOBAL STYLESHEET
   ==========================================================================
   This file controls the look of the entire website from one place.
   Scroll to "EDITABLE DESIGN VARIABLES" below to change colors, fonts,
   spacing, and more — those changes apply site-wide automatically.
   ========================================================================== */


/* ==========================================================================
   EDITABLE DESIGN VARIABLES
   Change any value below to restyle the entire site. Nothing else in this
   file needs to change.
   ========================================================================== */
:root {

  /* ---- MAIN ACCENT COLOR ---- */
  /* EDIT MAIN ACCENT COLOR HERE — used for buttons, links, icons, highlights */
  --color-accent: #3E607A;
  --color-accent-dark: #294457;   /* used for hover/active states */
  --color-accent-light: #EAF0F4;  /* soft tint, used for subtle backgrounds */

  /* ---- BACKGROUND COLORS ---- */
  --color-bg-black: #0B0B0C;      /* header, dark sections, footer */
  --color-bg-black-soft: #14161A; /* slightly lighter black, used for depth */
  --color-bg-white: #FFFFFF;
  --color-bg-gray: #F5F6F7;       /* light gray alternating sections */
  --color-border: #E5E7EB;        /* card borders, dividers on light bg */
  --color-border-dark: #2A2D33;   /* dividers on dark bg */

  /* ---- TEXT COLORS ---- */
  --color-text-heading: #16181C;     /* headings on light backgrounds */
  --color-text-body: #5B6270;        /* paragraph text on light backgrounds */
  --color-text-heading-inverse: #FFFFFF; /* headings on dark backgrounds */
  --color-text-body-inverse: #A9AFB9;    /* paragraph text on dark backgrounds */
  --color-text-eyebrow: #3E607A;     /* small uppercase label text */

  /* ---- FONT FAMILIES ---- */
  /* Loaded via Google Fonts link tag in each HTML file's <head> */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- FONT SIZES ---- */
  --fs-h1: clamp(2.25rem, 4.5vw, 4rem);      /* hero headline */
  --fs-h2: clamp(1.75rem, 3vw, 2.5rem);      /* section headline */
  --fs-h3: 1.375rem;                          /* card / subsection titles */
  --fs-body-lg: 1.125rem;                     /* hero subtext, lead paragraphs */
  --fs-body: 1rem;                            /* standard paragraph text */
  --fs-small: 0.875rem;                       /* captions, labels */
  --fs-eyebrow: 0.8125rem;                    /* small uppercase label */

  /* ---- BORDER RADIUS ---- */
  --radius-sm: 8px;    /* buttons, form fields, pills-inner */
  --radius-md: 12px;   /* cards */
  --radius-lg: 20px;   /* large image panels */
  --radius-pill: 999px; /* badges, pill buttons */

  /* ---- SPACING SCALE ---- */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;   /* space between major sections, desktop */
  --space-2xl-mobile: 56px; /* space between major sections, mobile */

  /* ---- CONTENT WIDTH ---- */
  --content-width: 1240px;
  --content-width-narrow: 800px; /* used for centered text blocks, forms */
  --content-padding: 24px; /* left/right padding on small screens */

  /* ---- TRANSITIONS ---- */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
}


/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text-body);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
}

p {
  margin: 0;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visible keyboard focus state for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}


/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */
.container {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

.container-narrow {
  max-width: var(--content-width-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--space-2xl-mobile);
    padding-bottom: var(--space-2xl-mobile);
  }
}

.section-bg-white   { background-color: var(--color-bg-white); }
.section-bg-gray    { background-color: var(--color-bg-gray); }
.section-bg-black   { background-color: var(--color-bg-black); }

.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-eyebrow);
  margin-bottom: var(--space-sm);
}

.section-heading {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.section-subtext {
  font-size: var(--fs-body-lg);
  color: var(--color-text-body);
  max-width: 640px;
}

.section-subtext.centered {
  margin-left: auto;
  margin-right: auto;
}

.section-bg-black .section-heading,
.section-bg-black h1,
.section-bg-black h2,
.section-bg-black h3 {
  color: var(--color-text-heading-inverse);
}

.section-bg-black .section-subtext,
.section-bg-black p {
  color: var(--color-text-body-inverse);
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #FFFFFF;
}
.btn-primary:hover {
  background-color: var(--color-accent-dark);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-text-heading);
  color: var(--color-text-heading);
}
.btn-secondary:hover {
  background-color: var(--color-text-heading);
  color: #FFFFFF;
}

/* Secondary button variant for use on dark backgrounds */
.section-bg-black .btn-secondary {
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.section-bg-black .btn-secondary:hover {
  background-color: #FFFFFF;
  color: var(--color-text-heading);
}

.btn-block {
  width: 100%;
}

@media (max-width: 640px) {
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-group .btn {
    width: 100%;
  }
}


/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg-black);
  border-bottom: 1px solid var(--color-border-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--color-text-body-inverse);
  transition: color var(--transition-fast);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-accent);
}

/* The CTA button duplicated inside .site-nav is for mobile only —
   hidden by default, revealed inside the mobile menu at narrow widths */
.site-nav .btn-primary {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle svg {
  width: 28px;
  height: 28px;
  stroke: #FFFFFF;
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background-color: var(--color-bg-black);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    border-bottom: 1px solid var(--color-border-dark);
  }
  .site-nav.open {
    max-height: 320px;
  }
  .site-nav a {
    width: 100%;
    padding: var(--space-sm) var(--content-padding);
    border-bottom: 1px solid var(--color-border-dark);
  }
  .header-actions .btn-primary {
    display: none; /* shown inside mobile nav instead */
  }
  .site-nav .btn-primary {
    display: inline-flex;
    margin: var(--space-sm) var(--content-padding);
  }
  .nav-toggle {
    display: block;
  }
}


/* ==========================================================================
   TRUST BAR (icon row)
   ========================================================================== */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl) var(--space-lg);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
  max-width: 140px;
}

.trust-item .icon {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}

.trust-item span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--color-text-heading);
}

@media (max-width: 640px) {
  .trust-bar {
    gap: var(--space-lg) var(--space-md);
  }
  .trust-item {
    max-width: 100px;
  }
}


/* ==========================================================================
   TWO-COLUMN SPLIT (image + text)
   ========================================================================== */
.split {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.split-text, .split-image {
  flex: 1 1 0;
  min-width: 300px;
}

.split-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.split.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 860px) {
  .split, .split.reverse {
    flex-direction: column;
  }
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.checklist-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.checklist-item .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 3px;
}

.checklist-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.checklist-item p {
  font-size: var(--fs-small);
  color: var(--color-text-body);
}

.section-bg-black .checklist-item p {
  color: var(--color-text-body-inverse);
}


/* ==========================================================================
   SERVICE CARDS GRID
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
}

.card .dash {
  width: 28px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
}

.card p {
  font-size: var(--fs-body);
  color: var(--color-text-body);
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   PILL BADGES (platform names)
   ========================================================================== */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.pill {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  padding: 10px 22px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text-heading);
}


/* ==========================================================================
   PULL QUOTE
   ========================================================================== */
.pull-quote {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-md);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--color-text-body-inverse);
  margin-top: var(--space-lg);
}


/* ==========================================================================
   FORM
   ========================================================================== */
.form-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) var(--space-lg);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-heading);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-white);
  color: var(--color-text-heading);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-lg);
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-body);
  color: var(--color-text-body);
}

.checkbox-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.form-note {
  font-size: var(--fs-small);
  color: var(--color-text-body);
  margin-top: var(--space-sm);
}

.form-success, .form-error {
  display: none;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin-top: var(--space-md);
  font-family: var(--font-heading);
  font-weight: 600;
}
.form-success {
  background-color: #EAF6EE;
  color: #1E7A3B;
}
.form-error {
  background-color: #FBEAEA;
  color: #B42318;
}

@media (max-width: 700px) {
  .form-card {
    padding: var(--space-md);
  }
  .form-grid, .checkbox-group {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-bg-black);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-dark);
}

.footer-brand img {
  height: 40px;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: var(--color-text-body-inverse);
  font-size: var(--fs-small);
  max-width: 320px;
  margin-bottom: var(--space-md);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--color-text-body-inverse);
  margin-bottom: 8px;
}

.footer-contact-item .icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer-col-label {
  font-family: var(--font-heading);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.footer-col a, .footer-col span {
  display: block;
  font-size: var(--fs-body);
  color: var(--color-text-body-inverse);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  font-size: var(--fs-small);
  color: var(--color-text-body-inverse);
}

.footer-bottom a {
  color: var(--color-text-body-inverse);
}
.footer-bottom a:hover {
  color: #FFFFFF;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}


/* ==========================================================================
   SKIP LINK (accessibility)
   ========================================================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background-color: var(--color-accent);
  color: #FFFFFF;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}
