/* AI Tricks — GoFlyLo premium look (static site) */
:root {
  --teal-dark: #0B3B36;
  --teal: #0F766E;
  --teal-hover: #0B5E57;
  --teal-light: #E6F4F2;
  --teal-pale: #CCFBF1;
  --ink: #111827;
  --grey: #6B7280;
  --line: #E5E7EB;
  --bg: #F8FAFC;
  --blue: #3367D6;
  --blue-light: #eaf2ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: Poppins, Inter, sans-serif; line-height: 1.3; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ---------- header ---------- */
.site-header {
  background: var(--teal-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 8px; }
.brand-name {
  font-family: Poppins, sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  letter-spacing: .2px;
}
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 2px; margin-left: auto; }
.nav-link {
  color: #D1FAE5;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.nav-link.active { color: #fff; background: rgba(255,255,255,.14); }
.nav-tools { color: #FDE68A; }

/* ---------- layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 24px 20px 48px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 24px 20px 48px; }
.section-title {
  font-size: 26px;
  color: var(--teal-dark);
  margin: 28px 0 18px;
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--teal-light) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 860px; margin: 0 auto; padding: 56px 20px 40px; text-align: center; }
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--teal-dark);
  margin: 0 0 12px;
}
.hero-tagline { font-size: 19px; color: #334155; margin: 0 0 24px; }
.hero-search { position: relative; max-width: 560px; margin: 0 auto; }
.hero-search input[type="search"] {
  width: 100%;
  padding: 14px 18px;
  font-size: 17px;
  font-family: Inter, sans-serif;
  border: 2px solid var(--teal);
  border-radius: 999px;
  outline: none;
  background: #fff;
}
.hero-search input[type="search"]:focus { box-shadow: 0 0 0 4px rgba(15,118,110,.18); }
.search-results {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
  text-align: left;
  overflow: hidden;
  z-index: 50;
}
.search-hit { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.search-hit:last-child { border-bottom: none; }
.search-hit:hover { background: var(--teal-light); text-decoration: none; }
.search-hit strong { display: block; color: var(--teal-dark); font-size: 15px; line-height: 1.4; }
.search-hit span { display: block; color: var(--grey); font-size: 13px; line-height: 1.5; margin-top: 2px; }
.trust-strip {
  margin: 26px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .3px;
}
.no-results { text-align: center; color: var(--grey); padding: 32px 0; }

/* ---------- category chips ---------- */
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 4px; }
.cat-chip {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--teal);
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}
.cat-chip:hover { background: var(--teal); color: #fff; text-decoration: none; }
.cat-chip span { color: var(--grey); font-weight: 400; }
.cat-chip:hover span { color: #D1FAE5; }

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.card-media { display: block; line-height: 0; }
.card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.chip {
  display: inline-block;
  align-self: flex-start;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.chip:hover { text-decoration: none; background: var(--teal); color: #fff; }
.card-title { font-size: 19px; margin: 0 0 8px; line-height: 1.4; }
.card-title a { color: var(--teal-dark); }
.card-title a:hover { color: var(--teal); }
.card-excerpt { font-size: 15px; line-height: 1.6; color: #374151; margin: 0 0 12px; flex: 1; }
.card-meta { font-size: 13px; color: var(--grey); margin: 0; }

/* ---------- article ---------- */
.breadcrumb { font-size: 14px; color: var(--grey); margin: 8px 0 16px; }
.breadcrumb a { color: var(--teal); }
.article-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--teal-dark);
  margin: 0 0 8px;
  line-height: 1.25;
}
.byline { font-size: 14px; color: var(--grey); margin: 0 0 8px; }
.post-body h2 {
  font-size: 26px;
  color: var(--teal);
  margin: 36px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--teal-light);
}
.post-body h3 { font-size: 21px; color: var(--teal-dark); margin: 28px 0 10px; }
.post-body p { margin: 0 0 16px; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 26px; }
.post-body li { margin-bottom: 6px; }
.post-body img { border-radius: 8px; }
.post-body .separator { margin: 18px 0; }
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 15px;
  line-height: 1.5;
  display: block;
  overflow-x: auto;
}
.post-body thead th {
  background: var(--blue);
  color: #fff;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid var(--blue);
}
.post-body tbody td {
  padding: 10px 12px;
  border: 1px solid #D1D5DB;
  vertical-align: top;
}
.post-body tbody tr:nth-child(even) td { background: #F1F5F9; }
.post-body blockquote {
  border-left: 4px solid var(--teal);
  background: var(--teal-light);
  margin: 18px 0;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
}
.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 20px;
}
.prev-next {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--teal);
  color: var(--teal);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 8px;
  max-width: 48%;
}
.prev-next:hover { background: var(--teal); color: #fff; text-decoration: none; }

/* ---------- static pages ---------- */
.page-title { font-size: 32px; color: var(--teal-dark); margin: 8px 0 6px; }
.page-intro { color: var(--grey); margin: 0 0 8px; }
.static-page h1, .static-page h2 { color: var(--teal); }
.static-page p { margin: 0 0 14px; }
.static-page ul { margin: 0 0 16px; padding-left: 24px; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-dark); color: #E5E7EB; margin-top: 24px; }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px 12px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.site-footer h3 { color: #fff; font-size: 18px; margin: 0 0 12px; }
.site-footer p { font-size: 15px; line-height: 1.7; margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #99F6E4; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.trust-pills {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.disclosure, .copyright {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px 0;
  font-size: 13px;
  color: #A7F3D0;
}
.copyright { padding-bottom: 28px; color: #D1FAE5; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .header-inner { gap: 10px; padding: 10px 14px; }
  .brand-name { font-size: 20px; }
  .main-nav { margin-left: 0; }
  .hero-inner { padding: 36px 16px 28px; }
  .hero h1 { font-size: 29px; }
  .hero-tagline { font-size: 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .container, .container-narrow { padding-left: 14px; padding-right: 14px; }
  .article-title { font-size: 26px; }
  .post-body h2 { font-size: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .prev-next { max-width: 100%; }
  .post-body table { font-size: 14px; }
}
