* { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #142332; background: #eef5f6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(1760px, 100%); max-width: 100%; min-width: 0; margin: 0 auto; padding: 18px; overflow: hidden; }
.site-header { width: 100%; max-width: 100%; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; border-radius: 8px; background: #11333b; color: #f4fbfb; box-shadow: 0 18px 50px rgba(20, 35, 50, .16); }
.header-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand { font-size: 26px; font-weight: 900; letter-spacing: 0; color: #fff; white-space: nowrap; }
.header-cta, .search-card button, .register, .ticket-action { border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff8a34, #7f5cff); color: #fff; font-weight: 800; }
.header-cta { padding: 10px 14px; font-size: 14px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; flex-wrap: wrap; }
.nav-links a { padding: 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #e4f2f3; font-size: 14px; font-weight: 700; }
.nav-links a:first-child { background: rgba(255, 138, 52, .28); color: #fff; }
.hero { width: 100%; max-width: 100%; min-width: 0; min-height: 540px; margin-top: 14px; padding: 72px 54px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; border-radius: 8px; overflow: hidden; background-image: linear-gradient(90deg, rgba(9, 35, 43, .82) 0%, rgba(9, 35, 43, .62) 48%, rgba(9, 35, 43, .12) 74%), url("./hero-assets/mulebuy-hero-main-airplane-cockpit-bg.png"); background-size: cover; background-position: center right; box-shadow: 0 22px 60px rgba(17, 51, 59, .20); }
.hero-copy { width: min(760px, 100%); max-width: 100%; min-width: 0; color: #fff; }
.eyebrow, .section-intro span { display: inline-flex; color: #ffb457; font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: 0; }
h1 { max-width: 100%; margin: 12px 0 0; font-size: clamp(44px, 6vw, 76px); line-height: .96; letter-spacing: 0; overflow-wrap: anywhere; }
.hero-text { width: min(620px, 100%); margin: 18px 0 22px; color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.45; }
.search-card { display: flex; align-items: center; gap: 8px; width: min(640px, 100%); max-width: 100%; min-width: 0; padding: 8px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.search-card input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px 16px; font-size: 15px; background: transparent; color: #142332; }
.search-card button { padding: 14px 22px; cursor: pointer; }
.content-section { width: 100%; max-width: 100%; min-width: 0; padding: 44px 8px 8px; }
.section-intro { width: min(980px, 100%); max-width: 100%; min-width: 0; margin: 0 auto 22px; text-align: center; }
.section-intro h2, .blog-home h1 { margin: 8px 0; font-size: clamp(26px, 4vw, 42px); line-height: 1.05; letter-spacing: 0; color: #102b34; }
.section-intro p { margin: 0 auto; width: min(720px, 100%); color: #52636d; line-height: 1.6; }
.categories-grid { width: min(1280px, 100%); max-width: 100%; min-width: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.category-card { min-width: 0; max-width: 100%; display: grid; grid-template-columns: auto 96px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 132px; padding: 16px; border-radius: 8px; background: #fff; color: #17313a; box-shadow: 0 12px 34px rgba(28, 55, 63, .10); border-left: 6px dotted rgba(127, 92, 255, .55); transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.category-card:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(28, 55, 63, .16); }
.ticket-index { color: #7f5cff; font-weight: 900; }
.ticket-media { width: 96px; aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 8px; background: #edf5f6; overflow: hidden; }
.ticket-media img { width: 100%; height: 100%; object-fit: contain; }
.ticket-copy { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.ticket-copy strong { display: block; font-size: 18px; text-transform: capitalize; }
.ticket-copy small { display: block; margin-top: 5px; color: #66747d; line-height: 1.35; }
.ticket-action { justify-self: end; padding: 9px 12px; font-size: 13px; }
.brands-section, .guide-section, .faq-section { width: min(1280px, 100%); margin: 0 auto; border-top: 1px solid rgba(17,51,59,.12); }
.agents-section { padding-bottom: 28px; }
.agents-slider { position: relative; width: min(1280px, 100%); max-width: 100%; min-width: 0; margin: 0 auto; overflow: hidden; padding: 0 42px; }
.agents-track { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 0 18px; scrollbar-color: #7f5cff transparent; }
.agent-card { flex: 0 0 clamp(390px, 34vw, 470px); scroll-snap-align: start; min-width: 0; max-width: 100%; display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px; padding: 16px; border-radius: 8px; background: linear-gradient(135deg, #ffffff 0%, #f4fbfb 56%, #f1edff 100%); box-shadow: 0 14px 34px rgba(28, 55, 63, .12); color: #152b35; overflow: hidden; }
.agent-logo { grid-row: span 2; min-width: 0; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 16px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17,51,59,.08); }
.agent-logo img { width: 100%; height: 100%; object-fit: contain; }
.agent-info { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.agent-info small { color: #7f5cff; font-weight: 900; }
.agent-info strong { display: block; margin-top: 4px; font-size: 24px; }
.agent-info span { display: block; margin-top: 6px; color: #5d6c74; line-height: 1.35; }
.register { align-self: end; justify-self: start; padding: 11px 18px; }
.agent-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 54px; border: 0; border-radius: 8px; background: #11333b; color: #fff; font-size: 28px; cursor: pointer; }
.agent-arrow-prev { left: 0; }
.agent-arrow-next { right: 0; }
.blog-grid { width: min(1280px, 100%); max-width: 100%; min-width: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.blog-card { min-width: 0; padding: 20px; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(28,55,63,.10); }
.blog-card span { color: #7f5cff; font-weight: 900; font-size: 12px; }
.blog-card h2, .blog-card h3 { margin: 8px 0; font-size: 20px; line-height: 1.18; letter-spacing: 0; }
.blog-card p { color: #52636d; line-height: 1.5; }
.article-content { width: min(900px, 100%); max-width: 100%; margin: 28px auto; padding: 28px; border-radius: 8px; background: #fff; box-shadow: 0 14px 38px rgba(28,55,63,.10); }
.article-content h1 { color: #102b34; font-size: clamp(34px, 5vw, 56px); }
.article-content h2 { margin-top: 28px; color: #16353e; font-size: 26px; letter-spacing: 0; }
.article-content p { color: #40545e; line-height: 1.72; font-size: 17px; }
.article-content a { color: #6c4ef6; font-weight: 800; }
.back-link { display: inline-block; margin-bottom: 14px; color: #6c4ef6; font-weight: 900; }
.site-footer { margin-top: 34px; padding: 30px; border-radius: 8px; background: #102b34; color: #eaf4f5; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 22px; min-width: 0; }
.site-footer h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: 0; }
.site-footer p, .site-footer a { color: rgba(234,244,245,.78); line-height: 1.55; }
.site-footer a { display: block; margin: 7px 0; overflow-wrap: anywhere; }
.copyright { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
@media (max-width: 1024px) {
  .site-header { align-items: stretch; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; padding: 48px 32px; min-height: 480px; background-position: center right; }
  .categories-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  .page-shell { width: 100%; max-width: 100%; padding: 16px 12px 42px; overflow: hidden; }
  .site-header, .hero { width: 100%; max-width: 100%; min-width: 0; }
  .header-main { width: 100%; justify-content: space-between; }
  .brand { font-size: 23px; }
  .header-cta { padding: 9px 11px; font-size: 13px; }
  .nav-links { width: 100%; flex-wrap: wrap; overflow: hidden; border-radius: 22px; }
  .nav-links a { flex: 1 1 calc(50% - 4px); min-width: 0; text-align: center; padding: 8px 7px; font-size: 13px; }
  .hero { display: grid; grid-template-columns: 1fr; padding: 16px; min-height: 0; gap: 12px; background-size: cover; background-position: center right; }
  .hero-copy, .search-card { width: 100%; max-width: 320px; overflow: hidden; }
  .hero-text { margin: 12px 0 14px; font-size: 14px; line-height: 1.32; }
  h1 { max-width: 100%; font-size: 31px; line-height: 1.02; overflow-wrap: anywhere; }
  .search-card input { min-width: 0; padding: 11px 9px; font-size: 13px; }
  .search-card button { padding: 11px 12px; }
  .content-section { padding: 34px 0 0; }
  .categories-grid, .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .category-card { grid-template-columns: 38px 74px minmax(0, 1fr); gap: 9px; padding: 12px; min-height: 112px; }
  .ticket-action { grid-column: 2 / -1; justify-self: start; }
  .ticket-media { width: 74px; }
  .agents-slider { padding: 0 26px; }
  .agent-card { flex: 0 0 min(304px, 100%); max-width: 304px; grid-template-columns: 86px minmax(0, 1fr); padding: 12px; }
  .agent-info strong { font-size: 19px; overflow-wrap: anywhere; }
  .agent-info span { font-size: 13px; }
  .register { width: fit-content; max-width: 100%; padding: 9px 12px; }
  .agent-arrow { width: 23px; height: 44px; font-size: 22px; }
  .article-content { padding: 18px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
