/* Pubquiz Entertainment — Brand CSS */

:root {
  --brand-primary:   #000036;
  --brand-secondary: #0000EE;
  --brand-accent:    #F7B731;
  --brand-bg:        #F9FFFB;
  --brand-text:      #3E4067;
  --brand-muted:     #6B7280;
  --brand-light:     #EEF0FF;
  --container:       1200px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--brand-text);
  background: var(--brand-bg);
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--brand-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--brand-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid var(--brand-primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-ghost:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* Section wrapper */
.section-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo carousel */
.logo-carousel-track {
  display: flex;
  gap: 3rem;
  animation: carousel-scroll 30s linear infinite;
  width: max-content;
}

.logo-carousel-track:hover {
  animation-play-state: paused;
}

.logo-carousel-wrap {
  overflow: hidden;
  position: relative;
}

.logo-carousel-wrap::before,
.logo-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--brand-primary), transparent);
}

.logo-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--brand-primary), transparent);
}

.logo-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1.25rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.logo-chip img {
  height: 16px;
  width: 16px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Star rating */
.star-rating {
  color: var(--brand-accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* Review card */
.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(0,0,56,0.07);
  border: 1px solid rgba(0,0,56,0.06);
}

/* Feature chip */
.feature-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1.5px solid var(--brand-light);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 0.95rem;
}

/* Form */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid #D1D5DB;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--brand-text);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--brand-secondary);
}

.form-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--brand-primary);
  margin-bottom: 0.4rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid #E5E7EB;
}

.faq-item summary {
  padding: 1.25rem 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--brand-secondary);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  padding: 0 0 1.25rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--brand-muted);
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
}

.check-list li::before {
  content: '✓';
  color: var(--brand-secondary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Responsive */
@media (max-width: 768px) {
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}
