/* Parking Pirates — Columbia SC parking passes */

:root {
  --navy: #0a1628;
  --navy-light: #142240;
  --gold: #d4a029;
  --gold-light: #f0c14b;
  --cream: #f4f1ea;
  --red: #c1121f;
  --text: #1a1a2e;
  --muted: #5c6578;
  --green: #16a34a;
  --radius: 12px;
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ui: system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  background: var(--navy);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: white;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.logo-text { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; line-height: 1; }
.logo-sub { font-family: var(--font-ui); font-size: 0.65rem; color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase; }

.nav { display: flex; gap: 1.25rem; font-family: var(--font-ui); font-size: 0.875rem; }
.nav a { color: rgba(255,255,255,0.85); }
.nav a:hover { color: var(--gold-light); }

.header-actions { display: flex; gap: 0.75rem; align-items: center; font-family: var(--font-ui); font-size: 0.875rem; }
.header-actions a { color: rgba(255,255,255,0.85); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }
.btn-secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.4); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: white; }
.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: var(--navy-light); color: white; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a0a2e 60%, var(--navy-light) 100%);
  color: white;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "☠";
  position: absolute;
  right: 5%;
  top: 20%;
  font-size: 8rem;
  opacity: 0.06;
}

.hero-tag {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  max-width: 650px;
}

.hero p {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
}

.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.03em;
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-sub { text-align: center; color: var(--muted); margin-bottom: 2.5rem; font-family: var(--font-ui); font-size: 0.95rem; }

/* Cards */
.card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid #e2ddd4;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(10,22,40,0.06);
}

.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .card-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card .badge {
  align-self: flex-start;
  background: #fef3c7;
  color: #92400e;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.price-card h3 { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.03em; }
.price-amount { font-family: var(--font-display); font-size: 2.2rem; color: var(--navy); margin: 0.5rem 0; }
.price-amount small { font-size: 1rem; color: var(--muted); }
.price-city { font-size: 0.8rem; color: var(--muted); text-decoration: line-through; }
.price-save { font-size: 0.85rem; color: var(--green); font-weight: 600; font-family: var(--font-ui); }
.price-features { list-style: none; margin: 1rem 0; flex: 1; font-family: var(--font-ui); font-size: 0.875rem; }
.price-features li { padding: 0.3rem 0; padding-left: 1.25rem; position: relative; }
.price-features li::before { content: "⚓"; position: absolute; left: 0; font-size: 0.75rem; }

/* Forms */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,41,0.2);
}
.form-row { display: grid; gap: 1rem; }
@media (min-width: 480px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }

.upload-zone {
  border: 2px dashed #ccc;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  background: #faf9f7;
  transition: border-color 0.15s;
}
.upload-zone:hover { border-color: var(--gold); background: #fffbeb; }
.upload-zone input { display: none; }

.error-msg { color: var(--red); font-family: var(--font-ui); font-size: 0.85rem; margin-top: 0.5rem; }
.success-msg { color: var(--green); font-family: var(--font-ui); font-size: 0.85rem; }

/* Plate display */
.plate-display {
  font-family: "Courier New", monospace;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  background: var(--navy);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-block;
  border: 2px solid var(--gold);
}

.status-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.status-active { background: #dcfce7; color: #166534; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-verified { background: #dcfce7; color: #166534; }
.status-unverified { background: #fef3c7; color: #92400e; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
}
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid h4 { color: var(--gold); font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.footer-grid a { color: rgba(255,255,255,0.7); }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* Page header */
.page-header { padding: 2.5rem 0 1.5rem; }
.page-header h1 { font-family: var(--font-display); font-size: 2.5rem; letter-spacing: 0.03em; }
.page-header p { color: var(--muted); font-family: var(--font-ui); margin-top: 0.5rem; max-width: 600px; }

/* Table */
.data-table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 0.875rem; }
.data-table th { text-align: left; padding: 0.75rem; border-bottom: 2px solid #e2ddd4; color: var(--muted); font-weight: 600; }
.data-table td { padding: 0.75rem; border-bottom: 1px solid #eee; }
.data-table .strike { text-decoration: line-through; color: var(--muted); }
.data-table .ours { color: var(--green); font-weight: 700; }

@media (max-width: 640px) {
  .nav { display: none; }
}

/* Compare page */
.nav-active { color: var(--gold-light) !important; font-weight: 600; }
.table-wrap { overflow-x: auto; }
.compare-table .col-us { background: #fffbeb; }
.compare-table .winner { background: #f0fdf4; color: var(--green); font-weight: 600; }
.compare-table .winner strong { color: #15803d; font-size: 1.05rem; }
.save-tag { display: inline-block; font-size: 0.7rem; background: #dcfce7; color: #166534; padding: 0.15rem 0.5rem; border-radius: 999px; margin-top: 0.25rem; }
.compare-fee-card { text-align: center; }
.compare-fee-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0.75rem 0 0.5rem; letter-spacing: 0.03em; }
.compare-fee-card p { font-size: 0.85rem; color: var(--muted); font-family: var(--font-ui); }
.fee-them { font-family: var(--font-ui); font-size: 0.8rem; color: var(--red); text-decoration: line-through; }
.fee-us { font-family: var(--font-ui); font-size: 1.1rem; color: var(--green); font-weight: 700; margin-bottom: 0.5rem; }
.compare-list { list-style: none; font-family: var(--font-ui); font-size: 0.9rem; }
.compare-list li { padding: 0.5rem 0; border-bottom: 1px solid #eee; padding-left: 1.25rem; position: relative; }
.compare-list li::before { content: "→"; position: absolute; left: 0; color: var(--gold); }

/* Employer one-pager */
.one-pager { max-width: 850px; padding: 2rem 1.25rem 3rem; font-family: var(--font-ui); }
.one-pager-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; border-bottom: 3px solid var(--gold); padding-bottom: 1.25rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.one-pager-brand { display: flex; gap: 0.75rem; align-items: center; }
.one-pager-icon { font-size: 2.5rem; }
.one-pager-brand h1 { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.04em; color: var(--navy); line-height: 1; }
.one-pager-tagline { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }
.one-pager-contact { text-align: right; font-size: 0.85rem; line-height: 1.6; }
.one-pager-hero h2 { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.02em; color: var(--navy); line-height: 1.2; }
.one-pager-hero p { margin-top: 0.75rem; font-size: 0.95rem; line-height: 1.65; color: var(--text); }
.one-pager-grid { display: grid; gap: 1.25rem; margin: 1.5rem 0; }
@media (min-width: 640px) { .one-pager-grid { grid-template-columns: 1fr 1fr; } }
.one-pager-col { background: white; border: 1px solid #e2ddd4; border-radius: var(--radius); padding: 1.25rem; }
.one-pager-col h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.75rem; letter-spacing: 0.03em; }
.highlight-col { border-color: var(--gold); background: #fffbeb; }
.one-pager-col ul { margin-left: 1.1rem; font-size: 0.875rem; line-height: 1.7; }
.one-pager-pricing h3, .one-pager-bulk h3, .one-pager-zones h3, .one-pager-cta h3 {
  font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.03em; margin: 1.5rem 0 0.75rem; color: var(--navy);
}
.one-pager-zones p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.bulk-grid { display: grid; gap: 1rem; margin: 1rem 0; }
@media (min-width: 640px) { .bulk-grid { grid-template-columns: repeat(3, 1fr); } }
.bulk-tier { background: white; border: 1px solid #e2ddd4; border-radius: var(--radius); padding: 1rem; text-align: center; }
.bulk-tier.featured { border-color: var(--gold); background: #fffbeb; }
.bulk-name { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.03em; }
.bulk-price { font-size: 1.5rem; font-weight: 700; color: var(--green); margin: 0.35rem 0; }
.bulk-tier p { font-size: 0.8rem; color: var(--muted); }
.bulk-note { font-size: 0.9rem; background: var(--navy); color: white; padding: 1rem; border-radius: var(--radius); margin-top: 1rem; }
.one-pager-cta ol { margin: 0.75rem 0 0 1.25rem; font-size: 0.9rem; line-height: 1.8; }
.one-pager-footer-note { margin-top: 1.5rem; font-size: 0.75rem; color: var(--muted); border-top: 1px solid #e2ddd4; padding-top: 1rem; }

@media print {
  .no-print { display: none !important; }
  body.employers-page { background: white; }
  .one-pager { max-width: 100%; padding: 0.5in; }
  .one-pager-col, .bulk-tier { break-inside: avoid; }
}
