/* Generator Lighthouse — global polish on top of Tailwind */

:root {
  --navy: #0B1626;
  --navy-dark: #050B16;
  --gold: #F2AE1B;
  --gold-dark: #D89510;
  --cream: #F7F7F5;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero background pattern */
.hero-pattern {
  background:
    radial-gradient(ellipse at top right, rgba(242, 174, 27, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(242, 174, 27, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #0B1626 0%, #152135 100%);
}

/* Light-ray accent under headings */
.gold-rule::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 14px auto 0;
}

.gold-rule-left::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 14px 0 0;
}

/* Cards */
.gl-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #e3e8f0;
  transition: all 0.2s ease;
}
.gl-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 30px -10px rgba(11, 22, 38, 0.2);
  transform: translateY(-2px);
}

/* Featured badge */
.featured-badge {
  background: linear-gradient(135deg, #F2AE1B, #D89510);
  color: #0B1626;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Verified check */
.verified-pill {
  background: rgba(34, 197, 94, 0.1);
  color: rgb(21, 128, 61);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Brand chip */
.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--cream);
  border: 1px solid #e3e8f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.brand-chip.authorized {
  background: rgba(242, 174, 27, 0.12);
  border-color: var(--gold);
  color: var(--navy);
}
.brand-chip.authorized::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--gold-dark);
}

/* Form styles */
.gl-input,
.gl-select,
.gl-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  background: white;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gl-input:focus,
.gl-select:focus,
.gl-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 174, 27, 0.18);
}

.gl-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.gl-btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s;
}
.gl-btn-primary:hover {
  background: var(--gold-dark);
}

.gl-btn-secondary {
  background: var(--navy);
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s;
}
.gl-btn-secondary:hover {
  background: #152135;
}

.gl-btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}
.gl-btn-outline:hover {
  background: var(--navy);
  color: white;
}

.gl-btn-outline-danger {
  border: 2px solid #dc2626;
  color: #dc2626;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  transition: all 0.15s;
  cursor: pointer;
}
.gl-btn-outline-danger:hover {
  background: #dc2626;
  color: white;
}

/* Star rating */
.stars {
  color: var(--gold);
  letter-spacing: 1px;
}

/* Animations */
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 174, 27, 0.6); }
  50% { box-shadow: 0 0 0 12px rgba(242, 174, 27, 0); }
}
.pulse-gold {
  animation: pulse-gold 2s infinite;
}

/* Tier badge colors */
.tier-free { background: #e2e8f0; color: #475569; }
.tier-basic { background: #dbeafe; color: #1e40af; }
.tier-premium { background: linear-gradient(135deg, #F2AE1B, #D89510); color: #0B1626; }

.tier-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Prose for CMS pages + blog post bodies */
.gl-prose p { margin: 12px 0; line-height: 1.7; }
.gl-prose h2 { font-size: 1.5rem; font-weight: 700; margin: 28px 0 12px; color: var(--navy); }
.gl-prose h3 { font-size: 1.25rem; font-weight: 700; margin: 20px 0 8px; color: var(--navy); }
.gl-prose ul { list-style: disc; padding-left: 24px; margin: 12px 0; }
.gl-prose ol { list-style: decimal; padding-left: 24px; margin: 12px 0; }
.gl-prose li { margin: 6px 0; line-height: 1.65; }
.gl-prose a { color: var(--gold-dark); font-weight: 600; }
.gl-prose a:hover { text-decoration: underline; }
.gl-prose strong { color: var(--navy); }
.gl-prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 8px 16px;
  margin: 16px 0;
  background: #FAFAF7;
  color: #3F3F46;
  font-style: italic;
}
.gl-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95em;
}
.gl-prose th, .gl-prose td {
  border: 1px solid #E5E7EB;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
.gl-prose th {
  background: #FAFAF7;
  font-weight: 700;
  color: var(--navy);
}
.gl-prose tr:nth-child(even) td { background: #FCFCFA; }
.gl-prose code {
  background: #F1F1EF;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--navy);
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
