.pos-layout {
  padding: 2rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.pos-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pos-header h1 {
  font-family: "Merriweather", "Georgia", serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pos-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.pos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.pos-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 0;
}

.pos-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
}

.pos-tile:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card), 0 0 20px rgba(96, 165, 250, 0.1);
  background: var(--surface-muted);
}

.tile-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.pos-tile--compact {
  padding: 1.6rem 1.25rem;
  gap: 0.75rem;
}

.tile-icon--compact {
  font-size: 2.25rem;
  margin-bottom: 0.25rem;
}

.pos-tile h3 {
  font-size: 1.75rem;
  margin: 0;
  color: var(--text-primary);
}

.pos-tile--compact h3 {
  font-size: 1.25rem;
}

.pos-tile p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.4;
}

.pos-tile--compact p {
  font-size: 0.95rem;
}

/* Specific Tile Accents */
.tile-scanner { border-top: 5px solid var(--accent-blue); }
.tile-admin { border-top: 5px solid var(--accent-amber); }
.tile-demo { border-top: 5px solid var(--accent-green); }
.tile-qr { border-top: 5px solid var(--accent-purple); }

.homepage-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.homepage-header {
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-buttons {
  display: flex;
  gap: 0.75rem;
}

.hero {
  padding-top: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Merriweather", "Georgia", serif;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-copy p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-audience {
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-bullets span {
  background: var(--surface-muted);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  color: var(--accent-amber);
}

.hero-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
}

.hero-form input {
  flex: 1;
}

.hero-grid .hero-visual {
  position: relative;
  height: 100%;
}

.hero-note {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hero-visual .hero-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-visual .hero-card strong {
  float: right;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.mock-scanner {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

.mock-qr {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(251, 191, 36, 0.14));
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.mock-qr-inner {
  position: absolute;
  inset: 18%;
  border-radius: 10px;
  border: 1px dashed rgba(241, 245, 249, 0.35);
  background: rgba(15, 23, 42, 0.25);
}

.mock-pill {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  margin-bottom: 0.75rem;
}

.mock-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.mock-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
}

.mock-line.short {
  width: 65%;
}

.mock-list {
  display: grid;
  gap: 0.5rem;
}

.mock-item {
  height: 34px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: rgba(148, 163, 184, 0.08);
}

.launch-section {
  padding: 2.25rem 1.75rem;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.launch-group {
  display: grid;
  gap: 0.85rem;
}

.launch-title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-card h3 {
  font-family: "Merriweather", "Georgia", serif;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.chip {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--accent-blue);
}

.section {
  margin-top: 3rem;
}

.section-header {
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-secondary);
}

.explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.explainer-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.explainer-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.explainer-card p {
  margin: 0;
  color: var(--text-secondary);
}

.social-proof {
  margin: 1.25rem 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
  text-align: left;
  flex: 1;
}

.form-field label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.9;
}

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--text-secondary);
}

.footer-links {
  margin-top: 0.85rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.footer-links a:hover {
  border-bottom-color: var(--text-secondary);
}

.media-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.media-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--surface-muted);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
}

.media-card img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 0.65rem;
  box-shadow: var(--shadow-soft);
}

.audience-grid,
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.audience-card,
.different-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.audience-card h3,
.different-card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.audience-card p,
.different-card p {
  margin: 0;
  color: var(--text-secondary);
}

.pricing-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.pricing-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '•';
  margin-right: 0.35rem;
  color: var(--color-primary);
  font-size: 0.8rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 600;
}

.cta-section {
  margin: 3rem 0;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  background: var(--bg-card);
}

.cta-section .btn {
  font-size: 1rem;
  padding: 0.95rem 2.5rem;
}

@media (max-width: 768px) {
  .hero-form {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .homepage-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .mock-scanner {
    grid-template-columns: 1fr;
  }
}
