/* KEP PrintGrid Public Website Styling
   Design inspired by commercial print services (eazeprint.com):
   Clean white/light backgrounds, navy/blue accents, cyan highlights, professional SaaS typography.
*/

.pub-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.pub-header-inner {
  max-width: 1540px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pub-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand-name {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
}
.brand-accent {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #06b6d4;
  font-weight: 900;
}
.pub-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.pub-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.pub-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.pub-nav a:hover, .pub-nav a.active {
  color: var(--primary);
}
.pub-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Hamburger Menu */
.pub-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 20px;
  color: var(--navy);
}

/* Hero Section */
.pub-hero {
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #ffffff 70%);
  padding: 80px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.pub-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--primary-border);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}
.pub-hero-badge span.powered {
  color: var(--text-muted);
  font-weight: 500;
}
.pub-hero h1 {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.pub-hero p.lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.pub-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Quick Kiosk Finder */
.pub-quick-finder {
  max-width: 520px;
  margin: 0 auto 40px;
  background: #ffffff;
  padding: 8px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 8px;
}
.pub-quick-finder input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  outline: none;
  border-radius: var(--radius-lg);
}
.pub-quick-finder input::placeholder {
  color: var(--text-subtle);
}

/* Hero Graphic / Flow Visualization */
.pub-hero-graphic {
  max-width: 1160px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.pub-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.pub-flow-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -15px;
  top: 28px;
  font-size: 20px;
  color: var(--border-dark);
  font-weight: 700;
}
.pub-flow-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}
.pub-flow-step:hover .pub-flow-icon {
  transform: scale(1.08);
  background: var(--primary);
  color: #ffffff;
}
.pub-flow-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.pub-flow-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Section Common */
.pub-section {
  padding: 90px 24px;
}
.pub-section-alt {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pub-container {
  max-width: 1400px;
  margin: 0 auto;
}
.pub-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.pub-section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.pub-section-header p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 5 Steps How It Works Grid */
.pub-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.pub-step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.2s ease;
}
.pub-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-lg);
}
.pub-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pub-step-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.pub-step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature 2-Column Split (For Shops & For Institutions) */
.pub-feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.pub-feature-split.reverse {
  direction: rtl;
}
.pub-feature-split.reverse > * {
  direction: ltr;
}
.pub-feature-content h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.pub-feature-content p.desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.pub-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.pub-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
}
.pub-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pub-feature-card-visual {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  padding: 32px;
}

/* Tools Grid */
.pub-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pub-tool-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s ease;
}
.pub-tool-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pub-tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cyan-light);
  color: var(--cyan-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.pub-tool-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.pub-tool-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Pricing Cards */
.pub-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pub-price-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pub-price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
  transform: scale(1.03);
}
.pub-price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pub-price-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.pub-price-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pub-price-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pub-price-amount span.period {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.pub-price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}
.pub-price-features li {
  font-size: 13px;
  color: var(--navy-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Call to Action Banner */
.pub-cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1e1b4b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  margin: 60px auto 0;
  max-width: 1100px;
}
.pub-cta-banner h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.pub-cta-banner p {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Footer */
.pub-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 70px 24px 30px;
  color: var(--text-muted);
  font-size: 13px;
}
.pub-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.pub-footer-col h5 {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}
.pub-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pub-footer-links a:hover {
  color: var(--primary);
}
.pub-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .pub-steps-grid { grid-template-columns: repeat(3, 1fr); }
  .pub-hero h1 { font-size: 40px; }
  .pub-hero-graphic { grid-template-columns: repeat(2, 1fr); }
  .pub-feature-split { grid-template-columns: 1fr; gap: 40px; }
  .pub-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pub-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pub-nav { display: none; }
  .pub-menu-toggle { display: block; }
  .pub-hero h1 { font-size: 32px; }
  .pub-hero p.lead { font-size: 16px; }
  .pub-steps-grid { grid-template-columns: 1fr; }
  .pub-hero-graphic { grid-template-columns: 1fr; }
  .pub-flow-step:not(:last-child)::after { display: none; }
  .pub-tools-grid { grid-template-columns: 1fr; }
  .pub-footer-grid { grid-template-columns: 1fr; }
  .pub-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
