/* ═══════════════════════════════════════════════════════════
   FAIRLANE VENTURES — Public Pages CSS
   White/Gold Premium Design matching Landing Page
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --mid-gray: #E8E9EB;
  --dark-gray: #D1D5DB;
  --gold: #D4A843;
  --gold-light: #E8C97A;
  --gold-dark: #B8902E;
  --text: #2D2D2D;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--text); }

/* ─── Navigation ──────────────────────────────────────── */
.pub-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pub-nav-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}

.pub-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text);
}

.pub-logo-accent {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.pub-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.pub-nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.pub-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.pub-nav-links a:hover { color: var(--text); }
.pub-nav-links a:hover::after { width: 100%; }

.pub-nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 8px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.pub-nav-cta:hover {
  background: var(--gold-dark) !important;
}

.pub-nav-cta::after { display: none !important; }

.pub-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.pub-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

.pub-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.pub-hamburger.active span:nth-child(2) { opacity: 0; }
.pub-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Main Content ────────────────────────────────────── */
.pub-main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

/* ─── Page Headers ────────────────────────────────────── */
.pub-page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--mid-gray);
}

.pub-page-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.pub-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.pub-page-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.pub-gold-line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
  border-radius: 3px;
  margin: 1rem auto 0;
}

/* ─── Content Sections ────────────────────────────────── */
.pub-section {
  margin-bottom: 3rem;
}

.pub-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--mid-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pub-section h2 .section-icon {
  width: 32px;
  height: 32px;
  background: rgba(212,168,67,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-section h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--gold-dark);
}

.pub-section p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.pub-section ul, .pub-section ol {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--text-light);
}

.pub-section li {
  margin-bottom: 0.4rem;
}

/* ─── Cards ───────────────────────────────────────────── */
.pub-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.pub-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pub-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.pub-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.pub-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.6;
}

.pub-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212,168,67,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--gold);
}

/* ─── Info Box ────────────────────────────────────────── */
.pub-info-box {
  background: var(--light-gray);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.pub-info-box p {
  margin: 0;
  color: var(--text);
}

/* ─── Accordion / FAQ ─────────────────────────────────── */
.pub-accordion {
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.pub-accordion-header {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--light-gray);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.pub-accordion-header:hover {
  background: var(--mid-gray);
}

.pub-accordion-header .arrow {
  transition: transform var(--transition);
  color: var(--gold);
  font-size: 1.2rem;
}

.pub-accordion.open .pub-accordion-header {
  border-bottom: 1px solid var(--mid-gray);
}

.pub-accordion.open .pub-accordion-header .arrow {
  transform: rotate(180deg);
}

.pub-accordion-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.pub-accordion.open .pub-accordion-body {
  padding: 1.25rem 1.5rem;
  max-height: 1000px;
}

/* ─── Table ───────────────────────────────────────────── */
.pub-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.pub-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--light-gray);
  border-bottom: 2px solid var(--mid-gray);
}

.pub-table td {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--mid-gray);
  color: var(--text-light);
}

.pub-table tbody tr:hover { background: var(--light-gray); }

/* ─── Buttons ─────────────────────────────────────────── */
.pub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.pub-btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}

.pub-btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(212, 168, 67, 0.4);
  transform: translateY(-2px);
}

.pub-btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--mid-gray);
}

.pub-btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── Forms ───────────────────────────────────────────── */
.pub-form { display: flex; flex-direction: column; gap: 1.25rem; }

.pub-form-group { display: flex; flex-direction: column; gap: 6px; }

.pub-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.pub-form-group input,
.pub-form-group textarea,
.pub-form-group select {
  padding: 12px 16px;
  border: 1px solid var(--mid-gray);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--light-gray);
  transition: all var(--transition);
  outline: none;
}

.pub-form-group input:focus,
.pub-form-group textarea:focus,
.pub-form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
  background: var(--white);
}

.pub-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pub-form-success {
  padding: 16px;
  background: rgba(40, 200, 64, 0.08);
  border: 1px solid rgba(40, 200, 64, 0.2);
  border-radius: 10px;
  color: #166534;
  font-size: 0.95rem;
  text-align: center;
}

.pub-form-error {
  padding: 12px 16px;
  background: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
  color: #DC2626;
  font-size: 0.9rem;
}

/* ─── Badges ──────────────────────────────────────────── */
.pub-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pub-badge-gold {
  background: rgba(212,168,67,0.12);
  color: var(--gold-dark);
}

.pub-badge-green {
  background: rgba(34,197,94,0.1);
  color: #16A34A;
}

.pub-badge-blue {
  background: rgba(59,130,246,0.1);
  color: #2563EB;
}

.pub-badge-red {
  background: rgba(239,68,68,0.1);
  color: #DC2626;
}

/* ─── Contact Info ────────────────────────────────────── */
.pub-contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.pub-contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

/* ─── Legal Content ───────────────────────────────────── */
.pub-legal h2 { font-size: 1.3rem; margin-top: 2.5rem; margin-bottom: 0.75rem; border: none; padding: 0; }
.pub-legal h3 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.pub-legal p { margin-bottom: 0.75rem; font-size: 0.95rem; }
.pub-legal ul, .pub-legal ol { font-size: 0.95rem; }

/* ─── Status Badge ────────────────────────────────────── */
.pub-status { display: inline-flex; align-items: center; gap: 6px; }
.pub-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
}

/* ─── Footer ──────────────────────────────────────────── */
.pub-footer {
  background: var(--light-gray);
  border-top: 1px solid var(--mid-gray);
  margin-top: auto;
}

.pub-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.pub-footer-brand p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  font-weight: 300;
}

.pub-footer-links {
  display: flex;
  gap: 3rem;
}

.pub-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pub-footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.pub-footer-col a {
  font-size: 0.88rem;
  color: var(--text-light);
}

.pub-footer-col a:hover { color: var(--gold); }

.pub-footer-bottom {
  border-top: 1px solid var(--mid-gray);
  padding: 1.25rem 2rem;
  text-align: center;
}

.pub-footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .pub-nav { padding: 0 1.5rem; }

  .pub-nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--mid-gray);
    box-shadow: var(--shadow-md);
  }

  .pub-nav-links.open { display: flex; }
  .pub-hamburger { display: flex; }

  .pub-main { padding: 2rem 1.25rem 3rem; }

  .pub-card-grid { grid-template-columns: 1fr; }
  .pub-form-row { grid-template-columns: 1fr; }

  .pub-footer-inner { flex-direction: column; gap: 2rem; }
  .pub-footer-links { flex-direction: column; gap: 1.5rem; }
}

/* ─── Utility ─────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--gold) !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
