/* PCCVDI public marketing site — Luminous Logic palette (matches /hub admin) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --pc-brand: #4648d4;          /* primary indigo */
  --pc-brand-dark: #2f2ebe;
  --pc-brand-light: #6063ee;
  --pc-brand-soft: #e1e0ff;
  --pc-accent: #b90538;         /* tertiary magenta */
  --pc-accent-dark: #dc2c4f;
  --pc-text: #131b2e;
  --pc-text-muted: #464554;
  --pc-text-faded: #767586;
  --pc-border: #c7c4d7;
  --pc-bg: #ffffff;
  --pc-bg-soft: #faf8ff;
  --pc-shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.06);
  --pc-shadow: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.04);
  --pc-shadow-lg: 0 10px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.06);
}

/* Hide login.css/portal.css gradient header on public pages */
body.pc-public .navbar, body.pc-public .page_content > .container { padding: 0 !important; }
body.pc-public { background: var(--pc-bg); color: var(--pc-text);
  font-family: 'Inter','Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif;
  line-height: 1.6; margin: 0; padding: 0; }
body.pc-public * { box-sizing: border-box; }
body.pc-public a { color: var(--pc-brand); text-decoration: none; }
body.pc-public a:hover { color: var(--pc-brand-dark); text-decoration: underline; }

/* Frappe wraps body content — neutralize default Frappe nav/footer on public pages */
body.pc-public nav.navbar, body.pc-public > .navbar,
body.pc-public > header.navbar, body.pc-public footer.web-footer,
body.pc-public > .breadcrumb-container { display: none !important; }
body.pc-public .page_content > .container { max-width: none !important; padding: 0 !important; }
body.pc-public main.web-page-content,
body.pc-public .web-page-content { padding: 0 !important; max-width: none !important; }

.pc-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pc-section { padding: 80px 0; }
.pc-section--soft { background: var(--pc-bg-soft); }
.pc-section--brand { background: linear-gradient(135deg, var(--pc-brand) 0%, var(--pc-brand-dark) 100%); color: #fff; }
.pc-section--brand h2, .pc-section--brand p { color: #fff; }

/* Headings */
.pc-h1 { font-size: 48px; line-height: 1.15; font-weight: 800; margin: 0 0 20px;
  color: var(--pc-text); letter-spacing: -0.02em; }
.pc-h2 { font-size: 36px; line-height: 1.2; font-weight: 700; margin: 0 0 16px;
  color: var(--pc-text); letter-spacing: -0.015em; }
.pc-h3 { font-size: 22px; line-height: 1.3; font-weight: 700; margin: 0 0 12px;
  color: var(--pc-text); }
.pc-lead { font-size: 19px; line-height: 1.6; color: var(--pc-text-muted); margin: 0 0 28px; }
.pc-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--pc-brand-light); margin-bottom: 14px; }

/* Header / Nav */
.pc-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--pc-border); }
.pc-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.pc-logo { display: flex; align-items: center; gap: 12px; }
.pc-logo img { height: 40px; width: auto; }
.pc-logo-text { font-size: 18px; font-weight: 800; color: var(--pc-text); letter-spacing: -0.01em; }
.pc-nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.pc-nav-links a { color: var(--pc-text); font-weight: 500; font-size: 15px; }
.pc-nav-links a:hover { color: var(--pc-brand); text-decoration: none; }
.pc-nav-cta { display: flex; gap: 12px; align-items: center; }
.pc-nav-toggle { display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 0; }
.pc-nav-toggle svg { width: 24px; height: 24px; }

/* Buttons */
.pc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  border-radius: 8px; font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: all .15s ease; text-decoration: none; }
.pc-btn:hover { text-decoration: none; }
.pc-btn-primary { background: var(--pc-brand); color: #fff !important; }
.pc-btn-primary:hover { background: var(--pc-brand-dark); transform: translateY(-1px);
  box-shadow: var(--pc-shadow); color: #fff !important; }
.pc-btn-accent { background: var(--pc-accent); color: #fff !important; }
.pc-btn-accent:hover { background: var(--pc-accent-dark); transform: translateY(-1px);
  box-shadow: var(--pc-shadow); color: #fff !important; }
.pc-btn-outline { background: transparent; color: var(--pc-brand) !important;
  border-color: var(--pc-brand); }
.pc-btn-outline:hover { background: var(--pc-brand); color: #fff !important; }
.pc-btn-ghost { background: transparent; color: var(--pc-text) !important; }
.pc-btn-ghost:hover { background: var(--pc-bg-soft); color: var(--pc-brand) !important; }
.pc-btn-lg { padding: 16px 32px; font-size: 17px; }
.pc-btn-white { background: #fff; color: var(--pc-brand) !important; }
.pc-btn-white:hover { background: var(--pc-brand-soft); color: var(--pc-brand-dark) !important; }
.pc-btn-white-outline { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.pc-btn-white-outline:hover { background: rgba(255,255,255,.1); color: #fff !important; border-color: #fff; }

/* Hero */
.pc-hero { padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--pc-brand-soft) 0%, #fff 60%, #fff 100%); }
.pc-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.pc-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  background: rgba(44,82,130,.08); border: 1px solid rgba(44,82,130,.15);
  border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--pc-brand); margin-bottom: 24px; }
.pc-hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.pc-hero-trust { margin-top: 36px; display: flex; gap: 28px; flex-wrap: wrap; }
.pc-hero-trust-item { display: flex; gap: 8px; align-items: center; color: var(--pc-text-muted);
  font-size: 14px; }
.pc-hero-trust-item svg { color: var(--pc-brand); flex-shrink: 0; }
.pc-hero-visual { background: #fff; border-radius: 20px; padding: 32px;
  box-shadow: var(--pc-shadow-lg); position: relative; overflow: hidden; }
.pc-hero-visual::before { content: ''; position: absolute; top: -30px; right: -30px;
  width: 200px; height: 200px; background: var(--pc-brand-soft); border-radius: 50%; }
.pc-hero-visual-content { position: relative; z-index: 1; }
.pc-stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.pc-stat { background: var(--pc-bg-soft); padding: 16px; border-radius: 12px; }
.pc-stat-num { font-size: 28px; font-weight: 800; color: var(--pc-brand); line-height: 1; }
.pc-stat-label { font-size: 13px; color: var(--pc-text-muted); margin-top: 4px; }

/* Feature / service cards */
.pc-grid { display: grid; gap: 24px; }
.pc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pc-grid-2 { grid-template-columns: repeat(2, 1fr); }

.pc-card { background: #fff; border: 1px solid var(--pc-border); border-radius: 14px;
  padding: 28px; transition: all .2s ease; height: 100%; }
.pc-card:hover { border-color: var(--pc-brand-light); box-shadow: var(--pc-shadow-lg);
  transform: translateY(-4px); }
.pc-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--pc-brand-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  color: var(--pc-brand); }
.pc-card-icon svg { width: 24px; height: 24px; }
.pc-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: var(--pc-text); }
.pc-card p { font-size: 14px; color: var(--pc-text-muted); margin: 0; line-height: 1.6; }
.pc-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-weight: 600; color: var(--pc-brand); font-size: 14px; }

/* Service catalog card */
.pc-svc-card { background: #fff; border: 1px solid var(--pc-border); border-radius: 12px;
  padding: 20px; transition: all .15s ease; }
.pc-svc-card:hover { border-color: var(--pc-brand-light); box-shadow: var(--pc-shadow); }
.pc-svc-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pc-svc-card h4 { font-size: 16px; font-weight: 700; margin: 0; color: var(--pc-text); }
.pc-svc-category { display: inline-block; padding: 2px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: var(--pc-brand-soft); color: var(--pc-brand); margin-bottom: 8px; }
.pc-svc-price { font-size: 14px; color: var(--pc-text-muted); margin-top: 12px; }
.pc-svc-price-num { color: var(--pc-text); font-weight: 700; }

/* Steps / how it works */
.pc-step { text-align: center; padding: 24px; position: relative; }
.pc-step-num { display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--pc-brand);
  color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 20px; box-shadow: var(--pc-shadow); }
.pc-step h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; color: var(--pc-text); }
.pc-step p { color: var(--pc-text-muted); margin: 0; font-size: 15px; }

/* Pricing */
.pc-price-card { background: #fff; border: 1px solid var(--pc-border); border-radius: 16px;
  padding: 36px; text-align: center; position: relative; }
.pc-price-card.featured { border-color: var(--pc-brand); box-shadow: var(--pc-shadow-lg);
  transform: scale(1.03); }
.pc-price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--pc-accent); color: #fff; padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; }
.pc-price-name { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pc-text-muted); margin-bottom: 8px; }
.pc-price-amount { font-size: 48px; font-weight: 800; color: var(--pc-text); line-height: 1; }
.pc-price-amount sup { font-size: 22px; color: var(--pc-text-muted); }
.pc-price-period { font-size: 14px; color: var(--pc-text-muted); margin-top: 6px; }
.pc-price-features { list-style: none; padding: 0; margin: 28px 0; text-align: left; }
.pc-price-features li { padding: 10px 0; border-bottom: 1px solid var(--pc-border);
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--pc-text); }
.pc-price-features li:last-child { border-bottom: 0; }
.pc-price-features svg { color: var(--pc-brand); flex-shrink: 0; margin-top: 3px; }

/* CTA banner */
.pc-cta-banner { background: linear-gradient(135deg, var(--pc-brand) 0%, var(--pc-brand-dark) 100%);
  color: #fff; border-radius: 20px; padding: 60px 40px; text-align: center; margin: 60px 0; }
.pc-cta-banner h2 { color: #fff; margin-bottom: 12px; }
.pc-cta-banner p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 600px;
  margin: 0 auto 28px; }
.pc-cta-banner .pc-hero-cta { justify-content: center; }

/* Forms */
.pc-form { display: grid; gap: 18px; }
.pc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc-input, .pc-textarea, .pc-select { width: 100%; padding: 12px 16px; border: 1px solid var(--pc-border);
  border-radius: 8px; font-size: 15px; color: var(--pc-text); background: #fff;
  font-family: inherit; transition: border-color .15s ease; }
.pc-input:focus, .pc-textarea:focus, .pc-select:focus { outline: none; border-color: var(--pc-brand);
  box-shadow: 0 0 0 3px rgba(44,82,130,.1); }
.pc-textarea { min-height: 120px; resize: vertical; }
.pc-label { display: block; font-weight: 600; font-size: 14px; color: var(--pc-text); margin-bottom: 6px; }
.pc-label-req::after { content: ' *'; color: var(--pc-accent-dark); }
.pc-form-help { font-size: 13px; color: var(--pc-text-faded); margin-top: 4px; }

/* Contact info card */
.pc-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.pc-contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.pc-contact-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  background: var(--pc-brand-soft); color: var(--pc-brand);
  display: flex; align-items: center; justify-content: center; }
.pc-contact-item h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px; color: var(--pc-text); }
.pc-contact-item p, .pc-contact-item a { font-size: 15px; color: var(--pc-text-muted); margin: 0;
  text-decoration: none; }

/* Counters / stats */
.pc-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.pc-counter-num { font-size: 48px; font-weight: 800; color: var(--pc-brand); line-height: 1;
  letter-spacing: -0.02em; }
.pc-counter-label { font-size: 14px; color: var(--pc-text-muted); margin-top: 8px; font-weight: 500; }

/* Footer */
.pc-footer { background: #0f1c30; color: #cbd5e0; padding: 64px 0 32px; }
.pc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; gap: 32px;
  margin-bottom: 48px; }
.pc-footer h5 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; margin: 0 0 16px; }
.pc-footer ul { list-style: none; padding: 0; margin: 0; }
.pc-footer ul li { margin-bottom: 10px; }
.pc-footer a { color: #cbd5e0; font-size: 14px; }
.pc-footer a:hover { color: #fff; text-decoration: none; }
.pc-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pc-footer-logo img { height: 36px; filter: brightness(0) invert(1); }
.pc-footer-logo-text { font-size: 17px; font-weight: 800; color: #fff; }
.pc-footer-tagline { font-size: 14px; color: #94a3b8; line-height: 1.6; max-width: 320px; margin-bottom: 16px; }
.pc-social { display: flex; gap: 10px; }
.pc-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center; color: #cbd5e0; }
.pc-social a:hover { background: var(--pc-brand); color: #fff; }
.pc-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.pc-footer-bottom p { margin: 0; font-size: 13px; color: #94a3b8; }
.pc-footer-bottom-links { display: flex; gap: 20px; }
.pc-footer-bottom-links a { font-size: 13px; color: #94a3b8; }

/* Page header (non-home pages) */
.pc-page-header { padding: 70px 0 50px; background: linear-gradient(135deg, var(--pc-brand-soft) 0%, #fff 100%);
  text-align: center; border-bottom: 1px solid var(--pc-border); }
.pc-page-header .pc-h1 { font-size: 42px; margin-bottom: 14px; }
.pc-page-header .pc-lead { max-width: 700px; margin: 0 auto; }

/* Filter chips */
.pc-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.pc-chip { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--pc-border);
  font-size: 14px; font-weight: 500; color: var(--pc-text-muted); cursor: pointer;
  transition: all .15s ease; }
.pc-chip:hover { border-color: var(--pc-brand-light); color: var(--pc-brand); }
.pc-chip.active { background: var(--pc-brand); color: #fff; border-color: var(--pc-brand); }

/* Alerts (form success/error) */
.pc-alert { padding: 14px 18px; border-radius: 8px; font-size: 14px; margin-bottom: 18px; }
.pc-alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.pc-alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Responsive */
@media (max-width: 960px) {
  .pc-h1 { font-size: 36px; }
  .pc-h2 { font-size: 28px; }
  .pc-section { padding: 56px 0; }
  .pc-hero { padding: 64px 0 48px; }
  .pc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pc-grid-3, .pc-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pc-counters { grid-template-columns: repeat(2, 1fr); }
  .pc-footer-grid { grid-template-columns: 1fr 1fr; }
  .pc-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pc-form-row { grid-template-columns: 1fr; }
  .pc-nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px; gap: 16px;
    border-bottom: 1px solid var(--pc-border); box-shadow: var(--pc-shadow); }
  .pc-nav-links.open { display: flex; }
  .pc-nav-toggle { display: flex; align-items: center; justify-content: center; }
  .pc-nav-cta .pc-btn:not(.pc-btn-primary) { display: none; }
  .pc-price-card.featured { transform: none; }
}

@media (max-width: 600px) {
  .pc-h1 { font-size: 30px; }
  .pc-h2 { font-size: 24px; }
  .pc-section { padding: 40px 0; }
  .pc-hero { padding: 48px 0 32px; }
  .pc-grid-3, .pc-grid-4, .pc-grid-2 { grid-template-columns: 1fr; }
  .pc-footer-grid { grid-template-columns: 1fr; }
  .pc-counters { grid-template-columns: 1fr 1fr; }
  .pc-counter-num { font-size: 36px; }
  .pc-cta-banner { padding: 40px 24px; margin: 40px 0; }
  .pc-page-header { padding: 48px 0 32px; }
  .pc-page-header .pc-h1 { font-size: 30px; }
}
