/* BuddyUp Creator Program — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #fff;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 14px 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  border-bottom: 1px solid #f0f0f0;
}
.nav .logo { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; text-decoration: none; color: #1a1a1a; }
.nav .logo span { color: #FF6B35; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #666;
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-links a:hover { color: #1a1a1a; background: #f5f5f5; }
.nav-links a.cta {
  background: #FF6B35;
  color: #fff;
  padding: 8px 24px;
}
.nav-links a.cta:hover { background: #e55a2b; color: #fff; }

/* Page wrapper */
.page { padding-top: 64px; }

/* Hero */
.hero {
  padding: 100px 40px 80px;
  text-align: center;
  background: linear-gradient(180deg, #FFF5F0 0%, #fff 100%);
}
.hero .pill {
  display: inline-block;
  padding: 8px 20px;
  background: #FF6B35;
  color: #fff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.05;
  max-width: 700px;
  margin: 0 auto 24px;
}
.hero h1 em { color: #FF6B35; font-style: normal; }
.hero .sub {
  font-size: 19px;
  color: #666;
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: #FF6B35; color: #fff; }
.btn-primary:hover { background: #e55a2b; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: #1a1a1a; border: 2px solid #e5e7eb; }
.btn-secondary:hover { border-color: #1a1a1a; }
.btn-row { display: flex; gap: 16px; justify-content: center; align-items: center; }

/* Sections */
section { padding: 80px 40px; }
section.alt { background: #fafafa; }
section.dark { background: #1a1a1a; color: #fff; }
.container { max-width: 900px; margin: 0 auto; }
.container.wide { max-width: 1100px; }
.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #FF6B35;
  margin-bottom: 16px;
}
section.dark .label { color: #FF6B35; }
.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: #666;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 40px;
}
section.dark .section-sub { color: #888; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px;
  border-radius: 16px;
  border: 2px solid #f0f0f0;
  transition: border-color 0.2s;
}
.card:hover { border-color: #FF6B35; }
.card .icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.card p { font-size: 14px; color: #666; line-height: 1.5; }
.card.dark { background: #1a1a1a; color: #fff; border-color: transparent; }
.card.dark p { color: #999; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 24px 16px; }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #FF6B35;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  margin: 0 auto 12px;
}
.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13px; color: #666; line-height: 1.5; }

/* Forms */
.form-card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  border: 2px solid #f0f0f0;
  padding: 48px;
}
.form-card h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.form-card .form-sub {
  font-size: 15px;
  color: #666;
  margin-bottom: 32px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field .hint {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #FF6B35;
}
.field textarea { resize: vertical; min-height: 100px; }
.field .required { color: #FF6B35; }

/* Success state */
.success-msg {
  display: none;
  text-align: center;
  padding: 60px 40px;
}
.success-msg.show { display: block; }
.success-msg .icon { font-size: 64px; margin-bottom: 16px; }
.success-msg h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.success-msg p { font-size: 16px; color: #666; line-height: 1.6; }

/* Content page */
.content-page { padding: 100px 40px 60px; }
.content-page .container { max-width: 760px; }
.content-page h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.content-page .page-sub {
  font-size: 17px;
  color: #666;
  margin-bottom: 48px;
}
.content-page h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 48px 0 16px;
}
.content-page h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.content-page p, .content-page li {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}
.content-page ul, .content-page ol {
  padding-left: 20px;
  margin: 12px 0;
}
.content-page li { margin-bottom: 8px; }

/* Checklist */
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 12px 16px 12px 44px;
  position: relative;
  border-radius: 12px;
  margin-bottom: 4px;
  transition: background 0.15s;
}
.checklist li:hover { background: #fafafa; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 16px; top: 16px;
  width: 18px; height: 18px;
  border: 2px solid #ddd;
  border-radius: 4px;
}
.checklist li.checked::before {
  background: #FF6B35;
  border-color: #FF6B35;
}
.checklist li.checked::after {
  content: '✓';
  position: absolute;
  left: 19px; top: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* Tags */
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.tag {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}
.tag-orange { background: #FF6B35; color: #fff; }
.tag-gray { background: #f5f5f5; color: #666; }
.tag-mono {
  background: #f5f5f5;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
}

/* Table */
.table-wrap { overflow-x: auto; margin: 16px 0; }
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table-wrap th {
  text-align: left;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  border-bottom: 2px solid #f0f0f0;
}
.table-wrap td {
  padding: 12px 16px;
  border-bottom: 1px solid #f5f5f5;
}

/* Dashboard */
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.dash-stat {
  padding: 24px;
  border-radius: 16px;
  background: #fafafa;
  text-align: center;
}
.dash-stat .num { font-size: 36px; font-weight: 800; letter-spacing: -1px; }
.dash-stat .lbl { font-size: 13px; color: #666; margin-top: 4px; }
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.status-badge.pending { background: #FFF3E0; color: #E65100; }
.status-badge.accepted { background: #E8F5E9; color: #2E7D32; }
.status-badge.active { background: #E3F2FD; color: #1565C0; }
.status-badge.redeemed { background: #F3E5F5; color: #7B1FA2; }
.status-badge.rejected { background: #FFEBEE; color: #C62828; }

/* Footer */
footer {
  padding: 32px 40px;
  text-align: center;
  font-size: 13px;
  color: #999;
  border-top: 1px solid #f0f0f0;
}
footer a { color: #FF6B35; text-decoration: none; }

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 60px; }
  .hero h1 { font-size: 36px; letter-spacing: -1.5px; }
  .hero .sub { font-size: 16px; }
  .btn-row { flex-direction: column; }
  section { padding: 60px 20px; }
  .section-title { font-size: 30px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 32px 24px; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { padding: 12px 20px; }
  .nav-links a:not(.cta) { display: none; }
  .content-page h1 { font-size: 32px; }
}
