/* PK BUSES core design system - extracted from layouts/app.blade.php head (cacheable) */

    :root {
      --color-primary: #00A651;
      --color-primary-dark: #007A3C;
      --color-primary-light: #E6F7EE;
      --color-bg: #F8FAFC;
      --color-surface: #FFFFFF;
      --color-surface-2: #F1F5F9;
      --color-border: #E2E8F0;
      --color-border-light: #F1F5F9;
      --color-text: #0F172A;
      --color-text-secondary: #475569;
      --color-text-muted: #94A3B8;
      --font-heading: 'Poppins', -apple-system, sans-serif;
      --font-body: 'Inter', -apple-system, sans-serif;
      --text-xs: .75rem;
      --text-sm: .875rem;
      --text-base: 1rem;
      --text-lg: 1.125rem;
      --text-xl: 1.25rem;
      --text-2xl: 1.5rem;
      --text-3xl: 1.875rem;
      --text-4xl: 2.25rem;
      --space-2: .5rem;
      --space-3: .75rem;
      --space-4: 1rem;
      --space-5: 1.25rem;
      --space-6: 1.5rem;
      --space-8: 2rem;
      --space-10: 2.5rem;
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
      --radius-pill: 999px;
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
      --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
      --shadow-lg: 0 10px 40px rgba(0, 0, 0, .10);
      --shadow-xl: 0 20px 60px rgba(0, 0, 0, .12);
      --shadow-green: 0 4px 20px rgba(0, 166, 81, .25);
      --transition-fast: 150ms cubic-bezier(.4, 0, .2, 1);
      --transition-base: 250ms cubic-bezier(.4, 0, .2, 1);
      --z-dropdown: 100;
      --z-sticky: 200;
      --z-overlay: 300;
      --z-modal: 400;
      --z-toast: 500
    }

    [data-theme="dark"] {
      --color-bg: #0D1117;
      --color-surface: #161B22;
      --color-surface-2: #21262D;
      --color-border: #30363D;
      --color-border-light: #21262D;
      --color-text: #E6EDF3;
      --color-text-secondary: #8B949E;
      --color-text-muted: #484F58;
      color-scheme: dark
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent
    }

    html {
      font-size: 16px;
      -webkit-text-size-adjust: 100%;
    }

    @media (min-width:993px) {
      html {
        scroll-behavior: smooth
      }
    }

    body {
      font-family: var(--font-body);
      color: var(--color-text);
      background: var(--color-bg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-family: var(--font-heading);
      font-weight: 700;
      line-height: 1.25;
      color: var(--color-text)
    }

    h1 {
      font-size: var(--text-4xl);
      font-weight: 800
    }

    h2 {
      font-size: var(--text-3xl);
      font-weight: 700
    }

    a {
      color: inherit;
      text-decoration: none
    }

    img {
      max-width: 100%;
      height: auto;
      display: block
    }

    button {
      cursor: pointer;
      font-family: inherit;
      border: none;
      touch-action: manipulation
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 var(--space-6)
    }

    .navbar {
      position: sticky;
      top: 0;
      z-index: var(--z-sticky);
      background: var(--color-surface);
      border-bottom: 1px solid var(--color-border);
      box-shadow: var(--shadow-sm);
      transition: all var(--transition-base)
    }

    .navbar__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 60px;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 var(--space-4)
    }

    .navbar__logo {
      font-family: var(--font-heading);
      display: inline-flex;
      align-items: center;
      font-size: 1.25rem
    }

    .navbar__actions {
      display: flex;
      align-items: center;
      gap: var(--space-3)
    }

    .navbar__mobile {
      position: fixed;
      inset: 0 0 0 auto;
      transform: translateX(100%);
      z-index: var(--z-overlay);
      display: flex;
      visibility: hidden;
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s
    }

    .navbar__mobile--open {
      transform: translateX(0) !important;
      visibility: visible !important
    }

    .navbar__overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.5);
      backdrop-filter: blur(4px);
      z-index: calc(var(--z-overlay) + 5);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease
    }

    .navbar__overlay--open {
      opacity: 1 !important;
      pointer-events: auto !important
    }

    .hero {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #010d08 0%, #021a0e 25%, #04301a 55%, #063d22 80%, #0a4a2a 100%);
      padding: 4rem 0 4.5rem;
      display: flex;
      align-items: center;
      min-height: auto
    }

    .hero::before {
      content: '';
      position: absolute;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(0, 166, 81, 0.25) 0%, transparent 70%);
      top: -200px;
      right: -150px;
      border-radius: 50%;
      animation: hero-orb-1 8s ease-in-out infinite alternate;
      pointer-events: none;
      z-index: 0
    }

    .hero::after {
      content: '';
      position: absolute;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
      bottom: -200px;
      left: -100px;
      border-radius: 50%;
      animation: hero-orb-2 10s ease-in-out infinite alternate;
      pointer-events: none;
      z-index: 0
    }

    @keyframes hero-orb-1 {
      0% {
        transform: translate(0, 0) scale(1)
      }

      100% {
        transform: translate(-60px, 40px) scale(1.15)
      }
    }

    @keyframes hero-orb-2 {
      0% {
        transform: translate(0, 0) scale(1)
      }

      100% {
        transform: translate(50px, -30px) scale(1.1)
      }
    }

    .hero__content {
      position: relative;
      z-index: 2;
      text-align: center;
      color: #fff;
      width: 100%
    }

    .hero__title {
      font-size: clamp(1.8rem, 5vw, 3rem);
      font-weight: 900;
      letter-spacing: -1px;
      line-height: 1.15;
      margin-bottom: 0.75rem;
      background: linear-gradient(to bottom, #ffffff 0%, #d0ffe8 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent
    }

    .hero__subtitle {
      font-size: clamp(0.9rem, 2vw, 1.1rem);
      color: rgba(255, 255, 255, 0.8);
      max-width: 600px;
      margin: 0 auto 2rem;
      line-height: 1.6
    }

    .hero__label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(0, 166, 81, 0.15);
      border: 1px solid rgba(0, 166, 81, 0.3);
      backdrop-filter: blur(10px);
      padding: 6px 16px;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      color: #7FFFC4;
      margin-bottom: 1.25rem
    }

    [data-theme="light"] .hero {
      background: var(--color-primary)
    }

    [data-theme="light"] .hero::before {
      background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%)
    }

    [data-theme="light"] .hero::after {
      background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%)
    }

    [data-theme="light"] .hero__label {
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.3);
      color: #ffffff
    }

    [data-theme="light"] .hero__title {
      background: none;
      -webkit-background-clip: unset;
      background-clip: unset;
      -webkit-text-fill-color: unset;
      color: #111827
    }

    [data-theme="light"] .hero__subtitle {
      color: #ffffff
    }

    .hero-grid-lines {
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(0, 166, 81, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 166, 81, 0.04) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
      -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
      pointer-events: none;
      z-index: 1
    }

    [data-theme="light"] .hero-grid-lines {
      background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px)
    }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 16px;
      background: linear-gradient(135deg, rgba(0, 166, 81, 0.1), rgba(0, 217, 122, 0.1));
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 800;
      color: var(--color-primary);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 1.25rem;
      border: 1px solid rgba(0, 166, 81, 0.2);
    }

    [data-theme="dark"] .section-label {
      background: rgba(0, 166, 81, 0.15);
      border-color: rgba(0, 166, 81, 0.3);
      color: #00ffaa;
    }

    @media(min-width:768px) {
      .navbar__inner {
        padding: 0 var(--space-6);
        height: 70px
      }

      .container {
        padding: 0 var(--space-6)
      }

      .hero {
        padding: 5rem 0 5.5rem
      }

      .hero__title {
        font-size: 3.5rem
      }

      .hero__subtitle {
        font-size: var(--text-lg)
      }
    }

    @media(max-width:480px) {
      .navbar__inner {
        padding: 0 var(--space-3)
      }

      .navbar__logo {
        font-size: 1rem
      }

      h1 {
        font-size: clamp(1.5rem, 4vw, 2rem)
      }
    }

    /* Prevent Google Ads from causing horizontal overflow */
    ins.adsbygoogle,
    .google-auto-placed {
      max-width: 100% !important;
      overflow-x: clip !important;
      box-sizing: border-box !important;
    }

    ins.adsbygoogle iframe,
    .google-auto-placed iframe {
      max-width: 100% !important;
    }
  

/* ============================================================
   iOS focus-zoom fix: Safari auto-zooms (and stays zoomed) when
   a focused input/select/textarea has font-size < 16px, causing
   horizontal scrolling. Force 16px on touch-width screens.
   !important intentionally beats per-view inline styles.
   ============================================================ */
@media (max-width: 992px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea,
  .ts-control,
  .ts-control input,
  .ts-dropdown,
  .ts-dropdown .option {
    font-size: 16px !important;
  }
}