/* =========================================
   PAPSOO BUSINESS - FULL MODERN THEME
   Primary Red: #ff0000
   Accent Green: #0FA958
========================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.papsoo-business-site {
  font-family: "Inter", "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #f3f4f6;
}

/* Layout helpers */
.pbs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pbs-section {
  padding: 60px 0;
}

.pbs-section--alt {
  background: #ffffff;
}

.pbs-section--soft {
  background: #f9fafb;
}

/* ---------------------------------
   HEADER / NAVBAR
--------------------------------- */
.pbs-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.pbs-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.pbs-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo size */
.pbs-logo-img {
  height: 70px;      /* desktop size */
  width: auto;
  display: block;
}

.pbs-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pbs-nav a {
  font-size: 14px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  position: relative;
}

.pbs-nav a:hover {
  color: #ff0000;
}

.pbs-nav a.pbs-nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: #ff0000;
  color: #ffffff;
  font-weight: 600;
}

.pbs-nav a.pbs-nav-cta:hover {
  background: #cc0000;
}

/* NAV TOGGLE (DESKTOP DEFAULT: HIDDEN) */
.pbs-nav-toggle {
  display: none;                /* hidden on desktop */
  padding: 8px 10px;
  background: #ffffff;
  cursor: pointer;
  flex-direction: column;       /* stack bars vertically */
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.pbs-nav-toggle span {
  display: block;
  width: 18px;
  height: 3px;
  background: #111827;
  border-radius: 999px;
}

/* ---------------------------------
   HERO SECTION
--------------------------------- */
.pbs-hero {
  background: radial-gradient(circle at top left, rgba(255,0,0,0.12), transparent 55%),
              radial-gradient(circle at top right, rgba(15,169,88,0.12), transparent 55%),
              #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.pbs-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 50px 0 60px;
}

.pbs-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,0,0,0.07);
  color: #b91c1c;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.pbs-badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ff0000;
  border-radius: 999px;
  margin-right: 6px;
}

.pbs-hero-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
}

.pbs-hero-subtitle {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 16px;
}

.pbs-hero-text {
  font-size: 15px;
  color: #4b5563;
  max-width: 520px;
}

.pbs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pbs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.08s ease;
}

.pbs-btn-primary {
  background: #ff0000;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.35);
}

.pbs-btn-primary:hover {
  background: #dc2626;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.3);
  transform: translateY(-1px);
}

.pbs-btn-secondary {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.pbs-btn-secondary:hover {
  border-color: #ff0000;
  color: #b91c1c;
}

/* Hero right panel (dashboard-style mockup) */
.pbs-hero-panel {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  padding: 18px 18px 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.pbs-hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pbs-hero-panel-title {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.pbs-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(15,169,88,0.08);
  color: #047857;
}

.pbs-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0FA958;
  margin-right: 6px;
}

.pbs-metric-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.pbs-metric-card {
  flex: 1;
  background: #f9fafb;
  border-radius: 12px;
  padding: 10px 12px;
}

.pbs-metric-label {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
}

.pbs-metric-value {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.pbs-metric-trend {
  font-size: 11px;
  color: #16a34a;
}

.pbs-metric-trend.down {
  color: #dc2626;
}

.pbs-orders-table {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.pbs-orders-table-header {
  background: #f9fafb;
  padding: 8px 10px;
  display: flex;
  font-size: 11px;
  color: #6b7280;
}

.pbs-orders-table-header span {
  flex: 1;
}

.pbs-orders-row {
  display: flex;
  font-size: 12px;
  padding: 8px 10px;
  border-top: 1px solid #e5e7eb;
  align-items: center;
}

.pbs-orders-row span {
  flex: 1;
}

.pbs-orders-badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(15,169,88,0.09);
  color: #047857;
}

/* ---------------------------------
   LOGO STRIP / TRUST BAR
--------------------------------- */
.pbs-trustbar {
  padding: 18px 0 10px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.pbs-trustbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.pbs-trustbar-text {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.pbs-trustbar-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pbs-pill-logo {
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px dashed #e5e7eb;
  font-size: 11px;
  color: #4b5563;
}

/* ---------------------------------
   SECTION TITLES
--------------------------------- */
.pbs-section-title {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
}

.pbs-section-subtitle {
  font-size: 14px;
  color: #6b7280;
  max-width: 600px;
}

/* ---------------------------------
   GRID & CARDS
--------------------------------- */
.pbs-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.pbs-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.pbs-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.pbs-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.18s ease, transform 0.08s ease, border-color 0.18s ease;
}

.pbs-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.pbs-card-icon {
  margin-bottom: 12px;
}

.pbs-card-icon svg {
  width: 32px;
  height: 32px;
  color: #ff0000;   /* or #0FA958 for green */
  stroke: #ff0000;
}

.pbs-card:hover {
  border-color: rgba(255,0,0,0.6);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.pbs-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(255,0,0,0.06);
  color: #b91c1c;
  margin-bottom: 8px;
}

.pbs-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111827;
}

.pbs-card-text {
  font-size: 14px;
  color: #4b5563;
}

/* ---------------------------------
   STEPS / HOW IT WORKS
--------------------------------- */
.pbs-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.pbs-step {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #e5e7eb;
}

.pbs-step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ff0000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pbs-step-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pbs-step-text {
  font-size: 14px;
  color: #4b5563;
}

/* ---------------------------------
   CTA SECTION
--------------------------------- */
.pbs-cta {
  text-align: center;
  padding: 60px 20px 70px;
  background: linear-gradient(120deg, #ff0000, #b91c1c);
  color: #ffffff;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.pbs-cta::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  top: -70px;
  left: -40px;
}

.pbs-cta::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -80px;
  right: -40px;
}

.pbs-cta-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.pbs-cta-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.pbs-cta-text {
  font-size: 14px;
  margin-bottom: 22px;
  color: #e5e7eb;
}

/* ---------------------------------
   FOOTER
--------------------------------- */
.pbs-footer {
  padding: 24px 20px;
  border-top: 1px solid #e5e7eb;
  margin-top: 40px;
  background: #ffffff;
  font-size: 12px;
  color: #6b7280;
}

.pbs-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* ---------------------------------
   RESPONSIVE
--------------------------------- */

/* Tablet/mobile layout + nav toggle */
@media (max-width: 900px) {
  .pbs-hero-inner {
    grid-template-columns: 1fr;
  }

  /* SHOW TOGGLE ON MOBILE/TABLET */
  .pbs-nav-toggle {
    display: flex;
  }

  /* HIDE NAV BY DEFAULT ON MOBILE */
  .pbs-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    gap: 8px;
  }

  .pbs-nav.open {
    display: flex;
  }

  .pbs-nav a {
    padding: 6px 0;
  }

  .pbs-header-inner {
    flex-wrap: wrap;
  }
}

/* Small phones */
@media (max-width: 640px) {
  .pbs-hero-title {
    font-size: 30px;
  }

  .pbs-logo-img {
    height: 56px; /* slightly smaller so it fits nicely on phones */
  }
}

/* AUTH PAGES */

.auth-page {
  background: #f7f7f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-header,
.auth-footer {
  padding: 1rem 2rem;
  text-align: center;
}

.auth-container {
  max-width: 420px;
  margin: auto;
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.auth-container h1 {
  margin-bottom: .5rem;
}

.auth-subtext {
  color: #666;
  font-size: .95rem;
  margin-bottom: 1.5rem;
}

.auth-form label {
  display: block;
  margin-bottom: 1rem;
}

.auth-form input {
  width: 100%;
  padding: .7rem;
  margin-top: .3rem;
}

.btn-primary {
  width: 100%;
  padding: .8rem;
  margin-top: 1rem;
}

.auth-links {
  margin-top: 1rem;
  text-align: center;
}

