/* Homepage feature picker, scoped to the Trips showcase. */
.trip-home-showcase {
  --body: Manrope, system-ui, sans-serif;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --ink: #211831;
  --ink-dim: #564964;
  --ink-dimmer: #695b77;
  --line: #ddcfe8;
  --line-hi: #cbb9de;
  --card: #f9f3ff;
  --card-hi: #f0e4ff;
  --blue: #9ac7f2;
  --purple: #b58ae9;
  --grad-soft: linear-gradient(135deg, #eee2ff, #e0edff);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  margin: 36px 0 24px;
  padding: var(--trip-showcase-padding);
  border: 1px solid var(--line);
  border-radius: var(--trip-showcase-radius);
  background: radial-gradient(ellipse at 80% 50%, #efe0ff 0, transparent 64%), #fffdfb;
  overflow: hidden;
}
.trip-ai-standalone { scroll-margin-top: 20px; }
.trip-ai-standalone .trip-link { display: inline-block; margin-top: 18px; }
.trip-home-showcase.trip-animate-showcase {
  scroll-margin-top: 20px;
  background: radial-gradient(ellipse at 25% 50%, #e4dcfb, transparent 65%), #fffdfa;
}
.trip-animate-showcase .feature-row { padding: 12px 0; gap: clamp(24px, 5vw, 64px); }
.trip-animate-visual { display: grid; justify-items: center; }
.trip-animate-phone { width: min(254px, 100%); }
.trip-animate-phone video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #0b1711; }
.trip-animate-showcase .trip-link { display: inline-block; margin-top: 18px; }
.trip-home-showcase.trip-calendar {
  scroll-margin-top: 20px;
  background: radial-gradient(ellipse at 27% 54%, #e4e3ff, transparent 68%), #fffdfa;
}
.trip-calendar .feature-row { padding: 12px 0; gap: clamp(28px, 5vw, 64px); }
.trip-calendar .mock { aspect-ratio: auto; }
.trip-calendar .mock-phone { width: min(260px, 100%); }
.trip-calendar .mock-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.trip-calendar .trip-link { display: inline-block; margin-top: 18px; }
#itinerary .feature-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
#itinerary .itinerary-mock {
  --phone-half: 130px;
  --badge-size: clamp(42px, 4.5vw, 60px);
  max-width: 590px;
  aspect-ratio: auto;
}
#itinerary .itinerary-icon-badges {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#itinerary .itinerary-badge {
  position: absolute;
  top: var(--badge-y);
  width: var(--badge-size);
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--badge-surface);
  color: var(--badge-ink);
}
#itinerary .itinerary-badge svg { display: block; width: 55%; height: 55%; fill: currentColor; }
#itinerary .itinerary-badge:nth-child(-n + 4) {
  left: clamp(0px, calc(50% - var(--phone-half) - var(--badge-size) - var(--badge-gap)), 22%);
}
#itinerary .itinerary-badge:nth-child(n + 5) {
  right: clamp(0px, calc(50% - var(--phone-half) - var(--badge-size) - var(--badge-gap)), 22%);
}
#itinerary .itinerary-badge-sun { --badge-y: 12%; --badge-gap: 42px; --badge-surface: #ffebd1; --badge-ink: #eb8b15; }
#itinerary .itinerary-badge-flight { --badge-y: 34%; --badge-gap: 15px; --badge-surface: #d5edff; --badge-ink: #0d9ccc; }
#itinerary .itinerary-badge-outdoors { --badge-y: 47%; --badge-gap: 64px; --badge-surface: #d6f4e5; --badge-ink: #22a96e; }
#itinerary .itinerary-badge-map { --badge-y: 70%; --badge-gap: 20px; --badge-surface: #fbdcf2; --badge-ink: #d3429e; }
#itinerary .itinerary-badge-stay { --badge-y: 19%; --badge-gap: 16px; --badge-surface: #eedbff; --badge-ink: #a64ad7; }
#itinerary .itinerary-badge-coffee { --badge-y: 31%; --badge-gap: 61px; --badge-surface: #ffedd7; --badge-ink: #dc8410; }
#itinerary .itinerary-badge-food { --badge-y: 48%; --badge-gap: 33px; --badge-surface: #ffe7ce; --badge-ink: #dc7a1e; }
#itinerary .itinerary-badge-pin { --badge-y: 67%; --badge-gap: 13px; --badge-surface: #ffdae5; --badge-ink: #e84275; }
#itinerary .itinerary-badge-drink { --badge-y: 77%; --badge-gap: 55px; --badge-surface: #ffedd7; --badge-ink: #d98712; }
@media (max-width: 900px) {
  #itinerary .feature-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  #itinerary .itinerary-mock { --badge-size: clamp(28px, 7vw, 42px); }
  #itinerary .itinerary-mock .mock-phone { width: min(260px, calc(100% - 2 * var(--badge-size) - 12px)); }
  #itinerary .itinerary-badge:nth-child(-n + 4) { left: 0; }
  #itinerary .itinerary-badge:nth-child(n + 5) { right: 0; }
  #itinerary .itinerary-badge-pin { --badge-y: 64%; }
  #itinerary .itinerary-badge-drink { --badge-y: 82%; }
}
@scope (.trip-home-showcase) {
    .feature-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
      padding: 80px 0
    }

    .feature-row+.feature-row {
      border-top: 1px solid var(--line)
    }

    .feature-row.reverse .feature-visual {
      order: -1
    }

    @media(max-width:900px) {
      .feature-row {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 60px 0
      }

      .feature-row.reverse .feature-visual {
        order: initial
      }
    }

    .feature-title {
      font-family: var(--display);
      font-weight: 800;
      font-size: clamp(30px, 3.6vw, 50px);
      line-height: 1.0;
      letter-spacing: -.025em;
      margin-bottom: 20px
    }

    .feature-desc {
      font-size: 17px;
      color: var(--ink-dim);
      line-height: 1.65;
      max-width: 460px;
      font-weight: 700
    }

    .feature-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 28px
    }

    .feature-tag {
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      background: var(--card);
      border: 1px solid var(--line-hi);
      color: var(--ink-dim);
      transition: all .2s ease;
    }

    .feature-tag:hover {
      background: var(--card-hi);
      color: var(--ink);
      border-color: rgba(168, 85, 247, .3)
    }


    .feature-tabs-container {
      margin-top: 50px;
      display: flex;
      flex-direction: column;
    }


    .fp-tabs {
      display: flex;
      gap: 22px;
      justify-content: center;
      align-items: flex-start;
      overflow-x: auto;
      padding: 10px 8px 14px;
      -ms-overflow-style: none;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }

    .fp-tabs::-webkit-scrollbar {
      display: none;
    }

    .fp-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      min-width: 82px;
      max-width: 88px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px 2px;
      flex-shrink: 0;
    }

    .fp-ic {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: var(--card);
      border: 1px solid var(--line);
      display: grid;
      place-items: center;
      font-size: 18px;
      transition: all .2s ease;
    }

    .fp-btn:hover .fp-ic {
      background: var(--card-hi);
      border-color: var(--line-hi);
    }

    .fp-btn.active .fp-ic {
      background: #0e0a18;
      border-color: #0e0a18;
      color: #fff;
      box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    }

    .fp-lbl {
      font-size: 11.5px;
      line-height: 1.25;
      color: var(--ink-dim);
      font-weight: 500;
      text-align: center;
      min-height: 28px;
      display: grid;
      place-items: center;
    }

    .fp-btn.active .fp-lbl {
      color: var(--ink);
      font-weight: 600;
    }

    /* Animated feature selector: luminous borders stay inside the scroll area. */
    .fp-tabs { padding-top: 22px; padding-bottom: 22px; }
    .fp-btn { --feature-glow: #af79ff; }
    .fp-btn:nth-child(2) { --feature-glow: #f58ccb; }
    .fp-btn:nth-child(3) { --feature-glow: #65d9ff; }
    .fp-btn:nth-child(4) { --feature-glow: #91a4ff; }
    .fp-btn:nth-child(5) { --feature-glow: #ffb276; }
    .fp-btn:nth-child(6) { --feature-glow: #7ae7bc; }
    .fp-ic {
      position: relative;
      isolation: isolate;
      width: 48px;
      height: 48px;
      border: 0;
      background: transparent;
      transition: transform .3s ease, box-shadow .3s ease;
    }
    .fp-ic::before,
    .fp-ic::after {
      content: "";
      position: absolute;
      pointer-events: none;
      border-radius: inherit;
    }
    .fp-ic::before {
      z-index: -2;
      inset: 0;
      background: linear-gradient(135deg, #ffffff20, #ffffff08);
    }
    .fp-ic::after {
      z-index: -1;
      inset: 1px;
      border-radius: 11px;
      background: #100e1b;
    }
    .fp-btn:hover .fp-ic,
    .fp-btn:focus-visible .fp-ic {
      transform: translateY(-4px);
      background: transparent;
      box-shadow: 0 8px 24px -8px var(--feature-glow);
    }
    .fp-btn:hover .fp-ic::before,
    .fp-btn:focus-visible .fp-ic::before {
      background: linear-gradient(135deg, var(--feature-glow), #ffffff30);
    }
    .fp-btn.active .fp-ic {
      background: transparent;
      box-shadow: 0 0 22px -7px var(--feature-glow), 0 8px 24px #0005;
      animation: featureHalo 3s ease-in-out infinite;
    }
    .fp-btn.active .fp-ic::before {
      background: linear-gradient(110deg, var(--feature-glow), #d5f5ff, #ffffff28, var(--feature-glow));
      background-size: 300% 300%;
      animation: featureBorder 4s ease-in-out infinite;
    }
    .fp-btn.active .fp-ic::after {
      background: radial-gradient(circle at 50% 0%, #493366, #151021 75%);
    }
    .fp-lbl { transition: color .25s ease; }
    .fp-btn:hover .fp-lbl { color: #f3eaff; }
    .fp-btn:focus-visible { outline: 2px solid var(--feature-glow); outline-offset: 5px; border-radius: 12px; }
    @keyframes featureBorder {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }
    @keyframes featureHalo {
      0%, 100% { box-shadow: 0 0 18px -7px var(--feature-glow), 0 8px 24px #0005; }
      50% { box-shadow: 0 0 30px -5px var(--feature-glow), 0 8px 24px #0005; }
    }
    @media (prefers-reduced-motion: reduce) {
      .fp-btn.active .fp-ic, .fp-btn.active .fp-ic::before { animation: none; }
      .fp-ic, .fp-lbl { transition: none; }
    }

    .fp-mid-title {
      text-align: center;
      font-size: 14px;
      font-weight: 600;
      color: var(--ink-dim);
      margin: 6px 0 18px;
      letter-spacing: .01em;
    }

    .fp-details {
      position: relative;
    }

    .fp-detail {
      display: none;
    }

    .fp-detail.active {
      display: block;
      animation: fpFade .35s ease;
    }

    @keyframes fpFade {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: none; }
    }

    .fp-detail .feature-row {
      padding: 24px 0 8px;
      border-top: none;
    }

    /* ── LIGHT PHONE — trip overview (snap 1) ── */
    .mock-phone.phone-light {
      height: 600px;
    }

    .mock-phone.phone-light.collaboration-phone {
      height: 540px;
    }

    .phone-light .mock-screen {
      padding: 0;
      background: #ffffff;
    }

    .pl-cover {
      position: relative;
      height: 150px;
      background-size: cover;
      background-position: center;
    }

    .pl-topbar {
      position: absolute;
      top: 10px;
      left: 10px;
      right: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .pl-circle {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .88);
      display: grid;
      place-items: center;
      color: #1a1a1a;
      font-size: 16px;
      line-height: 1;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    }

    .pl-title {
      background: rgba(255, 255, 255, .88);
      color: #111;
      font-family: var(--display);
      font-weight: 800;
      font-size: 15px;
      padding: 7px 16px;
      border-radius: 999px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    }

    .pl-body {
      padding: 16px 16px 18px;
    }

    .pl-h {
      font-family: var(--display);
      font-weight: 800;
      font-size: 16px;
      color: #111;
      margin: 2px 0 12px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .pl-dates {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 18px;
    }

    .pl-date {
      flex: 1;
      background: #eef1f6;
      border-radius: 14px;
      padding: 10px 4px;
      text-align: center;
      color: #111;
      font-size: 12.5px;
      font-weight: 700;
      line-height: 1.5;
    }

    .pl-date span {
      display: block;
      font-weight: 600;
      font-size: 11.5px;
    }

    .pl-clock {
      font-size: 16px;
      flex-shrink: 0;
    }

    .pl-rowhead {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
    }

    .pl-add {
      background: #eef1f6;
      border-radius: 999px;
      padding: 7px 14px;
      font-size: 12px;
      font-weight: 700;
      color: #111;
    }

    .pl-host {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      width: fit-content;
      margin-bottom: 18px;
    }

    .pl-avatar {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: linear-gradient(135deg, #b8a4f0, #9ec5f7 55%, #f0a4d8);
      display: grid;
      place-items: center;
      font-weight: 800;
      font-size: 16px;
      color: #3a2a5a;
      position: relative;
    }

    .pl-avatar .crown {
      position: absolute;
      bottom: -3px;
      right: -4px;
      font-size: 13px;
    }

    .pl-hostname {
      font-size: 11px;
      font-weight: 600;
      color: #111;
    }

    .pl-rsvp {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .pl-rsvp-card {
      background: #eef1f6;
      border-radius: 14px;
      padding: 12px 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 600;
      color: #111;
    }

    .pl-rsvp-card .em {
      font-size: 24px;
    }

    /* guest avatars */
    .pl-avatar.g2 {
      background: linear-gradient(135deg, #f0a4d8, #b8a4f0);
    }

    .pl-avatar.g3 {
      background: linear-gradient(135deg, #9ec5f7, #a7e4dc);
    }

    .pl-avatar.g4 {
      background: linear-gradient(135deg, #f4d7a2, #f0a4a4);
    }

    .pl-guests {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }

    .pl-guests .pl-host {
      margin-bottom: 0;
    }

    /* light card that holds the two phones — like snap */
    .fp-phone-card {
      background: radial-gradient(120% 120% at 50% 0%, rgba(255, 220, 230, .85) 0%, rgba(255, 248, 245, .96) 55%, rgba(255, 255, 255, 1) 100%);
      border-radius: 28px;
      padding: 28px 24px;
      border: 1px solid rgba(0, 0, 0, .06);
      box-shadow: 0 18px 48px -18px rgba(0, 0, 0, .18), 0 8px 20px -10px rgba(0, 0, 0, .08);
      display: flex;
      gap: 18px;
      justify-content: center;
      align-items: flex-start;
      flex-wrap: wrap;
    }

    .fp-phone-card .mock {
      aspect-ratio: auto;
      max-width: none;
      filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .18));
    }

    .fp-phone-card .mock-phone {
      width: 232px;
      height: 468px;
      border-radius: 36px;
      padding: 8px;
    }

    .fp-phone-card .mock-screen {
      border-radius: 28px;
    }

    /* ── ROUTE OPTIMIZATION PHONE ── */
    .route-showcase {
      position: relative;
      min-height: 680px;
      display: grid;
      place-items: center;
      overflow: hidden;
      border-radius: 28px;
      border: 1px solid rgba(0, 0, 0, .06);
      background: radial-gradient(circle at 50% 35%, rgba(183, 232, 218, .9), transparent 42%), linear-gradient(145deg, #e9f7f0, #f8f4ef);
      box-shadow: 0 18px 48px -18px rgba(0, 0, 0, .18);
    }

    .route-feature-row .route-showcase {
      width: 100%;
      min-height: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      padding: 12px 0;
      overflow: visible;
      border: 0;
      background: transparent;
      box-shadow: none;
    }

    .route-feature-row .route-showcase::before,
    .route-feature-row .route-showcase::after {
      display: none;
    }

    .route-showcase::before,
    .route-showcase::after {
      content: "";
      position: absolute;
      width: 360px;
      height: 2px;
      border-top: 2px dashed rgba(66, 132, 117, .16);
      transform: rotate(-24deg);
    }

    .route-showcase::before { left: -80px; top: 28%; }
    .route-showcase::after { right: -70px; bottom: 25%; transform: rotate(31deg); }

    .route-phone {
      position: relative;
      z-index: 2;
      width: 290px;
      height: 644px;
      padding: 9px;
      border-radius: 42px;
      background: linear-gradient(160deg, #261d37, #08060d 78%);
      border: 1px solid rgba(255, 255, 255, .16);
      box-shadow: 0 42px 80px -24px rgba(25, 39, 48, .62), 0 20px 38px -25px rgba(40, 143, 196, .6);
      transform: rotate(.8deg);
      transition: transform .35s var(--ease-out);
    }

    .route-phone:hover { transform: rotate(0) translateY(-6px); }

    .route-phone img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 34px;
    }

    .route-screen {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
      border-radius: 34px;
      color: #182622;
      background-color: #dff3e9;
      background-image:
        linear-gradient(27deg, transparent 45%, rgba(105, 157, 142, .19) 46%, rgba(105, 157, 142, .19) 47%, transparent 48%),
        linear-gradient(152deg, transparent 44%, rgba(255, 255, 255, .72) 45%, rgba(255, 255, 255, .72) 47%, transparent 48%),
        radial-gradient(circle at 20% 32%, rgba(127, 195, 178, .32), transparent 20%),
        radial-gradient(circle at 78% 58%, rgba(118, 190, 174, .27), transparent 24%);
    }

    .route-status {
      position: absolute;
      z-index: 5;
      top: 10px;
      left: 18px;
      right: 18px;
      display: flex;
      justify-content: space-between;
      color: #3c514b;
      font-size: 9px;
      font-weight: 850;
    }

    .route-control {
      position: absolute;
      z-index: 5;
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, .94);
      color: #283b36;
      font-size: 17px;
      font-weight: 900;
      box-shadow: 0 6px 16px rgba(40, 74, 65, .18);
    }

    .route-back { top: 34px; left: 14px; }
    .route-scan { top: 34px; right: 14px; }
    .route-filter { top: 80px; right: 14px; }

    .route-map-label {
      position: absolute;
      color: rgba(47, 83, 73, .55);
      font-size: 8px;
      font-weight: 800;
    }

    .route-label-one { left: 32px; top: 155px; }
    .route-label-two { right: 34px; top: 235px; }
    .route-label-three { left: 46px; top: 335px; }

    .route-line {
      position: absolute;
      z-index: 2;
      inset: 72px 22px 195px;
      width: calc(100% - 44px);
      height: calc(100% - 267px);
      overflow: visible;
      filter: drop-shadow(0 3px 4px rgba(30, 128, 218, .24));
    }

    .route-pin {
      position: absolute;
      z-index: 4;
      width: 30px;
      height: 36px;
      display: grid;
      place-items: center;
      border: 3px solid #fff;
      border-radius: 16px 16px 16px 4px;
      background: #178ded;
      color: #fff;
      font-size: 11px;
      font-weight: 900;
      box-shadow: 0 5px 12px rgba(23, 141, 237, .3);
      transform: rotate(-45deg);
    }

    .route-pin span { transform: rotate(45deg); }
    .route-pin.one { left: 72px; top: 116px; }
    .route-pin.two { left: 136px; top: 188px; }
    .route-pin.three { right: 50px; top: 264px; }
    .route-pin.four { left: 63px; top: 334px; }

    .route-summary {
      position: absolute;
      z-index: 6;
      left: 12px;
      right: 12px;
      bottom: 12px;
      padding: 14px;
      border-radius: 22px;
      background: rgba(255, 255, 255, .96);
      box-shadow: 0 12px 30px rgba(45, 73, 65, .19);
    }

    .route-summary-top {
      display: grid;
      grid-template-columns: 28px 1fr 58px;
      gap: 9px;
      align-items: center;
    }

    .route-stop-no {
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #178ded;
      color: #fff;
      font-size: 11px;
      font-weight: 900;
    }

    .route-place-name {
      font-family: var(--display);
      font-size: 13px;
      font-weight: 850;
      line-height: 1.15;
    }

    .route-place-meta {
      margin-top: 3px;
      color: #7d8784;
      font-size: 8px;
      font-weight: 700;
    }

    .route-place-photo {
      height: 48px;
      border-radius: 12px;
      background: url('/assets/optimized/coorg_rain.webp') center/cover;
    }

    .route-added {
      margin: 12px 0 10px;
      color: #6c7773;
      font-size: 8px;
      font-weight: 800;
    }

    .route-added strong { color: #347ec5; }

    .route-actions {
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .route-action {
      padding: 8px 10px;
      border-radius: 999px;
      background: #f0f2f3;
      color: #26312e;
      font-size: 8px;
      font-weight: 900;
    }

    .route-day {
      margin-left: auto;
      padding: 7px 11px;
      border: 1px solid #91c9ed;
      border-radius: 999px;
      color: #1883cf;
      font-size: 8px;
      font-weight: 900;
    }

    .route-badge {
      position: absolute;
      z-index: 3;
      padding: 10px 14px;
      border: 1px solid rgba(57, 132, 119, .15);
      border-radius: 16px;
      background: rgba(255, 255, 255, .9);
      color: #35564e;
      box-shadow: 0 14px 30px -16px rgba(33, 84, 73, .36);
      font-size: 11px;
      font-weight: 850;
      backdrop-filter: blur(12px);
    }

    .route-badge.distance { left: calc(50% - 275px); top: 24%; }
    .route-badge.saved { right: calc(50% - 285px); bottom: 24%; }

    .route-savings-card {
      position: relative;
      z-index: 3;
      width: min(290px, 92%);
      padding: 15px 16px;
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 18px;
      background: linear-gradient(135deg, #262035, #171321);
      color: #fff;
      box-shadow: 0 16px 32px -18px rgba(0, 0, 0, .8), 0 10px 28px -20px rgba(99, 79, 182, .8);
    }

    .route-savings-title {
      margin-bottom: 10px;
      color: #f4f0ff;
      font-family: var(--display);
      font-size: 13px;
      font-weight: 850;
    }

    .route-savings-close {
      position: absolute;
      top: 11px;
      right: 13px;
      color: #aaa3ba;
      font-size: 16px;
      line-height: 1;
    }

    .route-savings-list {
      display: grid;
      gap: 7px;
    }

    .route-savings-item {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #d9d3e7;
      font-size: 10px;
      font-weight: 700;
    }

    .route-savings-icon {
      width: 20px;
      height: 20px;
      display: grid;
      place-items: center;
      border-radius: 7px;
      background: rgba(121, 100, 255, .2);
      font-size: 11px;
    }

    .route-savings-item strong { color: #fff; }

    /* ── GETAWAY AI PHONE ── */
    .ai-feature-kicker {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      margin-bottom: 16px;
      padding: 7px 11px;
      border: 1px solid rgba(159, 109, 255, .38);
      border-radius: 999px;
      background: rgba(122, 73, 236, .12);
      color: #d8c9ff;
      font-size: 11px;
      font-weight: 850;
      letter-spacing: .04em;
    }

    .ai-phone {
      height: 540px;
    }

    .ai-feature-row .mock {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      aspect-ratio: auto;
      max-width: 480px;
      isolation: isolate;
    }

    .ai-feature-row .ai-phone { flex: 0 0 260px; margin: 0; }
    .ai-feature-row .mock-glow { z-index: -1; pointer-events: none; }

    .ai-companion {
      --ai-bot-play-state: paused;
      position: relative;
      flex: 0 1 174px;
      min-width: 0;
      display: grid;
      justify-items: center;
      gap: 15px;
      z-index: 2;
    }

    .ai-companion.is-visible:not(.is-paused) { --ai-bot-play-state: running; }

    .ai-bot {
      position: relative;
      display: grid;
      place-items: center;
      width: min(116px, 100%);
      aspect-ratio: 1.04;
      border: 1px solid #ff9b69;
      border-radius: 38% 38% 34% 34%;
      background: radial-gradient(ellipse at 32% 12%, #ffb16d, transparent 55%),
                  linear-gradient(145deg, #ff863f, #ef5325 64%, #bc321a);
      box-shadow: inset 0 2px 3px #ffe0aeaa, inset 0 -8px 15px #86201466,
                  0 12px 30px #ff612e45, 0 16px 24px #09051180;
      transform-origin: 50% 65%;
      animation: aiBotBody 9.6s ease-in-out infinite;
      animation-play-state: var(--ai-bot-play-state);
    }

    .ai-bot::before, .ai-bot::after {
      content: "";
      position: absolute;
      top: 23%;
      width: 5px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: #9a331e;
      box-shadow: 0 1px 0 #ffc385;
    }

    .ai-bot::before { left: 21%; }
    .ai-bot::after { right: 21%; }

    .ai-bot-visor {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7%;
      width: 54%;
      height: 49%;
      border: 2px solid #742919;
      border-radius: 34%;
      background: linear-gradient(160deg, #294253, #08141f 48%, #0c2331);
      box-shadow: 0 -2px 0 #ffd5a099, 0 2px 0 #ff9d68, inset 0 3px 8px #0009;
      animation: aiBotVisor 9.6s ease-in-out infinite;
      animation-play-state: var(--ai-bot-play-state);
    }

    .ai-bot-visor::before {
      content: "";
      position: absolute;
      top: -19%;
      left: 32%;
      width: 36%;
      height: 7%;
      border-radius: 99px;
      background: #ffe0b8;
      box-shadow: 0 0 5px #fff0d6a6;
    }

    .ai-bot-light {
      --merge-offset: 0%;
      --peak-one: 3.6;
      --peak-two: 1.35;
      --peak-three: 2.9;
      width: 11%;
      aspect-ratio: 1;
      border-radius: 99px;
      background: #dcfdff;
      box-shadow: 0 0 6px #62ebff, 0 0 11px #62ebff80;
      animation: aiBotSignal 9.6s ease-in-out infinite;
      animation-play-state: var(--ai-bot-play-state);
    }

    .ai-bot-light:first-child {
      --merge-offset: 164%;
      --peak-one: 1.65;
      --peak-two: 2.9;
      --peak-three: 1.2;
    }

    .ai-bot-light:last-child {
      --merge-offset: -164%;
      --peak-one: 2.35;
      --peak-two: 2;
      --peak-three: 3.55;
    }

    .ai-bot-message {
      position: relative;
      width: 100%;
      margin: 0;
      padding: 11px 12px;
      border: 1px solid #ff9b6959;
      border-radius: 15px;
      background: #221b2b;
      color: #f4e7e6;
      font-size: 12px;
      line-height: 1.45;
      box-shadow: 0 8px 20px #09051145;
    }

    .ai-bot-message::after {
      content: "";
      position: absolute;
      bottom: -5px;
      left: calc(50% - 5px);
      width: 9px;
      height: 9px;
      border-right: inherit;
      border-bottom: inherit;
      background: inherit;
      transform: rotate(45deg);
    }

    .ai-bot-message p { margin: 0; }

    .ai-bot-message-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      margin-bottom: 4px;
      color: #ffb285;
    }

    .ai-bot-motion {
      display: grid;
      flex: 0 0 26px;
      place-items: center;
      width: 26px;
      height: 26px;
      padding: 0;
      border: 1px solid #ff9b694d;
      border-radius: 8px;
      color: #ffcfb1;
      background: #ff9b6912;
      cursor: pointer;
    }

    .ai-bot-motion[hidden] { display: none; }
    .ai-bot-motion:hover { background: #ff9b692b; }
    .ai-bot-motion:focus-visible { outline: 2px solid #ffb285; outline-offset: 2px; }

    .ai-bot-motion::before {
      content: "";
      width: 8px;
      height: 8px;
      background: currentColor;
      clip-path: polygon(0 0, 32% 0, 32% 100%, 68% 100%, 68% 0, 100% 0, 100% 100%, 0 100%);
    }

    .ai-companion.is-paused .ai-bot-motion::before {
      clip-path: polygon(12% 0, 100% 50%, 12% 100%);
    }

    @keyframes aiBotBody {
      0%, 13%, 100% { transform: translateY(0) rotate(-2deg); }
      22% { transform: translate(-2px, -3px) rotate(-6deg) scale(1.02, .98); }
      39% { transform: translate(2px, -7px) rotate(5deg) scale(.98, 1.03); }
      54% { transform: translate(2px, -4px) rotate(3deg); }
      72% { transform: translate(-1px, -6px) rotate(-4deg); }
      89% { transform: translateY(1px) rotate(1deg) scale(1.015, .985); }
    }

    @keyframes aiBotVisor {
      0%, 13%, 100% { transform: translate(0); }
      22% { transform: translate(-2px, 1px); }
      39%, 54% { transform: translate(2px, -2px); }
      72% { transform: translate(-2px, -1px); }
      89% { transform: translate(0, 1px); }
    }

    @keyframes aiBotSignal {
      0%, 13%, 20%, 87%, 100% { transform: scale(1); }
      16% { transform: scale(1.1, .28); }
      29%, 35% { transform: translateX(var(--merge-offset)) scale(2.8, 2.65); }
      41%, 54%, 68% { transform: scale(.83, var(--peak-one)); }
      45%, 59%, 73% { transform: scale(.83, var(--peak-two)); }
      49%, 64%, 78% { transform: scale(.83, var(--peak-three)); }
      82% { transform: scale(1.15, .7); }
    }

    @media (min-width: 901px) and (max-width: 1100px) {
      .ai-feature-row { gap: 32px; grid-template-columns: 1fr 1.2fr; }
      .ai-feature-row .mock { gap: 12px; }
    }

    @media (max-width: 540px) {
      .ai-feature-row .mock { flex-direction: column-reverse; gap: 24px; }
      .ai-feature-row .ai-phone { flex-basis: auto; }
      .ai-companion { flex-basis: auto; width: min(248px, 100%); }
      .ai-bot { width: 96px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .ai-bot,
      .ai-bot-visor,
      .ai-bot-light { animation: none; }
      .ai-bot-motion { display: none; }
    }

    .ai-ui {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(145deg, transparent 43%, rgba(255, 255, 255, .3) 44%, transparent 45%),
        linear-gradient(30deg, transparent 58%, rgba(90, 123, 166, .32) 59%, transparent 60%),
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, .62), transparent 20%),
        linear-gradient(145deg, #c8f2d9, #ecf9f0 47%, #b8def7);
    }

    .ai-ui::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .6;
      background-image: linear-gradient(100deg, transparent 47%, rgba(82, 122, 166, .36) 48%, rgba(82, 122, 166, .36) 49%, transparent 50%);
      pointer-events: none;
    }

    .ai-map-head {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 30px 1fr 30px;
      align-items: center;
      gap: 5px;
      padding: 15px 10px 0;
      color: #252132;
      font-size: 23px;
      font-weight: 650;
      text-align: center;
    }

    .ai-ask-pill {
      overflow: hidden;
      padding: 10px 9px;
      border: 1px solid rgba(63, 54, 86, .09);
      border-radius: 999px;
      background: rgba(255, 255, 255, .94);
      box-shadow: 0 8px 22px rgba(48, 66, 84, .15);
      font-family: var(--display);
      font-size: 10px;
      font-weight: 850;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .ai-ask-pill span { color: #867c94; font-family: var(--body); font-weight: 750; }

    .ai-map-pins i {
      position: absolute;
      z-index: 1;
      width: 29px;
      height: 34px;
      display: grid;
      place-items: center;
      border: 2px solid #fff;
      border-radius: 16px 16px 16px 4px;
      background: linear-gradient(135deg, #9044e4, #5d20b6);
      color: #fff;
      font-style: normal;
      font-size: 10px;
      font-weight: 900;
      box-shadow: 0 5px 12px rgba(92, 32, 182, .34);
      transform: rotate(-45deg);
    }

    .ai-map-pins i b { transform: rotate(45deg); }
    .ai-map-pins i:nth-child(1) { top: 112px; left: 40px; }
    .ai-map-pins i:nth-child(2) { top: 146px; right: 45px; }
    .ai-map-pins i:nth-child(3) { top: 206px; left: 82px; }
    .ai-map-pins i:nth-child(4) { top: 245px; right: 75px; }

    .ai-sheet-handle {
      position: absolute;
      z-index: 3;
      top: 280px;
      left: 50%;
      width: 44px;
      height: 4px;
      border-radius: 99px;
      background: #c9cbd1;
      transform: translateX(-50%);
    }

    .ai-sheet {
      position: absolute;
      z-index: 2;
      top: 287px;
      right: 0;
      bottom: 0;
      left: 0;
      padding: 18px 13px 75px;
      border-radius: 24px 24px 0 0;
      background: rgba(252, 252, 254, .98);
      box-shadow: 0 -9px 26px rgba(47, 55, 67, .14);
    }

    .ai-sheet-title {
      margin-bottom: 10px;
      color: #17141f;
      font-family: var(--display);
      font-size: 13px;
      font-weight: 850;
    }

    .ai-day {
      display: grid;
      gap: 3px;
      padding: 8px 9px;
      border-bottom: 1px solid #edebf0;
    }

    .ai-day strong { color: #28232f; font-size: 9px; font-weight: 850; }
    .ai-day span { color: #7d7787; font-size: 7px; font-weight: 700; }

    .ai-crew-note {
      display: flex;
      align-items: flex-start;
      gap: 6px;
      margin-top: 10px;
      padding: 8px;
      border-radius: 9px;
      background: linear-gradient(135deg, #f0eaff, #edf6ff);
      color: #605878;
      font-size: 7px;
      font-weight: 750;
      line-height: 1.3;
    }

    .ai-input {
      position: absolute;
      z-index: 4;
      right: 10px;
      bottom: 10px;
      left: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 9px 10px 9px 12px;
      border: 1px solid #e7e5ea;
      border-radius: 14px;
      background: #f1f2f5;
      color: #92909a;
      font-size: 8px;
      font-weight: 650;
    }

    .ai-input b {
      width: 22px;
      height: 22px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #15131a;
      color: #fff;
      font-size: 14px;
    }

    /* ── TOP SPOTS PHONE ── */
    .spots-ui { overflow: hidden; background: #fff; color: #1c1a21; font-family: var(--body); }
    .spots-head { display: grid; grid-template-columns: 22px 1fr 22px; align-items: center; gap: 7px; padding: 17px 13px 12px; }
    .spots-back { color: #68717c; font-size: 28px; line-height: 1; }
    .spots-location { display: flex; align-items: center; gap: 7px; min-width: 0; }
    .spots-location-icon { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 29px; border-radius: 50%; background: linear-gradient(135deg, #5e7ce4, #36b9e3); color: #fff; font-size: 14px; }
    .spots-location strong { display: block; overflow: hidden; font-family: var(--display); font-size: 14px; font-weight: 900; white-space: nowrap; text-overflow: ellipsis; }
    .spots-location small { display: block; margin-top: 1px; color: #85838c; font-size: 7px; font-weight: 700; }
    .spots-info { color: #69717c; font-size: 17px; text-align: right; }
    .spots-body { padding: 3px 11px 12px; }
    .spots-section-title { display: flex; align-items: center; justify-content: space-between; margin: 7px 1px 8px; font-family: var(--display); font-size: 17px; font-weight: 900; }
    .spots-section-title span { color: #747882; font-family: var(--body); font-size: 8px; font-weight: 800; }
    .spots-tip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
    .spots-tip { display: flex; align-items: center; gap: 6px; min-height: 39px; padding: 7px; border: 1px solid #e3e6ef; border-radius: 10px; background: linear-gradient(135deg, #edf4ff, #eef1ff); font-size: 8px; font-weight: 850; line-height: 1.15; }
    .spots-tip:nth-child(2) { background: linear-gradient(135deg, #fff6db, #fff0d9); }
    .spots-tip:nth-child(3) { background: linear-gradient(135deg, #f1eefe, #edf2ff); }
    .spots-tip:nth-child(4) { background: linear-gradient(135deg, #e4fbf7, #e4f3ff); }
    .spots-tip b { font-size: 15px; }
    .spots-cards { display: flex; gap: 8px; overflow: hidden; }
    .spots-place { width: 112px; flex: 0 0 112px; }
    .spots-photo { height: 112px; overflow: hidden; border-radius: 11px; background: url('/assets/optimized/top_spots.webp') center/cover; }
    .spots-place:nth-child(2) .spots-photo { background-image: url('/assets/optimized/goa_getaway.webp'); }
    .spots-place:nth-child(3) .spots-photo { background-image: url('/assets/optimized/sunday_brunch.webp'); }
    .spots-place strong { display: block; overflow: hidden; margin: 6px 2px 0; font-family: var(--display); font-size: 9px; font-weight: 900; white-space: nowrap; text-overflow: ellipsis; }
    .spots-place small { display: block; margin: 2px; color: #74747e; font-size: 7px; font-weight: 700; }
    .spots-save { display: inline-flex; align-items: center; gap: 3px; margin: 4px 2px; color: #5076ce; font-size: 7px; font-weight: 850; }
    .spots-itinerary { position: relative; height: 96px; overflow: hidden; border-radius: 12px; background: linear-gradient(0deg, #12101b99, transparent 65%), url('/assets/optimized/goa_2025.webp') center/cover; }
    .spots-itinerary strong { position: absolute; right: 8px; bottom: 8px; left: 8px; color: #fff; font-family: var(--display); font-size: 13px; font-weight: 900; line-height: 1.05; }
    .spots-itinerary span { position: absolute; top: 7px; right: 7px; padding: 4px 6px; border-radius: 99px; background: #16131dcc; color: #fff; font-size: 7px; font-weight: 850; }
    .spots-add { position: absolute; right: 15px; bottom: 14px; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #5d82e7, #2eabe4); color: #fff; box-shadow: 0 7px 17px #397ad655; font-size: 20px; }

    /* ── TRIP ITINERARY PHONE ── */
    .itinerary-ui {
      width: 100%;
      height: 100%;
      overflow: hidden;
      border-radius: 34px;
      background: #111217;
      color: #f8f7fb;
      font-family: var(--body);
    }

    .itin-topbar {
      display: grid;
      grid-template-columns: 24px 1fr 24px;
      align-items: center;
      height: 49px;
      padding: 13px 13px 5px;
      color: #fff;
    }

    .itin-back,
    .itin-more {
      font-size: 20px;
      line-height: 1;
      text-align: center;
    }

    .itin-trip-name {
      overflow: hidden;
      font-family: var(--display);
      font-size: 14px;
      font-weight: 850;
      text-align: center;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .itin-nav {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      margin: 1px 11px 9px;
      border-bottom: 1px solid #23242b;
    }

    .itin-nav span {
      padding: 7px 0 8px;
      color: #82838a;
      font-size: 8px;
      font-weight: 750;
      text-align: center;
    }

    .itin-nav .active {
      position: relative;
      color: #fff;
      font-weight: 900;
    }

    .itin-nav .active::after {
      content: "";
      position: absolute;
      right: 21px;
      bottom: -1px;
      left: 21px;
      height: 2px;
      border-radius: 2px;
      background: linear-gradient(90deg, #8d65ff, #48b2ff);
    }

    .itin-days {
      display: flex;
      gap: 5px;
      align-items: center;
      padding: 0 11px 9px;
      overflow: hidden;
    }

    .itin-calendar {
      width: 27px;
      height: 27px;
      flex: 0 0 27px;
      display: grid;
      place-items: center;
      border-radius: 9px;
      background: #292a32;
      font-size: 12px;
    }

    .itin-day-tab {
      min-width: 56px;
      padding: 7px 5px;
      border: 1px solid #2b2d35;
      border-radius: 8px;
      background: #1b1c22;
      color: #cbccd1;
      font-size: 7px;
      font-weight: 800;
      text-align: center;
    }

    .itin-day-tab.active {
      border-color: #6350ad;
      background: #40366d;
      color: #fff;
    }

    .itin-content {
      position: relative;
      padding: 0 11px 14px;
    }

    .itin-day-heading {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 4px 7px;
      border-top: 1px solid #24252b;
    }

    .itin-date {
      font-family: var(--display);
      font-size: 20px;
      font-weight: 850;
      line-height: .85;
    }

    .itin-date small {
      display: block;
      margin-top: 5px;
      color: #8b8d95;
      font-family: var(--body);
      font-size: 7px;
      font-weight: 800;
    }

    .itin-day-label {
      margin-left: auto;
      padding: 7px 9px;
      border-radius: 9px;
      background: #292a32;
      color: #fff;
      font-size: 8px;
      font-weight: 850;
    }

    .itin-place {
      display: grid;
      grid-template-columns: 14px minmax(0, 1fr) 57px;
      gap: 7px;
      min-height: 72px;
      padding: 9px;
      border: 1px solid #272830;
      border-radius: 11px;
      background: linear-gradient(135deg, #191a20, #15161b);
    }

    .itin-marker {
      width: 14px;
      height: 14px;
      display: grid;
      place-items: center;
      margin-top: 1px;
      border-radius: 50% 50% 50% 0;
      background: #b45cff;
      color: #fff;
      font-size: 7px;
      font-weight: 900;
      transform: rotate(-45deg);
    }

    .itin-marker span { transform: rotate(45deg); }
    .itin-place:nth-of-type(3) .itin-marker { background: #38a9ef; }

    .itin-place-name {
      overflow: hidden;
      font-size: 9px;
      font-weight: 850;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .itin-place-desc {
      display: -webkit-box;
      overflow: hidden;
      margin-top: 4px;
      color: #a3a4ab;
      font-size: 7px;
      font-weight: 650;
      line-height: 1.25;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .itin-place-actions {
      display: flex;
      gap: 4px;
      margin-top: 5px;
    }

    .itin-place-actions span {
      padding: 3px 5px;
      border-radius: 999px;
      background: #2a2c34;
      color: #d4d5dc;
      font-size: 6px;
      font-weight: 800;
    }

    .itin-thumb {
      height: 53px;
      border-radius: 8px;
      background: url('/assets/optimized/goa_getaway.webp') center/cover;
    }

    .itin-place.second .itin-thumb { background-image: url('/assets/optimized/top_spots.webp'); }

    .itin-travel {
      display: flex;
      align-items: center;
      gap: 7px;
      margin: 4px 4px;
      padding: 5px 7px;
      border-radius: 8px;
      background: linear-gradient(90deg, rgba(49, 137, 255, .22), rgba(49, 137, 255, .06));
      color: #b9dfff;
      font-size: 7px;
      font-weight: 750;
    }

    .itin-travel .itin-directions {
      margin-left: auto;
      color: #55b8ff;
      font-size: 6px;
      font-weight: 900;
    }

    .itin-next-day {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 8px;
      padding: 8px 4px;
      border-top: 1px solid #24252b;
      color: #e9e8ed;
      font-family: var(--display);
      font-size: 16px;
      font-weight: 850;
    }

    .itin-next-day span {
      color: #8b8d95;
      font-family: var(--body);
      font-size: 7px;
      font-weight: 800;
    }

    .itin-fab {
      position: absolute;
      right: 15px;
      bottom: 14px;
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: linear-gradient(135deg, #8a6dff, #3caef6);
      color: #fff;
      font-size: 20px;
      font-weight: 500;
      box-shadow: 0 8px 18px rgba(72, 156, 255, .32);
    }

    .budget-phone { height: 578px; }
    .budget-screen img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }

    @media (min-width: 761px) {
      .route-feature-row .route-showcase {
        display: grid;
        place-items: center;
        min-height: 680px;
        padding: 0;
      }

      .route-feature-row .route-savings-card {
        position: absolute;
        top: 46%;
        left: calc(50% + 112px);
        width: 226px;
        transform: translateY(-50%);
      }
    }

    @media (max-width: 760px) {
      .route-showcase { min-height: 620px; padding: 18px 0; }
      .route-phone { width: 260px; height: 578px; }
      .route-badge { display: none; }
    }

    @media (max-width: 860px) {
      .fp-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        gap: 14px;
      }
      .fp-phone-card {
        padding: 18px 14px;
        gap: 12px;
      }
      .fp-phone-card .mock-phone {
        width: 44vw;
        max-width: 190px;
        height: 380px;
        border-radius: 28px;
        padding: 6px;
      }
      .fp-phone-card .mock-screen {
        border-radius: 22px;
      }
    }

    @media (max-width: 860px) {
      .tab-controls {
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
      }
    }


    /* ── MOCK PHONES ──────────────────────────────────────────── */
    .mock {
      position: relative;
      width: 100%;
      max-width: 460px;
      margin: 0 auto;
      aspect-ratio: 4/3
    }

    .mock-glow {
      position: absolute;
      inset: -20%;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--blue) 0%, var(--blue) 75%, var(--purple) 100%);
      filter: blur(80px);
      opacity: .2;
      transition: opacity .4s ease
    }

    .mock:hover .mock-glow {
      opacity: .3
    }

    .mock-phone {
      position: relative;
      z-index: 2;
      width: min(var(--trip-showcase-phone-width), 100%);
      height: 520px;
      border-radius: 44px;
      background: linear-gradient(160deg, #1e1035, #0a0612);
      border: 1.5px solid rgba(255, 255, 255, .12);
      box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .75), 0 20px 50px -20px rgba(124, 58, 237, .4), inset 0 1px 0 rgba(255, 255, 255, .08);
      padding: 12px;
      margin: 0 auto;
      transition: transform .35s var(--ease-out), box-shadow .35s ease;
    }

    .mock-phone:hover {
      transform: translateY(-6px) rotate(1deg);
      box-shadow: 0 60px 100px -20px rgba(0, 0, 0, .75), 0 30px 60px -20px rgba(124, 58, 237, .5);
    }



    .mock-screen {
      width: 100%;
      height: 100%;
      border-radius: 34px;
      background: #0e0720;
      overflow: hidden;
      position: relative;
      padding: 40px 14px 14px
    }

    .mock h4 {
      font-family: var(--display);
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 10px;
      letter-spacing: -.01em
    }

    /* Itinerary */
    .iti-day {
      font-size: 10px;
      color: var(--ink-dimmer);
      margin-bottom: 8px
    }

    .iti-stop {
      display: flex;
      gap: 10px;
      padding: 10px;
      margin-bottom: 7px;
      background: var(--card-hi);
      border-radius: 12px;
      border: 1px solid var(--line);
      transition: border-color .2s ease;
    }

    .iti-stop:hover {
      border-color: rgba(168, 85, 247, .25)
    }

    .iti-icon {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      background: var(--grad-soft);
      display: grid;
      place-items: center;
      font-size: 13px;
      flex-shrink: 0
    }

    .iti-stop-name {
      font-size: 11px;
      font-weight: 700;
      margin-bottom: 2px
    }

    .iti-stop-meta {
      font-size: 9px;
      color: var(--ink-dimmer)
    }

    /* Map */
    .map-mock {
      height: 220px;
      border-radius: 14px;
      margin-bottom: 10px;
      background: linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(59, 130, 246, .22)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 30px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 30px),
        #080510;
      position: relative;
      border: 1px solid var(--line);
    }

    .pin {
      position: absolute;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--grad);
      border: 2px solid #fff;
      display: grid;
      place-items: center;
      font-size: 10px;
      color: #fff;
      font-weight: 700;
      box-shadow: 0 4px 12px rgba(168, 85, 247, .6);
      transform: translate(-50%, -50%);
      transition: transform .2s var(--ease-spring);
    }

    .pin:hover {
      transform: translate(-50%, -65%) scale(1.2)
    }

    /* Calendar */
    .cal-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px
    }

    .cal-head span {
      font-size: 11px;
      font-weight: 700
    }

    .cal-friends {
      display: flex;
      gap: 4px;
      margin-bottom: 10px;
      overflow: hidden
    }

    .cal-friend {
      padding: 3px 9px;
      border-radius: 999px;
      font-size: 9px;
      font-weight: 600;
      white-space: nowrap
    }

    .cal-friend.f1 {
      background: #a855f7;
      color: #fff
    }

    .cal-friend.f2 {
      background: #3b82f6;
      color: #fff
    }

    .cal-friend.f3 {
      background: #ec4899;
      color: #fff
    }

    .cal-friend.f4 {
      background: #10b981;
      color: #fff
    }

    .cal-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 3px
    }

    .cal-day {
      aspect-ratio: 1;
      border-radius: 5px;
      background: var(--card);
      font-size: 8px;
      display: grid;
      place-items: center;
      color: var(--ink-dimmer);
      transition: background .15s ease, color .15s ease;
    }

    .cal-day.has {
      background: var(--grad-soft);
      color: var(--ink)
    }

    .cal-day.today {
      background: var(--grad);
      color: #fff;
      font-weight: 700;
      box-shadow: 0 2px 8px rgba(168, 85, 247, .5)
    }

    /* Plan detail */
    .plan-hero {
      height: 120px;
      border-radius: 14px;
      margin-bottom: 12px;
      background: linear-gradient(135deg, #7c3aed, #3b82f6, #ec4899);
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
      padding: 12px
    }

    .plan-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .5))
    }

    .plan-hero span {
      position: relative;
      font-family: var(--display);
      font-weight: 800;
      font-size: 18px
    }

    .plan-detail {
      display: flex;
      gap: 8px;
      align-items: center;
      padding: 8px 0;
      border-bottom: 1px solid var(--line);
      font-size: 11px
    }

    .plan-detail:last-child {
      border: none
    }

    .plan-detail .ic {
      width: 22px;
      height: 22px;
      border-radius: 6px;
      background: var(--card-hi);
      display: grid;
      place-items: center;
      font-size: 11px
    }

    .plan-detail .meta {
      color: var(--ink-dimmer);
      margin-left: auto;
      font-size: 10px
    }

    /* Availability */
    .free-pill {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 9px 12px;
      background: var(--card-hi);
      border-radius: 11px;
      margin-bottom: 7px;
      border: 1px solid var(--line);
      transition: border-color .2s ease
    }

    .free-pill:hover {
      border-color: rgba(16, 185, 129, .3)
    }

    .free-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 8px var(--green);
      flex-shrink: 0
    }

    .free-name {
      font-size: 11px;
      font-weight: 700;
      flex: 1
    }

    .free-time {
      font-size: 10px;
      color: var(--ink-dimmer)
    }

    /* Shared iPhone hardware: graphite rails, glass bezel and Dynamic Island. */
    .hero-phones .mock-phone,
    .chat-phone,
    .mock-phone,
    .fp-phone-card .mock-phone,
    .hangouts-section .mock-phone,
    .route-phone {
      --phone-radius: 42px;
      border: 2px solid #7d858b;
      border-radius: var(--phone-radius);
      padding: 34px 7px 9px;
      background: #090a0c;
      box-shadow:
        0 0 0 1px #16191c,
        inset 0 0 0 1px #d2d5d7,
        inset 0 0 0 3px #282d31,
        0 28px 55px -18px rgba(0, 0, 0, .55),
        0 7px 14px -8px rgba(0, 0, 0, .65);
      isolation: isolate;
    }

    .hero-phones .mock-phone:hover,
    .chat-phone:hover,
    .mock-phone:hover,
    .route-phone:hover {
      box-shadow: 0 0 0 1px #16191c, inset 0 0 0 1px #d2d5d7,
        inset 0 0 0 3px #282d31, 0 36px 65px -20px rgba(0, 0, 0, .6);
    }

    .chat-phone::before,
    .mock-phone::before,
    .route-phone::before {
      content: "";
      position: absolute;
      z-index: 10;
      top: 8px;
      left: 10px;
      right: 10px;
      height: 26px;
      border-radius: 28px 28px 0 0;
      pointer-events: none;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='26' viewBox='0 0 240 26'%3E%3Ctext x='19' y='17' fill='%23f5f5f7' font-family='Arial,sans-serif' font-size='10' font-weight='700'%3E9:41%3C/text%3E%3Crect x='84' y='3' width='72' height='20' rx='10' fill='%23000000'/%3E%3Ccircle cx='145' cy='13' r='3' fill='%23141b29'/%3E%3Ccircle cx='145' cy='13' r='1.3' fill='%232a3448'/%3E%3Cg fill='%23f5f5f7'%3E%3Crect x='181' y='13' width='2' height='4' rx='.5'/%3E%3Crect x='185' y='10' width='2' height='7' rx='.5'/%3E%3Crect x='189' y='7' width='2' height='10' rx='.5'/%3E%3C/g%3E%3Cpath d='M196 10q6-5 12 0m-10 3q4-3 8 0' fill='none' stroke='%23f5f5f7' stroke-width='1.5'/%3E%3Ccircle cx='202' cy='16' r='1' fill='%23f5f5f7'/%3E%3Crect x='213' y='8' width='17' height='9' rx='2' fill='none' stroke='%23f5f5f7' stroke-opacity='.6'/%3E%3Crect x='215' y='10' width='12' height='5' rx='1' fill='%23f5f5f7'/%3E%3Cpath d='M232 11v3' stroke='%23f5f5f7' stroke-width='1.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    }

    .chat-phone::after,
    .mock-phone::after,
    .route-phone::after {
      content: "";
      position: absolute;
      top: 85px;
      left: -4px;
      width: 3px;
      height: 19px;
      border-radius: 2px 0 0 2px;
      background: linear-gradient(90deg, #353a40, #a0a6ac, #41474d);
      box-shadow: 0 35px 0 #737b83, 0 65px 0 #737b83;
      pointer-events: none;
    }

    .hero-phones .mock-phone .mock-screen,
    .chat-phone > .chat-screen,
    .mock-phone > .mock-screen,
    .fp-phone-card .mock-screen,
    .route-phone > .route-screen,
    .route-phone > img {
      border-radius: 8px 8px 32px 32px;
    }

    .chat-screen::after,
    .mock-screen::after,
    .route-screen::after {
      content: "";
      position: absolute;
      z-index: 20;
      bottom: 5px;
      left: 35%;
      width: 30%;
      height: 4px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .85);
      box-shadow: 0 0 1px rgba(0, 0, 0, .7);
      pointer-events: none;
    }

    .route-status { display: none; }
    /* The source capture includes an Android status bar; use the shell's bar. */
    .route-screen > img {
      height: calc(100% + 44px);
      max-width: none;
      margin-top: -22px;
      border-radius: 0;
      object-position: center top;
    }

    .chat-screen { position: relative; }
    .chat-status { display: none; }
    .mock-screen > img { border-radius: 0 !important; }
    .mock-screen > img[src$="route-optimization-app.png"] {
      height: calc(100% + 44px) !important;
      margin-top: -22px;
    }
    @media (max-width: 600px) {
      .hero-phones .mock-phone,
      .fp-phone-card .mock-phone { --phone-radius: 32px; }
      .hero-phones .mock-phone .mock-screen,
      .fp-phone-card .mock-screen { border-radius: 6px 6px 22px 22px; }
    }

  .feature-tabs-container { margin-top: 0; }
  .feature-title, .feature-desc, .mock h4 { margin-top: 0; }
  .fp-btn { font-family: inherit; }
  .fp-ic { background: #fff; border-color: #e3d4f1; }
  .fp-btn.active .fp-ic { background: #eee1ff; border-color: #a77bd1; }
  .fp-ic::after { background: #f8f0ff; }
  .fp-btn.active .fp-ic::after { background: #efe1ff; }
  .fp-btn:hover .fp-lbl, .fp-btn.active .fp-lbl { color: #4a246f; }
  .fp-btn:focus-visible { outline-color: #8756b9; }
  .ai-feature-kicker { color: #5d318c; }
  .ai-bot-message { background: #fff8f1; border-color: #e9baa6; box-shadow: 0 6px 18px #5429101a; }
  .ai-bot-message-head, .ai-bot-motion { color: #9e411a; }
  .fp-detail .feature-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 34px; }
  .ai-feature-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 34px; padding: 24px 0 8px; }
  .fp-detail .feature-visual { min-width: 0; }
  .fp-detail .mock-phone { color: #f0eaff; }
  .fp-detail .mock-screen.spots-ui { color: #f4edff; }
  .spots-ui .spots-location small,
  .spots-ui .spots-place small,
  .spots-ui .spots-section-title span,
  .spots-ui .spots-back { color: #c5b9d7; }
  .spots-ui .spots-tip { color: #241a35; }
  .spots-ui .spots-save { color: #a9c6ff; }
  @media (max-width: 900px) {
    .fp-detail .feature-row, .ai-feature-row { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 540px) {
    .fp-detail .feature-row, .ai-feature-row { gap: 22px; }
    .fp-detail .budget-phone, .fp-detail .route-phone { max-width: 100%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .fp-detail.active { animation: none; }
  }
}
