/* airline-index-styles.css — RouteLinq airlines listing page */

.ai-bc { background: #fff; border-bottom: 1px solid #E2E8F0; padding: 8px 0; }
.ai-bc-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748B; }
.ai-bc-inner a { color: #E85D3A; text-decoration: none; font-weight: 600; }

.ai-hero { background: linear-gradient(135deg, #1E293B 0%, #2D3F5A 60%, #1a2d46 100%); color: #F8FAFC; padding: 3.5rem 0 5rem; }
.ai-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ai-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; font-weight: 700; margin-bottom: .5rem; letter-spacing: -1px; }
.ai-hero p { font-size: 1rem; opacity: .75; max-width: 560px; margin-top: .5rem; }
.ai-hero-meta { display: flex; gap: 2.5rem; margin-top: 2rem; }
.ai-hm-num { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; display: block; line-height: 1; }
.ai-hm-lbl { font-size: .8rem; opacity: .7; margin-top: 2px; }

.ai-stats-strip { position: relative; margin-top: -2rem; z-index: 10; }
.ai-stats-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ai-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.1); border: 1px solid #E2E8F0; overflow: hidden; }
.ai-sg-cell { padding: 1.2rem 1.25rem; border-right: 1px solid #E2E8F0; }
.ai-sg-cell:last-child { border-right: none; }
.ai-sg-lbl { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #94A3B8; margin-bottom: 4px; }
.ai-sg-val { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; color: #1E293B; }
.ai-sg-sub { font-size: .7rem; color: #94A3B8; margin-top: 2px; }

.ai-main { max-width: 1200px; margin: 0 auto; padding: 3rem 24px 6rem; }

.ai-filter-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.ai-filter-bar h2 { font-family: 'Space Grotesk', sans-serif; color: #1E293B; font-size: 1.5rem; font-weight: 700; flex: 1; letter-spacing: -.3px; }
.ai-filter-btn { padding: .45rem 1rem; font-size: .82rem; font-weight: 700; border-radius: 20px; border: 1px solid #E2E8F0; background: #fff; color: #64748B; cursor: pointer; font-family: 'Inter', sans-serif; transition: all .2s; white-space: nowrap; }
.ai-filter-btn.active { background: #1E293B; border-color: #1E293B; color: #fff; }
.ai-filter-btn:hover:not(.active) { border-color: #1E293B; color: #1E293B; }

.ai-airline-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }

.ai-airline-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; text-decoration: none; color: inherit; transition: all .2s; position: relative; overflow: hidden; animation: ai-fadeUp .4s ease both; }
.ai-airline-card:hover { border-color: #1E293B; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(30,41,59,.1); }
.ai-airline-card:hover .ai-card-arrow { opacity: 1; transform: translateX(0); }

.ai-card-top { display: flex; align-items: center; gap: 1rem; }
.ai-card-logo { width: 56px; height: 56px; border-radius: 8px; background: #F8FAFC; border: 1px solid #E2E8F0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; padding: 4px; }
.ai-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.ai-card-logo-fb { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 900; }
.ai-card-info { flex: 1; min-width: 0; }
.ai-card-name { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; color: #1E293B; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-card-iata { font-size: .72rem; color: #64748B; margin-top: 2px; }
.ai-card-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .35rem; }
.ai-ctag { font-size: .65rem; font-weight: 700; padding: .15rem .5rem; border-radius: 20px; }
.ai-ctag-alliance { background: #F1F5F9; color: #1E293B; }
.ai-ctag-type { background: #FEF3C7; color: #92400E; }
.ai-card-arrow { font-size: 1.1rem; color: #E85D3A; font-weight: 700; opacity: 0; transform: translateX(-6px); transition: all .2s; flex-shrink: 0; }

.ai-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding-top: .75rem; border-top: 1px solid #E2E8F0; }
.ai-cs { text-align: center; }
.ai-cs-val { font-family: 'Space Grotesk', sans-serif; font-size: .95rem; font-weight: 700; color: #1E293B; display: block; line-height: 1; }
.ai-cs-lbl { font-size: .62rem; color: #94A3B8; margin-top: 2px; text-transform: uppercase; letter-spacing: .3px; font-weight: 600; }

.ai-lf-bar-wrap { padding-top: .25rem; }
.ai-lf-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; font-size: .75rem; }
.ai-lf-label { color: #64748B; font-weight: 500; }
.ai-lf-val { font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.ai-lf-bar-bg { height: 5px; background: #E2E8F0; border-radius: 3px; overflow: hidden; }
.ai-lf-bar-fill { height: 100%; border-radius: 3px; }

.ai-view-btn { display: inline-block; margin-top: .75rem; padding: .6rem 1.1rem; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 6px; font-size: .8rem; font-weight: 700; color: #1E293B; text-align: center; transition: all .2s; }
.ai-airline-card:hover .ai-view-btn { background: #1E293B; border-color: #1E293B; color: #fff; }

@keyframes ai-fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .ai-hero h1 { font-size: 1.9rem; }
  .ai-hero-meta { gap: 1.5rem; }
  .ai-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-airline-grid { grid-template-columns: 1fr; }
  .ai-filter-bar { flex-direction: column; align-items: flex-start; }
}
