/* Wayzuno In-Flight Wi-Fi, Power & Streaming Directory */

.wifi-body {
  background-color: var(--bg, #0b0f19);
  color: var(--text, #f1f5f9);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.breadcrumb ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.breadcrumb li+li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--text-muted, #94a3b8);
}

.breadcrumb a {
  color: var(--primary, #38bdf8);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: var(--text-muted, #94a3b8);
}

/* Hero Section */
.page-hero {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem;
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
  margin: 0 0 2rem;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.825rem;
  color: var(--text-muted, #94a3b8);
  font-weight: 500;
}

/* Tech Comparison Matrix */
.tech-comparison-section {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.015em;
}

.section-desc {
  color: var(--text-muted, #94a3b8);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.tech-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.starlink-card {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(30, 41, 59, 0.6) 100%);
}

.tech-header {
  margin-bottom: 1rem;
}

.tech-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.starlink-card .tech-badge {
  background: #0284c7;
  color: #ffffff;
}

.tech-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.tech-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.spec-label {
  color: var(--text-muted, #94a3b8);
}

.spec-val {
  font-weight: 600;
}

.text-success {
  color: #4ade80;
}

.text-warning {
  color: #facc15;
}

.text-muted {
  color: var(--text-muted, #94a3b8);
}

.text-bold {
  font-weight: 700;
}

.tech-summary {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

/* Directory Controls */
.directory-controls {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.carrier-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  outline: none;
  transition: border-color 0.15s ease;
}

.carrier-search-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.filter-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  background: rgba(51, 65, 85, 0.8);
  color: #ffffff;
}

.filter-pill.active {
  background: #38bdf8;
  color: #0b0f19;
  border-color: #38bdf8;
}

/* Airline Wi-Fi Grid */
.airlines-wifi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.airline-wifi-card {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.airline-wifi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.35);
}

.card-header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.carrier-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.carrier-iata {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  padding: 0.4rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
  line-height: 1;
}

.carrier-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.carrier-country {
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
}

/* Status Badges */
.status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.badge-free {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.badge-messaging {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-paid {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.badge-none {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.spec-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.block-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted, #94a3b8);
}

.provider-val {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.starlink-pill {
  font-size: 0.7rem;
  font-weight: 800;
  background: #0284c7;
  color: #ffffff;
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
}

.policy-snippet {
  margin: 0;
  font-size: 0.825rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.specs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.5);
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.mini-spec {
  display: flex;
  flex-direction: column;
}

.spec-k {
  font-size: 0.7rem;
  color: var(--text-muted, #94a3b8);
}

.spec-v {
  font-size: 0.85rem;
}

.power-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0;
}

.power-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 0.35rem;
}

.tag-available {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.tag-missing {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
}

.power-policy-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
}

.ife-block {
  font-size: 0.825rem;
}

.ife-text {
  color: #cbd5e1;
}

.live-tv-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
  margin-top: 0.25rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.baggage-teaser {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.baggage-pill {
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
}

.card-footer {
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-search-flights {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid rgba(56, 189, 248, 0.25);
  min-height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-search-flights:hover {
  background: #38bdf8;
  color: #0b0f19;
}

.no-results-msg {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted, #94a3b8);
  font-size: 1.1rem;
}

/* Power Guide Section */
.power-guide-section {
  margin-top: 4rem;
  padding: 2.5rem;
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}

.power-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
}

.guide-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.guide-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.guide-card p {
  font-size: 0.875rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.55;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  margin-top: 4rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.65rem;
  padding: 1rem 1.25rem;
}

.faq-question {
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: #38bdf8;
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-answer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

@media (max-width: 640px) {
  .hero-stats-strip {
    grid-template-columns: 1fr 1fr;
  }
  .airlines-wifi-grid {
    grid-template-columns: 1fr;
  }
  .power-guide-section {
    padding: 1.5rem;
  }
}
